Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

error message for long text

Former Member
0 Likes
1,033

Hello gurus,

I want to display long error

message like

"A BBD is missing on the semi-finished batches to be consumed. This data is required to calculate the BBD of the manufactured product. Check the SF batches before releasing the order again.."

so can you please tell me the procedure for displaying in pop up window.

i have tried.

message gv_mesg type 'E' DISPLAY LIKE 'I'.

but it gives up pop window heading error but information icon but i want error red icon.

7 REPLIES 7
Read only

Former Member
0 Likes
964

Hi

Just try

message gv_mesg type 'E' .

Regards

Madhan

Read only

Former Member
0 Likes
964

refer:

Read only

BH2408
Active Contributor
0 Likes
964

hi,

try like this..

message gv_msg type 'I' display like 'E'.

Regards,

Bharani

Edited by: seethaRamaiah bharani on Oct 7, 2008 9:55 AM

Read only

RaymondGiuseppi
Active Contributor
0 Likes
964

Try to call a function module like

AQ_INT_SHOW_MESSAGE_AS_POPUP

and then issue the error with a

message gv_mesg type 'E' .

Regards

Read only

0 Likes
964

hi,

Thanks for your help. but can you please tell me that what can i give for message class

CALL FUNCTION 'AQ_INT_SHOW_MESSAGE_AS_POPUP'

EXPORTING

  • POPUP_POS_X = 5

  • POPUP_POS_Y = 5

message_class =

message_number =

message_type =

MESSAGE_VAR1 =

  • MESSAGE_VAR2 =

  • MESSAGE_VAR3 =

  • MESSAGE_VAR4 =

  • EXCEPTIONS

  • INTERNAL_ERROR = 1

  • MESSAGE_DOES_NOT_EXIST = 2

  • OTHERS = 3

.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

here can you tell me values

Read only

0 Likes
964

Use the message class of the current report.

REPORT zrgstst MESSAGE-ID zfsm.

CALL FUNCTION 'AQ_INT_SHOW_MESSAGE_AS_POPUP'
     EXPORTING
          message_class  = 'ZFSM'
          message_number = '000'
          message_type   = 'E'.

MESSAGE ID 'ZFSM' TYPE 'E' NUMBER '000'.

Regards

Read only

Former Member
0 Likes
964

you can try like

if the condition is not satisfied

call screen 100 starting at 10 10 ending at 50 50.

then click on the screen 100

there you can insert the text in layout