SAP HR_FBN_ESS_SCREEN_CTRL_MISCEL Function Module for ESS Benefits - Erzeugen der generischen Bildelemente (Lebensversicherung)
HR_FBN_ESS_SCREEN_CTRL_MISCEL is a standard hr fbn ess screen ctrl miscel SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for ESS Benefits - Erzeugen der generischen Bildelemente (Lebensversicherung) 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 hr fbn ess screen ctrl miscel FM, simply by entering the name HR_FBN_ESS_SCREEN_CTRL_MISCEL into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRFBN00ESS
Program Name: SAPLHRFBN00ESS
Main Program: SAPLHRFBN00ESS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_FBN_ESS_SCREEN_CTRL_MISCEL 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 'HR_FBN_ESS_SCREEN_CTRL_MISCEL'"ESS Benefits - Erzeugen der generischen Bildelemente (Lebensversicherung).
EXPORTING
PROCESSED_PLAN = "ESS - Structure of General Plan Information
REACTION = "
IMPORTING
SCREEN_CTRL = "ESS - FBN Control Structure for Generic Detail Processing
COSTCRED_CTRL = "ESS - Control Structure for Costs and Credits
COSTCRED_TRANS = "ESS - FBN Transport Table Type for Costs and Credits
CONTRIB_CTRL = "ESS - Control Structure for Contributions
CONTRIB_TRANS = "ESS - Transport Table Type for Contributions
SUBRC = "
ERROR_TABLE = "
HOLIDAY_ORIG_QUOTA = "FBN Holiday Plan Original Quota (with time unit )
IMPORTING Parameters details for HR_FBN_ESS_SCREEN_CTRL_MISCEL
PROCESSED_PLAN - ESS - Structure of General Plan Information
Data type: RPFBN_GEN_PLAN_INFOOptional: No
Call by Reference: No ( called with pass by value option)
REACTION -
Data type: SYMSGTYOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for HR_FBN_ESS_SCREEN_CTRL_MISCEL
SCREEN_CTRL - ESS - FBN Control Structure for Generic Detail Processing
Data type: RPFBN_SCREEN_CTRLOptional: No
Call by Reference: No ( called with pass by value option)
COSTCRED_CTRL - ESS - Control Structure for Costs and Credits
Data type: RPFBN_COSTCRED_CTRLOptional: No
Call by Reference: No ( called with pass by value option)
COSTCRED_TRANS - ESS - FBN Transport Table Type for Costs and Credits
Data type: HRFBN00_COSTCRED_TRANSOptional: No
Call by Reference: No ( called with pass by value option)
CONTRIB_CTRL - ESS - Control Structure for Contributions
Data type: RPFBN_CONTRIB_CTRLOptional: No
Call by Reference: No ( called with pass by value option)
CONTRIB_TRANS - ESS - Transport Table Type for Contributions
Data type: HRFBN00_CONTRIB_TRANSOptional: No
Call by Reference: No ( called with pass by value option)
SUBRC -
Data type: SYSUBRCOptional: No
Call by Reference: No ( called with pass by value option)
ERROR_TABLE -
Data type: HRBEN00ERROptional: No
Call by Reference: No ( called with pass by value option)
HOLIDAY_ORIG_QUOTA - FBN Holiday Plan Original Quota (with time unit )
Data type: FBN_QUOTA_INFOOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HR_FBN_ESS_SCREEN_CTRL_MISCEL 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_screen_ctrl | TYPE RPFBN_SCREEN_CTRL, " | |||
| lv_processed_plan | TYPE RPFBN_GEN_PLAN_INFO, " | |||
| lv_reaction | TYPE SYMSGTY, " | |||
| lv_costcred_ctrl | TYPE RPFBN_COSTCRED_CTRL, " | |||
| lv_costcred_trans | TYPE HRFBN00_COSTCRED_TRANS, " | |||
| lv_contrib_ctrl | TYPE RPFBN_CONTRIB_CTRL, " | |||
| lv_contrib_trans | TYPE HRFBN00_CONTRIB_TRANS, " | |||
| lv_subrc | TYPE SYSUBRC, " | |||
| lv_error_table | TYPE HRBEN00ERR, " | |||
| lv_holiday_orig_quota | TYPE FBN_QUOTA_INFO. " |
|   CALL FUNCTION 'HR_FBN_ESS_SCREEN_CTRL_MISCEL' "ESS Benefits - Erzeugen der generischen Bildelemente (Lebensversicherung) |
| EXPORTING | ||
| PROCESSED_PLAN | = lv_processed_plan | |
| REACTION | = lv_reaction | |
| IMPORTING | ||
| SCREEN_CTRL | = lv_screen_ctrl | |
| COSTCRED_CTRL | = lv_costcred_ctrl | |
| COSTCRED_TRANS | = lv_costcred_trans | |
| CONTRIB_CTRL | = lv_contrib_ctrl | |
| CONTRIB_TRANS | = lv_contrib_trans | |
| SUBRC | = lv_subrc | |
| ERROR_TABLE | = lv_error_table | |
| HOLIDAY_ORIG_QUOTA | = lv_holiday_orig_quota | |
| . " HR_FBN_ESS_SCREEN_CTRL_MISCEL | ||
ABAP code using 7.40 inline data declarations to call FM HR_FBN_ESS_SCREEN_CTRL_MISCEL
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