‎2010 Jan 13 11:28 AM
Hi,
i'm fetching vendor with holding tax types from lfbw table. If a vendor contains more than one withholding tax type then i need to display all the tax types in one line in the o/p like below
Vendor Code WH Tax Type 1 WH Tax Type 2 WH Tax Type 2 WH Tax Type 3 WH Tax Type 4 WH Tax Type 5........
How to get this. Please sugest me.
‎2010 Jan 13 11:33 AM
Fetch all the entries from table, then loop and concatenate.
loop at itab into wa.
if sy-tabix = 1.
wa_string = wa-field.
else.
concatenate wa_string wa-field1 into wa_string.
endif.
endloop.
‎2010 Jan 13 11:33 AM
Fetch all the entries from table, then loop and concatenate.
loop at itab into wa.
if sy-tabix = 1.
wa_string = wa-field.
else.
concatenate wa_string wa-field1 into wa_string.
endif.
endloop.