09-15-2014 3:50 PM
HI All,
My Selction screen has a push button(BG) and the standard F8(Execute) button
1. If the user click the f8 button i.e sy-ucomm = ONLI , the report should run in foreground mode
2. If the user click the push button button BGi.e sy-ucomm = FC01 , the report should run in background mode
and create file in sharepath.( i have used fm JOB_OPEN ,SUBMIT etc for this)
3. If the user click the F9 button i.e sy-batch = X , the report should run in background mode
and create file in sharepath
a)When I click the push button i.e point 2 , then the report executes in online mode only .I dont see any
jobs in SM37
Pls help!!!
-Faiz
09-15-2014 4:20 PM
Hi Faizur,
you have the option to run the job in background for Point 3 right so option 2 is not required.
if a job is scheduled to run in background, then SY-BATCH will be 'X' and the program will run in the back ground.
In your case the program will be executed in the foreground.
Hope this details will help you. if not please let me know the exact point 2 & 3 requirements.
Regards,
Phani