10-17-2006 11:08 PM
Hi,
i need to validate entries entered in selection screen . im able to do the validation when the user executes the report online.
however, i need to execute this logic when the user selects 'execute report in background' option ,what should be my approach.
BR,
ravi.
10-17-2006 11:14 PM
Take the following example, if user tries to run in background using the mentioned method, user will still get the message . Use the AT SELECTION-SCREEN for validations
report zrich_0001.
parameters: p_check type c.
at selection-screen.
if p_check is initial.
message e001(00) with 'P_CHECK is initial'.
endif.
Regards,
Rich Heilman
10-17-2006 11:24 PM
Hi Ravi,
1. To do any specific validation when you are running in Batch only, you can use the <b>SY-BATCH</b> field.
eg;
If not sy-batch is initial.
Perform background_validation.
Endif.
Hope this helps.
Regards