Application Development 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: 

BAPI PO Create

Former Member
0 Kudos

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.

4 REPLIES 4

bpawanchand
Active Contributor
0 Kudos

Hi

[Sample Code|http://www.sapfans.com/forums/viewtopic.php?t=64958&highlight=bapipocreate1customfield]

Regards

pavan

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Shyam,

The same topic has been discussed in the following thread:

Regards,

Chandra Sekhar

Former Member
0 Kudos

ok