cancel
Showing results for 
Search instead for 
Did you mean: 

INSERT JSON Document store Collection not working inside AMDP method .

Pai_N
Explorer
0 Kudos

Hello Gurus, I wanted to Insert Values inside Doc store collection . To achieve this,  I created AMDP class and inserting values into Collection. Unfortunately I am getting syntax error in INSERT statement and not able to move forward

Syntax Error- "ZTEST_COLLECTION" is unknown. ABAP objects and DDIC objects must be declared in the USING clause of the method. Local names must start with ":"

 This is how my AMDP method looks like : 

Pai_N_0-1715348356604.png

 

Can any one help me in resolving this issue. Thank you in advance. 

 

 

 

 

 

 

Accepted Solutions (0)

Answers (2)

Answers (2)

mkemeter
Product and Topic Expert
Product and Topic Expert

This blog by @UweFetzer_se38 may be helpful: https://community.sap.com/t5/technology-blogs-by-members/using-multi-model-capabilities-of-sap-hana-...

Have you verified if the Document Store is actually enabled on your instance?

Pai_N
Explorer
0 Kudos

Hello @pfefferf, Can you please help me in resolving this issue.