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

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 ?

2002


How is the command suppress-dialog useful?

1156


What is the advantage of structures?

1150


What is the Difference between At Line selection and At user-command?

1321


How can we create callable modules of program code within one abap/4 program?

1161


Give 3 scenario of reporting due to which you require reporting help of ABAP consultant?

2137


Some Realtime Objects on Bdc.

2940


Program for Prime numbers and Matrix plz explain me the procedural method with steps

2810


How do you validate the selection criteria of a report? And how do you display initialvalues in a selection screen?

1259


Which transaction code is used executing a report (type 1 program)? : abap data dictionary

1103


What are the screen elements.

1066


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

2206


How to give programe name as input in BDC report of abap ?

2311


What are the abap/4 commands that link to a layout set?

1410


Difference between Field groups and internal tables?

1111