Skip to Content
0
Former Member
Oct 20, 2008 at 11:51 AM

logic to get same text for 2 line items

72 Views

hi all,

i have an issue in my report,

i have a final internal table. fileds in the table are

bukrs belnr gjahr buzei sgtxt

0010 12345 2008 01 text

0010 12345 2008 02 -


now the problem is if the belnr is same thn in the final internal table the above sgtxt shoud come for second line item if the second line item is initial ,i shoud get the output as

bukrs belnr gjahr buzei sgtxt

0010 12345 2008 01 text

0010 12345 2008 02 text

please help me how to write code for this