Skip to Content
0
Former Member
Dec 05, 2005 at 02:24 PM

Authorization check

33 Views

What is wrong? Even if the parameter pa_car is set to a person who does not exist, the system does not write "Not authority". Why???

AT SELECTION-SCREEN.

AUTHORITY-CHECK OBJECT 'S_CARRID'

ID 'CARRID' FIELD pa_car

ID 'ACTVT' FIELD '03'.

IF sy-subrc <> 0.

MESSAGE i398(00) with 'Not authority!'.

ENDIF.