Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dump "COMMIT_IN_POSTING" while posting Goods Issue

Former Member
0 Likes
2,250

Hi All,

We are trying to post Goods Issue using the FM BAPI_GOODSMVT_CREATE.

Based on the return status of this FM we are commiting the transaction using BAPI_TRANSACTION_COMMIT.

On Execution we are getting the dump "COMMIT_IN_POSTING".

Please let us know if anyone has any idea about this error.

Regards,

Lavanya.

3 REPLIES 3
Read only

Former Member
0 Likes
981

no need to commit, sind the BAPI does that already.

Read only

0 Likes
981

Hi Florian,

I have commented the BAPI_TRANSACTION_COMMIT, but it is giving same dump since commit work is happening in another FM which I am using in my program. So I have commented that FM, now it is giving a dump MESSAGE_TYPE_X. The dump error analysis is:

Short text of error message:

Nested call of PERFORM ON COMMIT: NESTED_PERFORM_ON_COMMIT caller: SAPLM

BRE program: SAPLMBRE form: DELTA_PUT

Long text of error message:

Diagnosis

During processing of a routine called using PERFORM ... ON COMMIT,

the system attempted to call PERFORM ... ON COMMIT again. Nesting

of this is not allowed.

System Response

Procedure

The program indicated after "Caller:" must be changed. This is the

program that calls the routine indicated after "Form:" during

COMMIT processing. This routine is part of the program indicated

after "Program:".

Regards,

Lavanya.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
981

I suppose that you call BAPI_GOODSMVT_CREATE in an extension like a Business Transaction Event or a BADI and that this BADI or BTE is executed in update task, where only one COMMIT of the database is generated by the system for all the Functions executed (look at SM13)

Don't use any COMMIT or BAPI_TRANSACTION_COMMIT in this environment, it's forbidden.

Look at <a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCSTUP/BCCSTUP_PT.pdf">Updates in the R/3 System (BC-CST-UP)</a>

Regards