SAP STATUS_READ_PROJECTS_WITH_TEXT Function Module for Read status information for projects with text
STATUS_READ_PROJECTS_WITH_TEXT is a standard status read projects with text SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read status information for projects with text 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 status read projects with text FM, simply by entering the name STATUS_READ_PROJECTS_WITH_TEXT into the relevant SAP transaction such as SE37 or SE38.
Function Group: SST1
Program Name: SAPLSST1
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function STATUS_READ_PROJECTS_WITH_TEXT 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 'STATUS_READ_PROJECTS_WITH_TEXT'"Read status information for projects with text.
TABLES
PROJECTS = "
PROJTAB = "
RESSTAB = "
SELCTAB = "
DOCUTAB = "
PROJ_VIEW = "
ACTION = "
EXCEPTIONS
OUTLINE_EXISTS_NOT = 1 NO_OUTLINE_GIVEN = 2 NO_LANGUAGE_GIVEN = 3 HIERARCHY_NOT_FOUND = 4 MISSING_PARAMETERS = 5
TABLES Parameters details for STATUS_READ_PROJECTS_WITH_TEXT
PROJECTS -
Data type: TCUSPOptional: No
Call by Reference: No ( called with pass by value option)
PROJTAB -
Data type: ITSTATHTOptional: No
Call by Reference: No ( called with pass by value option)
RESSTAB -
Data type: TSTATRPOptional: No
Call by Reference: No ( called with pass by value option)
SELCTAB -
Data type: TSTATCPOptional: No
Call by Reference: No ( called with pass by value option)
DOCUTAB -
Data type: ITSTATDPOptional: No
Call by Reference: No ( called with pass by value option)
PROJ_VIEW -
Data type: ITSTATVIEWOptional: No
Call by Reference: No ( called with pass by value option)
ACTION -
Data type: TSTAT_ACTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
OUTLINE_EXISTS_NOT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_OUTLINE_GIVEN -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_LANGUAGE_GIVEN -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
HIERARCHY_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MISSING_PARAMETERS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for STATUS_READ_PROJECTS_WITH_TEXT 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: | ||||
| lt_projects | TYPE STANDARD TABLE OF TCUSP, " | |||
| lv_outline_exists_not | TYPE TCUSP, " | |||
| lt_projtab | TYPE STANDARD TABLE OF ITSTATHT, " | |||
| lv_no_outline_given | TYPE ITSTATHT, " | |||
| lt_resstab | TYPE STANDARD TABLE OF TSTATRP, " | |||
| lv_no_language_given | TYPE TSTATRP, " | |||
| lt_selctab | TYPE STANDARD TABLE OF TSTATCP, " | |||
| lv_hierarchy_not_found | TYPE TSTATCP, " | |||
| lt_docutab | TYPE STANDARD TABLE OF ITSTATDP, " | |||
| lv_missing_parameters | TYPE ITSTATDP, " | |||
| lt_proj_view | TYPE STANDARD TABLE OF ITSTATVIEW, " | |||
| lt_action | TYPE STANDARD TABLE OF TSTAT_ACT. " |
|   CALL FUNCTION 'STATUS_READ_PROJECTS_WITH_TEXT' "Read status information for projects with text |
| TABLES | ||
| PROJECTS | = lt_projects | |
| PROJTAB | = lt_projtab | |
| RESSTAB | = lt_resstab | |
| SELCTAB | = lt_selctab | |
| DOCUTAB | = lt_docutab | |
| PROJ_VIEW | = lt_proj_view | |
| ACTION | = lt_action | |
| EXCEPTIONS | ||
| OUTLINE_EXISTS_NOT = 1 | ||
| NO_OUTLINE_GIVEN = 2 | ||
| NO_LANGUAGE_GIVEN = 3 | ||
| HIERARCHY_NOT_FOUND = 4 | ||
| MISSING_PARAMETERS = 5 | ||
| . " STATUS_READ_PROJECTS_WITH_TEXT | ||
ABAP code using 7.40 inline data declarations to call FM STATUS_READ_PROJECTS_WITH_TEXT
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