Fonction SAP CACS_PROGINDICATOR_SHOW - Generalized SAPGUI_PROGRESS_INDICATOR

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
MESSAGECLASS SYST-MSGID C 20 SPACE X Message Class (in case TEXT initial)
MESSAGENUMBER SYST-MSGNO N 3 000 X Message (in case TEXT initial)
MESSAGEPAR1 SYST-MSGV1 C 50 SPACE X Parameter 1 for Message (In case TEXT initial)
MESSAGEPAR2 SYST-MSGV2 C 50 SPACE X Parameter 2 for Message (In case TEXT initial)
MESSAGEPAR3 SYST-MSGV3 C 50 SPACE X Parameter 3 for Message (In case TEXT initial)
MESSAGEPAR4 SYST-MSGV4 C 50 SPACE X Parameter 4 for Message (In case TEXT initial)
PERCENTAGE 0 0 X Size of Bar ( 0 <= PERCENTAGE <= 100 )
TEXT 0 SPACE X Text to be Displayed
TIMECONDITION 0 0 X Minimum Number of Seconds Between Two Calls
XBATCH BOOLEAN_FLG C 1 'X' X Display in Batch (=> Job Log)
XDIALOG BOOLEAN_FLG C 1 'X' X Display in Dialog? (=> PROGRES_INDICATOR)
XNEWMESSAGE BOOLEAN_FLG C 1 SPACE X Display Only New Messages?

Functionality
Generalized SAPGUI_PROGRESS_INDICATOR

Example
Functions like SAPGUI_PROGRESS_INDICATOR. Nevertheless, the messageinterface can also be used as an alternative to the TEXT parameter.
Contrary to SAPGUI_PROGRESS_INDICATOR, this function module candifferentiate between dialog and batch run. In the batch run, the me
ssages are output as S-message and they appear in the batch log as soonas the next COMMIT WORK is sent. The batch log can thus be used fordetailed status tracking or processing level of a batch run, similar tothe dialog mode.

Notes
A minimum waiting time between two calls can be defined usingTIMECONDITION in order to avoid large flow of messages in log or to li
mit communication with the frontend. Other calls during this time leadto a suppression of output.The time to the last call is always measured,independent of its "damaliger" TIMECONDITION.
The messages appear in the batch processing only after the next COMMITWORK in batch log. That is why it is recommended to use this module atcoresponding COMMIT times.