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 are pooled tables?

1053


Can I execute user exits? If yes, how?

1034


What are the data types of the abap/4 layer?

1201


What is evaluation path, where do we do it and why? : sap abap hr

1173


i have cleared my technical round and manager round in cts but they told me u will get a call with in couple of days now i dont know about my status

8998


What does nw 7.4 sp 05/nw 7.5 sp 02 offers in abap?

1093


What is the difference between table and template?

1027


What are plan versions used for? : sap abap hr

1053


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

1356


What is the difference between call transaction method and the session method? : abap bdc

966


What is the disadvantage of a call by reference? : abap modularization

1113


Name the special commands of list?

1154


Difference between function group and function module?

1181


How do you find if a logical database exists for your program requrements?

1100


What are the types of windows in sap script?

1106