cancel
Showing results for 
Search instead for 
Did you mean: 

Static Factory Actions with Deep Parameters don't work

TharinduW
Explorer
0 Kudos
172

Hello everyone,

I am on S/4HANA 2023 FPS02 ON-PREM.

I am trying to setup a static factory action with deep parameters to create a popup with mandatory parameters before I create my entity. When deep parameters are used I get this short dump.  

Note the following.

01. static factory action with flat parameters work.
02. action (both static/non-static) with deep parameters work.
03. non static factory action with deep parameters work.  

As a workaround for now, I've set this up as a static action, exposed it via metadata extension and hidden the actual create action with @UI.createHidden:true.  

Hi @Andre_Fischer . Would appreciate your thoughts on this too! Is this a bug or a limitation on the on-prem 2023 FPS02 stack ?


image.png

Here's my abstract entity and behavior setup. 

TharinduW_0-1739958559677.png

TharinduW_1-1739958592582.png

TharinduW_2-1739958650682.png

 

 

 

 

View Entire Topic
AbhishekSharma
Active Contributor
0 Kudos

Hi @TharinduW please share your Behavior Implementation code how you are filling deep parameter. 

Meanwhile you may refer below blog post if that helps...

https://community.sap.com/t5/technology-blogs-by-members/abap-restful-application-programming-model-... 

Thanks-

 

TharinduW
Explorer
0 Kudos
Hi Abhishek. The reason I didn't share the behavior implementation is because the issue isn't related to the implementation. The implementation works fine for everything else with deep parameters besides static factory actions. When deep parameters are used the code wouldn't even go into the behavior implementation