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
Explain lsmw?
what are the two methods of modifying sap standard tables ?
What are client dependent objects in abap/sap?
Explain how data is stored in cluster table?
How do you find the information on the current screen?
What is the difference between the exits created in M.M and S&D?
What are the different types of parameters? : abap modularization
How do you find if a logical database exists for your program requrements?
How to read files and process BDC's automatically ?
What is logical database? : abap hr
What is a collect statement?
What are the contents in technical specifications?
What is the difference of update types in call transaction method ? : abap bdc
How can we set the tablespaces and extent sizes ?
in bdc session method. if u run the record in fore ground manually i have a 7 records but at the time of record processing first record produces the error how can u process records manually in fore ground please tell me any one knows?