Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Conditional Visibility for the inputs in SAP BPA

kazistov_v
Explorer
0 Kudos
4,881

Hello,

As I know there are no such feature in SAP BPA to have the conditional visibilities for the input fields for now. But are there any workarounds? 
I am creating the form, which has the dropdown at the start with 3 options. And depending on the selected option next input fields will be different. For now, I found the way the send the first form, where the initiator user select the dropdown value and then he will get new task to MyInbox, where he will choose other fields depending on the selected option in the first form.
That is how it looks:

kazistov_v_0-1756821384221.png

So as you can see I have got the condition, which checks the value of a dropdown and depending on its value sends the right form with a correct input fields. 

But the only one thing that I don't like is that the user need to go to the MyInbox to open the second form. So my main question is that if it is possible to automatically open the next form after sending the first one. First thing that came to my mind was opening the link with the next form, but then we need to pass the parameters from the previous form in this link, because I need to show them as a readonly input fields. Moreover, I just don't know how to open the link with the next form and if it even possible))

I will be really grateful for any recommendations about my case. 

Best regards,
Vladylsav

1 REPLY 1
Read only

sunojmichael1
Explorer
0 Kudos
1,583

Hi @kazistov_v ,

I would suggest to go with SAPUI5 based form. This will give you all the flexibility you may need.

Steps

1. Create an Action - Get the information from backend via action.

2. Create a UI5 application for workflow, while creation you would be deciding if its an approval form or not. In the App, creating the form and binding the fields at UI for both data as well the other properties. 

3. Upload to BPA

4. Add as the form in the BPA process.