Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



Logic for using table controls in BDC?

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


Please Help Members By Posting Answers For Below Questions

What are the buffering options in abap?

1106


How to read files and process BDC's automatically ?

2108


what is a text table ?

2335


how do you call third selection screen ?

2112


What is the purpose of sum statement?

986


What are th control break events in abap?

1086


What is append structure?

1041


What is repository info. Systems?

1094


Can you create a table with fields not referring to data elements? : abap data dictionary

1276


Explain the session method? : abap bdc

1146


Can we write the code both call transaction and session method in single program?

1085


how to modify the standard method as per your requirement

1434


Select up to 1 row and select single difference ?

1114


How to debug rfc function module?

1266


Can we make use of flow logic control key words in abap/4 and vice-versa?

1047