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

Need a BAPI for uploading PO fields

sachin_soni
Active Participant
0 Likes
934

hi all!

i have the following senario ,i need to upload mandatory fields from the po and put them onto the EP using a BAPI.

can anybody help in identifying wat are the mandatory field which i should use as export parameters in bapi //or if already there is any BAPI available for that,that wud be just gr8.

waiting for the solutions

Sachin soni

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
895

BAPI_PO_CREATE is the bapi for your requirement.

But to telll what are the mandatory fields, we have to know what type od Po are you craeting.

Read the FMs documentation for more details.

Regards,

Ravi

hi all!

i have the following senario ,i need to upload mandatory fields from the po and put them onto the EP using a BAPI.

can anybody help in identifying wat are the mandatory field which i should use as export parameters in bapi //or if already there is any BAPI available for that,that wud be just gr8.

waiting for the solutions

Sachin soni

6 REPLIES 6
Read only

Former Member
0 Likes
896

BAPI_PO_CREATE is the bapi for your requirement.

But to telll what are the mandatory fields, we have to know what type od Po are you craeting.

Read the FMs documentation for more details.

Regards,

Ravi

Read only

Former Member
0 Likes
895

Hi sachin,

1. if u are talking about creating

PO using a bapi, then

we can use

BAPI_PO_CREATE1

regards,

amit m.

Read only

Former Member
0 Likes
895

Hi Sachin,

Here is the list of all BAPI relating to PO.

In your case BAPI_PO_CREATE is the required BAPI

BAPI_PO_CREATE Create Purchase Order

BAPI_PO_GETDETAIL Display Purchase Order Details

BAPI_PO_GETITEMS List Purchase Order Items

BAPI_PO_GETITEMSREL List Purchase Orders for Release (Approval): New as of 4.0A

BAPI_PO_GETRELINFO Display Detailed Release (Approval) Information on Purchase Order

BAPI_PO_GET_LIST List Purchase Orders - Only up to 4.0A

BAPI_PROCOPERATION_GETCATALOGS Determine Valid Catalogs as Value Help

BAPI_PROCOPERATION_GETINFO Analysis of Objects to be Generated in Purchasing

Regards,

Tanveer.

Mark helpful answers

Read only

0 Likes
895

hi Sachin,

use BAPI <b>BAPI_PO_CREATE</b>

Read only

0 Likes
895

Hi!

It seems that you want to display PO orders

Use

BAPI_PO_GETDETAIL Display Purchase Order Details

BAPI_PO_GETITEMS List Purchase Order Items

BAPI_PO_GET_LIST List Purchase Orders Only up to 4.0A

Hope it works

Atul

Read only

Former Member
0 Likes
895

Hi,

If you want to Create then use BAPI_PO_CREATE

if you want any modifications then use BAPI_PO_CHANGE

example code:

http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm

Thanks

Sudheer