cancel
Showing results for 
Search instead for 
Did you mean: 

how to extract data from an interactive adobe form and update SAP database

Former Member
0 Kudos

Hi ,

I want to create an Interactive Adobe Form with two text fields and a submit button.On click of submit data entered in the text fields should be stored in a ZTable.

Please let me know the procedure for doing this in ABAP.

Thanks,

Prasuna.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

How is this interactive form triggered...Is it from SAP EP?

Edited by: Vimal V on Jul 21, 2009 11:07 AM

Edited by: Vimal V on Jul 21, 2009 11:08 AM

Former Member
0 Kudos

Hi ,

pls have a look at the link below...

[http://www.adobe.com/devnet/livecycle/articles/lc_designer_schema_tip.pdf]

if u r using abap web dynpro application for calling the adobe form than on the CLICK Action of the button give the code :

zdept is the interface name ..

method ONACTIONCLICK .

  data:
    Node_Adobe       type ref to If_Wd_Context_Node,
    Node_Zdept       type ref to If_Wd_Context_Node,
    Elem_Zdept       type ref to If_Wd_Context_Element,
    Stru_Zdept       type If_Main_View=>Element_Zdept .
  
  data wa_zdept type zdept.
  
* navigate from <CONTEXT> to <ADOBE> via lead selection
  Node_Adobe = wd_Context->get_Child_Node( Name = IF_MAIN_VIEW=>wdctx_Adobe ).

* navigate from <ADOBE> to <ZDEPT> via lead selection
  Node_Zdept = Node_Adobe->get_Child_Node( Name = IF_MAIN_VIEW=>wdctx_Zdept ).

* get element via lead selection
  Elem_Zdept = Node_Zdept->get_Element(  ).

* get all declared attributes
  Elem_Zdept->get_Static_Attributes(
    importing
      Static_Attributes = Stru_Zdept ).

  wa_zdept-DEPTNO = Stru_Zdept-deptno.
  wa_zdept-DNAME = Stru_Zdept-dname.
  wa_zdept-LOC   = Stru_Zdept-loc.

  insert into zdept values wa_zdept.

endmethod.

Hope this helps !!!

best of luck !!

Regards

Ravi

raymond_giuseppi
Active Contributor
0 Kudos

Look at [SAP Interactive Forms by Adobe |http://help.sap.com/saphelp_nw70/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm]

Regards,

Raymond