SAP EHPRC_CP_CK03_UCOV_DRILLDOWN Function Module for CP: Reach Use and Exposure Coverage Check - Drill down









EHPRC_CP_CK03_UCOV_DRILLDOWN is a standard ehprc cp ck03 ucov drilldown SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for CP: Reach Use and Exposure Coverage Check - Drill down processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for ehprc cp ck03 ucov drilldown FM, simply by entering the name EHPRC_CP_CK03_UCOV_DRILLDOWN into the relevant SAP transaction such as SE37 or SE38.

Function Group: EHPRC_CP_CK03
Program Name: SAPLEHPRC_CP_CK03
Main Program: SAPLEHPRC_CP_CK03
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EHPRC_CP_CK03_UCOV_DRILLDOWN pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'EHPRC_CP_CK03_UCOV_DRILLDOWN'"CP: Reach Use and Exposure Coverage Check - Drill down
EXPORTING
IV_CHECK = "Prüfung
ITH_MATCAT_TO_CHECK = "CP: Auflistung von Materialtypen
IV_REGLIST = "Gesetzliche oder Kundenliste
IS_ADDINF = "EHS: Zusatzinfos für FB-Aufrufe
IS_BOS_PARENT = "CP: Auflösung der BOS Struktur
IT_BOS_COMP = "CP: Auflösung der BOS Struktur
ITS_PARENT_USES = "Verwendungs API
ITS_MATBAS = "CP: Materialzuordnung
ITS_POLYMER_STATUS = "Polymer status
ITH_CKCRIT = "CP: Hash Tabelle zur Definition der Kriterien zur Prüfung

IMPORTING
EV_FLG_ERROR = "Truth Value
EV_FLG_CANCEL = "Truth Value
ET_MESSAGE = "Application Log: Table with Messages

CHANGING
XT_BOS_COMP_ADD = "CP: Table type for supplier information for coverage check
.



IMPORTING Parameters details for EHPRC_CP_CK03_UCOV_DRILLDOWN

IV_CHECK - Prüfung

Data type: EHFND_CHECK
Optional: No
Call by Reference: Yes

ITH_MATCAT_TO_CHECK - CP: Auflistung von Materialtypen

Data type: EHPRCT_MATCAT
Optional: No
Call by Reference: Yes

IV_REGLIST - Gesetzliche oder Kundenliste

Data type: EHFND_REGLIST
Optional: No
Call by Reference: Yes

IS_ADDINF - EHS: Zusatzinfos für FB-Aufrufe

Data type: RCGADDINF
Optional: No
Call by Reference: Yes

IS_BOS_PARENT - CP: Auflösung der BOS Struktur

Data type: EHPRCS_BOS_COMP
Optional: No
Call by Reference: Yes

IT_BOS_COMP - CP: Auflösung der BOS Struktur

Data type: EHPRCT_BOS_COMP
Optional: No
Call by Reference: Yes

ITS_PARENT_USES - Verwendungs API

Data type: EHPRCT_USEAPI
Optional: No
Call by Reference: Yes

ITS_MATBAS - CP: Materialzuordnung

Data type: EHPRCT_RCMATBAS_API
Optional: No
Call by Reference: Yes

ITS_POLYMER_STATUS - Polymer status

Data type: EHPRCT_RS_POLYMER
Optional: No
Call by Reference: Yes

ITH_CKCRIT - CP: Hash Tabelle zur Definition der Kriterien zur Prüfung

Data type: EHPRCT_CKCRIT_H
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for EHPRC_CP_CK03_UCOV_DRILLDOWN

EV_FLG_ERROR - Truth Value

Data type: ESEBOOLE
Optional: No
Call by Reference: Yes

EV_FLG_CANCEL - Truth Value

Data type: ESEBOOLE
Optional: No
Call by Reference: Yes

ET_MESSAGE - Application Log: Table with Messages

Data type: BAL_T_MSG
Optional: No
Call by Reference: Yes

CHANGING Parameters details for EHPRC_CP_CK03_UCOV_DRILLDOWN

XT_BOS_COMP_ADD - CP: Table type for supplier information for coverage check

Data type: EHPRCT_BOS_COMP_UCOV_ADD
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EHPRC_CP_CK03_UCOV_DRILLDOWN Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_iv_check  TYPE EHFND_CHECK, "   
lv_ev_flg_error  TYPE ESEBOOLE, "   
lv_xt_bos_comp_add  TYPE EHPRCT_BOS_COMP_UCOV_ADD, "   
lv_ith_matcat_to_check  TYPE EHPRCT_MATCAT, "   
lv_iv_reglist  TYPE EHFND_REGLIST, "   
lv_ev_flg_cancel  TYPE ESEBOOLE, "   
lv_is_addinf  TYPE RCGADDINF, "   
lv_et_message  TYPE BAL_T_MSG, "   
lv_is_bos_parent  TYPE EHPRCS_BOS_COMP, "   
lv_it_bos_comp  TYPE EHPRCT_BOS_COMP, "   
lv_its_parent_uses  TYPE EHPRCT_USEAPI, "   
lv_its_matbas  TYPE EHPRCT_RCMATBAS_API, "   
lv_its_polymer_status  TYPE EHPRCT_RS_POLYMER, "   
lv_ith_ckcrit  TYPE EHPRCT_CKCRIT_H. "   

  CALL FUNCTION 'EHPRC_CP_CK03_UCOV_DRILLDOWN'  "CP: Reach Use and Exposure Coverage Check - Drill down
    EXPORTING
         IV_CHECK = lv_iv_check
         ITH_MATCAT_TO_CHECK = lv_ith_matcat_to_check
         IV_REGLIST = lv_iv_reglist
         IS_ADDINF = lv_is_addinf
         IS_BOS_PARENT = lv_is_bos_parent
         IT_BOS_COMP = lv_it_bos_comp
         ITS_PARENT_USES = lv_its_parent_uses
         ITS_MATBAS = lv_its_matbas
         ITS_POLYMER_STATUS = lv_its_polymer_status
         ITH_CKCRIT = lv_ith_ckcrit
    IMPORTING
         EV_FLG_ERROR = lv_ev_flg_error
         EV_FLG_CANCEL = lv_ev_flg_cancel
         ET_MESSAGE = lv_et_message
    CHANGING
         XT_BOS_COMP_ADD = lv_xt_bos_comp_add
. " EHPRC_CP_CK03_UCOV_DRILLDOWN




ABAP code using 7.40 inline data declarations to call FM EHPRC_CP_CK03_UCOV_DRILLDOWN

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!