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
What is abap work bench?
What are the Control levels in internal tables?
A field-groups statement or an insert statement reverses storage space and transfers values. State true or false. : abap modularization
How is conversion of data types done between abap/4 & db layer?
Differentiate between report and dialog program
5) How to rereive text elements in SF and script?
Define infotype ? : abap hr
Will 50,000 records be uploaded directly into APP's Server?
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 ?
What is the difference between a substructure and an append structure?
Can we include customizing include or an append structure with pooled or cluster tables?
Explain the difference between a dialog program and a report?
Difference between domain and data element? What are aggregate object?
What are the major steps will you use for tuning?
How many main windows are allowed in sapscript?