Skip to Content


Apr 20 at 12:02 PM


avatar image


I have done enhancement to re trigger release strategy for PO whenever Quantity is decreased.

Our system have recently got upgraded to EHP7.

Before upgrade every this was working fine, but after upgrade it is giving dump - "COMMIT_IN_OS_EVENT".

I have created Z of BAPI_PO_RESET_RELEASE. In this BAPI, on FM is called -


In this FM, one perform is there - PERFORM buchen(sapmm06e).

In this Perform, COMMIT WORK is giving dump.

Can you please help me on this.

You can refer screenshot for reference.


Nikesh commit.jpgdump.jpgfm.jpg

commit.jpg (76.2 kB)
dump.jpg (81.8 kB)
fm.jpg (67.8 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi Apr 20 at 12:31 PM
" I have created Z of BAPI_PO_RESET_RELEASE. In this BAPI, on FM is called 

Your Z-FM is not a BAPI. Does it wraps a transaction, analyze your z-code.

Hints: You could try to either use the I_NO_COMMIT parameter of the called FM, call it in another LUW, call the standard BAPI. (or check current status of application to set this parameter: already in process of commit don't set it, already in update task raise dump solution no longer valid, etc..)

Show 12 Share
10 |10000 characters needed characters left characters exceeded

Hi Raymond.

Thank you for the quick reply.

Yes that Z fm is not an BAPI but the whole code inside this Z FM is copied from BAPI except that authority check block.

I didn't get your hint.

Can you please elaborate it.




Did you apply changes provided by SAP in the original BAPI during the upgrade, else could you consider using some enhancement spots to add your own authority-checks or to add those in simple wrapper of the BAPI?


Dear Raymond,

This time I m using standard BAPI instead of Z.

But still same dump is coming.

But if I m running the BAPI separately in SE37, then it it not giving dump and PO release strategy got reset successfully.


Where are you calling the BAPI from (some BAdI method?)


Hi Raymond,

I have done enhancement in class - CL_OS_CA_COMMON &



Could you execute the BAPI and the BAPI_TRANSACTION_COMMIT in DESTINATION 'NONE' followed by an explicit call of RFC_CONNECTION CLOSE?

Show more comments

Copying SAP standard to a Z object is very bad practice and can cause a lot of problems, especially during upgrades. Please reconsider whether you can achieve your requirements differently. E.g. by performing an auth check before calling the BAPI. Or wrapping the BAPI in a Z fn module. Or enhancing the BAPI at an explicit or implicit enhancement point. Or changing the standard. All of these are preferable to copying the standard Z object.

Matt Billingham

SAP Community Moderator


Thank you Matthew.

I have call standard BAPI now , but it is giving same dump at same place.