on 01-27-2010 10:08 AM
Dear expart,
I append 3 feild (passport_no, issue_date, Expire_date)in kna1.
Then i design a screen with name1,ORT01,TELF1,passport_no, issue_date, Expire_date.
Then I display the screen in XD01, XD02,Xd03 by badi 'Customer_add_data' and 'customer_add_data_cs'.
here I can insert & view succesfully.
But when i change by XD02, passport_no, issue_date, Expire_dat feilds are update but name1,ORT01,TELF1 did not update.
Can any body help me.
Rayhan.
Hello
To Update data in KNA1 table you can use "BAPI_ADDRESSORG_SAVEREPLICA" Bapi.
Hope this will solve your problem.
Regards,
Sayali
Edited by: Sayali Paradkar on Apr 27, 2010 8:12 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rayhan,
SD_CUSTOMER_MAINTAIN_ALL is not only a bad idea but it does not help in your case.
As the custom fields are appended to KNA1 AND you have implemented CUSTOMER_ADD_DATA and CUSTOMER_ADD_DATA_CS.
I guess you are quite near to the solution .
method SET_DATA of CUSTOMER_ADD_DATA_CS must be implemented to pass back your data to KNA1. The saving is therefore done by the standard save functionality of the transaction.
If the custom data would be out of any standard table (ie: a z_table), then you would need to implement method SAVE_DATA of CUSTOMER_ADD_DATA. There the saving is needed to be dione in update task !
A remark, there is no possibility to save general data and custom general data when you extend an existing customer to a sales area or a company code.
Hope this helped
BR
Alain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use Standard Batch input method of LSMW for TCode XD02,
after uploading the data from LSMW it will automatically go into the tables.
Hope it helps
Regards
Mansi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use batch input or LMSW
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
SD_CUSTOMER_MAINTAIN_ALL use this FM
Regards
Azeez
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.