Hi All,
I added a Field in the Customer Transaction i.e XD01 in the marketing Tab and mapped it to a new field in the table KNA1 append section.
Now I have a flat file which has kunnr and ktokd and my new field.
I have to use this flat file and update my new field.
Please let me know which BAPI we can use.
Request clarification before answering.
ok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i'am new to SDN but i've got a problem using SD_CUSTOMER_MAINTAIN_ALL. That is after running the FM it's says it's a sucess both and return a customer number, but whem i go to T Code XD03 it gives a dump with my customer number and the it exists on KNA1 but are missing fields. Any clue?
Thzs in advance
Jaime Cordeiro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mayank,
Check FM BAPI_CUSTOMER_CHANGEFROMDATA
Thanks
Lakshman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have avoided using these BAPIs since ther intent is for online store. However there is another SAP function module that we have used to update customer master information. Try using SD_CUSTOMER_MAINTAIN_ALL.
I allows you to pass in the KNA1 Structure to update the data. Here is the general flow of the program.
1. Select KNA1 data for your customer numbers, based on your file I am assuming that these already exist in your system
2. Loop at populate the i_kna1 structure of the function module with the existing data and populate the field you want to change
3. Call SD_CUSTOMER_MAINTAIN all
This function module works with both create and change. If you are trying to create a customer then you just need to leave the kunnr field on I_KNA1 blank.
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mayank,
Welcome to SDN !!
BAPI_CUSTOMER_CREATE
Pls.reward if it solves your prob..
Thanks
Eswar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.