Skip to Content
0
Former Member
Aug 27, 2008 at 05:28 AM

Reading data from pdfsource of adobe form

35 Views

Friends,

This error pertains to the retrieving data when executing the WDA application.

System details: NetWeaver 2004s. ADS support pack 16.

The Adobe Livecycle Designer version: 7.1.3129.1.296948

The Adobe Reader version: 8.1

The SAP GUI version: 710.

The Web Dynpro component is active.

The Custom Adobe Form is active and is of ZCI layout type. I also inserted the Web Dynpro Script in the layout of the form.

The Custom Form Interface is active and is of XML Schema-Based Interface type. The XML schema source is generated.

The Adobe form has been included as an InteractiveForm UI element in the MAIN view of the WD Component. The displayType property of the InteractiveForm UI Element has been set to "native" and enabled property of the form is checked.

I have included an attribute of type XSTRING called 'USERDATA' under the root context node and set it as pdfsource for the adobe form UI element.

I have included the "Submit" button from web dynpro native library in the form.

I have created a event handler method for the "onSubmit" event of the Adobe form UI element. I have created a reference to the context node 'ZECR' that is the datasource for the adobe form, through the following lines:

data: noderef type ref to if_wd_context_node,

eleref type ref to if_wd_context_element.

noderef = wd_context->get_child_node( name = 'ZECR' ).

when i run the WDA application, i am getting the error:

Subnode MAIN.USERDATA does not exist

Please let me know to rectify this error.

I am not sure how to proceed further ie how to retrieve the data from the XSTRING attribute. I need to populate the data from the attribute to a customized table.

Any hints or help would be greatly appreciated.

Thanks and Regards.