Application Development 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: 

BAPI is giving error inside the Exists - EXIT_SAPLIMR0_001 (IK11)

Former Member
0 Kudos

I have to create material document for measurement reading from t-code IK11 - User Exit - EXIT_SAPLIMR0_001.

BAPI is working correct outside the Exists. But inside the Exists it throws error : "Nested call of PERFORM ON COMMIT"

I have commented on :

  • CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

  • EXPORTING

  • WAIT = 'X'.

But no success.

Pl. help me to solve the issue,,

Thanks in advance..

3 REPLIES 3

madhu_vadlamani
Active Contributor
0 Kudos

Hi Raj,

I think the issue by using bapi_trnasaction_commit .It is a guess,Please check with a commit statement if still there is any issue then remove the statement and see..

Regards,

Madhu.

Edited by: madhurao123 on Oct 24, 2011 10:26 AM

Former Member
0 Kudos

I have already commented on BAPI_TRANSACTION_COMMIT..

The issue is something else and I don't understand what it is..

Former Member
0 Kudos

Got the Solution..

In the user exit call the z function in Update Task. Check the code below..

*----


set update task local.

CALL FUNCTION 'ZE_MEASURING_POINT_DOCS' IN UPDATE TASK

TABLES

PT_IMRG = IMRG_INS.

*----