how will u handle multiple line items in a table control?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / kunal
Use loop into loop , concatinate the dyanmic number with te
field in second loop.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / ravikanth
@ Amswer 2.
Thanks for posting. It helped in rea time dvlpmt.
Thnakyou.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / abaprajaram
Through loops for the control brak statement
Is This Answer Correct ? | 0 Yes | 1 No |
What is luw or data base transaction ?
What is the step-by-step process to create a table in data dictionary? : abap data dictionary
In Dialog Programming Table Control,how to make only one row editable?
what is single screen maintainence?
what is the use of control_form?
what is the role of CUID in Business Objects Import Wizard
How do you backup Sapscript layout sets? Can you download and upload? How?
when you are using 2 internal table in program, you have decided to use for all entries statement to retrieve data but unfortunately there are no records in the first internal table. What will be the result? (2nd internal table contains records).
How do you create a table?
What is performance tuning ?
tcode to find applicatin server directories?
What are extracts?