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

BOM (cs01) bdc code

Former Member
0 Likes
495

Hi All,

I need BDC code for BOM (cs01), i don't know how to handle "Table Control" in BDC.

Flat file is also required. Because, i think flat file arrangement will be differ from regular flat file format.

It is very urgent.

Thanks & Regards,

Srinivas

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
464

Hi Satya,

To handle table control you need to do the recording of cs01 accordingly.

Record the transaction entring the header data and when you come to the table control, enter one or two rows and press new entries, which gives you new rows for value entry. Finally once you are done with the recording, get the program from the recording.

At the point where you entered value for table control you can see the row/colum indexes. The "New Entry" okcode will give you an initialized index for the new rows.

you need to dynamically increment the indexes for the table control while you loop throught the table control data (item data).

after you pass say 5 to 10 records to the table control, you have to call the OKCODE for the "New Entry" button which gives you fresh rows for value entry and you need to initialize the indexes for the table control rows. This cycle continues until you complete the entried for table control and then proceed with further processing.

Reward Points if this helps.

-Thank you-

2 REPLIES 2
Read only

Former Member
0 Likes
464

Try lsmw batch input method using program RCSBI010.

Hope that helps.

Read only

Former Member
0 Likes
465

Hi Satya,

To handle table control you need to do the recording of cs01 accordingly.

Record the transaction entring the header data and when you come to the table control, enter one or two rows and press new entries, which gives you new rows for value entry. Finally once you are done with the recording, get the program from the recording.

At the point where you entered value for table control you can see the row/colum indexes. The "New Entry" okcode will give you an initialized index for the new rows.

you need to dynamically increment the indexes for the table control while you loop throught the table control data (item data).

after you pass say 5 to 10 records to the table control, you have to call the OKCODE for the "New Entry" button which gives you fresh rows for value entry and you need to initialize the indexes for the table control rows. This cycle continues until you complete the entried for table control and then proceed with further processing.

Reward Points if this helps.

-Thank you-