Logic for using table controls in BDC?
Answers were Sorted based on User's Feedback
Answer / vandan
data : count type i value 1.
data : var type i value 1.
types : begin of header ,
firstfield(1),
flg(2),
.........
.........
end.
types : begin of item ,
firstfield(1),
flg(2),
.........
.........
end.
Loop at header table.
loop at item table.
if header-firstfield = 'H'.
Pass coun to header-flg.
count = count +1.
else.
pass count to item-flg.
endloop.
endloop.
loop at header data .
header BDC recording.
loop at item data where item-flg = header-flg.
item BDC recording.
var = var + 1.
if var > 3.
put click recording.
var= 1.
endif.
put save recording.
endloop.
endloop.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sonalmishra
To upload transactional data along with master data
Is This Answer Correct ? | 0 Yes | 0 No |
what are obsolete function modules FROM version 4.5b to ECC 6.
What is macro? : abap hr
You are running a report. It is taking long time for execution. What steps will you do to reduce the execution time.
What are dynamic modifications of a screen? explain in detail?
What is the maximum number of structures that can be included in a table or structure
What is the difference between table and template?
What is meant by performance analysis?
In the scripts,Which is mandatory function module means with out Open_form and can we write the print prg
Can we create a field without data element ? If yes what is the difference?
how to handle events in classical reports?
What is the differrences between structure and table in data dictionary in abap? : abap hr
If a table that is to be extended contains a long field, we cannot use append structures why? : abap data dictionary