cancel
Showing results for 
Search instead for 
Did you mean: 

How to link a webdynpro action to a submit button in Adobe Interactive Form

Former Member
0 Kudos

Hi:

I am currently working on creating a online Adobe Interactive Form.

I have defined a action in webdynpro to execute a bapi.

Now I need to map this action to a button event in my Adobe Interactive form.

Can anyone let me know how it can be done. Is this the right way to do or is there any other way to do this.

My objective is when I press the button it should call the bapi and pass the necessary parameters so that it gets updated in R/3.

Thanks

Vijai

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

The interactiveForm UI element has one action called onSubmit. This action is triggered when any server event occurs within the Adobe Form itself. So if you place a submitButton from the Web Dynpro Native (assuming you are using ZCI forms) within the form, it will automatically trigger the onSubmit action and WD event handler.

Here is a video that shows the process - although it is a little bit older and uses ACFx forms. You would want to use the new ZCI form approach. The general process for linking the events is the same however.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78...