Skip to Content

Hi Friends,

   I would like share my knowledge on Debugging, will  discuss on the  how to find the logic which is developed for field in Report.

Client raised issue on  report which is not working its either may standard report or customized report. Normally Standard report are working as their standards in some cases if values are not updated in structure  then may be values will not get. But as per standards the report will work.

Let’s take example of standard report, Client raised issue as quantity showing wrong it is showing only single line item qty it should be cumulative qty of document.

Go to report and execute report

/wp-content/uploads/2013/07/1_253599.png

see example for doc number p3h05391 it is showing 293 but actually posted 293+ 50 = 343 qty

/wp-content/uploads/2013/07/2_253600.png

/wp-content/uploads/2013/07/3_253625.png

now will search what is logic in report . Actually for debugging will use /h to find debug program. But this is easy to find simple and save time also.

Go to menu bar system —> status

/wp-content/uploads/2013/07/4_253626.png

/wp-content/uploads/2013/07/5_253627.png

go to se38 enter your program or you can double click on the program name.

The following it is showing tables are used in report to fetch the data.

/wp-content/uploads/2013/07/6_253628.png

the following it is showing selection screen it is linked to our main input selection screen

/wp-content/uploads/2013/07/7_253629.png

Normally out put report fields data getiing from fieldcatlog check in your report FCAT or field catlog.

/wp-content/uploads/2013/07/8_253630.png

in field catlog some times seltext will directly name but some times they will write as a text-xx. double click on this and find the field name.

/wp-content/uploads/2013/07/9_253631.png

/wp-content/uploads/2013/07/11_253633.png

/wp-content/uploads/2013/07/10_253632.png

/wp-content/uploads/2013/07/12_253634.png

click on find and enter you field name and select in main  program

/wp-content/uploads/2013/07/13_253635.png

Data always it will search from table where data fetching

/wp-content/uploads/2013/07/14_253636.png

/wp-content/uploads/2013/07/15_253637.png

and check any condition is there

/wp-content/uploads/2013/07/18_253640.png

/wp-content/uploads/2013/07/16_253638.png

/wp-content/uploads/2013/07/17_253639.png

Same way you check in table how data is getting, here in table two entries is there but in report it is showing one entry because of if condition greater value shown in the report.

To report this post you need to login first.

3 Comments

You must be Logged on to comment or reply to a post.

  1. Ju Yang

    Dear Ravi,

    I did a test as your step by step guide. Although it is not totally matched with my sample. But I do learned a lot from it. And in future i will try more in real case.This is very helpful fo functional ppl.

    Ju

    (0) 

Leave a Reply