Hi all, I have created an AMDP Class that is paired with a table function. However, the table function is not populating at all while the class itself is producing a sound output. Any clue on what might be the issue?
Table function:
@AccessControl.authorizationCheck: #NOT_REQUIRED
define table function ZCDS_SAC_TEMP
returns {
CLIENT: abap.clnt;
COMPANY_CODE : abap.char( 18);
ACCOUNTING_DOCUMENT_NUMBER : abap.char( 50 );
}
implemented by method ZCL_AMDP_TEMP=>ZF_TEMP;
Class:
class ZCL_AMDP_TEMP definition
public
final
create public.
public section.
interfaces if_amdp_marker_hdb.
class-methods: ZF_TEMP for table function ZCDS_SAC_TEMP.
protected section.
private section.
ENDCLASS.
CLASS ZCL_AMDP_TEMP IMPLEMENTATION.
method ZF_TEMP by database function for hdb language sqlscript
OPTIONS READ-ONLY.
a=
SELECT
"CLIENT",
"COMPANY_CODE",
"ACCOUNTING_DOCUMENT_NUMBER"
FROM "_SYS"."GTM.SAC/CA_SAC_SAL_WORKLIST";
return :a;
endmethod.
ENDCLASS.
Thanks
Request clarification before answering.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.