05-13-2014 8:08 AM
Hi Gurus,
I have a BAPI with a Commit work. Does update function module V1 , V2 - i need mainly about the sequence of V2, gets executed after Commit work or before Commit work.
Thanks
05-13-2014 8:30 AM
Hai Venkat,
All the update FMs will be triggered only after an explicit COMMIT WORK.
Regards,
Abijith
05-13-2014 8:28 AM
Hai Venkat,
All the update FMs will be triggered after the commit work.
Regards,
Abijith
05-13-2014 8:28 AM
Do you have function modules called with the in update task addition? If not the V1-V2 distinction is irrelevant. It is only function modules called with this addition for which the V1 - V2 distinction is relevant. BAPIs are normally not defined as update function modules (although they are remote enabled). So the code of a BAPI will get executed before the commit work but the change it makes won't get saved to the database until a commit work is called as BAPI don't contain a commit work.
05-13-2014 8:30 AM
Hai Venkat,
All the update FMs will be triggered only after an explicit COMMIT WORK.
Regards,
Abijith
05-13-2014 8:32 AM
Pl refer to SAP help on the same as follows.
https://help.sap.com/saphelp_nw04/helpdata/en/e5/de86e135cd11d3acb00000e83539c3/content.htm
Regards,
Naveen Vishal