DETERMINE_CARDINALITY SAP Method Get Cardinality of Association
Below is documentation, parameters and attributes of ABAP Method DETERMINE_CARDINALITY within SAP class /BOFU/CL_GBI_ADAPTER. 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 /BOFU/CL_GBI_ADAPTER 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 directlyThe following technical details of method DETERMINE_CARDINALITY can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method DETERMINE_CARDINALITY
.| Name | Type | Data Type | Description | Default Value |
| IV_CARDINALITY | Importing | TYPE INT1 | Association Cardinality | |
| EV_LEFT_CARD | Exporting | TYPE /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_CARDINALITY | ||
| EV_RIGHT_CARD | Exporting | TYPE /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_CARDINALITY |
Exceptions of Method DETERMINE_CARDINALITY
This method does not have any exceptionsExample ABAP coding
DATA: lv_EV_LEFT_CARD TYPE /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_CARDINALITY,
lv_EV_RIGHT_CARD TYPE /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_CARDINALITY,
lv_IV_CARDINALITY TYPE INT1,
lv_other TYPE c.
CALL METHOD /BOFU/CL_GBI_ADAPTER=>DETERMINE_CARDINALITY(
EXPORTING
IV_CARDINALITY = lv_IV_CARDINALITY
IMPORTING
EV_LEFT_CARD = lv_EV_LEFT_CARD
EV_RIGHT_CARD = lv_EV_RIGHT_CARD ).
Links to Related Class(s)
/BOFU/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects