MAP_ASSOC_FOR_READ SAP Method of class /BOBF/CL_CONF_MODEL_API_MAP









Below is documentation, parameters and attributes of ABAP Method MAP_ASSOC_FOR_READ within SAP class /BOBF/CL_CONF_MODEL_API_MAP. 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 /BOBF/CL_CONF_MODEL_API_MAP 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 MAP_ASSOC_FOR_READ can also be found below:

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


Parameters of Method MAP_ASSOC_FOR_READ

.

NameTypeData TypeDescriptionDefault Value
IS_ASSOCIATIONImportingTYPE
/BOBF/S_CONF_MODEL_API_ASSOC
Configuration Model API: Validation Details
IT_ASSOCIATION_BINDINGImportingTYPE
/BOBF/T_CONF_ASSOCB
Association Binding
IT_DEPENDENT_OBJECTImportingTYPE
/BOBF/T_CONF_MODEL_ADT_BO
List of ADT BOs
IT_NODEImportingTYPE
/BOBF/T_CONF_MODEL_API_NODE
Configuration Model API: Node Details
IV_EXPAND_DEPENDENT_OBJECTSImportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
RS_ASSOCIATION_ADTReturningTYPE
/BOBF/S_CONF_MODEL_ADT_ASSOC
ADT Validation



Exceptions of Method MAP_ASSOC_FOR_READ

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BOBF/CL_CONF_MODEL_API_MAP.
DATA: lv_IS_ASSOCIATION TYPE /BOBF/S_CONF_MODEL_API_ASSOC,
lv_IT_ASSOCIATION_BINDING TYPE /BOBF/T_CONF_ASSOCB,
lv_IT_DEPENDENT_OBJECT TYPE /BOBF/T_CONF_MODEL_ADT_BO,
lv_IT_NODE TYPE /BOBF/T_CONF_MODEL_API_NODE,
lv_IV_EXPAND_DEPENDENT_OBJECTS TYPE BOOLE_D,
lv_RS_ASSOCIATION_ADT TYPE /BOBF/S_CONF_MODEL_ADT_ASSOC,
lv_other TYPE c.

CALL METHOD lo_class=>MAP_ASSOC_FOR_READ(
EXPORTING
IS_ASSOCIATION = lv_IS_ASSOCIATION
IT_ASSOCIATION_BINDING = lv_IT_ASSOCIATION_BINDING
IT_DEPENDENT_OBJECT = lv_IT_DEPENDENT_OBJECT
IT_NODE = lv_IT_NODE
IV_EXPAND_DEPENDENT_OBJECTS = lv_IV_EXPAND_DEPENDENT_OBJECTS
RECEIVING
RS_ASSOCIATION_ADT = lv_RS_ASSOCIATION_ADT )



"Alternate coding for Method Call with returning parameter
lv_RS_ASSOCIATION_ADT = lo_class=>MAP_ASSOC_FOR_READ(
EXPORTING
IS_ASSOCIATION = lv_IS_ASSOCIATION
IT_ASSOCIATION_BINDING = lv_IT_ASSOCIATION_BINDING
IT_DEPENDENT_OBJECT = lv_IT_DEPENDENT_OBJECT
IT_NODE = lv_IT_NODE
IV_EXPAND_DEPENDENT_OBJECTS = lv_IV_EXPAND_DEPENDENT_OBJECTS ).

Links to Related Class(s)

/BOBF/CL...
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!