on 05-28-2008 10:43 AM
Hi Exports,
I am developing a off-line interactive form in webdynpro for abap, for this requirement first I have converted my pdf into xml and using get_value I have tried to get the values. But up to parsing XML data and getting node information its working fine when i use get_value method to get the value am getting nothing (Even am not getting any error). please help me out. this is an urgent issue for me.
Thanks is in advance.
Phalani M
Hi Phalani,
Go through the following blogs.They might help.
[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/9121%3Fpage%3Dlast%26x-order%3Ddate] [original link is broken] [original link is broken] [original link is broken];
[/people/shruti.rathour/blog/2008/02/07/uploading-sap-interactive-form-on-the-abap-webdynpro-view]
Plz reward if helpful.
Thanks.
Shruti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Phalani Kanth Gupta ,
We can now use the methods of the xml interface to read values from the xml Document.Eg: Iam using the method Find_From_name() to retrive the value of an attribute by giving the name of the node in form interface. Here node name, attribute name, field names all refer to the names in the form.
DATA: node TYPE REF TO if_ixml_node.
interface.node = document->find_from_name(NAME_OF_EMPLOYEE).
IF NOT node IS INITIAL.
Name = node->get_value( ).
Write the node name is caps and also same as its appearing in XML
Regards
Sarath
I have followed the same approach and it was working fine. If you are also using this than it might be possible that there is some problem with the node name. Please make sure that the Node name is same as it is there in the PDF Form and should be in CAPS. For ex : If node name is PERNR,
NODE = DOCUMENT->FIND_FROM_NAME( NAME = 'PERNR' ).
Data EMP_NO type string.
EMP_NO = NODE->GET_VALUE( ).
Thanks.
Shruti
Hi Phalani Kanth Gupta,
Check this blog, codes for reading from xml is there.
/people/sarath.satheesan/blog/2008/04/03/adobe-interactive-form--read-a-table-manually-wda
Regards
Sarath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.