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
Example of table cluster and cluster tables.
what is leave to TRANSACTION?
How to Solve a Particular Ticket in Realtime ?
Power is interrupted while transferring data from internal table to application server. How will you determine many records are transferred in session method and call transaction method? : abap bdc
What is the name of the system variable that holds the contents of the selected line in interactive reporting?
What are the two ways for restricting the value range for a domain ?
what is difference between set screen and call screen ?
What is sap abap data classes?
How many types of views are there ?
What are the ways you can do the tuning?
What is the difference between select statement and provide statement ? : abap hr
Hat are the different types of mode (run code) in call transaction method?
What is hotspot?
How would you set the formatting options statically and dynamically within a report?
How can we upload a text file having delimiters in to legacy system? : abap bdc