SAP HR_99S_GET_LFORM_PROPERTIES Function Module for Returns the system form name and type









HR_99S_GET_LFORM_PROPERTIES is a standard hr 99s get lform properties SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Returns the system form name and type 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 99s get lform properties FM, simply by entering the name HR_99S_GET_LFORM_PROPERTIES into the relevant SAP transaction such as SE37 or SE38.

Function Group: HR99S00_FORMS
Program Name: SAPLHR99S00_FORMS
Main Program: SAPLHR99S00_FORMS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HR_99S_GET_LFORM_PROPERTIES 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_99S_GET_LFORM_PROPERTIES'"Returns the system form name and type
EXPORTING
I_FOLNAME = "Logical form name
* I_FOVARIANT = "Output form variant (reporting)
* I_DATE = SY-DATUM "
* I_FOTYPE = "Output form type (reporting)

IMPORTING
E_FOPNAME = "System form name
E_FOTYPE = "Output form type (reporting)
E_FOGROUP = "Output form grouping

EXCEPTIONS
TYPE_NAME_NOT_MAINTAINED = 1 FORM_NAME_NOT_FOUND = 2
.



IMPORTING Parameters details for HR_99S_GET_LFORM_PROPERTIES

I_FOLNAME - Logical form name

Data type: T5F99OSFT-FOLNAME
Optional: No
Call by Reference: Yes

I_FOVARIANT - Output form variant (reporting)

Data type: T5F99OSFT-FOVARIANT
Optional: Yes
Call by Reference: Yes

I_DATE -

Data type: SY-DATUM
Default: SY-DATUM
Optional: Yes
Call by Reference: Yes

I_FOTYPE - Output form type (reporting)

Data type: T5F99OSFT-FOTYPE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for HR_99S_GET_LFORM_PROPERTIES

E_FOPNAME - System form name

Data type: T5F99OSFT-FOLNAME
Optional: No
Call by Reference: Yes

E_FOTYPE - Output form type (reporting)

Data type: T5F99OSFT-FOTYPE
Optional: No
Call by Reference: Yes

E_FOGROUP - Output form grouping

Data type: T5F99OSFG-FOGROUP
Optional: No
Call by Reference: Yes

EXCEPTIONS details

TYPE_NAME_NOT_MAINTAINED -

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

FORM_NAME_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for HR_99S_GET_LFORM_PROPERTIES 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_e_fopname  TYPE T5F99OSFT-FOLNAME, "   
lv_i_folname  TYPE T5F99OSFT-FOLNAME, "   
lv_type_name_not_maintained  TYPE T5F99OSFT, "   
lv_e_fotype  TYPE T5F99OSFT-FOTYPE, "   
lv_i_fovariant  TYPE T5F99OSFT-FOVARIANT, "   
lv_form_name_not_found  TYPE T5F99OSFT, "   
lv_i_date  TYPE SY-DATUM, "   SY-DATUM
lv_e_fogroup  TYPE T5F99OSFG-FOGROUP, "   
lv_i_fotype  TYPE T5F99OSFT-FOTYPE. "   

  CALL FUNCTION 'HR_99S_GET_LFORM_PROPERTIES'  "Returns the system form name and type
    EXPORTING
         I_FOLNAME = lv_i_folname
         I_FOVARIANT = lv_i_fovariant
         I_DATE = lv_i_date
         I_FOTYPE = lv_i_fotype
    IMPORTING
         E_FOPNAME = lv_e_fopname
         E_FOTYPE = lv_e_fotype
         E_FOGROUP = lv_e_fogroup
    EXCEPTIONS
        TYPE_NAME_NOT_MAINTAINED = 1
        FORM_NAME_NOT_FOUND = 2
. " HR_99S_GET_LFORM_PROPERTIES




ABAP code using 7.40 inline data declarations to call FM HR_99S_GET_LFORM_PROPERTIES

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 FOLNAME FROM T5F99OSFT INTO @DATA(ld_e_fopname).
 
"SELECT single FOLNAME FROM T5F99OSFT INTO @DATA(ld_i_folname).
 
 
"SELECT single FOTYPE FROM T5F99OSFT INTO @DATA(ld_e_fotype).
 
"SELECT single FOVARIANT FROM T5F99OSFT INTO @DATA(ld_i_fovariant).
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_date).
DATA(ld_i_date) = SY-DATUM.
 
"SELECT single FOGROUP FROM T5F99OSFG INTO @DATA(ld_e_fogroup).
 
"SELECT single FOTYPE FROM T5F99OSFT INTO @DATA(ld_i_fotype).
 


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!