Answer Posted / 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 |
Post New Answer View All Answers
After running a BDC program in background, next day morning when you see the results, few records are not updated(error records). What will you do then ?
How is the command suppress-dialog useful?
What is the advantage of structures?
What is the Difference between At Line selection and At user-command?
How can we create callable modules of program code within one abap/4 program?
Give 3 scenario of reporting due to which you require reporting help of ABAP consultant?
Some Realtime Objects on Bdc.
Program for Prime numbers and Matrix plz explain me the procedural method with steps
How do you validate the selection criteria of a report? And how do you display initialvalues in a selection screen?
Which transaction code is used executing a report (type 1 program)? : abap data dictionary
What are the screen elements.
1)can any body tell the transport request number concept and 2)there are 3 screens in one screen u have uploaded the resume and second screen also u have done the same thing but when u are uploading the resume in third screen u got some error in somewhere else but whatever u have uploaded the resume in 1 and 2 should not
How to give programe name as input in BDC report of abap ?
What are the abap/4 commands that link to a layout set?
Difference between Field groups and internal tables?