Hi,
In Implementation or Support projects we all will have requirement where we might need to derive the Update mode in the Transformation.
Below is the code which would give the update mode.
DATA: LV_UMODE TYPE RSUPDMODE.
CALL METHOD P_R_REQUEST->GET_UPDMODE
RECEIVING
R_UPDMODE = LV_UMODE.
LV_MODE now will hold F or D based on the Which DTP we execute.
Finding the Request ID of the Current load, we can use below code.
DATA: N_REQUID TYPE RSBKREQUID.
CALL METHOD P_R_REQUEST->GET_REQUID
RECEIVING
R_REQUID = N_REQUID.
N_REQUID will store the Request ID
Hope it helps.
Thanks,
Bhaskar Shanthi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
10 | |
8 | |
7 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |