2012 Apr 19 10:23 AM
Hi experts,
Issue :
A internal table contains data of "Two documents".
In this One document contain has one tax code and the another one has "two tax codes".
It means for a First document there is a single line in the internal table, and for the second document there are two lines in internal table.
Now the requirement is I need to find the document which has "Two different tax codes". And I need to put "Negative sign" for "output tax" and "Positive sign"
for "Input tax".
Kindly guide me to create a logic for this.
Thanks,
Raja
Moderator message : Not enough re-search before posting, discussion locked.
Message was edited by: Vinod Kumar
2012 Apr 19 10:41 AM
loop the internal table.
Counter = Counter + 1
At end of Document #.
if counter is more than 1
Write your code to do the necessary action
Endat.
Endloop.