on 09-01-2005 1:26 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.