on 01-10-2014 10:23 AM
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?
Hello,
This method is used Usually to release database locks .
Regards,
Ashik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.