Skip to Content
-1

How to modify ABAP type in XML Schema elemet

Sep 15, 2017 at 06:26 PM

47

avatar image
Former Member

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Sandra Rossi Sep 15, 2017 at 06:41 PM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

0