cancel
Showing results for 
Search instead for 
Did you mean: 

submit button in web dynpro with adobe interactive forms

kchikatimalla
Explorer
0 Kudos

hello guys,

I have a requiremnet where I am supposed to keep the button in web dynpro  and save the data from the interactive form into the z-tables. I am getting an issue when I am triggering  the button. The control is not going to web dynpro. It is like buffering for hours. can any help me out.

I am new to SAP.

the version of sap gui is 702

adobe live cycle designer is 9.0.1.0.20091206.1.615

need any other versions ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Krishna,

In WDA you should read context(your data changed by user in interactive form) in onSubmit event of interactive form into some structure and then save this structure to your ztable.

method ONACTIONPROCESS_SUBMIT .

DATA lo_nd_zam_protstroj TYPE REF TO if_wd_context_node.

DATA lo_el_zam_protstroj TYPE REF TO if_wd_context_element.

DATA ls_zam_protstroj TYPE wd_this->element_zam_protstroj.

   navigate from <CONTEXT> to <ZAM_PROTSTROJ> via lead selection

    lo_nd_zam_protstroj = wd_context->get_child_node( name = wd_this->wdctx_zam_protstroj ).

  •   get element via lead selection

    lo_el_zam_protstroj = lo_nd_zam_protstroj->get_element(  ).

  • get all declared attributes

  lo_el_zam_protstroj->get_static_attributes(

    IMPORTING

      static_attributes = ls_zam_protstroj ).

MODIFY ZAM_PROTSTROJ FROM ls_zam_protstroj.

endmethod.

Regards,

Amol Patil.

kchikatimalla
Explorer
0 Kudos

Thanks for your reply Amit.

That was not my issue.

My issue was the the button I selected in adobe Form. I am supposed to drag the button from Web Dynpro Native column on the right side. Now, it is working fine.