cancel
Showing results for 
Search instead for 
Did you mean: 

Usage of customer exit variables for authorization

0 Kudos

I found multiple documents on how to implement this. There are mainly two versions: 1) specify the variable in BEx Query Designer or 2) specify in the analytic authorization.

What are the use cases for these two options?

IMHO it would be better to make this transparent to the query designers so that they just work with regular variables and specify the CE in the analytic authorization only.

Any ideas? Thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

former_member186399
Active Contributor
0 Kudos

Dear Justin,

In both the cases it mandates that the variables are provided at Bex level.

For eg if you are using the second method ie CE in Analytic auth, the same variable needs to be used in the bex level also

So you cannot mention one variable in bex and another in the auth analytic.

Regards

Gajesh

0 Kudos

Thanks for your help!

Let me just write down how I understand this concept from your answer:

In general, I will specify the CE in both, analytic auth (for instance as value auth $_cevar1) and in the query (cevar1). However, the analytic auth will not trigger the CE code, only the variable in the query.

The analytic auth value $_cevar1 just says "allow every value that is submitted to this customer exit variable".

If so, this would give me three options for the analytic authorizations:

  1. If the corresponding characteristic is not restricted in the analytic auth (CP *), I can still restrict the query by filling the CE variable in I_STEP=1.
  2. If both, the analytic auth ($_cevar1) and the CE variable is specified in the query (cevar1), I am always restricted to the filled in values. This should be the best solution.
  3. If there is no analytic auth specified for the corresponding characteristic, but only filled in the query (cevar1), I will get a "normal" authorization error.

Is this correct?

former_member186399
Active Contributor
0 Kudos

Dear Justin

Your understanding is correct.

Regards

Gajesh

Answers (0)