Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to SET CURSOR FIELD my_field in my_REPORT_PROG.?

Hi Experts,

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?

thanq

Tags:
Former Member replied

HI

Check below code:

AT SELECTION-SCREEN .

IF p_sdate2 IS INITIAL.

SET CURSOR FIELD 'P_SDATE2'.

MESSAGE e001(00) WITH text-007.

ENDIF.

The field u want curspr to come should be written in quotes and Capital Letters.

Then it works.

Hope this helps.

Praveen

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question