09-05-2008 8:02 AM
Hi All,
How to pass data in customer field in EKKO using BAPI_PO_CREATE1 function module during Creation of PO.
Customer field is included through CI_EKKODB Include.
Thanks in Advance.
09-05-2008 8:06 AM
Hi
[Sample Code|http://www.sapfans.com/forums/viewtopic.php?t=64958&highlight=bapipocreate1customfield]
Regards
pavan
09-05-2008 8:08 AM
Shyam
You will have to pass the customer fields data through TABLES EXTENSIONIN & EXTENSIONOUT in the BAPI.
Refer following documentation for more details:
FU BAPI_PO_CREATE1 EXTENSIONIN
____________________________________________________
Short Text
Customer's Own Fields (Import Parameters)
This table allows you to add to the import parameters of the BAPI without modifying it.
The customer enhancement SAPL2012 allows you to add to or modify the PurchaseOrder.Change and PurchaseOrder.CreateFromData1BAPIs by:
Adapting existing SAP database tables
Adding customer-specific fields to SAP tables
Including existing database fields
Including additional customer-specific database tables
The following BAPI Table Extensions are available:
BAPI_TE_MEPOHEADER
BAPI_TE_MEPOHEADERX
BAPI_TE_MEPOITEM
BAPI_TE_MEPOITEMX
BAPI_TE_MEPOACCOUNTING
BAPI_TE_MEPOACCOUNTINGX
Function Module
BAPI_PO_CREATE1
Thanks
Amol Lohade
09-05-2008 8:11 AM
11-26-2008 6:26 AM