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

regarding BADI

Former Member
0 Likes
573

Hi all

I want know difference between BDC tablecontrol and dialog programming table control. can any one give me coding part of both table control.

Hi all

I want know difference between BDC tablecontrol and dialog programming table control. can any one give me coding part of both table control.

4 REPLIES 4
Read only

Former Member
0 Likes
554

Hi Surjana

Table Control is created using dialog programming. It cannot be created using BDC. The thing is it is tough to handle table control in BDC, i.e to move data to a transaction with table control. So we use some techniques to handle table control in BDC.

Hope this make you clear.

Britto

Read only

Former Member
0 Likes
554

Hi,

We design table Controls in Dialog programming by taking a screen element available on the screen and add some fields in it. these fields are to be filled from the code written in the program from an internal table. Since table control is used to fill multiple values for fields an internal table is used to fill the data. when you use TC on screen you have to Write LOOP...ENDloop in both PAI and PBO. there are sample SAP programs in the system, just go through them.

Coming to BDC, we have to populate the external data into SAP system using BDC into Table control.

For A single Header record there will be multiple Item records, which we have to populate in the Tabale control.

For each single header record, we have to loop the Item table and to fill the records.

reward if useful

regards,

Anji

Read only

0 Likes
554

hi,

can i get coding of BDC table control.

regards,

srujana.

Read only

0 Likes
554

Hi Srujana,

Check this code.

syntax:

CONTROLS .

if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.

Hope this resolves your query.

Reward all the helpful answers.

Regards