‎2011 Jan 31 1:04 PM
Hello Experts,
I have a tool for creating contracts. In this tool i have a purchase order created or changed. On many occasions am changing or adding line items to this purchase order. I am using BAPI_PO_CHANGE.
Now the question i have is, whether there is any limitation in using this BAPI? If i change a purchase order which has more than 400 line items am calling this bapi in background. In such a case this bapi is failing. Good receipt is not happening.
Should i be using any other method to create and change purchase order here. Kindly suggest.
Regards,
Ramanan RS
‎2011 Jan 31 1:53 PM
In background, do you examine the contents of BAPI return table to see why SAP says it's failing? Might start with that...
‎2011 Jan 31 2:16 PM
Since am executing in background i cannot see the return tables. When i execute it in foreground it goes for a time out.
Regards
Ramanan
‎2011 Jan 31 2:45 PM
In that case: make sure to use/create the application log (see transaction SLG1) to store the contents of RETURN.
or.. if your program si a report: simply WRITE the contents of RETURN.
‎2011 Jan 31 2:47 PM
Are you saying that when ran in background your program is dumping ? querying you should be able to get the return message and write it to report whether you are executing in the background or foreground...
When You say Goods receipt is not happening, I am not sure I understand? Are you using BAPIGOODSMVT or BAPI_PO_CHANGE? Can you elaborate exactly what is happening / error message when you execute this program in background?
‎2011 Jan 31 2:00 PM
Does this process end by a DUMP ? Did you try to search a note about this problem ?
I think you should mention the version of SAP too.