on 04-04-2010 2:12 PM
hello,
I would like to retrieve the xml data from my pdf form
I've created a pdf which get's data via a web service
when I save the pdf, the data retrieved by the web services isn't saved so I can't get the xml data
however, I found some code to replace certain tgas in the xml, put this in a button on click event, call the web service again
and afterwards the data is available in the saved pdf
any ideas on how to do this without the button ?
regards
Well, I must admit I have no idea what is going on there. Maybe we can find somebody else to tell us. Looks like an interesting bug/ feature. Regards Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don´t understand the string replacement part. Why do you do that? Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Otto,
I'm doing that for no reason, I'm just playing around with web services and scripting
but I noticed that after the string replace the data is in my xml after saving the pdf
I also noticed that this only works when I work with 're-mrege', not with the 'postexecute' event
with postexecute and scripting (fill table) no data is saved in my xml
any idea's ?
regards
Just to have the complete overview:
you have an offline form, that form calls the WS and gets some data, next the form is saved by the user, next the form is uploaded into the backend (some report/ custom transaction or something) and during the data extraction process, when you get the XML with data, you get all the data from the form except the data recieved from the WD. Is that right?
Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don´t understand the problem. After calling the webservice the fields of your form are filled with data, right? That means the data are in the form/ in the fields and after saving the form you should see the same data in the same fields. I don´t understand why that would not work. Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello Otto,
yes, that's right, the data is stored in the pdf after the call of my web service
but, I would like to retrieve the data via an abap program, that's when the problem occurs
the xml received via my program is empty but, when I replace the data tga with the script I found and afterwards
save the pdf, the xml is not empty, I can see the data received via the web service in xml format
hope this explains it better
regards
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.