cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe Interactive Form in a Webdynrp

Former Member
0 Kudos

Hi,

I have an issue with a interactive form in a Webdynpro. To explain the problem I will need to give a little intro on what this application does.

We have a webdynpro with a button (SAVE) and a interactive form in which users can enter information and hit Save button and the data is saved in a z table.

The issue is that when the user hits SAVE button that is in the webdynpro first time it works fine and I can read the data. If the user makes a change and hits SAVE then the data is not updated in the node. Interestingly if the user hits SAVE again with or without any data change the node is updated with the new data.

Not sure if anyone else have come across this problem. Any help is highly appreciated.

Thanks,

Kal

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

is this <a href="https://websmp205.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=956074&_NLANG=E">note</a> an elaboration on your problem?

grtz,

Koen

Former Member
0 Kudos

Hello Kal,

Can you please elaborate how you are able to read the data from form in to WDA application? I am trying to do the same and unable to capture form data. I have a submit button which when hit has the following code.

DATA:

lr_fp TYPE REF TO if_fp,

lr_pdf_object TYPE REF TO if_fp_pdf_object,

pdf TYPE xstring,

xml TYPE xstring,

xml_str TYPE string,

lt_xml TYPE string_table,

lr_conv TYPE REF TO cl_abap_conv_in_ce,

l_binary_table TYPE TABLE OF t_raw,

cont_text TYPE soli_tab,

cont_text_line TYPE soli,

OUTPUT_LENGTH TYPE I.

lr_fp = cl_fp=>get_reference( ).

lr_pdf_object = lr_fp->create_pdf_object( ).

wd_context->get_attribute(

EXPORTING name = 'L_XSTRING' IMPORTING value = pdf ).

IF pdf IS NOT INITIAL.

lr_pdf_object->set_document( pdfdata = pdf ).

lr_pdf_object->set_task_extractdata( ).

lr_pdf_object->execute( ).

lr_pdf_object->get_data( IMPORTING formdata = xml ).

lr_conv = cl_abap_conv_in_ce=>create( input = pdf ).

lr_conv->convert( EXPORTING input = xml IMPORTING data = xml_str )

.

  • lr_conv->read( IMPORTING data = xml_str ).

ENDIF.

wd_context->set_attribute( name = 'XML' value = xml_str ).

Your help will be appreciated.

Regards

Prasad