‎2008 Nov 07 3:53 AM
Moderator message: please use a meaningful subject for your questions in future
Hi Experts,
I want to create a PO from a PR.
What are the mandatory paramaters to BAPI_PO_CREATE1.
Since there are a lot of differences, in PR vendor is at item level.. in PO its at header level..
Thanks...
Edited by: Matt on Nov 7, 2008 9:15 AM
‎2008 Nov 07 4:01 AM
‎2008 Nov 07 3:56 AM
‎2008 Nov 07 4:01 AM
‎2008 Nov 07 4:04 AM
please read FM documentation all things are clearly mentioned there.and more over search in SCN.
‎2008 Nov 07 4:12 AM
Hello,
Try in this way
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = y_li_header
poheaderx = y_li_headerx
IMPORTING
exppurchaseorder = y_v_exppurchaseorder
EXPHEADER =
EXPPOEXPIMPHEADER =
TABLES
return = y_li_return
poitem = y_li_poitem
poitemx = y_li_poitemx
poaddrdelivery = y_li_podelivery
poschedule = y_li_schedule
poschedulex = y_li_schedulex
*Start of Change by Amol Shinde on 30/06/2008
poshipping = y_i_bapiitemship
poshippingx = y_i_bapiitemshix
*End of Change by Amol Shinde on 30/06/2008
extensionin = y_i_bapiparex.