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
A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain?
What is bdc programming in sap?
Why do we use dynamic where conditions?
Is it possible to bring select option in module pool screens?
What is repository info. Systems? : abap data dictionary
How will you read from internal table records in a given value range (without using loop)
How to give programe name as input in BDC report of abap ?
Can we make use of flow logic control key words in abap/4 and vice-versa?
How to upload more than 2GB file from External Source to SAP?
Which function module would you use to check the user’s authorization to access files before opening a file?
What is locking? : abap data dictionary
Difference between top-of-page and top-of-page during at line- selection?
What are the different types of internal table?
What are indexes? : sap abap data dictionary
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