Enterprise Resource Planning Blog Posts by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
brahmareddy_kolli
Participant
0 Kudos
438

Hi Experts,

Costcenter is enabled for data access control. 

If user having all costcenters access, i didnot see any data action validation error, but if the user having the one costcenter access then i am getting validation error. Below is my data action format.

how to overcome from this issue

 

Data action

memberset costcenter =%costcenter%

If cost center = A then 

1+2+3

ENDIF

IF COSTCENTER = B THEN

4+5+6

ENDIF

IF COSTCENTER = C THEN

7+8+9

ENDELSE

1 Comment
stacey45
Newcomer
0 Kudos

@brahmareddy_kolli wrote:

Hi Experts,

Costcenter is enabled for data access control. 

If user having all costcenters access, i didnot see any data action validation error, but if the user having the one costcenter access then i am getting validation error. Below is my data action format.

how to overcome from this issue

 

Data action

memberset costcenter =%costcenter%

If cost center = A then 

1+2+3

ENDIF

IF COSTCENTER = B THEN

4+5+6

ENDIF

IF COSTCENTER = C THEN

7+8+9

ENDELSE


To address the data action validation error when a user has access to multiple cost centers, consider iterating over the costcenter set or using dynamic SQL to filter data based on the specific cost center. Ensure data action security is correctly configured to restrict access to sensitive data. Optimize the data action for performance and implement error handling for robustness.