‎2010 Dec 20 2:07 PM
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
‎2010 Dec 20 2:11 PM
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.
‎2010 Dec 20 2:26 PM
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