Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

XML Library

Former Member
0 Likes
411

Hi all,

I created program for transfer data into XML file in version 4.7(use XML Library). When I copy this program into versin 4.6 program generate error: "Statement "DOCUMENT->SET_VERSION(" is not defined. Please check your spelling".

******************************

class cl_ixml definition load.

g_ixml = cl_ixml=>create( ).

document = g_ixml->create_document( ).

document->set_version( version = '1.0' ).

**********************************************

What problem?

Thanks a lot.

1 REPLY 1
Read only

Former Member
0 Likes
325

Hello,

The XML classes and interfaces change a lot between the various versions.

I suppose the release you're working with (4.6) does not support the method you call (I checked in our system and could not find this method on interface IF_IXML, either).

You will have to find some workaround...

Hope this helps (please reward me if it does ,

Joerg