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

Process Script when in Spool ?

Former Member
0 Likes
1,052

Hello All,

When a PO is viewed as a PrintPreview from Me22N it's going into the script.

i.e ME22N --> PO Nr --> Print Preview .

But, when the PO is viewed from a Spool Request does it go into the script ?

i.e ME22N --> Messages --> Repeat Output --> Save --> Spool .

If not then hw it's working ?

Regards,

Deepu.K

7 REPLIES 7
Read only

Former Member
0 Likes
925

Hi deepu,

Once you issued the output to the spool, Use Tcode ME9L and there give the document number and make the status as 1 and execute.

in the result screen select you document and click on "Display Output" to view the output.

Cheers.

Read only

0 Likes
925

Hello Sunil,

Gng thru ME9L is the same as the Print-preview of ME22N.

What I actually wanted is :

  • In the TCODE ME22N for a given PO I'm able to debug the script when I press the Print Preview Button.

  • But when I see the same in the Spool i.e

Path is : ME22N --> GIve a PO --> Click on Messages Tab --> Select any of the Processed Record and Press Repeat output and --> SAVE.

When I do the above it's not going into the SCRIPT .

I debugged after pressing SAVE Button. It's not going into my script at all.

INstead it's going to some other standard program.

Can I debug the script when I use the above mentioned steps ?

If yes can you tell me hw to do that ?

Regards,

Deepu.K

Read only

0 Likes
925

Hello Sunil,

Let me tell u my actual problem.

1. When I see the output of the PO in the Print Preview it's coming perfectly.

But when I see the output of the same PO in the Spool it's not the same.

2. For this reason I want to Debug the PO in both the cases i.e Print Preview case and Spool Case.

3. When I'm trying to debug in the Print Preview case it's going into the script and I'm able to check the values. But that'S not my Problem .

My Problem is with the Spool case bcoz I'm getting a different output when compared to that of the Print Preview Output.

4. SO I want to debug the script whn I choose the Spool Option .

i.e Path is : ME22N --> GIve a PO --> Click on Messages Tab --> Select any of the Processed Record and Press Repeat output and --> SAVE.

Before pressing the SAVE Button I pressed /h and started to debug .

But It's not going into the script at all.Instead it is going to some other standard program and creating a spool request.

5. My first Qn is : When viewed from the Spool will it go into the script or not ?

My second Qn is : Hw to debug the script when we are seeing the output from a SPOOL i.e from the Path :

ME22N --> GIve a PO --> Click on Messages Tab --> Select any of the Processed Record and Press Repeat output and --> SAVE.

Hope I'm clear now in my Explanation.

Regards,

Deepu.K

.

.

Read only

0 Likes
925

Hi Deepu,

Could you please check Output is same or not, if same check the config of the output type.

Go to NACE T-Code --> select the Application --> select the "output types" button --> Select the Output type (Ex : NEU) --> double click on that Output type and goto the "Default values" tab then check the Dispath time is "Send with immediately or not.

If the Option is like that only it going in Debugg Mode.

Thanks.

Amjad,

Read only

0 Likes
925

Hello Amjad,

The settimgs are existing as per ur reply. But still it's not going into the script.

Regards,

Deepu.K

Read only

Former Member
0 Likes
925

Hi Deepu,

Please confirm me that ur main intension is to debug a script for a particular PO.

Please correct me if I'm wrong.

Step1: goto SE71 -> Utilities -> Acivate Dubugger.

Step2: Goto ME9L, Enter the PO and change the Processing status from 0 to 1.

Step3: select ur PO and click on Disaply output. This will take you into the particular script debugging screen depends on ur Output Condition.

Cheers.

Read only

Former Member
0 Likes
925

Hi Deepu,

There is no way to call the script to in debugging mode from the spool.

The only way is ME9L.

If you enter "/h" in the ommand window a general debugging mode will on but not for the script. It will take you to the background program of the spool.

Cheers.