Skip to Content
avatar image
Former Member

creating maintenance order from enhancement IMRC001


I am trying to create a maintenance order from the customer exit EXIT_SAPLIMR0_001 inside enhancement IMRC001. For order creation i have invoked the BAPIs BAPI_ALM_ORDER_MAINTAIN and bapi_transaction_commit subsequently to write changes to the database. But once the control returns from main program I receive an express message which states

Update was terminated

System ID.... ECD

Client....... 400

User..... SSEN

Transaction.. CO11N

Update key... 48DCDEE6DD6E01AFE1008000093362E1

Generated.... 15.10.2008, 09:11:42

Completed.... 15.10.2008, 09:11:43

Error Info... 00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC

Can any of you help me on this. I am doubtful on commiting from a include; but in the doc for this enhancement it is mentioned that we can create order from it. Is there any other way to do this?

Thanks in advance


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 15, 2008 at 04:10 PM


    I think there's some sample code with this user-exit..

    Have a look at that, it may give some pointers...

    Also try without the BAPI_TRANSACTION_COMMIT.


    Add comment
    10|10000 characters needed characters exceeded