cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Custom Entity Action: How to insert a new record?

AliJlan
Discoverer
0 Likes
708

Hi everyone,

I’ve created a custom entity in ABAP Cloud and used a query implementation, which works fine for reading data.

Now, I’m trying to define an action on this entity that should insert a new record — basically, I want the action to increase the number of entries.

However, after running the action, no new record is added, even though there are no errors.

Is it possible to insert data inside an action for a custom entity? Or is there a better approach for this kind of logic?

If yes, could you please share an example? I’ve been struggling with this and would really appreciate some help.

Thanks a lot!

 

MODIFY ENTITY ZBTCTR_CE_INCOMING

CREATE FROM lt_ins

FAILED DATA(lt_failed) REPORTED DATA(lt_reported) MAPPED DATA(lt_mapped).

 

Accepted Solutions (0)

Answers (0)