SAP PSHLP_CACHE_FG_READ_FRM_CACHE Function Module for Reads data from cache
PSHLP_CACHE_FG_READ_FRM_CACHE is a standard pshlp cache fg read frm cache SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Reads data from cache 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 pshlp cache fg read frm cache FM, simply by entering the name PSHLP_CACHE_FG_READ_FRM_CACHE into the relevant SAP transaction such as SE37 or SE38.
Function Group: PSHLP_CACHE_FG
Program Name: SAPLPSHLP_CACHE_FG
Main Program: SAPLPSHLP_CACHE_FG
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function PSHLP_CACHE_FG_READ_FRM_CACHE 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 'PSHLP_CACHE_FG_READ_FRM_CACHE'"Reads data from cache.
EXPORTING
IT_HIERARCHY = "Table type for PS hierarchy
IMPORTING
ET_PRPS = "For PRPS
ET_PROJ = "For PROJ
ET_AUFK = "For AUFK
ET_AFVC = "For AFVC
ET_AFVU = "For AFVU
ET_AFKO = "For AFKO
IMPORTING Parameters details for PSHLP_CACHE_FG_READ_FRM_CACHE
IT_HIERARCHY - Table type for PS hierarchy
Data type: PSHLP_HIER_TAB_TYPOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for PSHLP_CACHE_FG_READ_FRM_CACHE
ET_PRPS - For PRPS
Data type: TT_PRPSOptional: No
Call by Reference: No ( called with pass by value option)
ET_PROJ - For PROJ
Data type: TT_PROJOptional: No
Call by Reference: No ( called with pass by value option)
ET_AUFK - For AUFK
Data type: TT_AUFKOptional: No
Call by Reference: No ( called with pass by value option)
ET_AFVC - For AFVC
Data type: TT_AFVCOptional: No
Call by Reference: No ( called with pass by value option)
ET_AFVU - For AFVU
Data type: TT_AFVUOptional: No
Call by Reference: No ( called with pass by value option)
ET_AFKO - For AFKO
Data type: TT_AFKOOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for PSHLP_CACHE_FG_READ_FRM_CACHE 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_et_prps | TYPE TT_PRPS, " | |||
| lv_it_hierarchy | TYPE PSHLP_HIER_TAB_TYP, " | |||
| lv_et_proj | TYPE TT_PROJ, " | |||
| lv_et_aufk | TYPE TT_AUFK, " | |||
| lv_et_afvc | TYPE TT_AFVC, " | |||
| lv_et_afvu | TYPE TT_AFVU, " | |||
| lv_et_afko | TYPE TT_AFKO. " |
|   CALL FUNCTION 'PSHLP_CACHE_FG_READ_FRM_CACHE' "Reads data from cache |
| EXPORTING | ||
| IT_HIERARCHY | = lv_it_hierarchy | |
| IMPORTING | ||
| ET_PRPS | = lv_et_prps | |
| ET_PROJ | = lv_et_proj | |
| ET_AUFK | = lv_et_aufk | |
| ET_AFVC | = lv_et_afvc | |
| ET_AFVU | = lv_et_afvu | |
| ET_AFKO | = lv_et_afko | |
| . " PSHLP_CACHE_FG_READ_FRM_CACHE | ||
ABAP code using 7.40 inline data declarations to call FM PSHLP_CACHE_FG_READ_FRM_CACHE
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