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 do you understand by work area and internal tables in abap? Why do we use it?

1048


How can you distinguish between different kinds of parameters?

950


How to find the return code of a statement in abap programs?

1058


What are table clusters?

971


Can we access static attribute from instance method

1433


What are client dependant objects in abap/sap?

1111


What is bdc programming in sap?

1060


how to track records from data dictionary?

2032


How the at-user command serves mainly in lists?

1055


What are the data classes in abap?

1077


Difference between Insert, Update and Modify?

1114


What is the difference between a substructure and an append structure? : abap data dictionary

1057


How to creat transactions? : abap data dictionary

1065


What is an rfc?

1144


Suppose there is check box along with the rows. The requirement is, select the require check boxes and press a used defined button to save all these checked row data to another table. How can you do it?

2008