cancel
Showing results for 
Search instead for 
Did you mean: 

AMDP Error: Method restricts access to one client. You need to adjust the client handling

rashmi_11
Explorer
2,169

Hello Experts,

I am facing an issue while calling an AMDP function with client dependency into an AMDP with client dependent table function.

Let us assume:
Client dependent AMDP: ZCLASS=>GET_TABLE_DATA
AMDP with table function: ZCLASS=>GET_DATA

I am calling ZCLASS=>GET_TABLE_DATA in a select query into the method ZCLASS=>GET_DATA and it gives me an error:

"ZCLASS=>GET_TABLE_DATA" restricts access to one client. You need to adjust the client handling of "GET_DATA".

I have made the table function client dependent, starting all the select statements with mandt.

If anyone has faced a similar issue and has a resolution for it, kindly help.

Thank you in advance.

Regards,
Rashmi K

Accepted Solutions (0)

Answers (1)

Answers (1)

MateuszAdamus
Active Contributor
0 Kudos

Hi rashmi.1

Try adding CDS SESSION CLIENT clnt|CURRENT to the AMDP method definition (SAP Help).

Kind regards,

Mateusz