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 to data

Former Member
0 Likes
526

My situation is there: I call a DLL and this DLL return to me a string with more or less 10.000 caracters. This string have a special code that I verify where is the end of line. I put each line in a record of an internal table.

this is my registers:

<?xml version="1.0" encoding="iso-8859-1"?>

<ResultadoConsulta Versao="1.0" Quantidade="1">

<Registro Id="0">

<CNPJ>62070362000106</CNPJ>

<IE>104978186113</IE>

<RazaoSocial>CIA DO METROPOLITANO DE SAO PAULO-METRO</RazaoSocial>

<Logradouro>RUA AUGUSTA</Logradouro>

<Numero>1.626</Numero>

<Complemento/>

<Bairro>CONSOLACAO</Bairro>

<Cidade>SAO PAULO</Cidade>

<Estado>SP</Estado>

<CEP>01304-001</CEP>

<Situacao>HABILITADO</Situacao>

<DataInclusao/>

<DataBaixa>24/04/1968</DataBaixa>

<DataConsulta>10/09/2008</DataConsulta>

<NumeroConsulta>7326911 SP</NumeroConsulta>

<RegimeApuracao/>

<EnquadramentoEmpresa>NORMAL</EnquadramentoEmpresa>

<Pagina> (HTML CODE) </Pagina>

</Registro>

</ResultadoConsulta>

I need to get the value of each variable of XML, in particular the <Pagina> that has more or lass 10000 characters. My version SAP is 4.6c.

Tks,

Marcos Ferreira

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
495

see this:

- Hemant

3 REPLIES 3
Read only

Former Member
0 Likes
495

Hi Refer to IXML class library.

you will get it in online help.

- Hemant

Read only

0 Likes
495

I need a example. Do you have?

Read only

Former Member
0 Likes
496

see this:

- Hemant