Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_PO_CREATE1

Former Member
0 Likes
628

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
574

Hi See this Link

http://abap.wikiprog.com/wiki/BAPI_PO_CREATE1

it will help u a lot.

Amresh.

4 REPLIES 4
Read only

Former Member
0 Likes
574

This message was moderated.

Read only

Former Member
0 Likes
575

Hi See this Link

http://abap.wikiprog.com/wiki/BAPI_PO_CREATE1

it will help u a lot.

Amresh.

Read only

Former Member
0 Likes
574

please read FM documentation all things are clearly mentioned there.and more over search in SCN.

Read only

Former Member
0 Likes
574

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.