SAP C14X_CHECK_EXIST_PJ Function Module for NOTRANSL: PP-SHE: Prüft die Existenz einer Zuordnung Phrase zu Auswahlmeng
C14X_CHECK_EXIST_PJ is a standard c14x check exist pj SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: PP-SHE: Prüft die Existenz einer Zuordnung Phrase zu Auswahlmeng 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 c14x check exist pj FM, simply by entering the name C14X_CHECK_EXIST_PJ into the relevant SAP transaction such as SE37 or SE38.
Function Group: C14X
Program Name: SAPLC14X
Main Program: SAPLC14X
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function C14X_CHECK_EXIST_PJ 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 'C14X_CHECK_EXIST_PJ'"NOTRANSL: PP-SHE: Prüft die Existenz einer Zuordnung Phrase zu Auswahlmeng.
EXPORTING
I_PHRID = "Phrase
I_RECNTPH = "Sequential Number of Data Record
I_PHRSEL = "Phrase Set
I_RECNTPS = "Sequential Number of Data Record
I_RECNTPJ = "Sequential Number of Data Record
I_ACTYPE = "Activity category in SAP transaction
I_ADDINFO = "EHS: Additional Information for Function Module Calls
* I_FLG_MESSAGE = ESP1_TRUE "
IMPORTING
E_EXIST = "
TABLES
I_IOTAB_PJ = "EHS: IOT for phrase - phrase set assignment (ESTPJ)
EXCEPTIONS
ERROR_IN_ACTIVE_CATALOG = 1
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLC14X_001 EHS: Dynamic Determination of Phrase Set
IMPORTING Parameters details for C14X_CHECK_EXIST_PJ
I_PHRID - Phrase
Data type: ESTPH-PHRIDOptional: No
Call by Reference: No ( called with pass by value option)
I_RECNTPH - Sequential Number of Data Record
Data type: ESTPH-RECNOptional: No
Call by Reference: No ( called with pass by value option)
I_PHRSEL - Phrase Set
Data type: ESTPS-PHRSELOptional: No
Call by Reference: No ( called with pass by value option)
I_RECNTPS - Sequential Number of Data Record
Data type: ESTPS-RECNOptional: No
Call by Reference: No ( called with pass by value option)
I_RECNTPJ - Sequential Number of Data Record
Data type: ESTPH-RECNOptional: No
Call by Reference: No ( called with pass by value option)
I_ACTYPE - Activity category in SAP transaction
Data type: RCGDIALCTR-ACTYPEOptional: No
Call by Reference: No ( called with pass by value option)
I_ADDINFO - EHS: Additional Information for Function Module Calls
Data type: RCGADDINFOptional: No
Call by Reference: No ( called with pass by value option)
I_FLG_MESSAGE -
Data type: ESP1_BOOLEANDefault: ESP1_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for C14X_CHECK_EXIST_PJ
E_EXIST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for C14X_CHECK_EXIST_PJ
I_IOTAB_PJ - EHS: IOT for phrase - phrase set assignment (ESTPJ)
Data type: RCGPJIOTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_IN_ACTIVE_CATALOG -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for C14X_CHECK_EXIST_PJ 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_e_exist | TYPE STRING, " | |||
| lv_i_phrid | TYPE ESTPH-PHRID, " | |||
| lt_i_iotab_pj | TYPE STANDARD TABLE OF RCGPJIOT, " | |||
| lv_error_in_active_catalog | TYPE RCGPJIOT, " | |||
| lv_i_recntph | TYPE ESTPH-RECN, " | |||
| lv_i_phrsel | TYPE ESTPS-PHRSEL, " | |||
| lv_i_recntps | TYPE ESTPS-RECN, " | |||
| lv_i_recntpj | TYPE ESTPH-RECN, " | |||
| lv_i_actype | TYPE RCGDIALCTR-ACTYPE, " | |||
| lv_i_addinfo | TYPE RCGADDINF, " | |||
| lv_i_flg_message | TYPE ESP1_BOOLEAN. " ESP1_TRUE |
|   CALL FUNCTION 'C14X_CHECK_EXIST_PJ' "NOTRANSL: PP-SHE: Prüft die Existenz einer Zuordnung Phrase zu Auswahlmeng |
| EXPORTING | ||
| I_PHRID | = lv_i_phrid | |
| I_RECNTPH | = lv_i_recntph | |
| I_PHRSEL | = lv_i_phrsel | |
| I_RECNTPS | = lv_i_recntps | |
| I_RECNTPJ | = lv_i_recntpj | |
| I_ACTYPE | = lv_i_actype | |
| I_ADDINFO | = lv_i_addinfo | |
| I_FLG_MESSAGE | = lv_i_flg_message | |
| IMPORTING | ||
| E_EXIST | = lv_e_exist | |
| TABLES | ||
| I_IOTAB_PJ | = lt_i_iotab_pj | |
| EXCEPTIONS | ||
| ERROR_IN_ACTIVE_CATALOG = 1 | ||
| . " C14X_CHECK_EXIST_PJ | ||
ABAP code using 7.40 inline data declarations to call FM C14X_CHECK_EXIST_PJ
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.| "SELECT single PHRID FROM ESTPH INTO @DATA(ld_i_phrid). | ||||
| "SELECT single RECN FROM ESTPH INTO @DATA(ld_i_recntph). | ||||
| "SELECT single PHRSEL FROM ESTPS INTO @DATA(ld_i_phrsel). | ||||
| "SELECT single RECN FROM ESTPS INTO @DATA(ld_i_recntps). | ||||
| "SELECT single RECN FROM ESTPH INTO @DATA(ld_i_recntpj). | ||||
| "SELECT single ACTYPE FROM RCGDIALCTR INTO @DATA(ld_i_actype). | ||||
| DATA(ld_i_flg_message) | = ESP1_TRUE. | |||
Search for further information about these or an SAP related objects