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

Create PO using BAPI with Explicit PO Number

former_member214709
Participant
0 Likes
1,341

Hello Guru's,

I need some help, there's a requirement where i need to create PO in SAP by explicitly passing the PO Number (EBELN).

This PO Number (EBELN) along with the data which is required to create PO will be provided to me in the excel sheet and i need to create PO in SAP.

Is there any BAPI which can create PO with explicit PO number which i will pass to it.

Warm Regards,

D. Ailawadi

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
883

Try BAPI_PO_CREATE1, use field POHEADER-PO_NUMBER and set POHEADER-PO_NUMBERX too, of course that must be consistent with the Customizing (external number)

Regards,

Raymond

Hello Guru's,

I need some help, there's a requirement where i need to create PO in SAP by explicitly passing the PO Number (EBELN).

This PO Number (EBELN) along with the data which is required to create PO will be provided to me in the excel sheet and i need to create PO in SAP.

Is there any BAPI which can create PO with explicit PO number which i will pass to it.

Warm Regards,

D. Ailawadi

2 REPLIES 2
Read only

PeterJonker
Active Contributor
0 Likes
883

I think you need to define a PO document type and assign a number range for external numbers to it, if you have done that you can use the "normal " BAPI for creating the PO.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
884

Try BAPI_PO_CREATE1, use field POHEADER-PO_NUMBER and set POHEADER-PO_NUMBERX too, of course that must be consistent with the Customizing (external number)

Regards,

Raymond