CHECK_PARTNER_IN_USE SAP Method DPP check, if partner is in use
Below is documentation, parameters and attributes of ABAP Method CHECK_PARTNER_IN_USE within SAP class /DSD/CL_EMSE_BADI_HELPER_HH. 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 /DSD/CL_EMSE_BADI_HELPER_HH 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 CHECK_PARTNER_IN_USE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_PARTNER_IN_USE
.| Name | Type | Data Type | Description | Default Value |
| IV_ID | Importing | TYPE KTONR | Number of an SD Business Partner | |
| IV_TYPE | Importing | TYPE CVP_ID_TYPE | Customer/Supplier master data ID TYPE | |
| RV_OPEN_BUSINESS | Returning | TYPE XFELD | Checkbox |
Exceptions of Method CHECK_PARTNER_IN_USE
This method does not have any exceptionsExample ABAP coding
DATA: lv_IV_ID TYPE KTONR,
lv_IV_TYPE TYPE CVP_ID_TYPE,
lv_RV_OPEN_BUSINESS TYPE XFELD,
lv_other TYPE c.
CALL METHOD /DSD/CL_EMSE_BADI_HELPER_HH=>CHECK_PARTNER_IN_USE(
EXPORTING
IV_ID = lv_IV_ID
IV_TYPE = lv_IV_TYPE
RECEIVING
RV_OPEN_BUSINESS = lv_RV_OPEN_BUSINESS )
"Alternate coding for Method Call with returning parameter
lv_RV_OPEN_BUSINESS = /DSD/CL_EMSE_BADI_HELPER_HH=>CHECK_PARTNER_IN_USE(
EXPORTING
IV_ID = lv_IV_ID
IV_TYPE = lv_IV_TYPE ).
Links to Related Class(s)
/DSD/CL_...Full list of available SAP object classes
Search for further information about these or an SAP related objects