‎2007 Mar 07 4:54 AM
HI ALL,
1) Can we use <b>COMMIT WORK</b> statement while coding in Enhancements(Include zx........). if not, WHY?
What are the consequences/problems of using it?
2) Any such conditions we have to follow while coding in enhancements?
Pl reply...
‎2007 Mar 07 5:10 AM
There is no rule not to use COMMIT WORK in enhancement.
I understand that the enhancements you are talking about are part of update programs / trxns. If some even if you don't do a COMMIT the SAP program will eventually do it. So there won't be any difference.
If you are adding an enhancement to SAP standard transaction/program which updates tables and creates data/documents, you need not do a COMMIT as it will eventually happen within the LUW
‎2007 Mar 07 5:10 AM
There is no rule not to use COMMIT WORK in enhancement.
I understand that the enhancements you are talking about are part of update programs / trxns. If some even if you don't do a COMMIT the SAP program will eventually do it. So there won't be any difference.
If you are adding an enhancement to SAP standard transaction/program which updates tables and creates data/documents, you need not do a COMMIT as it will eventually happen within the LUW