05-18-2006 4:06 AM
Hello Gurus,
I can already change a PR document through <b>BAPI_PR_CHANGE</b> however, I could not create a new entries for its line item.
How do I go about it?
Thanks,
Jeffrey
05-18-2006 4:17 AM
Hi Jeffrey,
You may need to set some flag for a particular field of the structure PRITEM when you are creating new item.
GOTO - BAPI Transaction - Select - BAPI_PR_CHANGE - And read the documentation for PRITEM structure(method). Generally SAP provide some comments here if there is any special handling required.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.
05-18-2006 4:28 AM
Hi Ferry,
Based on the documentation I read, this bapi cannot create new items this only supports chanigng of already existing items. Is there a bapi for this?
Thanks,
Jeffrey
05-18-2006 4:35 AM
Hi Jeffrey,
Please try this BAPI.
<b>BAPI_REQUISITION_CHANGE</b>
and add this <b>BAPI_TRANSACTION_COMMIT</b> at the end.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.
05-18-2006 4:43 AM
Hello Ferry,
Same thing, you cannot create a new line item for this bapi based on the documentation i read.
Thanks,
Jeffrey
05-18-2006 4:56 AM
Hi Jeffrey,
It seems you need to use BDC instead BAPI to add new entry to PR.
Before you move forward, please check this BADI <b>ME_PROCESS_PO</b>.
Again, hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.
08-24-2006 7:00 PM
I've read some contradicting posts regarding bapi: BAPI_PR_CHANGE. I was under the impression you could add line items to a PR using this BAPI? Can it be said for certain it can not be done? The documentation is rather lacking.
Thanks!
Enrique Leon