GET_ENUM_OBJECT SAP Method of class CL_PROXY_WSDL2ABAP









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

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

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_WSDL2ABAP into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

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

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


Parameters of Method GET_ENUM_OBJECT

.

NameTypeData TypeDescriptionDefault Value
NODEImportingTYPE REF TO
CL_PROXY_XSD_NODE
Proxy Generation: Nodes in a WSDL/XML Schema Document
PARENTImportingTYPE
SPRX_S_OBJECT
OBJECTReturningTYPE
SPRX_S_OBJECT



Exceptions of Method GET_ENUM_OBJECT

CX_PROXY_GEN_ERROR - Proxy-Generierung: Fehler

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO CL_PROXY_WSDL2ABAP.
DATA: lv_NODE TYPE CL_PROXY_XSD_NODE,
lv_OBJECT TYPE SPRX_S_OBJECT,
lv_PARENT TYPE SPRX_S_OBJECT,
lv_other TYPE c.

CALL METHOD lo_class=>GET_ENUM_OBJECT(
EXPORTING
NODE = lv_NODE
PARENT = lv_PARENT
RECEIVING
OBJECT = lv_OBJECT )



"Alternate coding for Method Call with returning parameter
lv_OBJECT = lo_class=>GET_ENUM_OBJECT(
EXPORTING
NODE = lv_NODE
PARENT = lv_PARENT ).

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!