Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

Authorization object: unable to execute user-exit variable

$
0
0

Hello All,

 

I'm trying to use user-exit variable to define values for my authorization object, but it seems that the RSR00001 is never called by the system for i_step=0.

 

My case:

I defined a object relevant for authorization : ZCCPRT ==> Check flag Authorization relevant + MD Maintenance with Authority Check

I created an authorization: ZAUTH_CCPRT with 0TCAACTVT = 3; 0TCAIPROV =*; 0TCAKYFNM= *; 0TCAVALID=*; ZCCPRT= $ZVAR_CCPRT

I created a dedicated role (and assign it to a test user) with S_RS_AUTH = ZAUTH_CCPRT

 

To test, I created a BEx query with a variable for authorization which named: ZVAR_CCPRT.

 

After many (failed) attempts, the include ZXRSRU01  is very simple:

 

IF i_step = 0.
       BREAK-POINT.
       CASE i_vnam.
         WHEN 'ZVAR_CCPRT'.

               ....

          ENDCASE.

ENDIF.


Result: The break point is never reach. So I conclude that the system never call RSR00001 for i_step=0.


My question: What is the missing step ?


Thanks a lot.

Best regards,


Sebastien


Viewing all articles
Browse latest Browse all 3523

Trending Articles