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: 

executing Mb21 in background

Former Member
0 Kudos
160

Hi

I am executing mb21 in background. I am trying to print the script directly to the printer. But I am getting the reservation ticket script in the spool in waiting status.If I click that status I am getting frontend unavailable. Please help me to overcome this issue.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
99

Hello Subsar,

Do u have multiple application servers?

6 REPLIES 6

Former Member
0 Kudos
100

Hello Subsar,

Do u have multiple application servers?

0 Kudos
99

No I am having one application server

0 Kudos
99

Hi

Can I change the sapscript format at runtime. That is when calling the "open form" can I change the format of the script.

Former Member
0 Kudos
99

Hello Subsar,

have u created LOCL printer which actually tries to connect to ur frontend to start saplpd program.

0 Kudos
99

Hi Abhijit,

Yes, When I give locl printer, I am getting the status as frontend unavailabe. When I give some other printers which is connected to the server I am getting "Waiting for output formatter". Is it because of the format of the script.it is created as LETTER.

WHen I execute the same program in frontend it is going to the printer. But there it is waiting to change the format. After manually changed it is printing successfully.

How should I change the script format at runtime

Former Member
0 Kudos
99

Hi

The output device is wrong to run the trx in background, you can't use a device of front-end: it can't work in background.

You have to assign another printer, if the system get the printer from user default values, assign the correct printer there.

Max