‎2007 Apr 16 4:56 PM
Hi:
I have a problem wit bapi BAPI_PO_CREATE1 in 4.6c, I need help and I hope ypu could help me.
This bapi returns error messages in table i_return , but I would like to know if it is possible to link this error with the wrong position of Purchase Order. The problem is the next, If you create a large number of orders, and each order has a large number of position, how is possible to know which is the wrong position? If is a PO with, for example, 100 positions, it is not easy to find the wrong position.
Someone knows how to do it? Is it possible to locate exactly the wrong position using BAPI_PO_CREATE1?
Thanks in advance for your response.
Best regards.
‎2007 Apr 16 5:12 PM
‎2007 Apr 16 4:59 PM
HI mario,
the Return table usually tells exactly what error has occured.
You can use the fm: FORMAT_MESSAGE to build a meaningful text out of the message that you get from the BAPI return table.
Regards,
Ravi
‎2007 Apr 25 9:01 AM
Hi Ravi:
I have tried to build a message, but in message is not possible to link an error to a position. For example, if have an error with a material in position 30, in error message error I have information about the problen with the material, but no information about the problem is in position 30. Is it possible to solve it?
Thanks and best regards.
Mario
‎2007 Apr 16 5:12 PM