cancel
Showing results for 
Search instead for 
Did you mean: 

Executing Lockbox program (RFEBLB00) as a background job

Former Member
0 Kudos

Hello all, I've a minor problem calling a SAP standard program. A batch job is scheduled to execute my custom program which in turn calls the program RFEBLB00 using the "Submit" statement. The problem is that an ST22 dump is listed after the execution of the program in the background due to a user screen being called. When the program is executed in the foreground there is no dump in ST22 so I'm confused as to what is causing the user screen to be called in the background.

Below is a listing of the error in ST22:

During background processing, the system attempted to send a screen to a user.

Current screen: "SAPMF05A " 0100.

I did a some research and found the user screen being referenced above is the FB01 screen. This screen is not displayed in the foreground when the program is executed.

Any suggestion on how to bypass this error would be greatly appreciated.

Note: I have played with the P_FUNCT parameter in the standard program by passing it a 'B'. This creates a batch input session which is not what is desired (This does not cause a ST22 dump). The default is 'C' (Call Transaction).

Thank you.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

i saw this coding in this program, may you need to pay some attention to this. sorry can't help you further

IF SY-BATCH = 'X' OR

EXECPRI = 'X'.

JOBNAME(8) = SY-REPID. "BBU00 Jobname

JOBNAME+8(1) = '-'. "required for list

JOBNAME+9(14) = TEXT-001. "creation

EXPORTID(8) = SY-REPID. "mempass job created

EXPORTID(8) = 'RFEBBU00'.

EXPORTID+8(8) = SY-DATUM.

EXPORTID+16(6) = SY-UZEIT.

LOOP AT S_KUKEY.

EXPORTID+23(8) = S_KUKEY-LOW.

EXIT.

ENDLOOP.

ELSE .

CLEAR JOBNAME.

CLEAR EXPORTID.

ENDIF.

SUBMIT RFEBBU01 AND RETURN

USER SY-UNAME

WITH ANWND = ANWND

WITH S_KUKEY IN S_KUKEY

WITH JOBNAME = JOBNAME "Batch List Prnt

WITH EXPORTID = EXPORTID

WITH BUBER = BUBER

WITH FUNCTION = FUNCTION

WITH MODE = MODE

WITH P_STATIK = P_STATIK

WITH EXECPRI = EXECPRI "Exec + Print

WITH VALUT_ON = VALUT_ON.

regards

Former Member
0 Kudos

yes i check program RFEBLB00 is not running in background

let's see what is reason

regards

can you please paste the code you used to in

submit..........

Message was edited by: Surpreet Singh Bal