CONSTRUCTOR SAP Method CONSTRUCTOR









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

This method is a Class Constructor so it is called automatically when the class is accessed for the first time.

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_CONSUMER_FACT_BASE 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 CONSTRUCTOR can also be found below:

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


Parameters of Method CONSTRUCTOR

.

NameTypeData TypeDescriptionDefault Value
ABAP_NAMEImportingTYPE
PRX_R3NAME
Proxy Generation: Name of an Object in R/3
ACTORImportingTYPE
PRX_IFRNAM
Proxy Generation: External Name
AUTHENTICATION_STRUCTImportingTYPE
PRX_R3NAME
Proxy Generation: Name of an Object in R/3
NAMEImportingTYPE
PRX_IFRNAM
Proxy Generation: External Name
NAMESPACEImportingTYPE
PRX_NSPCE
Proxy Generation: External Namespace
RECEIVER_MODEImportingTYPE
PRX_RD_MODE
Mode of logical receiver determination
RECEIVER_STRUCTImportingTYPE
PRX_R3NAME
Proxy Generation: Name of an Object in R/3
SEMANTIC_CONTRACTImportingTYPE
PRX_R3NAME
Proxy Generation: Name of an Object in R/3
SENDER_MODEImportingTYPE
PRX_SD_MODE
Mode of logical sender determination
SENDER_STRUCTImportingTYPE
PRX_R3NAME
Proxy Generation: Name of an Object in R/3
SOURCE_PROXYImportingTYPE
PRX_IFRNAM
Proxy Generation: Name of an Object in R/3



Exceptions of Method CONSTRUCTOR

This method does not have any exceptions

Example ABAP coding

As the method is a Class Constructor the below code doesnt really make sense as it cant be executed as a stand alone method but this is how it would look if it was a normal static method.

DATA: lo_class TYPE REF TO CL_PROXY_CONSUMER_FACT_BASE.
DATA: lv_ABAP_NAME TYPE PRX_R3NAME,
lv_ACTOR TYPE PRX_IFRNAM,
lv_AUTHENTICATION_STRUCT TYPE PRX_R3NAME,
lv_NAME TYPE PRX_IFRNAM,
lv_NAMESPACE TYPE PRX_NSPCE,
lv_RECEIVER_MODE TYPE PRX_RD_MODE,
lv_RECEIVER_STRUCT TYPE PRX_R3NAME,
lv_SEMANTIC_CONTRACT TYPE PRX_R3NAME,
lv_SENDER_MODE TYPE PRX_SD_MODE,
lv_SENDER_STRUCT TYPE PRX_R3NAME,
lv_SOURCE_PROXY TYPE PRX_IFRNAM,
lv_other TYPE c.

CALL METHOD lo_class=>CONSTRUCTOR(
EXPORTING
ABAP_NAME = lv_ABAP_NAME
ACTOR = lv_ACTOR
AUTHENTICATION_STRUCT = lv_AUTHENTICATION_STRUCT
NAME = lv_NAME
NAMESPACE = lv_NAMESPACE
RECEIVER_MODE = lv_RECEIVER_MODE
RECEIVER_STRUCT = lv_RECEIVER_STRUCT
SEMANTIC_CONTRACT = lv_SEMANTIC_CONTRACT
SENDER_MODE = lv_SENDER_MODE
SENDER_STRUCT = lv_SENDER_STRUCT
SOURCE_PROXY = lv_SOURCE_PROXY ).

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!