cancel
Showing results for 
Search instead for 
Did you mean: 

Read values from Adobe Interactive Form inside the webdynpro

Former Member
0 Kudos

Hello,

I have problems to read the values of the fields inside de adobe. I read an article on saptechincal that told:

You can see the Adobe form that we have designed, enter the data as shown below and press the submit button. (As I said earlier an activex control will be installed on to the client machine, you can see the activex control in the internet explore go to the menu: ToolsàInternet optionsàgo to the programs tab àPress button Manage add-ons.

You can see an activex control named u2018SAP ACFu2019, if you donu2019t have this control you will not see this page: Note you need to have adobe acrobat reader 7.1 installed, I have used version 9, the activex control was not working properly so down graded my adobe reader to 7.1)

This is true ??? I have the Acrobat reader 9.3 and i saw that also have the SAP ACF installed.

The value of the property displaytype on adobe interactive form on webdynpro is activeX or native.

Thank you in advance.

Accepted Solutions (1)

Accepted Solutions (1)

chintan_virani
Active Contributor
0 Kudos

ActiveX forms should NOT be developed. They are available only for backward compatibility.

With SP06 and above (I believe) only ZCI (Zero Client Install) based forms must be developed. The value of displayType hence would be native and there is no intervention required at client machine with ZCI unlike ActiveX.

Also Adobe Reader 9.3 is still not supported by SAP. The latest version that is supported is Reader 9.0.

Former Member
0 Kudos

Hi,

<p>

Thank you for the answer.

<P>

I change the value of the attribute but again i can read anything from the adobe form. So let me explain what i'm doing.

<P>

Objective: I have to create one webdynpro with an adobe interactive form for create new clients on r/3 system.

<P>

1. I create de the view with 2 elements an interactive form and one submit button.

<P>

2. Create the context of the view with the following tree:

<P>

> context (node)

<p>

> ADOBE_DATA (node)

<p>

> Clients (from KNA1 table) (node)

<p>

> KUNNR

<p>

> LAND1

<p>

> NAME1

<p>

> ORTO1

<p>

> TELF1

<p>

>PDF_SOURCE

<p>

3. Complementing the properties of the interactive form:

datasource = clients node of the context

displaytype = native

pdf_source = pdf_source attribute of the context

templatesource = name of the form

<p>

4. Create the form, and add the data source to the interface of the form

<p>

5. On the form bulider i add and subform on the hierarchy tab and the all the fields of the interface to the form and

automatically the value of the fields are binding.

<p>

6.Add a submit button from web dynpro native and add the event click to the button. Then i change the value of the layout type and save e activate the form and the interface

<p>

7. The next step is create an action for the button submit for the event "onSubmit". So i create the function and start coding this code:

<p>

DATA: adobe_node TYPE REF TO if_wd_context_node,

<p>

client_node TYPE REF TO if_wd_context_node,

<p>

client_element TYPE REF TO if_wd_context_element,

<p>

client TYPE if_create_client=>element_clients.

<p>

*Get reference to the adobe_data node from the context

<p>

adobe_node = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).

<p>

*Get reference to the clients node from the context

<p>

client_node = adobe_node->get_child_node( name = wd_this->wdctx_clients ).

<p>

*Get element node

<p>

client_element = client_node->get_element( ).

<p>

*Get the values from the form

<p>

client_element->get_static_attributes(

<p>

IMPORTING

<p>

static_attributes = client ).

<p>

8. Then for finalize i add the view to the window and crate a web dynpro application and put one break point on the submit function event.

<p>

9. Activate and test the application and when the program try to add a reference to the element node always returning a null reference and the application dumped.

<p>

So please help with this situation i can't understand what is the mistake.

<p>

PS: Now i have installed the acrobat reader 7.0.8

<p>

Edited by: miglsilva on Sep 4, 2010 5:50 PM

Edited by: miglsilva on Sep 4, 2010 6:01 PM

chintan_virani
Active Contributor
0 Kudos

Sorry I am not much aware of WD ABAP coding but see what is cardinality for the client node. It should be 1..n or something like that.

Former Member
0 Kudos

Hi,

I change the cardinality for 1..n and now i don't give me the null reference but again i can't see the values from the adobe interactive form.

Anyone can i help me please...

Thank you in advance.

chintan_virani
Active Contributor
0 Kudos

Can you check my reply here and go through the pre-requisites -->

Former Member
0 Kudos

3. In Adobe LiveCycle Designer goto Tools -> Options --> Document Handling --> Set it to Dynamic XML form.

I can't set to dynamic XML form. The option is disable.

4. From Edit --> Form Properties --> Preview Type --> Set it InteractiveForm and Preview Adobe form as Dynamic XML form.

Now i put that option and the application don't work.

Answers (0)