Skip to Content
-1

How to modify ABAP type in XML Schema elemet

Hello,

Does anyone know how to modify and ABAP type from an Attribute of XML schema element?

I need to change it because when I consume the Web service the attributes that are INT aren´t send if a set or leave the default value ‘0’ (label CertificadoOrigen="0" is not send).

So I am trying to set the type attribute to string to avoid it, so far I haven’t find where I can do it.

Any help would be appreciated.

captura1.png (9.0 kB)
captura2.png (22.0 kB)
captura3.png (34.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 15, 2017 at 06:41 PM

    You may use the "Extended XML Handling": there is a CONTROLLER component (internal table) in the structure containing your field (CERTIFICADO_ORIGEN) that you may fill with the constant SAI_CTRL_INITIAL. More information here: SAP Library: Activating Extended XML Handling

    Add comment
    10|10000 characters needed characters exceeded