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

sap cap unbound action with conditions as input

syedimran
Explorer
0 Kudos
608

Hello Experts,

I have created an unbound action 'Update status', I am currently using multiline box as input. How do we use conditions as input, where i can enter multiple identifier for instance as selection parameter .

Please clone the repo https://github.com/Learnings-1/fiori-elements-incident-management.git

Currently I have like below

syedimran_1-1732103716933.png

I need something like this, Please suggest.

action update_status(Idenfier : String  @ui.MultiLineText:true  @Common.Label:'Identifer'  );

syedimran_0-1732103555066.png

 

Accepted Solutions (1)

Accepted Solutions (1)

catano
Active Participant
0 Kudos

Hi @syedimran ,

Could you take a look at the following approach if it is feasible for you?

  1. Add a custom action to your table either with manifest based extension or macro (example, exampledoc)
  2. Implement custom dialog with desired inputs and calling service action with parameters (example)

Best,
Peter

syedimran
Explorer
0 Kudos
Hello @catano Thanks for the inputs, I am looking input as condition , I dont want to use value help....Thank you again
catano
Active Participant
As I see condition consists of a dropdown with values equal to, contains, etc. and an input text, which you can add in your custom dialog.
imransyed
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hello @catano Thank you so much for the suggestion, Would appreciate if you can share an example with condition, as i cannot find it
catano
Active Participant
0 Kudos

Hi @imransyed 

I cannot find an example neither for the condition as a building block unfortunately.

What I meant is creating a custom condition component which consits of a dropdown and a value input - a simple setup but can be fine-tuned for the requirements. I found some enumerations that could be used as value for the condition dropdown, e.g.: FilterOperator

Best,
Peter

Answers (0)