Skip to Content

how to process leave request container in abap class method?


I have copied standard leave workflow and it is triggering from ess.I have an activity and inside that i have copied some code in the method.iam stuck what i need to achive i need to get the value inside the req container and process and put value in another method looks like

DATA: request TYPE REF TO if_pt_req_request,

event TYPE tim_req_xfer_event VALUE cl_pt_req_const=>c_reqtrans_approve.

CALL METHOD cl_pt_req_badi=>get_request


im_req_id = me->req_id


ex_request = request.

my workflow container looks like

I need to get name and value...

I am new to oops development.Pls help experts


toney.PNG (28.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 18, 2015 at 12:37 PM


    If you can find out the workitem id you can use SAP_WAPI_READ_CONTAINER to read the container values.

    Kind regards, Rob Dielemans

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.