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
Differentiate database index and match code.
What is the difference between upload and ws_upload ? : abap bdc
What is table attribute? : abap data dictionary
1/ How do u apprach if error occur in sending idocs ? 2/ where u assigned process code ?
What are the differences between the table and the structure in the data dictionary in the sap abap?
What are the different types of the sap abap data dictionary objects?
What is the significance of hide?
Specify the types of data dictionary objects.
What is buffering in abap?
what is the purpose of BAPI BAPI_CUSTMATINFO_GETLIST What is input and output of this BAPI.
What is the maximum No. Of structures that can be included in a table or structure. : abap data dictionary
Define structure in abap data dictionary?
What is tmg?
Is it possible to bring select option in module pool screens?
What will happen when we use single buffered selected?