SAP CJPN_PROJECT_OBJECT Function Module for NOTRANSL: Übergabe der Objektnummer zum PSP-Element
CJPN_PROJECT_OBJECT is a standard cjpn project object 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: Übergabe der Objektnummer zum PSP-Element 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 cjpn project object FM, simply by entering the name CJPN_PROJECT_OBJECT into the relevant SAP transaction such as SE37 or SE38.
Function Group: CJPN
Program Name: SAPLCJPN
Main Program: SAPLCJPN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CJPN_PROJECT_OBJECT 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 'CJPN_PROJECT_OBJECT'"NOTRANSL: Übergabe der Objektnummer zum PSP-Element.
EXPORTING
INT_NUM = "
IMPORTING
PRPS_OBJ = "Number CO object
PRPS_WAE = "Object Currency
PRPS_STA = "
PRPS_BUK = "
PRPS_KZBWS = "
PRPS_LOGSYSTEM = "Logical System
EXCEPTIONS
NOT_FOUND = 1
IMPORTING Parameters details for CJPN_PROJECT_OBJECT
INT_NUM -
Data type: PRPS-PSPNROptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CJPN_PROJECT_OBJECT
PRPS_OBJ - Number CO object
Data type: PRPS-OBJNROptional: No
Call by Reference: No ( called with pass by value option)
PRPS_WAE - Object Currency
Data type: PRPS-PWPOSOptional: No
Call by Reference: No ( called with pass by value option)
PRPS_STA -
Data type: PRPS-XSTATOptional: No
Call by Reference: No ( called with pass by value option)
PRPS_BUK -
Data type: PRPS-PBUKROptional: No
Call by Reference: No ( called with pass by value option)
PRPS_KZBWS -
Data type: PRPS-KZBWSOptional: No
Call by Reference: No ( called with pass by value option)
PRPS_LOGSYSTEM - Logical System
Data type: PRPS-LOGSYSTEMOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CJPN_PROJECT_OBJECT 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_int_num | TYPE PRPS-PSPNR, " | |||
| lv_prps_obj | TYPE PRPS-OBJNR, " | |||
| lv_not_found | TYPE PRPS, " | |||
| lv_prps_wae | TYPE PRPS-PWPOS, " | |||
| lv_prps_sta | TYPE PRPS-XSTAT, " | |||
| lv_prps_buk | TYPE PRPS-PBUKR, " | |||
| lv_prps_kzbws | TYPE PRPS-KZBWS, " | |||
| lv_prps_logsystem | TYPE PRPS-LOGSYSTEM. " |
|   CALL FUNCTION 'CJPN_PROJECT_OBJECT' "NOTRANSL: Übergabe der Objektnummer zum PSP-Element |
| EXPORTING | ||
| INT_NUM | = lv_int_num | |
| IMPORTING | ||
| PRPS_OBJ | = lv_prps_obj | |
| PRPS_WAE | = lv_prps_wae | |
| PRPS_STA | = lv_prps_sta | |
| PRPS_BUK | = lv_prps_buk | |
| PRPS_KZBWS | = lv_prps_kzbws | |
| PRPS_LOGSYSTEM | = lv_prps_logsystem | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| . " CJPN_PROJECT_OBJECT | ||
ABAP code using 7.40 inline data declarations to call FM CJPN_PROJECT_OBJECT
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 PSPNR FROM PRPS INTO @DATA(ld_int_num). | ||||
| "SELECT single OBJNR FROM PRPS INTO @DATA(ld_prps_obj). | ||||
| "SELECT single PWPOS FROM PRPS INTO @DATA(ld_prps_wae). | ||||
| "SELECT single XSTAT FROM PRPS INTO @DATA(ld_prps_sta). | ||||
| "SELECT single PBUKR FROM PRPS INTO @DATA(ld_prps_buk). | ||||
| "SELECT single KZBWS FROM PRPS INTO @DATA(ld_prps_kzbws). | ||||
| "SELECT single LOGSYSTEM FROM PRPS INTO @DATA(ld_prps_logsystem). | ||||
Search for further information about these or an SAP related objects