cancel
Showing results for 
Search instead for 
Did you mean: 

Data passing to BSP controller using xml on Submit button click event

naimkhans_babi
Active Participant
0 Kudos

Dear Friends

How are you. I am developing one BSP application with Adobe interactive form. To complete this task I have use following linked solution. ( A PDF file that tells how to use Adobe forms with BSP application ).

My application runs fine 50%. I did the same things what the tutorial told me and I am seeing the page in the webbrowser with Adobe from what i have developed.

In the form I have put SUBMIT button and I have sent properties as well... I have give full url as well for the controller to take data their over XML.

In the controller I am not receiving any value. I have attached the code beneath as well... please tell me where I am making mistakes. I am thanking you. Any help will be appreciated.

data: formxml type string.
formxml = request->get_cdata( ).

data: streamfactory type ref to if_ixml_stream_factory.
data: istream type ref to if_ixml_istream.
streamfactory = g_ixml->create_stream_factory( ).
istream = streamfactory->create_istream_string( formxml ).


data: document type ref to if_ixml_document.
document = g_ixml->create_document( ).

data: parser type ref to if_ixml_parser.
parser = g_ixml->create_parser( stream_factory = streamfactory
                                istream = istream
                                document = document ).

parser->parse( ).

data: node type ref to if_ixml_node.
data: strchecked type string.
node = document->find_from_name( name = 'ACC_REQ').   <------ Node is empty
strchecked = node->get_value( ).

This is the link of the solution what i refered to complete this application:

http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417500)ID0005508150DB01147043631230799453End?r...

Edited by: Naim Khan S Babi on Sep 30, 2009 3:58 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

naimkhans_babi
Active Participant
0 Kudos

Forms works perfectly fine only you use the url from web browser. it gives error when i m using right click and test.. so no issues...