‎2006 Jun 22 5:06 PM
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..
‎2006 Jun 22 5:11 PM
Why dont you give a status message (s) instead of information (i)?
Thanks,
‎2006 Jun 22 5:11 PM
Why dont you give a status message (s) instead of information (i)?
Thanks,
‎2006 Jun 22 5:20 PM
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.
‎2006 Jun 22 5:14 PM
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]
‎2006 Jun 22 5:20 PM
‎2006 Jun 22 5:22 PM
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>
‎2006 Jun 22 5:23 PM
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