Hi friends, this is very urgent. plz help.
my requirement is i want to create a report and in selection screen it should have a ONLINE and BATCH radio buttons. if i select ONLINE it has to run in onine mode. if i selecet BATCH , it has to run in batch mode. my specification id like this ;
1. If online mode, we will have a parameter in YTXXTTFVAR table that can control the number of entries that can be validate online.
YTXXTTFVAR layout:
MANDT(3): 100
ZSYSTEM(8): H00
ZPROG(40): YTXXP238
ZENTRY(20): MAXLOAD
ZSEQNR(3): 001
ZENTRYDC(40): Number of entries validated online
ZVALUE(45): 1000
The default value for this parameter is 1000. If this is exceeded in the upload sheet then the program needs to automatically switch to batch mode.
The summary report with success/error messages is displayed on screen
2 If batch mode, a job will be created. The job will follow the following naming convention: HQEC_YTXXP238_UPLOAD_LASTLOADNUMBER.
The LASTLOADNUMBER is a parameter that we define in YTXXTTFVAR table and its value is increased each time a new job is created.
YTXXTTFVAR layout:
MANDT(3): 100
ZSYSTEM(8): H00
ZPROG(40): YTXXP238
ZENTRY(20): LASTLOADNUMBER
ZSEQNR(3): 001
ZENTRYDC(40): Last used job load number
ZVALUE(45): 1000
Regards
venkat