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

What is abap work bench?

1352


What are the Control levels in internal tables?

1100


A field-groups statement or an insert statement reverses storage space and transfers values. State true or false. : abap modularization

1024


How is conversion of data types done between abap/4 & db layer?

1199


Differentiate between report and dialog program

1077


5) How to rereive text elements in SF and script?

2164


Define infotype ? : abap hr

1282


Will 50,000 records be uploaded directly into APP's Server?  

2388


GUYS any one please can u post questions in sap a bap webdynpro questions.. please i need to know some technical questions regarding webdynpro and ADOBE forms ?

1894


What is the difference between a substructure and an append structure?

1244


Can we include customizing include or an append structure with pooled or cluster tables?

1187


Explain the difference between a dialog program and a report?

1034


Difference between domain and data element? What are aggregate object?

1133


What are the major steps will you use for tuning?

1061


How many main windows are allowed in sapscript?

1028