2007 Apr 04 7:39 AM
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.
2007 Apr 04 7:43 AM
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
2007 Apr 04 8:27 AM
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
2007 Apr 05 6:48 AM
2007 Apr 05 6:50 AM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |