Ansicht
Dokumentation

ABENST_TT_LAX - ST TT LAX

ABENST_TT_LAX - ST TT LAX

Vendor Master (General Section)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

- tt:lax, Name Comparisons of Literal XML Elements

... tt:lax="on"$|"off"$|"deep-on"$|"deep-off" ...

Effect

When deserializing literal XML elements, the optional attribute tt:lax can be used to control whether the name of an element is respected.

  • If tt:lax is specified with the value ″off″, the inbound XML stream must contain an identically named element with all literal attributes attr of the same content.
  • If tt:lax is specified with the value ″on″, the element in the inbound XML stream can have any name, but the expected attributes must still match.
  • The values ″deep-on″ and "deep-off″ for tt:lax are used to set the setting ″on″ and ″off″ for all subelements of the current element; however, they can be overwritten locally there.

If tt:lax is not specified, the setting depends on the surrounding context. By default, a template has the setting "deep-off".

Example

The following XML fragment is to be assumed:

X my_attr="attr">abc/X>

Due to tt:lax="on", the ST program below can still deserialize this fragment despite different element names:

tt:transform
  xmlns:tt="http://www.sap.com/transformation-templates">
tt:root name="ROOT"/>
  tt:template>
     Y tt:lax="on">
       tt:value ref="ROOT" />
     /Y>
   /tt:template>
/tt:transform>






RFUMSV00 - Advance Return for Tax on Sales/Purchases   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2928 Date: 20240329 Time: 074559     sap01-206 ( 36 ms )