Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Debugging an offline report

Former Member
0 Likes
1,840

Hi,

I need to debug a user-exit program in an offline report. How would I do this?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,598

Thank you very much for the helpful answers!

Using WHERE USED for the module pool, it shows VL01 as one of the transactions.

However, in SE80, the Repository Browser is completely blank. I know this is turning into a SAP GUI issue, but does anyone know how to get the list of objects/programs/classes to show up under the Repository Browser?

13 REPLIES 13
Read only

Former Member
0 Likes
1,598

what do you mean by offline?

Read only

0 Likes
1,598

When I try and execute the program, I get the information message at the bottom of the screen

"The main program is not an online report"

It is the program MV50AFZ1, for MM consumption. Hope this helps.

Read only

0 Likes
1,598

It's an include program, so you cannot execute it directly. You have to execute the transaction that runs the program that includes it.

Rob

Read only

Former Member
0 Likes
1,598

Hi Joe Lee,

Your program MV50AFZ1 is an include program. it is called by

module-pool program SAPMV50A.It is not possible to run as a report program.So, it gives that error.

Thank you,

Prasad G.V.K

Edited by: PRASAD GVK on Oct 22, 2008 5:42 PM

Read only

Former Member
0 Likes
1,598

Thank you very much for the info!

Then is there any way to debug this pool? How do I test my code?

Edited by: Joe Lee on Oct 22, 2008 6:05 PM

Read only

0 Likes
1,598

In SE80, find the transactions for program SAPMV50A and execute one that will execute your exit.

Rob

Read only

0 Likes
1,598

Thank you, but how do I find the transactions? I have the program open in SE80.

Read only

0 Likes
1,598

Under the "transaction" area.

Read only

0 Likes
1,598

What does you change do ? if it was for delivery craete use VL01, for chaneg use VL02

Read only

Former Member
0 Likes
1,599

Thank you very much for the helpful answers!

Using WHERE USED for the module pool, it shows VL01 as one of the transactions.

However, in SE80, the Repository Browser is completely blank. I know this is turning into a SAP GUI issue, but does anyone know how to get the list of objects/programs/classes to show up under the Repository Browser?

Read only

0 Likes
1,598

you need to select program in the frist field drop down listbox, and put SAPMV50A in the 2nd field. Then press enter and it will bring all the objects for that program.

i just did the same and I got almost 10 transaction rigth from VL01 to VL43 to VLUNIV

Read only

0 Likes
1,598

Is the object type "program" and the program "SAPMV50A"? Did you press the display button to the right of the program name?

Rob

Read only

0 Likes
1,598

Yes, I understand that I need to click on the Program, and do a search in the box, but what I'm saying is that there is not even a search box there, or the Programs section. I am at a new company, and it doesnt show Programs or Classes or Function Modules at all in the Repository Browser. The left side of the screen is 2 completely blank panes. Nothing in them, so I cannot search for programs. Does anyone know how to fix this?