Application Development 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: 

Help required in SAPscript - new to sapscript

Former Member
0 Kudos

Dear all,

I have copied WESCHEINVERS3 from NACE and renamed it as ZWESCHEINVERS3. I have made modifications in the form and the program SAPMO7DR and renamed it has ZSAPMO7DR.Now, from where i will run the debug mode to see whatz happening inside the program.

Help pls...

TIA,

sinthu

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hai sinthu

for debugging ur module pool program

you can diresctly open that program i SE80 and debug it by giving breakpoints.

utilities--->breakpoints.

hope this will be helpfull.

regards,

praba

9 REPLIES 9

former_member635028
Active Participant
0 Kudos

Hi,

You need to debug in the ABAP program ZSAPMO7DR and see what happens inside the program.

i think this will help u

Thanks,

Sreevani

Former Member
0 Kudos

SAPMO7DR is a module pool and not a executable program.I have set the breakpoints. But from where, will i execute this ?

-sinthu

Former Member
0 Kudos

HAI SINTHU,

goto tcode SE71

enter the program name in it.

in that scree itself goto UTILITIES--->ACTIVATE DEBUGGER.

now debug ur program.

hope this will help you.

regards,

praba.

Former Member
0 Kudos

Hi

One thing i can tel you

If you have already done the changes in the form than you should run the ZSAPMO7DR program.But i think there must be WESCHEINVERS3 form name include in your program

ZSAPMO7DR.Find it out and change it to ZWESCHEINVERS3.

Then you go for the debug and i hope you will get the solution.

Thanks

Mrutyunjaya Tripathy

0 Kudos

Hi

You have mentioned that ZSAPMO7DR is a module pool program than follow the following process

1-Open that module pool program

2-Double clink on the name of the program

3-One dialog box will come

4-From there select the program check box only and click on ok

5-It will give you the appropriate program name where that module pool program has been used.

6-Than click on that it will open in a display mode,rename it to z* and go for debug.

I hope this will help you to solve your problem.

Thanks

Mrutyunjaya Tripathy

Former Member
0 Kudos

Hi Prabha,

In SE71, i activated the debugging option. Thanku for the same. Now, from where/which T-code will i execute the program ZSAPM07DR. This is a module pool.

TIA,

sinthu

Former Member
0 Kudos

Hi Sinthu,

You can debug program in Two ways.

  • First way , you must be aware of to put Break-POint in the Driver program if made by you .

  • Second if you want to debug the script ,

then GOto Se71 --> Specify ur layout name --> In utilities --> Activate debugger.

So when ever you try to preview your layout , it will stop at the script layout level and the debugger will be on , This debugger is bit different then the standard debugging editor.

  • You cann't use double click , you have to copy and paste your fields in order to see your values that to with in &vbak-vbeln&.

Rest you can explore, if get's struck just let us know.

Hope this will help you.

Cheers

Sunny

rewrd points , if found helpful.

Former Member
0 Kudos

hai sinthu

for debugging ur module pool program

you can diresctly open that program i SE80 and debug it by giving breakpoints.

utilities--->breakpoints.

hope this will be helpfull.

regards,

praba

Former Member
0 Kudos

Problem solved... Thanku all