Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

XML to data

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

Not what you were looking for? View more on this topic or Ask a question