GET_MANDATES SAP Method Determine the Valid Mandates
Below is documentation, parameters and attributes of ABAP Method GET_MANDATES within SAP class IF_WB2_SEPA_ENH. 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 IF_WB2_SEPA_ENH 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_MANDATES can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_MANDATES
.Name | Type | Data Type | Description | Default Value |
IS_KOMWBHD | Importing | TYPE KOMWBHD | Trading Contract: Communication Structure, Commercial Data | |
IS_KOMWBHK | Importing | TYPE KOMWBHK | Trading Contract: Communication Structure Header Data | |
IV_COMPANY_CODE_PAY | Importing | TYPE DZBUKR | Paying company code | |
IV_FOR_F4 | Importing | TYPE XFELD | For F4-Help | |
IV_PAYER | Importing | TYPE WBHP-KUNNR | Customer number of business partner | |
CT_MANDATES | Changing | TYPE SEPA_TAB_DATA_MANDATE_DATA | Table for Mandate Data in the Application Layer |
Exceptions of Method GET_MANDATES
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_WB2_SEPA_ENH.
DATA: lv_CT_MANDATES TYPE SEPA_TAB_DATA_MANDATE_DATA,
lv_IS_KOMWBHD TYPE KOMWBHD,
lv_IS_KOMWBHK TYPE KOMWBHK,
lv_IV_COMPANY_CODE_PAY TYPE DZBUKR,
lv_IV_FOR_F4 TYPE XFELD,
lv_IV_PAYER TYPE WBHP-KUNNR,
lv_other TYPE c.
CALL METHOD lo_class=>GET_MANDATES(
EXPORTING
IS_KOMWBHD = lv_IS_KOMWBHD
IS_KOMWBHK = lv_IS_KOMWBHK
IV_COMPANY_CODE_PAY = lv_IV_COMPANY_CODE_PAY
IV_FOR_F4 = lv_IV_FOR_F4
IV_PAYER = lv_IV_PAYER
CHANGING
CT_MANDATES = lv_CT_MANDATES ).
Links to Related Class(s)
IF_WB2_S...Full list of available SAP object classes
Search for further information about these or an SAP related objects