Further general functions
Create additional logs
To create some additional log entries, use the following functions:
- /AEB/CMP_WRITE_CRITICAL_LOG
- /AEB/CMP_WRITE_ERROR_LOG
- /AEB/CMP_WRITE_INFO_LOG
- /AEB/CMP_WRITE_WARNING_LOG
Trigger asynchronous checks
If you like to trigger asynchronous checks use the class /AEB/CL_CMP_PB_CR_ASYNC_CHK_BC and one of its methods:
Business Object | Method |
---|---|
Accounting document | CR_AD_ASYNC_CHECK |
Applicant | CR_AP_ASYNC_CHECK |
Bank | CR_BNK_ASYNC_CHECK |
Business Partner | CR_BP_ASYNC_CHECK |
CRM Business Partner | CR_CBP_ASYNC_CHECK |
CRM Business Transaction | CR_CBT_ASYNC_CHECK |
Customer | CR_CUS_ASYNC_CHECK |
Delivery | CR_DLV_ASYNC_CHECK |
Employee | CR_EM_ASYNC_CHECK |
Material Document | CR_MD_ASYNC_CHECK |
Purchasing Document | CR_PD_ASYNC_CHECK |
Sales Document | CR_SDOC_ASYNC_CHECK |
Service Notification | CR_SN_ASYNC_CHECK |
Service Order | CR_SO_ASYNC_CHECK |
Vendor | CR_VDR_ASYNC_CHECK |
REPORT z_cr_async_check.
PARAMETERS:
prt_no TYPE bu_partner.
DATA:
async_chk TYPE REF TO /aeb/cl_cmp_pb_cr_async_chk_bc.
async_chk = /aeb/cl_cmp_pb_cr_async_chk_bc=>new( ).
TRY.
async_chk->cr_bp_async_check( prt_no ).
CATCH /aeb/cx_01_pb_missing_parm_sc.
* do error handling
ENDTRY.
Delete Monitor entries
In order to delete entries from the Compliance Monitor, use one of the following function modules:
Business object | Function module |
---|---|
Account document | /AEB/CMP_PB_DELETE_AD_ENTRY |
Applicant | /AEB/CMP_PB_DELETE_AP_ENTRY |
Bank | /AEB/CMP_PB_DELETE_BNK_ENTRY |
Business object | /AEB/CMP_PB_DELETE_BP_ENTRY |
Customer | /AEB/CMP_PB_DELETE_CUS_ENTRY |
Delivery | /AEB/CMP_PB_DELETE_DLV_ENTRY |
Employee | /AEB/CMP_PB_DELETE_EM_ENTRY |
Material documents | /AEB/CMP_PB_DELETE_MD_ENTRY |
Purchase document | /AEB/CMP_PB_DELETE_PD_ENTRY |
Payment | /AEB/CMP_PB_DELETE_PIP_ENTRY |
Sales document | /AEB/CMP_PB_DELETE_SDOC_ENTRY |
Service notification | /AEB/CMP_PB_DELETE_SN_ENTRY |
Service order | /AEB/CMP_PB_DELETE_SO_ENTRY |
Vendor | /AEB/CMP_PB_DELETE_VDR_ENTRY |
Change the behavior of the "change "-function in compliance monitor
To adapt or to change the behavior of the change function in the Compliance Monitor, two BAdIs are available:
BAdI name | BAdI description |
---|---|
/AEB/CMP_MONITOR_07 | Different action for the function "Change" in the monitor |
/AEB/CMP_BUS_PRT_06 | Different action for the function 'Change' in the monitor in case of business partners |
Updated 6 months ago