2007 Feb 27 9:46 AM
please check the below and suggest to me to change the report into background execution from foreground
FORM FOREGROUND_CHECK.
DATA: V_TITLE(35) TYPE C.
IF SY-BATCH = ' '. "executed in background
V_TITLE = SY-CPROG.
MESSAGE E224 WITH V_TITLE.
EXIT. "abort running this program.
ENDIF.
ENDFORM. "FOREGROUND_CHECK
please check the below and suggest to me to change the report into background execution from foreground
FORM FOREGROUND_CHECK.
DATA: V_TITLE(35) TYPE C.
IF SY-BATCH = ' '. "executed in background
V_TITLE = SY-CPROG.
MESSAGE E224 WITH V_TITLE.
EXIT. "abort running this program.
ENDIF.
ENDFORM. "FOREGROUND_CHECK
2007 Feb 27 12:14 PM
Hi Kamma.
Could you explain with more detail what's the objective of the change?
Sorry, but i couldn't get it.
Best regards.
Valter Oliveira.
2007 Feb 27 12:16 PM
FORM FOREGROUND_CHECK.
DATA: V_TITLE(35) TYPE C.
IF SY-BATCH = ' '. "executed in foreground
V_TITLE = SY-CPROG.
MESSAGE E224 WITH V_TITLE.
EXIT. "abort running this program.
ENDIF.
IF sy-batch = 'X'.
* background.
endif.
ENDFORM. "FOREGROUND_CHECKReward if this helsp.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |