MAP_XML_VALUE_TO_ABAP_STRING SAP Method of class CL_PROXY_METADATA









Below is documentation, parameters and attributes of ABAP Method MAP_XML_VALUE_TO_ABAP_STRING within SAP class CL_PROXY_METADATA. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_PROXY_METADATA into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method MAP_XML_VALUE_TO_ABAP_STRING can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method MAP_XML_VALUE_TO_ABAP_STRING

.

NameTypeData TypeDescriptionDefault Value
DATA_REFImportingTYPE
CSEQUENCE
DATA_TYPEImportingTYPE
CSEQUENCE
DECIMALSImportingTYPE
DECIMALS
Number of Decimal Places
LENGTHImportingTYPE
DDLENG
Length (No. of Characters)
XML_VALUEImportingTYPE
CSEQUENCE
ABAP_VALUEReturningTYPE
STRING



Exceptions of Method MAP_XML_VALUE_TO_ABAP_STRING

This method does not have any exceptions

Example ABAP coding


DATA: lv_ABAP_VALUE TYPE STRING,
lv_DATA_REF TYPE CSEQUENCE,
lv_DATA_TYPE TYPE CSEQUENCE,
lv_DECIMALS TYPE DECIMALS,
lv_LENGTH TYPE DDLENG,
lv_XML_VALUE TYPE CSEQUENCE,
lv_other TYPE c.

CALL METHOD CL_PROXY_METADATA=>MAP_XML_VALUE_TO_ABAP_STRING(
EXPORTING
DATA_REF = lv_DATA_REF
DATA_TYPE = lv_DATA_TYPE
DECIMALS = lv_DECIMALS
LENGTH = lv_LENGTH
XML_VALUE = lv_XML_VALUE
RECEIVING
ABAP_VALUE = lv_ABAP_VALUE )



"Alternate coding for Method Call with returning parameter
lv_ABAP_VALUE = CL_PROXY_METADATA=>MAP_XML_VALUE_TO_ABAP_STRING(
EXPORTING
DATA_REF = lv_DATA_REF
DATA_TYPE = lv_DATA_TYPE
DECIMALS = lv_DECIMALS
LENGTH = lv_LENGTH
XML_VALUE = lv_XML_VALUE ).

Links to Related Class(s)

CL_PROXY...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!