cancel
Showing results for 
Search instead for 
Did you mean: 

How to modify ABAP type in XML Schema elemet

fsandovalz1
Explorer
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Sandra_Rossi
Active Contributor
0 Kudos

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

fsandovalz1
Explorer
0 Kudos

Thanks a lot, that parameters help me to send the default values.

Answers (0)