on 2020 Dec 22 7:20 AM
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
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi rashmi.1
Try adding CDS SESSION CLIENT clnt|CURRENT to the AMDP method definition (SAP Help).
Kind regards,
Mateusz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
60 | |
10 | |
8 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.