SAP RH_ASK_LFCOD_MITTK Function Module for









RH_ASK_LFCOD_MITTK is a standard rh ask lfcod mittk SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 rh ask lfcod mittk FM, simply by entering the name RH_ASK_LFCOD_MITTK into the relevant SAP transaction such as SE37 or SE38.

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



Function RH_ASK_LFCOD_MITTK 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 'RH_ASK_LFCOD_MITTK'"
EXPORTING
* ETYID_SET = ' ' "
* EVEID_SET = ' ' "
* ATTID_SET = ' ' "
* KMGRP = '*' "

IMPORTING
SEL_LFCOD = "
SEL_NOTIF = "
SEL_LFCODT = "
SEL_KMTXT = "

EXCEPTIONS
NO_VALUES_FOUND = 1
.



IMPORTING Parameters details for RH_ASK_LFCOD_MITTK

ETYID_SET -

Data type: PP0V-FLAGX
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

EVEID_SET -

Data type: PP0V-FLAGX
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

ATTID_SET -

Data type: PP0V-FLAGX
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

KMGRP -

Data type: T77KU-KMGRP
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RH_ASK_LFCOD_MITTK

SEL_LFCOD -

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

SEL_NOTIF -

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

SEL_LFCODT -

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

SEL_KMTXT -

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

EXCEPTIONS details

NO_VALUES_FOUND -

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

Copy and paste ABAP code example for RH_ASK_LFCOD_MITTK 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_etyid_set  TYPE PP0V-FLAGX, "   ' '
lv_sel_lfcod  TYPE T77VI-LFCOD, "   
lv_no_values_found  TYPE T77VI, "   
lv_eveid_set  TYPE PP0V-FLAGX, "   ' '
lv_sel_notif  TYPE T77VF-KMITT, "   
lv_attid_set  TYPE PP0V-FLAGX, "   ' '
lv_sel_lfcodt  TYPE T77FLT-LFCODT, "   
lv_kmgrp  TYPE T77KU-KMGRP, "   '*'
lv_sel_kmtxt  TYPE T77VF-KMTXT. "   

  CALL FUNCTION 'RH_ASK_LFCOD_MITTK'  "
    EXPORTING
         ETYID_SET = lv_etyid_set
         EVEID_SET = lv_eveid_set
         ATTID_SET = lv_attid_set
         KMGRP = lv_kmgrp
    IMPORTING
         SEL_LFCOD = lv_sel_lfcod
         SEL_NOTIF = lv_sel_notif
         SEL_LFCODT = lv_sel_lfcodt
         SEL_KMTXT = lv_sel_kmtxt
    EXCEPTIONS
        NO_VALUES_FOUND = 1
. " RH_ASK_LFCOD_MITTK




ABAP code using 7.40 inline data declarations to call FM RH_ASK_LFCOD_MITTK

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 FLAGX FROM PP0V INTO @DATA(ld_etyid_set).
DATA(ld_etyid_set) = ' '.
 
"SELECT single LFCOD FROM T77VI INTO @DATA(ld_sel_lfcod).
 
 
"SELECT single FLAGX FROM PP0V INTO @DATA(ld_eveid_set).
DATA(ld_eveid_set) = ' '.
 
"SELECT single KMITT FROM T77VF INTO @DATA(ld_sel_notif).
 
"SELECT single FLAGX FROM PP0V INTO @DATA(ld_attid_set).
DATA(ld_attid_set) = ' '.
 
"SELECT single LFCODT FROM T77FLT INTO @DATA(ld_sel_lfcodt).
 
"SELECT single KMGRP FROM T77KU INTO @DATA(ld_kmgrp).
DATA(ld_kmgrp) = '*'.
 
"SELECT single KMTXT FROM T77VF INTO @DATA(ld_sel_kmtxt).
 


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!