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

Sapscript Debug Medruck

Former Member
0 Likes
1,020

Hi,

I have to debug the medruck form for a delivery plan "ME32l". To print the plan, I have to repeat a print message in the transaction "me32l".

If I now start the sapscript debugger in SE71, it´s not reacting. The form is being printed, but without stopping in the debugger.

How can I debug this form?

If I use the print preview for an order in the order transaction "ME23N", it is stopping in the debugger...

Thank You for Your help!

Cheers

9 REPLIES 9
Read only

Former Member
0 Likes
905

hi,

i think your not correctly added Print program and Diver Program in Output type. check NACE transaction(Processing conditions). whether MEDRUCK mapped or not.

Regards

Ashok P

Read only

0 Likes
905

Hmmm, I think this is set correctly. I can print the form, but I can´t debug it, cause it´s not stopping in the script debugger.

Read only

0 Likes
905

Hi Hein,

Have u Activated the debugger for MEDRUCK in SE71..if not

goto SE71 > Utilities> Activate Debugger...

U can debug Script in two ways..

1.In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.

2. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.

Regards,

Sridhar

Read only

0 Likes
905

Hey,

yes, I have activated the debugger. If I activate it and start the print preview of an order in me23n, it is working. But if I wanto to debug a delivery plan in me32l, it is not working. Maybe it is, because there isn´t the possibility to preview the form. It is only possible to print the form while saving...

But I think there must be a way to debug the form...

Read only

0 Likes
905

Hi Hein,'

???But if I wanto to debug a delivery plan in me32l

R u talking about <b>ME32L</b> or what?

Could u tell in detail...

Hai Hein,

Could come out exact clear ... and also can u say which form u have assigned and the print program in NACE .. is it related to ME32L or not?

Regards,

Sridhar

Read only

Former Member
0 Likes
905

hi,

in SE71 select Medruck and Utilities-> Activate debugger..

then run your transaction..

Read only

Former Member
0 Likes
905

hi Arne,

First goto se71 -> utilities-> activate debugger

then goto ur transaction code ME23n

give the PO number.

then say print preview this will take u to the debugger screen

giving u the script name

i hope ths hepls u

Regards,

sudha

Read only

0 Likes
905

Thank You. This is to print orders in me23n. And when I use the preview, it is working...

But in transaction me32L, there isn´t the possibility to preview the delivery form. I only can print it when creating a new message and save it. But then, the debugger isn´t stopping....

Read only

0 Likes
905

Ok, maybe it´s easier for You to try the following, then You maybe can see my problem:

Go to ME23N and print an order. Therefore create a new message or copy an old one and save the order. Try to debug the sapscript form now.

I´m nearly sure, the debugger wouldn´t stop.

The procedure in ME32L is the same... And I know, that form and program are set correctly, cause when I´m doing "blind" changes in the sapscript form, I can see it on the print out...

Thank You!