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: 

Reg: Customer Master Creation in BAPI

Former Member
0 Kudos

Hi All,

How can i find the fields, which are all used in

BAPI_CUSTOMER_CREATEFROMDATA1 and in

BAPI_CUSTOMER_CREATEFROMDATA...

And how can i find the sap given sequential/flat file

for customer master.

Thanks & Regards

arun

4 REPLIES 4

Former Member
0 Kudos

hi,

1. go to SE37

2. enter: BAPI_CUSTOMER_CREATEFROMDATA1 or BAPI_CUSTOMER_CREATEFROMDATA

3. select FMDokumentation.

now you have the complete documentation and all needed fields.

sample code: include LWWCC1F04

Edited by: Gordon Breuer on Oct 9, 2008 9:10 AM

0 Kudos

Hi Gordon Breuer,

Can u tell me, is this FM have all the fields that are in transaction XD01.

n how can i execute this FM and where can i get flat file(sap given).

thanks n regards

arun

0 Kudos

hi,

you can test it with SE37 but a BAPI needs a commit to process.

This is only a test, there no new data in KNA1

0 Kudos

most of the fields will be present in the BAPI function. some fields may not be avialable in that BAPI. first list out the fields what you want, then you check the fields in BAPI, and also you can go for LSMW Recording method or LSMW batch input method.

check this batch input program RFBIDE00 .

For testing the BAPI you have to input the data manually in SE37. First create a sample customer in XD01, use the same data for testing the BAPI.