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...

how will u handle multiple line items in a table control?

Answer Posted / pinky

in table control field names depends on the no of details
for each record.
Ex:if bank has details like city bankkey bank account etc...
each field in table control can assigned to index..
i.e knbk-banks(01) bank country key
knbk-bankl(o1) bank key.
if the fields in second row it will increment to (02).
logic:

it_knb1 is the table for list of customers bank details.
data:v_index type n.
data:v_fnam like bdcdata-fnam
loop at it_banks into wa_banks.
increment by 1 each time for all records.
v_ndex = sy-tabix.
concatenate knbk-banks ('v_index') into v_fnam.
wa_bdcdata-fnam = v_fnam.
wa_bdcdata-fval = wa_banks-banks.
append wa_bdcdata to it_bdcdata.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain?

1413


What is bdc programming in sap?

1075


Why do we use dynamic where conditions?

1384


Is it possible to bring select option in module pool screens?

947


What is repository info. Systems? : abap data dictionary

990


How will you read from internal table records in a given value range (without using loop)

1452


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

2226


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

1029


How to upload more than 2GB file from External Source to SAP?

1313


Which function module would you use to check the user’s authorization to access files before opening a file?

1012


What is locking? : abap data dictionary

1123


Difference between top-of-page and top-of-page during at line- selection?

2316


What are the different types of internal table?

1104


What are indexes? : sap abap data dictionary

1071


hi..i hav developed an interactive report in which alv list display in basic list and 1st secondary list in alv grid display.I want to get summation(total) of the columns in the secondary list.I hav used 'do_sum' but i couldnt get.is there any other way to get summation(total) in secondary list which is an alv grid display

2939