SAP PS_EIS_ACCOUNTING Function Module for NOTRANSL: PS: Ermittlung und Export ins EIS der RW-Kennzahlen









PS_EIS_ACCOUNTING is a standard ps eis accounting 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 RW-Kennzahlen 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 accounting FM, simply by entering the name PS_EIS_ACCOUNTING 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_ACCOUNTING 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_ACCOUNTING'"NOTRANSL: PS: Ermittlung und Export ins EIS der RW-Kennzahlen
EXPORTING
* I_EXPDATE = SY-DATUM "ABAP System Field: Current Date of Application Server
* I_REPID = 'RKPSEIS1' "Predefined Type
I_KOKRS = "Controlling Area
* I_DETAIL = "Generic Type
* I_TEST = 'X' "Generic Type
* I_MESSAGE_HANDLER = ' ' "Generic Type

TABLES
T_RPSCO = "Project info database: Costs, revenues, finances
* T_PSEISACT01 = "PS Key Figures: Activities
* T_PSEISRESB01 = "PS Key Figures: Reservation/Secondary Requirement
T_PSEISELM_PS = "PS Key Figures: ELM_PS
* T_PSERB = "Inheritance data, Project System
* T_PSGEN = "PS Key Figures: Logistics and Accounting
* T_PSGENACC = "PS Key Figures: Accounting
* T_RPSQT = "Project info database: quantities
* T_PSEISRSTHIE = "PS key figures: project hierarchy
* 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
.




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_ACCOUNTING

I_EXPDATE - ABAP System Field: Current Date of Application Server

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

I_REPID - Predefined Type

Data type: SY-REPID
Default: 'RKPSEIS1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_KOKRS - Controlling Area

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

I_DETAIL - Generic Type

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

I_TEST - Generic Type

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MESSAGE_HANDLER - Generic Type

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

TABLES Parameters details for PS_EIS_ACCOUNTING

T_RPSCO - Project info database: Costs, revenues, finances

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

T_PSEISACT01 - PS Key Figures: Activities

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

T_PSEISRESB01 - PS Key Figures: Reservation/Secondary Requirement

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

T_PSEISELM_PS - PS Key Figures: ELM_PS

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

T_PSERB - Inheritance data, Project System

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

T_PSGEN - PS Key Figures: Logistics and Accounting

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

T_PSGENACC - PS Key Figures: Accounting

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

T_RPSQT - Project info database: quantities

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

T_PSEISRSTHIE - PS key figures: project hierarchy

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

T_PSEISPROJ - PS Key Figures: Project Master Data

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

T_PSEISPRPS - PS Key Figures: WBS Element Master Data

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

T_PSEISPRTE - PS Key Figures: Project Item Scheduling Data

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

T_PSEISAUFK - PS Key Figures: Order Master Data

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

T_PSEISAFKO - PS Key Figures: PPC Order Header Data

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

T_PSEISAFPO - PS Key Figures: Order Item

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

Copy and paste ABAP code example for PS_EIS_ACCOUNTING 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_t_rpsco  TYPE STANDARD TABLE OF RPSCO, "   
lv_i_expdate  TYPE SY-DATUM, "   SY-DATUM
lt_t_pseisact01  TYPE STANDARD TABLE OF PSEISACT01, "   
lt_t_pseisresb01  TYPE STANDARD TABLE OF PSEISRESB01, "   
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_psgenacc  TYPE STANDARD TABLE OF PSGENACC, "   
lv_i_repid  TYPE SY-REPID, "   'RKPSEIS1'
lt_t_rpsqt  TYPE STANDARD TABLE OF RPSQT, "   
lv_i_kokrs  TYPE TKA01-KOKRS, "   
lt_t_pseisrsthie  TYPE STANDARD TABLE OF PSEISRSTHIE, "   
lv_i_detail  TYPE C, "   
lt_t_pseisproj  TYPE STANDARD TABLE OF PSEISPROJ, "   
lv_i_test  TYPE C, "   'X'
lt_t_pseisprps  TYPE STANDARD TABLE OF PSEISPRPS, "   
lt_t_pseisprte  TYPE STANDARD TABLE OF PSEISPRTE, "   
lv_i_message_handler  TYPE C, "   SPACE
lt_t_pseisaufk  TYPE STANDARD TABLE OF PSEISAUFK, "   
lt_t_pseisafko  TYPE STANDARD TABLE OF PSEISAFKO, "   
lt_t_pseisafpo  TYPE STANDARD TABLE OF PSEISAFPO. "   

  CALL FUNCTION 'PS_EIS_ACCOUNTING'  "NOTRANSL: PS: Ermittlung und Export ins EIS der RW-Kennzahlen
    EXPORTING
         I_EXPDATE = lv_i_expdate
         I_REPID = lv_i_repid
         I_KOKRS = lv_i_kokrs
         I_DETAIL = lv_i_detail
         I_TEST = lv_i_test
         I_MESSAGE_HANDLER = lv_i_message_handler
    TABLES
         T_RPSCO = lt_t_rpsco
         T_PSEISACT01 = lt_t_pseisact01
         T_PSEISRESB01 = lt_t_pseisresb01
         T_PSEISELM_PS = lt_t_pseiselm_ps
         T_PSERB = lt_t_pserb
         T_PSGEN = lt_t_psgen
         T_PSGENACC = lt_t_psgenacc
         T_RPSQT = lt_t_rpsqt
         T_PSEISRSTHIE = lt_t_pseisrsthie
         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
. " PS_EIS_ACCOUNTING




ABAP code using 7.40 inline data declarations to call FM PS_EIS_ACCOUNTING

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'.
 
 
"SELECT single KOKRS FROM TKA01 INTO @DATA(ld_i_kokrs).
 
 
 
 
DATA(ld_i_test) = 'X'.
 
 
 
DATA(ld_i_message_handler) = ' '.
 
 
 
 


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!