WAIT_FOR_PROCESSING SAP Method Wait for Message Processing
Below is documentation, parameters and attributes of ABAP Method WAIT_FOR_PROCESSING within SAP class IF_WSM_ACCESS_MONITOR. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_WSM_ACCESS_MONITOR into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method WAIT_FOR_PROCESSING can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method WAIT_FOR_PROCESSING
.Name | Type | Data Type | Description | Default Value |
MAXWAIT | Importing | TYPE I | Max. Wait Time in seconds, Default: 300 seconds | |
MESSAGE_ID | Importing | TYPE SRT_MSGID | Message ID in SOAP Runtime | |
PERSIST_ID | Importing | TYPE SRT_PERSISTENCY_PERSIST_ID | Persistence ID | |
ERRLOG_LIST | Exporting | TYPE SRT_ERRLOG_RESULT_TAB | SRT Error Log Result - Table | |
RESULT_LIST | Exporting | TYPE SRT_MSELECT_RESULT_T | Message Select Result - Table | |
STATE_CODE | Exporting | TYPE SRT_PROCESSING_STATE | Processing Status | |
STATE_GROUP | Exporting | TYPE SRT_PROCESSING_STATE_GROUP | Processing Status Group | |
STATE_TEXT | Exporting | TYPE SRT_PROCESSING_STATE_TEXT | Text for Processing Status |
Exceptions of Method WAIT_FOR_PROCESSING
CX_WSM_ACCESS_MONITOR - WS Message Monitoring ExceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_WSM_ACCESS_MONITOR.
DATA: lv_ERRLOG_LIST TYPE SRT_ERRLOG_RESULT_TAB,
lv_MAXWAIT TYPE I,
lv_MESSAGE_ID TYPE SRT_MSGID,
lv_PERSIST_ID TYPE SRT_PERSISTENCY_PERSIST_ID,
lv_RESULT_LIST TYPE SRT_MSELECT_RESULT_T,
lv_STATE_CODE TYPE SRT_PROCESSING_STATE,
lv_STATE_GROUP TYPE SRT_PROCESSING_STATE_GROUP,
lv_STATE_TEXT TYPE SRT_PROCESSING_STATE_TEXT,
lv_other TYPE c.
CALL METHOD lo_class=>WAIT_FOR_PROCESSING(
EXPORTING
MAXWAIT = lv_MAXWAIT
MESSAGE_ID = lv_MESSAGE_ID
PERSIST_ID = lv_PERSIST_ID
IMPORTING
ERRLOG_LIST = lv_ERRLOG_LIST
RESULT_LIST = lv_RESULT_LIST
STATE_CODE = lv_STATE_CODE
STATE_GROUP = lv_STATE_GROUP
STATE_TEXT = lv_STATE_TEXT ).
Links to Related Class(s)
IF_WSM_A...Full list of available SAP object classes
Search for further information about these or an SAP related objects