Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Changing the values in the internal table .

Hi all,

i am having a internal IT_LINEITEM

Fields in the table IT_LINEITEM are serialno,linenumber and taxcode

Value for the LINENUMBER field for the first record will be 1, for second record the line number will be 2 , for third record linenumber will be 3, for fourth record value will be 4 and for fifth record value wuii be 5 and so on..............

TAXCODE field is optional in the table

My requirement is that if the TAXCODE field is filled(not initial) only in the 5th and 7th records then the linenumber values should be changed to 2 and 3 for that 5th and 7th records

Actually the linenumber values will be 5 and 7 for the 5th and 7th record but i need to change the linenumber value to 2 and 3 instead of 5 an 7.

Please help me.

Thanks in advance



Former Member
Not what you were looking for? View more on this topic or Ask a question