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

BDC

Former Member
0 Likes
332

Hi,

I am doing BDC recording for VK11 Tcode. The input file is having 9 fields.

I need to design a TD for that.

1. selction-screen is having 5 condition types. zcg2, zcm2, zch2, zcm3, zch3(gross margin segment2, sell multiplier seg2, sharing seg2, sell multiplier seg3, sharing seg3) and the input file.

2. The recording vk11 with the following mapping

kschl( cond Type)

Kunnr( Distributor number)

Matkl(Type of sale)

kbetr(Value)

konwa(currency) fixed value

kmein(uom) fixed value

datab(start date)

datbi(enddate)

3. Input file layout

Distributor number

Type of sale

start date

end date

gross2(zcg2 value)

sellmul2(zcm2)

sharing seg2(zch2)

sellmul seg3(zcm3)

sharing seg3(zch3)

      • for each line of record layout we will create the follwing standard pricing condition in SAP.

ZCG2, DISTRIBUTOR NUMBER, TOS, STARTDATE, ENDDATE, GROSS SEG2,

ZCM2, DISTRIBUTOR NUMBER, TOS, STARTDATE, ENDDATE, SELL MULL2

ZCH2, DISTRIBUTOR NUMBER, TOS, STARTDATE, ENDDATE, SHARINGSEG2,

ZCM3, DISTRIBUTOR NUMBER, TOS, STARTDATE, ENDDATE, SELL MULL3,

ZCH3, DISTRIBUTOR NUMBER, TOS, STARTDATE, ENDDATE, SHARINGSEG3.

The remaing konwa(currency) and kmein(uom) in the mapping are fixed values. And the condition types ZCG2, ZCM2, ZCH2, ZCM3, ZCH3 are from the selection-screen.

Can anybody tell me what are the declarains we have to do while designing TD.

Can u tell me the main logic how to do by CALL TRANSACTION METHOD.

I created two tables with the input file structure and mapping file structure. I got all the records into the input table by uploading. Then how can i get the related data from the input file into the second table befor going to mapping. Can u give the clear idea and logic. Is it possible to loop at first internal table and send the values into second table.

Can u provide the coding for that. Please send me ASAP.......

Thanks..........

1 REPLY 1
Read only

Former Member
0 Likes
279

Just checked your duplicate thread, Naren has pointed to the same link.

Please close this thread and continue with the other...

Kind Regards

Eswar