Methods to get DTP information in Start or End Routine

Share Button

In order to get for example the request ID during the start routine execution, you can enter the following code

data: lv_requid type rsbkrequid.
lv_requid = p_r_request->get_requid().

This will return the numeric request, there is also a similar one to get the 30 characters request id. Debugging you can find that the exact method executed is IF_RSBK_REQUEST_ADMINTAB_VIEW~GET_REQUID (CL_RSBK_REQUEST_PROXY). And by looking at the list of methods in class CL_RSBK_REQUEST_PROXY, you have a good list of methods and you can also find about the parameters data definitions.
Here is a complete list of those methods (I removed the prefix IF_RSBK_REQUEST_ADMINTAB_VIEW~)

GET_REQ_PROCESSMODE
GET_ONLY_CHECK_SIDS
GET_DTP
GET_DTPTEXT
GET_LINES_READ
GET_LINES_TRANSFERRED
GET_REQUID
GET_REQUID30
GET_TH_RANGE
GET_TSTATE
GET_TSTMP_FINISH
GET_TSTMP_START
GET_UNAME
GET_UPDMODE
GET_USTATE
GET_SRC
GET_SRCTP
GET_TGT
GET_TGTTP
GET_LOGSYS
GET_DATASOURCE
GET_T_PSA
GET_USE_NEW_DS
GET_T_ISOURCE
GET_ERRORCOUNT
GET_PREVIOUS_RECORDS
GET_ANALYSED
Share Button

Leave a Reply

Your email address will not be published. Required fields are marked *