SAP KFPSS_INIT_SUB_EINZ Function Module for NOTRANSL: Belegung globaler Variablen für Subscreen 220 (Einzelverarbeitun
KFPSS_INIT_SUB_EINZ is a standard kfpss init sub einz 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: Belegung globaler Variablen für Subscreen 220 (Einzelverarbeitun 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 kfpss init sub einz FM, simply by entering the name KFPSS_INIT_SUB_EINZ into the relevant SAP transaction such as SE37 or SE38.
Function Group: KFPSS
Program Name: SAPLKFPSS
Main Program:
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function KFPSS_INIT_SUB_EINZ 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 'KFPSS_INIT_SUB_EINZ'"NOTRANSL: Belegung globaler Variablen für Subscreen 220 (Einzelverarbeitun.
EXPORTING
ID_KOKRS = "Controlling Area
IS_TPA = "Transfer Price Agreement
ID_MODUS = "General Flag
ID_PROFID = "Database Profile
IMPORTING
ED_KOKRS = "Controlling Area
ED_PRCTR = "Profit centers
ED_COUNTER = "Predefined Type
ED_MODUS = "Single-Character Indicator
TABLES
ET_TPA = "Transfer price agreements
ET_SM = "Individual Tasks
IMPORTING Parameters details for KFPSS_INIT_SUB_EINZ
ID_KOKRS - Controlling Area
Data type: TKA01-KOKRSOptional: No
Call by Reference: No ( called with pass by value option)
IS_TPA - Transfer Price Agreement
Data type: KFPS_TPAOptional: No
Call by Reference: No ( called with pass by value option)
ID_MODUS - General Flag
Data type: FLAGOptional: No
Call by Reference: No ( called with pass by value option)
ID_PROFID - Database Profile
Data type: TCNDB-PROFIDOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for KFPSS_INIT_SUB_EINZ
ED_KOKRS - Controlling Area
Data type: TKA01-KOKRSOptional: No
Call by Reference: No ( called with pass by value option)
ED_PRCTR - Profit centers
Data type: PRCTROptional: No
Call by Reference: No ( called with pass by value option)
ED_COUNTER - Predefined Type
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
ED_MODUS - Single-Character Indicator
Data type: CHAR1Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for KFPSS_INIT_SUB_EINZ
ET_TPA - Transfer price agreements
Data type: KFPS_TPAOptional: No
Call by Reference: No ( called with pass by value option)
ET_SM - Individual Tasks
Data type: KFPS_SMOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for KFPSS_INIT_SUB_EINZ 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_et_tpa | TYPE STANDARD TABLE OF KFPS_TPA, " | |||
| lv_ed_kokrs | TYPE TKA01-KOKRS, " | |||
| lv_id_kokrs | TYPE TKA01-KOKRS, " | |||
| lt_et_sm | TYPE STANDARD TABLE OF KFPS_SM, " | |||
| lv_is_tpa | TYPE KFPS_TPA, " | |||
| lv_ed_prctr | TYPE PRCTR, " | |||
| lv_id_modus | TYPE FLAG, " | |||
| lv_ed_counter | TYPE I, " | |||
| lv_ed_modus | TYPE CHAR1, " | |||
| lv_id_profid | TYPE TCNDB-PROFID. " |
|   CALL FUNCTION 'KFPSS_INIT_SUB_EINZ' "NOTRANSL: Belegung globaler Variablen für Subscreen 220 (Einzelverarbeitun |
| EXPORTING | ||
| ID_KOKRS | = lv_id_kokrs | |
| IS_TPA | = lv_is_tpa | |
| ID_MODUS | = lv_id_modus | |
| ID_PROFID | = lv_id_profid | |
| IMPORTING | ||
| ED_KOKRS | = lv_ed_kokrs | |
| ED_PRCTR | = lv_ed_prctr | |
| ED_COUNTER | = lv_ed_counter | |
| ED_MODUS | = lv_ed_modus | |
| TABLES | ||
| ET_TPA | = lt_et_tpa | |
| ET_SM | = lt_et_sm | |
| . " KFPSS_INIT_SUB_EINZ | ||
ABAP code using 7.40 inline data declarations to call FM KFPSS_INIT_SUB_EINZ
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 KOKRS FROM TKA01 INTO @DATA(ld_ed_kokrs). | ||||
| "SELECT single KOKRS FROM TKA01 INTO @DATA(ld_id_kokrs). | ||||
| "SELECT single PROFID FROM TCNDB INTO @DATA(ld_id_profid). | ||||
Search for further information about these or an SAP related objects