How to SET CURSOR FIELD my_field in my_REPORT_PROG.?
If the user do not enter a value in one field( NOT mandatory field) on the selection screen of my_report_prog. I wanna,
1- To throw message - am getting by throwing as STATUS message
2 - wanna keep CURSOR on that particlar field in order to input the value by the user - am using SET CURSOR FILED my_filed----
> but NOT working????????
So, pls. let me know that How to get it done?
Check below code:
AT SELECTION-SCREEN .
IF p_sdate2 IS INITIAL.
SET CURSOR FIELD 'P_SDATE2'.
MESSAGE e001(00) WITH text-007.
The field u want curspr to come should be written in quotes and Capital Letters.
Then it works.
Hope this helps.