SAP PS_EIS_LOGISTIC Function Module for NOTRANSL: PS: Ermittlung und Export ins EIS der Logistikkennzahlen
PS_EIS_LOGISTIC is a standard ps eis logistic 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: PS: Ermittlung und Export ins EIS der Logistikkennzahlen 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 ps eis logistic FM, simply by entering the name PS_EIS_LOGISTIC into the relevant SAP transaction such as SE37 or SE38.
Function Group: PS09
Program Name: SAPLPS09
Main Program:
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function PS_EIS_LOGISTIC 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 'PS_EIS_LOGISTIC'"NOTRANSL: PS: Ermittlung und Export ins EIS der Logistikkennzahlen.
EXPORTING
* I_EXPDATE = SY-DATUM "ABAP System Field: Current Date of Application Server
* I_REPID = 'RKPSEIS1' "Predefined Type
* I_LOGPER = "Generic Type
* I_DETAIL = "Generic Type
* I_TEST = 'X' "Generic Type
* I_MESSAGE_HANDLER = ' ' "Generic Type
TABLES
* T_PSEISRSTHIE = "PS key figures: project hierarchy
T_PSEISELM_PS = "PS Key Figures: ELM_PS
* T_PSERB = "Inheritance data, Project System
* T_PSGEN = "PS Key Figures: Logistics and Accounting
* T_PSGENLOG = "PS Key Figures: Logistics
* T_PSEISPROJ = "PS Key Figures: Project Master Data
T_PSEISPRPS = "PS Key Figures: WBS Element Master Data
T_PSEISPRTE = "PS Key Figures: Project Item Scheduling Data
T_PSEISAUFK = "PS Key Figures: Order Master Data
T_PSEISAFKO = "PS Key Figures: PPC Order Header Data
T_PSEISAFPO = "PS Key Figures: Order Item
T_PSEISACT01 = "PS Key Figures: Activities
T_PSEISRESB01 = "PS Key Figures: Reservation/Secondary Requirement
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLPS09_001 PS: Enhancement of EIS sender structure for accounting
EXIT_SAPLPS09_002 PS: Enhancement of EIS sender structure for logistics
IMPORTING Parameters details for PS_EIS_LOGISTIC
I_EXPDATE - ABAP System Field: Current Date of Application Server
Data type: SY-DATUMDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_REPID - Predefined Type
Data type: SY-REPIDDefault: 'RKPSEIS1'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LOGPER - Generic Type
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
I_DETAIL - Generic Type
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
I_TEST - Generic Type
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MESSAGE_HANDLER - Generic Type
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for PS_EIS_LOGISTIC
T_PSEISRSTHIE - PS key figures: project hierarchy
Data type: PSEISRSTHIEOptional: Yes
Call by Reference: No ( called with pass by value option)
T_PSEISELM_PS - PS Key Figures: ELM_PS
Data type: PSEISELM_PSOptional: No
Call by Reference: No ( called with pass by value option)
T_PSERB - Inheritance data, Project System
Data type: PSERBOptional: Yes
Call by Reference: No ( called with pass by value option)
T_PSGEN - PS Key Figures: Logistics and Accounting
Data type: PSGENOptional: Yes
Call by Reference: No ( called with pass by value option)
T_PSGENLOG - PS Key Figures: Logistics
Data type: PSGENLOGOptional: Yes
Call by Reference: No ( called with pass by value option)
T_PSEISPROJ - PS Key Figures: Project Master Data
Data type: PSEISPROJOptional: Yes
Call by Reference: No ( called with pass by value option)
T_PSEISPRPS - PS Key Figures: WBS Element Master Data
Data type: PSEISPRPSOptional: No
Call by Reference: No ( called with pass by value option)
T_PSEISPRTE - PS Key Figures: Project Item Scheduling Data
Data type: PSEISPRTEOptional: No
Call by Reference: No ( called with pass by value option)
T_PSEISAUFK - PS Key Figures: Order Master Data
Data type: PSEISAUFKOptional: No
Call by Reference: No ( called with pass by value option)
T_PSEISAFKO - PS Key Figures: PPC Order Header Data
Data type: PSEISAFKOOptional: No
Call by Reference: No ( called with pass by value option)
T_PSEISAFPO - PS Key Figures: Order Item
Data type: PSEISAFPOOptional: No
Call by Reference: No ( called with pass by value option)
T_PSEISACT01 - PS Key Figures: Activities
Data type: PSEISACT01Optional: No
Call by Reference: No ( called with pass by value option)
T_PSEISRESB01 - PS Key Figures: Reservation/Secondary Requirement
Data type: PSEISRESB01Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for PS_EIS_LOGISTIC 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_i_expdate | TYPE SY-DATUM, " SY-DATUM | |||
| lt_t_pseisrsthie | TYPE STANDARD TABLE OF PSEISRSTHIE, " | |||
| lt_t_pseiselm_ps | TYPE STANDARD TABLE OF PSEISELM_PS, " | |||
| lt_t_pserb | TYPE STANDARD TABLE OF PSERB, " | |||
| lt_t_psgen | TYPE STANDARD TABLE OF PSGEN, " | |||
| lt_t_psgenlog | TYPE STANDARD TABLE OF PSGENLOG, " | |||
| lv_i_repid | TYPE SY-REPID, " 'RKPSEIS1' | |||
| lt_t_pseisproj | TYPE STANDARD TABLE OF PSEISPROJ, " | |||
| lv_i_logper | TYPE C, " | |||
| lt_t_pseisprps | TYPE STANDARD TABLE OF PSEISPRPS, " | |||
| lv_i_detail | TYPE C, " | |||
| lt_t_pseisprte | TYPE STANDARD TABLE OF PSEISPRTE, " | |||
| lv_i_test | TYPE C, " 'X' | |||
| lt_t_pseisaufk | TYPE STANDARD TABLE OF PSEISAUFK, " | |||
| lt_t_pseisafko | TYPE STANDARD TABLE OF PSEISAFKO, " | |||
| lv_i_message_handler | TYPE C, " SPACE | |||
| lt_t_pseisafpo | TYPE STANDARD TABLE OF PSEISAFPO, " | |||
| lt_t_pseisact01 | TYPE STANDARD TABLE OF PSEISACT01, " | |||
| lt_t_pseisresb01 | TYPE STANDARD TABLE OF PSEISRESB01. " |
|   CALL FUNCTION 'PS_EIS_LOGISTIC' "NOTRANSL: PS: Ermittlung und Export ins EIS der Logistikkennzahlen |
| EXPORTING | ||
| I_EXPDATE | = lv_i_expdate | |
| I_REPID | = lv_i_repid | |
| I_LOGPER | = lv_i_logper | |
| I_DETAIL | = lv_i_detail | |
| I_TEST | = lv_i_test | |
| I_MESSAGE_HANDLER | = lv_i_message_handler | |
| TABLES | ||
| T_PSEISRSTHIE | = lt_t_pseisrsthie | |
| T_PSEISELM_PS | = lt_t_pseiselm_ps | |
| T_PSERB | = lt_t_pserb | |
| T_PSGEN | = lt_t_psgen | |
| T_PSGENLOG | = lt_t_psgenlog | |
| T_PSEISPROJ | = lt_t_pseisproj | |
| T_PSEISPRPS | = lt_t_pseisprps | |
| T_PSEISPRTE | = lt_t_pseisprte | |
| T_PSEISAUFK | = lt_t_pseisaufk | |
| T_PSEISAFKO | = lt_t_pseisafko | |
| T_PSEISAFPO | = lt_t_pseisafpo | |
| T_PSEISACT01 | = lt_t_pseisact01 | |
| T_PSEISRESB01 | = lt_t_pseisresb01 | |
| . " PS_EIS_LOGISTIC | ||
ABAP code using 7.40 inline data declarations to call FM PS_EIS_LOGISTIC
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 DATUM FROM SY INTO @DATA(ld_i_expdate). | ||||
| DATA(ld_i_expdate) | = SY-DATUM. | |||
| "SELECT single REPID FROM SY INTO @DATA(ld_i_repid). | ||||
| DATA(ld_i_repid) | = 'RKPSEIS1'. | |||
| DATA(ld_i_test) | = 'X'. | |||
| DATA(ld_i_message_handler) | = ' '. | |||
Search for further information about these or an SAP related objects