2014 Jan 03 12:15 PM
Hi Experts,
There is a system variable “SY-BATCH” which is set to ‘X’ when session is processed in background.
However my requirement is:-
1. 1. Whenever session is process in foreground then only set of validation which are written in user exit should executed.
2. 2. When session is process in“Display errors only or Background mode“, it should not execute validation code.
Sy-batch NE ‘X’ condition is failing for “Display errors only” mode.
Any help would be much appreciated.
Thanks
Balram Adep
2014 Jan 03 12:27 PM
Hello Bairam,
You can try export the processing mode value to memory (EXPORT/SET commands) also
2014 Jan 03 12:25 PM
In your code, before testing sy-batch use FM BDC_RUNNING to get information on parameters used to execute the BDC.
Regards,
Raymond
2014 Jan 03 12:27 PM
Hello Bairam,
You can try export the processing mode value to memory (EXPORT/SET commands) also
2014 Jan 03 12:43 PM
2014 Jan 03 12:53 PM
2014 Jan 03 1:10 PM
My requirement is:-
I am some validation code which are in user exit "EXIT_SAPFP50M_002".
It should be executed only when user process session with processing mode as foreground in SM35.
however i have try to call FM bdc_running in 'EXIT_SAPFP50M_002" but it is get blank in for export parameter CTU_INFO.
Any help would be much appreciated.
Thanks
Balram Adep