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
Define alv programming in abap?
Did you create help views?
What is a type-pool?
Have you set up a back ground job ? How to create a background job without a variant ?
Hi! I want to join SAP ABAP course in Hyderabad, can any one tell me where should I join? and Which is the best institute for SAP WORKSHOP? Thank you...
What is its?
Why grouping of fields is required? What is the max no of modification groups for each field?
What are the function modules used to create batch input session? : abap bdc
What are the contents in technical specifications?
what is user specific parameter?
SM35 transaction, How to automate BDC ?
What are the types of the programming language used in the sap abap software?
What is SAP Data conversion ?
When a function module is activated syntax checking is performed automatically. State yes or no. : abap modularization
What are the field and chain statements?