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 customization

Former Member
0 Likes
417

I want to create a new PO, using BAPI_PO_CREATE. While creating PO, I want to send 2 more customized fields to the BAPI_PO_CREATE. Can somebody please let me know , how can I achieve this?

Moderator message: please search for available information/documentation before asking.

Edited by: Thomas Zloch on Dec 20, 2010 7:03 PM

2 REPLIES 2
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
370

You have to use the parameter EXTENSIONIN / EXTENSIONOUT to do it. I guess that you are asking about the structure appended to the standard tables. Use BAPI_PO_CREATE1 instead of BAPI_PO_CREATE.

You have to use the following extension structures.

BAPI_TE_MEPOHEADER

BAPI_TE_MEPOHEADERX

BAPI_TE_MEPOITEM

BAPI_TE_MEPOITEMX

BAPI_TE_MEPOACCOUNTING

BAPI_TE_MEPOACCOUNTINGX

Please search in SCN for the available information.

Read only

Former Member
0 Likes
370

HI,

what additional fields you want to send with BAPI. just go though the BAPI's Provided by Kesav. see there is any BAPI which meets your requirement. if yes use those bapi 's .. other wise copy the standard bapi and add 2 additiional fields which you need.

Hope this will helps you.

Regrads,

Kiran