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

Doubt in BAPI_PO_CREATE1

Former Member
0 Likes
555

Hi all,

I am creating a subcontract PO using BAPi BAPI_PO_CREATE1.While creating such POs it is asking to maintain component materials in ME21N. Now while using the BAPi how to maintain the component materials and create a PO. Can anybody help me out of this?

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
497

Hello Sharan,

Open the BAPI in SE37 and check the "Tables" tab. You will find these two tables:

- POCOMPONENTS

- POCOMPONENTSX

You can use them to include the components on your subcontracting PO.

Regards,

Joã

Hi all,

I am creating a subcontract PO using BAPi BAPI_PO_CREATE1.While creating such POs it is asking to maintain component materials in ME21N. Now while using the BAPi how to maintain the component materials and create a PO. Can anybody help me out of this?

Thanks.

2 REPLIES 2
Read only

Former Member
0 Likes
498

Hello Sharan,

Open the BAPI in SE37 and check the "Tables" tab. You will find these two tables:

- POCOMPONENTS

- POCOMPONENTSX

You can use them to include the components on your subcontracting PO.

Regards,

Joã

Read only

Former Member
0 Likes
497

Hi , The best way is as per ur requirement craete a po manually from me21n by giving componets

and check the same using

bapi_po_getdetail by passing the po number generated

and check all the tables how it comes , as per that u use ur bapi.

u have to use

POCOMPONENTS

- POCOMPONENTSX also