SAP CJSD_SELECT_BASIC_DATA Function Module for NOTRANSL: Selektion der Grunddaten Projektstrukturplan
CJSD_SELECT_BASIC_DATA is a standard cjsd select basic data 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: Selektion der Grunddaten Projektstrukturplan 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 select basic data FM, simply by entering the name CJSD_SELECT_BASIC_DATA 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_SELECT_BASIC_DATA 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_SELECT_BASIC_DATA'"NOTRANSL: Selektion der Grunddaten Projektstrukturplan.
EXPORTING
* APPEND = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* ENQUEUE = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* ENTRY_ELEMENT = ' ' "Top Element
* MEMID_PROJ = CON_MEMID_PROJ "DE-EN-LANG-SWITCH-NO-TRANSLATION
* MEMID_PRPS = CON_MEMID_PRPS "DE-EN-LANG-SWITCH-NO-TRANSLATION
* NO_SUBITEMS = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PROJECT = ' ' "Project Number
IMPORTING
E_INDENT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_MEMID_PRPS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_INPUT_PROJ = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_INPUT_PRPS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_OUTPUT_PROJ = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_OUTPUT_PRPS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_PROJ = "Project Definition
E_PRPS = "Force Element
E_TCJ41 = "Profile
E_MEMID_PROJ = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EXCEPTIONS
ENTRY_ELEMENT_NOT_FOUND = 1 MISSING_PARAMETER = 2 PROJECT_NOT_FOUND = 3
IMPORTING Parameters details for CJSD_SELECT_BASIC_DATA
APPEND - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ENQUEUE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ENTRY_ELEMENT - Top Element
Data type: PRPSS-POSIDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
MEMID_PROJ - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: CON_MEMID_PROJ
Optional: Yes
Call by Reference: No ( called with pass by value option)
MEMID_PRPS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: CON_MEMID_PRPS
Optional: Yes
Call by Reference: No ( called with pass by value option)
NO_SUBITEMS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PROJECT - Project Number
Data type: PROJS-PSPIDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CJSD_SELECT_BASIC_DATA
E_INDENT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RCWBS-SEL01Optional: No
Call by Reference: No ( called with pass by value option)
E_MEMID_PRPS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E_INPUT_PROJ - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RCWBS-SEL01Optional: No
Call by Reference: No ( called with pass by value option)
E_INPUT_PRPS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RCWBS-SEL01Optional: No
Call by Reference: No ( called with pass by value option)
E_OUTPUT_PROJ - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RCWBS-SEL01Optional: No
Call by Reference: No ( called with pass by value option)
E_OUTPUT_PRPS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RCWBS-SEL01Optional: No
Call by Reference: No ( called with pass by value option)
E_PROJ - Project Definition
Data type: PROJSOptional: No
Call by Reference: No ( called with pass by value option)
E_PRPS - Force Element
Data type: PRPSSOptional: No
Call by Reference: No ( called with pass by value option)
E_TCJ41 - Profile
Data type: TCJ41Optional: No
Call by Reference: No ( called with pass by value option)
E_MEMID_PROJ - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ENTRY_ELEMENT_NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MISSING_PARAMETER - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PROJECT_NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CJSD_SELECT_BASIC_DATA 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_append | TYPE STRING, " SPACE | |||
| lv_e_indent | TYPE RCWBS-SEL01, " | |||
| lv_entry_element_not_found | TYPE RCWBS, " | |||
| lv_e_memid_prps | TYPE RCWBS, " | |||
| lv_enqueue | TYPE RCWBS, " SPACE | |||
| lv_e_input_proj | TYPE RCWBS-SEL01, " | |||
| lv_missing_parameter | TYPE RCWBS, " | |||
| lv_e_input_prps | TYPE RCWBS-SEL01, " | |||
| lv_entry_element | TYPE PRPSS-POSID, " SPACE | |||
| lv_project_not_found | TYPE PRPSS, " | |||
| lv_memid_proj | TYPE PRPSS, " CON_MEMID_PROJ | |||
| lv_e_output_proj | TYPE RCWBS-SEL01, " | |||
| lv_memid_prps | TYPE RCWBS, " CON_MEMID_PRPS | |||
| lv_e_output_prps | TYPE RCWBS-SEL01, " | |||
| lv_e_proj | TYPE PROJS, " | |||
| lv_no_subitems | TYPE PROJS, " SPACE | |||
| lv_e_prps | TYPE PRPSS, " | |||
| lv_project | TYPE PROJS-PSPID, " SPACE | |||
| lv_e_tcj41 | TYPE TCJ41, " | |||
| lv_e_memid_proj | TYPE TCJ41. " |
|   CALL FUNCTION 'CJSD_SELECT_BASIC_DATA' "NOTRANSL: Selektion der Grunddaten Projektstrukturplan |
| EXPORTING | ||
| APPEND | = lv_append | |
| ENQUEUE | = lv_enqueue | |
| ENTRY_ELEMENT | = lv_entry_element | |
| MEMID_PROJ | = lv_memid_proj | |
| MEMID_PRPS | = lv_memid_prps | |
| NO_SUBITEMS | = lv_no_subitems | |
| PROJECT | = lv_project | |
| IMPORTING | ||
| E_INDENT | = lv_e_indent | |
| E_MEMID_PRPS | = lv_e_memid_prps | |
| E_INPUT_PROJ | = lv_e_input_proj | |
| E_INPUT_PRPS | = lv_e_input_prps | |
| E_OUTPUT_PROJ | = lv_e_output_proj | |
| E_OUTPUT_PRPS | = lv_e_output_prps | |
| E_PROJ | = lv_e_proj | |
| E_PRPS | = lv_e_prps | |
| E_TCJ41 | = lv_e_tcj41 | |
| E_MEMID_PROJ | = lv_e_memid_proj | |
| EXCEPTIONS | ||
| ENTRY_ELEMENT_NOT_FOUND = 1 | ||
| MISSING_PARAMETER = 2 | ||
| PROJECT_NOT_FOUND = 3 | ||
| . " CJSD_SELECT_BASIC_DATA | ||
ABAP code using 7.40 inline data declarations to call FM CJSD_SELECT_BASIC_DATA
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.| DATA(ld_append) | = ' '. | |||
| "SELECT single SEL01 FROM RCWBS INTO @DATA(ld_e_indent). | ||||
| DATA(ld_enqueue) | = ' '. | |||
| "SELECT single SEL01 FROM RCWBS INTO @DATA(ld_e_input_proj). | ||||
| "SELECT single SEL01 FROM RCWBS INTO @DATA(ld_e_input_prps). | ||||
| "SELECT single POSID FROM PRPSS INTO @DATA(ld_entry_element). | ||||
| DATA(ld_entry_element) | = ' '. | |||
| DATA(ld_memid_proj) | = CON_MEMID_PROJ. | |||
| "SELECT single SEL01 FROM RCWBS INTO @DATA(ld_e_output_proj). | ||||
| DATA(ld_memid_prps) | = CON_MEMID_PRPS. | |||
| "SELECT single SEL01 FROM RCWBS INTO @DATA(ld_e_output_prps). | ||||
| DATA(ld_no_subitems) | = ' '. | |||
| "SELECT single PSPID FROM PROJS INTO @DATA(ld_project). | ||||
| DATA(ld_project) | = ' '. | |||
Search for further information about these or an SAP related objects