‎2014 Apr 09 6:00 AM
Hello Experts,
I am trying to create delivery with reference to Standard Order when I click on SAVE I am getting message that delivery is being created. But when I am trying to open the same delivery in change mode I am getting Update termination Error saying delivery not created.
So what I tried doing is while creating delivery I have given Picked quantity and done with PGI then i am able to save the Delivery successfully and table LIKP is also updated. But this is not always that I can do. In my production system, without doing PGI I should able to save Delivery.
Please could anybody help me on this ..is there any SAP notes?
PS: My system is upgraded from ECC 6.0 Ehp2 to ECC 6.0 Ehp7.
Many Thanks in advance.
Priyanka J.
‎2014 Apr 09 7:16 AM
Hi,
please check in SM13 which update module fails.
Regards,
Klaus
‎2014 Apr 09 7:38 AM
Priyanka,
As Klaus said SM13 give us the info on update termination and also lets us debugg that particular module.
K.Kiran.
‎2014 Apr 09 7:53 AM
Hello Kiran, Hello Klaus,
Below are the details;
| Function Module | RV_DELIVERIES_SAVE |
| Status | Update was terminated |
| Report | LV50UF0L |
| Row | 50 |
| Error details Class: | 00 | Number: | 671 |
Internal session terminated with a runtime error POSTING_ILLEGAL_STATE
MENT (see ST22)
‎2014 Apr 09 7:59 AM
Hi Priyanka
Where have you written the code to create delivery please provide the details. It should actually be running when sales order has been saved and lock has been released. Do you have any commit work etc /..?
Nabheet
‎2014 Apr 09 12:31 PM
‎2014 Apr 09 12:42 PM
Look in the generated dump thru ST22. POSTING_ILLEGAL_STATEMENT is usually triggered by wrongly coded BAdI/Exit that execute in update task some prohibitted statement (e.g. COMMIT WORK).
If the dump does not relate to a customer development, then look for OSS notes or raise an OSS message (http://service.sap.com/incident) for recent versions.
Regards,
Raymond
‎2014 Apr 09 12:44 PM
Thank you All!!
Issue is resolved, it was due to wrong code done in User exit.
‎2014 Apr 09 1:10 PM
Priyanka,
If you are opening a thread as a Question do make it a point to provide the details of what caused the error and how it was resolved rather than closing it as "issue resolved".That will benefit everyone in the forum when they are going through the thread.
K.Kiran.