Ansicht
Dokumentation

ABENENUM_DESERIALIZATION_ABEXA - ENUM DESERIALIZATION ABEXA

ABENENUM_DESERIALIZATION_ABEXA - ENUM DESERIALIZATION ABEXA

Vendor Master (General Section)   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

, Deserialization

This example demonstrates how a dynamically created XML file is deserialized to an enumerated object.

Source Code

Execute

Description

A byte string is composed in such a way that it represents an XML file in asXML format for an enumerated object of the enumerated type size and is deserialized as such. Any invalid entries raise an exception.

Next, the dynamic assignment of a name to a field symbol is displayed. This is successful but the prerequisite here is that the enumerated type size is known in the current context. However, the XML file can be deserialized in an enumerated object without static knowledge of the enumerated type.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 952 Date: 20240426 Time: 155800     sap01-206 ( 23 ms )