cancel
Showing results for 
Search instead for 
Did you mean: 

Auto UD Program RQEVAI30 not running in Background

Former Member
0 Kudos


Hello QM experts,

I am trying to run the Auto UD program RQEVAI30 (Varient created in T-code QA10 for one XXXX Plant) in Background. Program is scheduled in Background to run after every 15 Mins. System is getting the inspection lot nos in this batch job after Insp. Lot getting created.

But after getting Inspection lot nos in the batch job, system is giving the error as mentioned below.

"No batch input data for screen SAPLSPO1 0500"

Same program when I tried to run in foreground (Using QA16 Transaction by selection option "UD in Background) system is giving the same error. Details of the error is as below.

"

No batch input data for screen SAPLSPO1 0500

Message no. 00344

Diagnosis

The transaction sent a screen that was not expected in the batch input session and which therefore could not be supplied with data.

Possible reasons:

1. The batch input session was created incorrectly. The sequence of screens was recordly incorrectly.

2. The transaction behaves differently in background processing in a batch work process than when running in dialog (SY-BATCH is queried and changes the screen sequence).

3. The transaction has undergone user-specific Customizing and therefore certain screens may be skipped or processed differently, according to the current user. If the person who created a batch input session is not the same as the person now processing it, this problem may occur frequently.

System Response

None.

Procedure

For 1: Either re-create the session or process it in expert mode. Correct the batch input program.

For 2. It is very difficult to analyze this problem, particularly in the case that the screen sequence or the display-only options of fields differ according to whether the transaction is being processed in the background or as an online dialog. It could also be that this kind of transaction cannot run with batch input.

For 3: Have the creator of the session process it. If no error occurs now, then this is a program with user-specific Customizing."

There is no issue in varient & data maintained in Varient becuse on DEV & QA server progrm is running successfully whereas in PRD server it is givng above mentioned error.(All data maintained in Varient is same on all 03 servers)

Please help me out to resolve this issue as it is quite urgent issue.

Thanks in Advance. Waiting for your valuable reply.

Thanks

Pravin

Accepted Solutions (1)

Accepted Solutions (1)

former_member221025
Active Contributor
0 Kudos

Hi Pravin,

As you are not getting any issue in Dev and QA, I don't see any problem in your config and Variant settings.

I think, program is unable to get Usage Decision to complete job. check for Usage decisions maintained in all 03 clients, Also check for selected set maintained for Inspection type in config.

Regards,

Amol

Former Member
0 Kudos

Hi Amol,

I have checked in all 03 clients. Selected set for plant xxxx for which I am using Auto UD is maintained as UDSUZ03 in QM plant dependent settings i.e. UD codes for In-Process inspection type 03.

So I have'nt used this selected set in my Auto UD varient.

I think problem is with scheduling the varient. As I explained in earlier thread, in scheduling view in QA17 t-code, column name "USER" is blank in PRD server whereas in DEV & QA server it is showing as SAPSYS.

So my guessing would be that I do not have authorization to schedule the program in PRD in QA17 & column "USER" is showing the no data i.e. Blank. This could be the reason Auto UD is not happening.

If you click on "USER" column & press F1 help button it is showing that user is the responsible person who schedule & run the program.

Could you plz check this & let me know how to fix this issue?

I appreciate your prompt reply.

Thanks in Advance.

Pravin

former_member221025
Active Contributor
0 Kudos

Hi Pravin,

You have to use UD from the same Selected set u maintained in Config.

Change your variant and maintain UD from same Selected set.

I don't see any problem with authorization for Scheduling Job, but there might be problem if User does not have authorization for QA11, that is for Usage Decision.

check for variant first.

Amol

Martin_H
Contributor
0 Kudos

If you have the guess that your authorizations are not sufficient, then why don't you

  • execute this with a user ID that has more rights or
  • have basis set a trace on your user ID before executing the job?

Regards

MH

former_member42743
Active Contributor
0 Kudos

I agree this is either a security or account issue.

Look at the variant in PRD closely.  When you saved it was it saved maybe as a local variant under your name?

Depending on your IT folks, can you have some one log in under the same ID that is used to run the Auto UD in production?  Maybe that is SAPSYS?  A lot of places create a user called BATCH to run all batch jobs.  Once they are logged in, run the Auto UD manually and see what happens.

Craig

Former Member
0 Kudos

Hi Craig/Amol,

My Issue has been resolved. Let me explain in detail, what mistake I had commited.

I had maintained the selected set code as "A0" i.e. Accepted (Auotmatic Stock Posting). If you use this code, after giving UD code A0,system is giving one Pop Up window & asking "Do you want Automatic stock Posting" & options are "YES", "No" & "Cancel"

But in Auto UD program i.e. RQEVAI30, system is not considering this pop up window. In short in this Auto UD program this Pop up window screen 0500 is unexpected screen & hence it was giving the error in my batch job.

Also I said that it was working fine in DEV & QA server & selected set maintained were same on all 03 servers.This is because I had not tested on DEV & QA server, inspection lots with stock posting option. I had just created a Inspection lot manually & tested. So in that case error was not occoured because only UD was required to do & stock posting tab was not there.

Now I have just maintained the selected set code as "A" accepted (with option "To Unrestricted" in QS51) in my varient QA10 & again rescheduled the job & now it is working absolutely fine.

@Craig: As u said in your latest reply about User ID is absolutely correct.

Many thanks for your valuable inputs.

Thanks

Pravin

former_member42743
Active Contributor
0 Kudos

Thanks for closing out the question and providing the final solution that you found! 

Craig

Answers (1)

Answers (1)

former_member42743
Active Contributor
0 Kudos

Unusual.  This is a long time SAP program and it's pretty well debugged.  So if you used QA10 to create the variant, and you used QA17 to submit the batch job it should work.

Have you double checked your plant settings with regard to wait times for the auto UD?

You say "System is getting the inspection lot nos in this batch job after Insp. Lot getting created."

I'm not sure I quite follow that comment.  You mean you have debugged the program and know the desired inspection lots were picked up by the program?  It almost sounds like you expect this to run immediately after the inspection lot is created.  That wouldn't make sense.

Did you do as the error instructions instructed?  Did you run it in expert mode?

Did you read "For 2. It is very difficult to analyze this problem...." 


And lastly, did you read and try step 3?

Craig

Former Member
0 Kudos

Hi Craig/Amol

Many Thanks for your prompt reply.

@Craig: I have maintained wait time as 15 mins in QM plant dependent settings & also my Job is running every 15 Mins. When I am checking in SM37 & click on sppol request system is showing all inspection lots nos pending for UD & Stock Posting but it is giving error as mentioned in my first thread.

Inspection lots are created on 30th Nov & 04th Dec so as per scheduling it should do the UD 15 mins after inspection lot creation which is not happening. Lots are still pending for processing.

How to run the program in Expert mode? I have'nt debug the program as it is PRD server.

One unusual thing I came across while creating varient. If I create a varient directly from QA17, one pop up window is appearing called "selection Screen" & it is showing screen no 1000. This is happening in DEV & QA server whereas in PRD server this pop up is not appearing.

Second thing in PRD server in QA17, If I click on display scheduling button, there is one column "User" & it is showing blank. Whereas in DEV & QA server, this column is showing the user ID as SAPSYS.
But my user ID is different.

@Amol: I have checked the selected set in all 03 servers & there is no issue at all. I have tried to run the QA16 (Collective Usage Decision for OK lots) transaction for the same inspection lots with option "UD in Background" but here also I am getting the same error which appears in Background program run.

Plz help me out to resolve this issue as Inspection lots cannot be kept pending for long time.

Waiting for your valuable reply.

Thanks

Pravin