Application Development and Automation 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: 
Read only

doubt in bdc program

Former Member
0 Likes
586

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?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
562

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

4 REPLIES 4
Read only

Former Member
0 Likes
563

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

Read only

0 Likes
562

hi seshu,

Thanks for ur helpful answer. Do u have any sample code for this?

Read only

0 Likes
562

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

Read only

0 Likes
562

hi seshu,

Thanks for ur answer..I rewarded full points..