‎2007 May 20 11:29 PM
hi,
i just want to know what are the tables and fields generally one would use to extend the customer under one account group sold to party to new sales area using transaction XD01 and modify the extended customer using XD02 by session method?
‎2007 May 20 11:44 PM
Look at KNA1 Table and field name - KTOKD
Sales with Customer : KNVV Table..
when you upload the data into customer transaction and data will be updating into diffrent tables
KNA1
KNVV
KNB1
KNc1
KNMT
Reward Points if it is helpful
Thanks
Seshu
‎2007 May 20 11:44 PM
Look at KNA1 Table and field name - KTOKD
Sales with Customer : KNVV Table..
when you upload the data into customer transaction and data will be updating into diffrent tables
KNA1
KNVV
KNB1
KNc1
KNMT
Reward Points if it is helpful
Thanks
Seshu
‎2007 May 20 11:55 PM
hi seshu,
Thanks for ur helpful answer. Do u have any sample code for this?
‎2007 May 21 12:01 AM
I have Simple BDC to create customer master ...
report ZCUST_XD01
no standard page heading line-size 255.
include bdcrecx1.
parameter: p_anred type kna1-anred,
p_name1 type kna1-name1.
start-of-selection.
perform open_group.
perform bdc_dynpro using 'SAPMF02D' '0100'.
perform bdc_field using 'BDC_CURSOR'
'RF02D-BUKRS'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RF02D-BUKRS'
'1177'.
perform bdc_dynpro using 'SAPMF02D' '7100'.
perform bdc_field using 'RF02D-KTOKD'
'SAK4'.
perform bdc_dynpro using 'SAPMF02D' '0110'.
perform bdc_field using 'BDC_CURSOR'
'KNA1-SPRAS'.
perform bdc_field using 'BDC_OKCODE'
'=UPDA'.
perform bdc_field using 'KNA1-ANRED'
p_anred.
perform bdc_field using 'KNA1-NAME1'
p_name1.
perform bdc_field using 'KNA1-SORTL'
'CSV'.
perform bdc_field using 'KNA1-PFACH'
'11111'.
perform bdc_field using 'KNA1-PSTLZ'
'19380'.
perform bdc_field using 'KNA1-LAND1'
'US'.
perform bdc_field using 'KNA1-REGIO'
'PA'.
perform bdc_field using 'KNA1-SPRAS'
'E'.
perform bdc_dynpro using 'SAPLSPO1' '0100'.
perform bdc_field using 'BDC_OKCODE'
'=NO'.
perform bdc_transaction using 'XD01'.
perform close_group.
Reward Points if it is helpful
Thanks
Seshu
‎2007 May 21 12:04 AM