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 are the different types of luws. What are they?
Does the table can have multiple foreign keys?
identify valid statement when coding a field exit ? a) submit RSCA101X b)MESSAGE E101 C)MESSAGE I101 d)BREASK-POINT
What are the tcodes for performance tuning?
if u define paragraph and character formats what will be overwriting which one
How do you find out whether a file exits on the presentation server?
what is DATA ,TYPES,PaRAMETERS called in ABAP terms?
Does sap handle multiple currencies?
Can we create a database table through a report?
Functionality of Edit call..?
what is main diffrence b/w refresh ,clear and free? with example?
3 Answers Miracle Software, vCentric Technologies,
What is the use of update Function Module ? Where it is used and purpose ?