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

Messages Type

Former Member
0 Likes
766

Hi ,

Pop message -up appears (for message type MESSAGE i237(/........../pp): BUSY DOING GOODS MOVEMENT

This should not require attention from the user. It should be an information box stating that it is busy and then disappear automatically when the processing is completed.

my code is like this....

FORM user_command USING r_ucomm LIKE sy-ucomm

rs_selfield TYPE slis_selfield.

CASE r_ucomm.

WHEN '&DEALL'.

  • Message for reselection of lines

IF itab_display-kalab LE 0.

MESSAGE i101(/........../pp).

EXIT.

ELSE.

  • message for goods movement

IF itab_display-kalab GT 0.

MESSAGE i237(/........../pp).

ENDIF.

ENDIF.

  • Check for the allocation quantity

  • Clear itab_display.

Loop at itab_display where select = 'X'.

read table itab_display index sy-tabix.

PERFORM sap_allocation USING itab_display-matnr1

itab_display-charg1

itab_display-werks

'U'

itab_display-vbeln

itab_display-posnr

itab_display-lgort1

itab_display-kalab.

  • ENDIF.

PERFORM delete_data.

rs_selfield-refresh = 'X'.

ENDLOOP.

ENDCASE.

ENDFORM.

need a sample code for this plz...

vind..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
720

Why dont you give a status message (s) instead of information (i)?

Thanks,

6 REPLIES 6
Read only

Former Member
0 Likes
721

Why dont you give a status message (s) instead of information (i)?

Thanks,

Read only

0 Likes
720

There is a user setting on the SAP gui where the user can control the messages as popup. In any SAP screen, you will see a colorful icon next to ? icon. ZIt is for 'customizing of local layout'(ALT+F12). Click on that and choose 'Options' and then choose tab 'Options'. Uncheck or the boxes under 'Messages' section as appropriate. Unchecking will stop the messages coming up in a dialog box.

You can also use Naren's suggestion or look at the option of using function module SAPGUI_PROGRESS_INDICATOR.

Read only

Former Member
0 Likes
720

I think you could substitute message i for w.

Or you can use the FM SAPGUI_PROGRESS_INDICATOR just as a way to indicate something to the user.

Regards,

Felipe Cunha [FpdC]

Read only

Former Member
0 Likes
720

You can also look at FM SAPGUI_PROGRESS_INDICATOR.

Rob

Read only

Former Member
0 Likes
720

Hi,

Call the SAPGUI_PROGRESS_INDICATOR FM before the ENDLOOP statement and pass some PERCENTAGE and TEXT to be displayed.

This will intimate the user that some work is going on till the loop executes.

<b>Reward points if it helps.</b>

Read only

Former Member
0 Likes
720

Hi Vind,

as you want to show the progree of program, use the FM SAPGUI_PROGRESS_INDICATOR instead of using the information messages.

Regards,

Richa