Same line is appearing more than one time

Namasiva

Member
I have created a Program , and it works fine but i am getting a all the lines are repeated again and again, there could be some bug which i couldn't found it .

I am here with attaching the program as well as the out put for your reference kindly look in to it and post the Solution ASAP.


Pls Help me out to solving this issue
 

Attachments

  • xxsarp_program.txt
    17.3 KB · Views: 11
  • xxsarp_ouput.txt
    9.1 KB · Views: 3
Hi,

Thanks for your reply,

Pls. find below xxsarp2a.i. I have also attached the file in txt format.

/* xxsarp2a.i - SALES BY ITEM TYPE REPORT SUBROUTINE */
put stream x unformatted
{1} ';'
{2} ';'
{3} ';'
{7} ';'
"{4}" ';'.
do i = 1 to 12:
put stream x unformatted {5} form "->,>>>,>>9.99" ';'.
end.
put stream x unformatted {6} form "->,>>>,>>9.99" skip.




Once again advance thanks for your solution.
 

Attachments

  • xxsarp2ai.txt
    382 bytes · Views: 1
Hi Kishor Chari,

Pls find attached all the porgram as well as out put.

Thanks for your Patience.
 

Attachments

  • xxsarp98_p.txt
    8.5 KB · Views: 3
  • xxsarp98a_p.txt
    17.3 KB · Views: 2
  • xxsarp2a_i.txt
    382 bytes · Views: 2
  • xxsarp_ouput.txt
    9.1 KB · Views: 7
The code looks fine, It worked fine for me , but my data is limited. You can do the following.
a) Take single item only
b) disp idh_nbr & idh_line and see if the same line/order is repeating
c) disp data from each table you have selected all in detail mode

Your for each & each loops fine, its the data you need to verify.
 
Back
Top