2013 Jan 23 4:55 PM
Hi Experts,
We run a report in batch mode and online.
In online mode we want to make 2 fields as mandatory which i can validate easily.
We would also like to hide or disable a field on selection screen if it is run online.
We want to open/make field visible that field on selection screen when we run it in batch.
I need few inputs from your end:
1.When the user initially runs the report transaction I can hide/disable that particular field.
2. How would i know if the user can is running the report in background and i need to open that field.
Please let me know about it.
2013 Jan 23 5:05 PM
hello,
1. yes you can hide/diable fields on selection screen.
2. check field sy-batch. If it is 'X' means the program is running in background mode.
best regards,
swanand
2013 Jan 23 5:14 PM
I know i can use sy-batch = X but when initally user comes to screen we dont know if the report will be run online or batch mode.
Initially i can hide that field but what if they want to run the report in background ? How would i open that field for them to create a variant ?
2013 Jan 23 5:30 PM
Hi B M,
You can place a button on the selection screen or on the application toolbar. When the user clicks the button, you can unhide the fields for variant creation.
You can also use a checkbox with user command for the same. It is always your decision to adopt a method.
Hope this helps