cancel
Showing results for 
Search instead for 
Did you mean: 

how to create CUSTOMER IN SAP

Former Member
0 Kudos

HI,

I AM USING NETWEAVER .I HAVE WRITEN SOME BAPIS LIKE SALES ORDER CREATE,QUOTATION,MATERIAL ....... USING ENTERPRISE CONNECTOR

I AM FACING SOME PROBLEMS WHILE CREATING CUSTOMER IN SAP

PLEASE SEND ME CODE FOR CREATE CUSTOMER

REGARDS

GURU

Accepted Solutions (0)

Answers (1)

Answers (1)

kishorg
Advisor
Advisor
0 Kudos

Hi Guru,

u can use these set of BAPIs.

BAPI_CUSTOMER_CHANGEFROMDATA Only for ONLINE store!!! <b>Customer: Change Customer</b>

BAPI_CUSTOMER_CHANGEFROMDATA1 Only for ONLINE Store!!!

<b>Check Personal Data of a Customer</b>

BAPI_CUSTOMER_CREATEFROMDATA Only for ONLINE Store!!!

<b>Customer: Create Customer</b>

BAPI_CUSTOMER_CREATEFROMDATA1 Only for ONLINE Store!!! BAPI Create Cstmr for BO Cstmr (KNA1) -

this is also one of the BAPI

'BAPI_CUSTOMER_CREATE'

the transactions for customer creation and display are ..

XD01 CREATE CUSTOMER

XD02 MODIFY CUSTOMER

XD03 DISPLAY CUSTOMER

Regards

Kishor Gopinathan

Former Member
0 Kudos

hi ,

please tell me how to user XD01 CREATE CUSTOMER ,

XD02 MODIFY CUSTOMER ,

XD03 DISPLAY CUSTOMER ,

in my java program.

i did not face this type of (eg:XD01 CREATE CUSTOMER ....) code in programms which i have written (eg:salesordercreate,quotation........)

PLEASE GUID ME TO DO THIS ..

REGARDS

GURU

<b></b><b></b>

kishorg
Advisor
Advisor
0 Kudos

Hi Guru ,

<<

XD01 - CREATE CUSTOMER ,

XD02 - MODIFY CUSTOMER ,

XD03 - DISPLAY CUSTOMER ,

>>

i meant ,

XD01 ,XD02 nd XD03 are the transaction for CREATE , MODIFY , nd DISPLAY the customers.

u can use the BAPIs that i mentioned in my last reply ..

Regards

Kishor Gopinathan

Former Member
0 Kudos

hi,

can you please send me code for BAPI_CUSTOMER_CREATEFROMDATA1 bapi.

i have tried just this bapi with sapgui but it is returnin error Msg.Reason is i don't Know about required fields.

regards

Guru

kishorg
Advisor
Advisor
0 Kudos

Hi Guru,

u can view the source code of any BAPIs from SE37(Function Builder) itself.

just run the transaction in R/3 .then enter the BAPI name .

there u can see the function module documentation.

from there , u will get a better picture about the import parameter , what are the fields necessary for executing the BAPI..

Regards

Kishor Gopinathan

Former Member
0 Kudos

hi,

i have tried just as u told .But it is Giving Below Error

<b>f2 862 Double Creation of Company and User Address not permitted</b>

Please Help me

To do this

Regards

Guru

kishorg
Advisor
Advisor
0 Kudos

Hi Guru,

<<f2 862 Double Creation of Company and User Address not permitted

>>

me too tested that BAPI by filling sample values ..

i got the same exception when i try to fill the details in PI_PERSONALDATA and PI_COMPANYDATA..

i could solve this by ...

Actually , ur above mentioned error is because , u have filled the Personal Details in

PI_COMPANYDATA also .. i think we only have to fill these details in one of the import params (PI_PERSONALDATA or PI_COMPANYDATA).

Try with these values

Import Parameters

-


1) PI_PERSONALDATA

-


TITLE_P <u can find out this from tsad3t table itself>

FIRSTNAME

LASTNAME

DATE_BIRTH

CITY

DISTRICT

POSTL_COD1 STREET

REGION COUNTRY IN

COUNTRYISO IN

TEL1_NUMBR

LANGU_P EN

LANGUP_ISO EN

CURRENCY INR

CURRENCY_ISO INR

2) PI_COPYREFERENCE

-


Here u have to fill these fields with proper values..

Sales Organization

Distribution Channel

Division

Reference customer

these values u can find out from the kunnr table itsef..

Regards

Kishor Gopinathan

Former Member
0 Kudos

Hi,

How to find tsad3t table in sapgui

regards

guru

kishorg
Advisor
Advisor
0 Kudos

Hi Guru,

after login into SAP using SAP GUI ,

just run the transaction se11(abap dictionary). there have to enter the name of the table u want see the contents.. u can find out the contents of the table ..

just refer this link.. list of transactions u can see here. use this link..

http://www.sapdevelopment.co.uk/tcodes/tcodes.htm

just find out the values and fill the import parameters proprely and carry out test run...

Regards

Kishor Gopinathan

Former Member
0 Kudos

hi,

<b>Gopinadhan</b>

Thanqqqqqqqqqqqqqqq.............

Regrards

Guru