Skip to Content
Jan 02, 2019 at 11:05 AM

Exception condition "OS_COMMIT_WORK_FORBIDDEN" triggered


Hello Experts,

I need your help/suggestion. I m working on CO60 transaction where we are entering data below information.


Enter Material

Resv Batch Enter Batch HU Number Scale ID# Weigh Mat Zero Wt UOM Zero Wt Scale Wt UOM MW Indicator Read Wt Man Wt P Status Signature

in the signature column, once click on enter button, our custom function module (Z_HU_PACK) triggers, which performs packing HU . For packing HU, we are using the standard FM BAPI_HU_PACK and followed BAPI_TRANSACTION_COMMIT to commit the record in DB . But during this bapi_transaction_commit, it is going to dump. (Exception condition "OS_COMMIT_WORK_FORBIDDEN" triggered)

If I run the the custom FM from se37, no dump occurs. Please suggest me to overcome this strange issue.