SAP CJSD_PRPS_MODIFY Function Module for NOTRANSL: Ändern Element in der Belegtabelle









CJSD_PRPS_MODIFY is a standard cjsd prps modify 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: Ändern Element in der Belegtabelle 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 cjsd prps modify FM, simply by entering the name CJSD_PRPS_MODIFY into the relevant SAP transaction such as SE37 or SE38.

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



Function CJSD_PRPS_MODIFY 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 'CJSD_PRPS_MODIFY'"NOTRANSL: Ändern Element in der Belegtabelle
EXPORTING
* BEAKZ = 'V' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* INDEX = 0 "Index in document table
* I_PRPS = ' ' "WBS Element
* I_PROJ = ' ' "Project Definition
* X_CHECK_INPUT = CON_YES "Check Entry

IMPORTING
BEAKZ = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_PRPS = "WBS Element
E_PSPNR = "Std WBS: Internal project item number (w/exit on ID)

EXCEPTIONS
NOT_FOUND = 1 POSNR = 2 BEAKZ = 3 PSPNR = 4
.



IMPORTING Parameters details for CJSD_PRPS_MODIFY

BEAKZ - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: TC10-TRTYP
Default: 'V'
Optional: Yes
Call by Reference: No ( called with pass by value option)

INDEX - Index in document table

Data type: SY-TABIX
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PRPS - WBS Element

Data type: PRPSS
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PROJ - Project Definition

Data type: PROJS
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_CHECK_INPUT - Check Entry

Data type: RCWBS-SEL01
Default: CON_YES
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for CJSD_PRPS_MODIFY

BEAKZ - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: TC10-TRTYP
Optional: No
Call by Reference: No ( called with pass by value option)

E_PRPS - WBS Element

Data type: PRPSS
Optional: No
Call by Reference: No ( called with pass by value option)

E_PSPNR - Std WBS: Internal project item number (w/exit on ID)

Data type: PRPS-PSPNR
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NOT_FOUND - Entry not found

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

POSNR - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

BEAKZ - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

PSPNR - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CJSD_PRPS_MODIFY 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_beakz  TYPE TC10-TRTYP, "   
lv_beakz  TYPE TC10-TRTYP, "   'V'
lv_not_found  TYPE TC10, "   
lv_index  TYPE SY-TABIX, "   0
lv_posnr  TYPE SY, "   
lv_e_prps  TYPE PRPSS, "   
lv_beakz  TYPE PRPSS, "   
lv_i_prps  TYPE PRPSS, "   SPACE
lv_e_pspnr  TYPE PRPS-PSPNR, "   
lv_pspnr  TYPE PRPS, "   
lv_i_proj  TYPE PROJS, "   SPACE
lv_x_check_input  TYPE RCWBS-SEL01. "   CON_YES

  CALL FUNCTION 'CJSD_PRPS_MODIFY'  "NOTRANSL: Ändern Element in der Belegtabelle
    EXPORTING
         BEAKZ = lv_beakz
         INDEX = lv_index
         I_PRPS = lv_i_prps
         I_PROJ = lv_i_proj
         X_CHECK_INPUT = lv_x_check_input
    IMPORTING
         BEAKZ = lv_beakz
         E_PRPS = lv_e_prps
         E_PSPNR = lv_e_pspnr
    EXCEPTIONS
        NOT_FOUND = 1
        POSNR = 2
        BEAKZ = 3
        PSPNR = 4
. " CJSD_PRPS_MODIFY




ABAP code using 7.40 inline data declarations to call FM CJSD_PRPS_MODIFY

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 TRTYP FROM TC10 INTO @DATA(ld_beakz).
 
"SELECT single TRTYP FROM TC10 INTO @DATA(ld_beakz).
DATA(ld_beakz) = 'V'.
 
 
"SELECT single TABIX FROM SY INTO @DATA(ld_index).
 
 
 
 
DATA(ld_i_prps) = ' '.
 
"SELECT single PSPNR FROM PRPS INTO @DATA(ld_e_pspnr).
 
 
DATA(ld_i_proj) = ' '.
 
"SELECT single SEL01 FROM RCWBS INTO @DATA(ld_x_check_input).
DATA(ld_x_check_input) = CON_YES.
 


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!