Skip to Content

IF_GENIL_APPL_INTLAY~ON_AFTER_COMMIT

Hi All,

Anyway once a time implemented IF_GENIL_APPL_INTLAY~ON_AFTER_COMMIT?

I need do something here in my implementation but here i only get a sender. But i want to know which object was saved. How can i get it?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jan 11, 2014 at 06:24 AM

    Hello,

    This method is used Usually to release database locks .

    Regards,

    Ashik

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Joshua,

      I believe you cannot directly get the saved objects .

      This event handler can be used to initialize the object. Since for on_after_commit an object is

      not passed, you may have to remember the particular objects, which have been saved.

      You can take a look at below class for your reference.

      CL_CRM_BUIL=>IF_GENIL_APPL_INTLAY~ON_AFTER_COMMIT.

      Here the saved objects are remembered in gt_save_object_list in class CL_CRM_BUIL IF_GENIL_APPL_ALTERNATIVE_DSIL~SAVE_OBJECTS and below call is done in CL_CRM_BUIL=>IF_GENIL_APPL_INTLAY~ON_AFTER_COMMIT.

      CALL METHOD me->if_genil_appl_alternative_dsil~init_objects

      CHANGING

      ct_object_list = gt_save_object_list.


      REFRESH gt_save_object_list.

      CALL METHOD cl_crm_buil_services=>reset_locks.


      Hope it helps,


      Regards,

      Ashik

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.