Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
shanthi_bhaskar
Active Contributor

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.

4 Comments
Labels in this area