12-29-2005 11:59 PM
I am using BAPI_PO_CREATE1 to create Purchase Orders.
It used to work fine until now. It is giving me a dump.
<u>Trigger Location Of Runtime Error</u>
<b>Program:</b> CL_PO_ITEM_HANDLE_MM==========CP
<b>Include:</b> CL_PO_ITEM_HANDLE_MM==========CM00G
<b>Row:</b> 29
<b>Module type:</b> (METHOD)
<b>Module Name:</b> GET_DATA
I debugged and found that it calls another FM - <b>MEPO_DOC_ITEM_GET</b> and this FM is returning a subrc value of zero and the method mentioned above is raising an exception.
Any help will be appreciated!
Thanks in advance!
Message was edited by: Sam
12-30-2005 12:10 AM
12-30-2005 12:10 AM
12-30-2005 12:23 AM
Thanks for the reply! I figured it out!
That was a data-cleansing problem! In some POs the line items had the same item numbers and I didnt validate it!
Cheers!