on 2018 Jan 16 1:49 PM
Hello Experts,
We have a scenario for Call Off PO in SRM that, PO is getting created and Ordered automatically after Shopping cart approval. Here if I takes 20 to 25 items in shopping cart that time everything is working fine. PO is getting created and ordered correctly.
But If I have more that 25 items in Shopping cart that time PO goes in Error. I have debugged the same & found that while transfer to Back-end system in FM: B46B_DPO_TRANSFER throws an error: "Updating could not be completed".
Actually this error is coming while Commiting the BAPI (BAPI_TRANSACTION_COMMIT). Could you please anyone tell me why this error is coming & what would be the solution?
-
Regards,
Keyur Pawar
Request clarification before answering.
I rather doubt this can be answered on SCN, certainly not with the information given. You haven't shared the message class or number but based on poor grammar I bet it's a custom message anyway. If commit fails then obviously there is something wrong with the data or with the database. The latter would be rather rare, so I'm guessing it's a data + bad programming combination.
You've already done some debugging, so why not check further what is happening before the commit? Obviously there is a custom program involved (based on odd message and BAPI call), so I'm really not sure what you're expecting from the global community here. Review the program and data in your system and fix it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah... It was the data issue...
We were passing repeated line Item numbers to shopping cart.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It could be due to some network issues and if I am correct, you may not be able to even replicate this. Having said that, the Shopping Cart can be reprocessed. Also, please have a look at SU01 for that RFC user whether "Print now" box is checked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lakshmipathi,
Thanks for the reply...
Do you mean "Output immediately" checkbox in SU01? If this is the case, I have tried this solution as well.
Also this is not a uncertain behavior, we are able to constantly replicating this if we pass more than 25 items to Shopping cart.
Could anyone suggest any other solution???
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.