SAP PFL_CHECK_EASY_PROFILE Function Module for









PFL_CHECK_EASY_PROFILE is a standard pfl check easy profile 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 pfl check easy profile FM, simply by entering the name PFL_CHECK_EASY_PROFILE into the relevant SAP transaction such as SE37 or SE38.

Function Group: SPFC
Program Name: SAPLSPFC
Main Program: SAPLSPFC
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function PFL_CHECK_EASY_PROFILE 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 'PFL_CHECK_EASY_PROFILE'"
EXPORTING
CHECK_TYPE = "
* DFL_PROFILE_VALUES = ' ' "
* DIR_VALUES = ' ' "
* START_VALUES = ' ' "
* WP_AND_BUF_VALUES = ' ' "
* LANG_N_CP = ' ' "
* STORAGE_VALUES = ' ' "

IMPORTING
ERROR_FLAG = "

TABLES
DTAB = "
PROTOCOL = "
.



IMPORTING Parameters details for PFL_CHECK_EASY_PROFILE

CHECK_TYPE -

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

DFL_PROFILE_VALUES -

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

DIR_VALUES -

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

START_VALUES -

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

WP_AND_BUF_VALUES -

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

LANG_N_CP -

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

STORAGE_VALUES -

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

EXPORTING Parameters details for PFL_CHECK_EASY_PROFILE

ERROR_FLAG -

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

TABLES Parameters details for PFL_CHECK_EASY_PROFILE

DTAB -

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

PROTOCOL -

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

Copy and paste ABAP code example for PFL_CHECK_EASY_PROFILE 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_dtab  TYPE STANDARD TABLE OF TPFET, "   
lv_check_type  TYPE BTCH0000-CHAR1, "   
lv_error_flag  TYPE BTCH0000-CHAR1, "   
lt_protocol  TYPE STANDARD TABLE OF TPFCKPROT, "   
lv_dfl_profile_values  TYPE TPFYDFL, "   SPACE
lv_dir_values  TYPE TPFYDIR, "   SPACE
lv_start_values  TYPE TPFYSTRT, "   SPACE
lv_wp_and_buf_values  TYPE TPFYWPBUF, "   SPACE
lv_lang_n_cp  TYPE TPFYLANGU, "   SPACE
lv_storage_values  TYPE TPFYROLL. "   SPACE

  CALL FUNCTION 'PFL_CHECK_EASY_PROFILE'  "
    EXPORTING
         CHECK_TYPE = lv_check_type
         DFL_PROFILE_VALUES = lv_dfl_profile_values
         DIR_VALUES = lv_dir_values
         START_VALUES = lv_start_values
         WP_AND_BUF_VALUES = lv_wp_and_buf_values
         LANG_N_CP = lv_lang_n_cp
         STORAGE_VALUES = lv_storage_values
    IMPORTING
         ERROR_FLAG = lv_error_flag
    TABLES
         DTAB = lt_dtab
         PROTOCOL = lt_protocol
. " PFL_CHECK_EASY_PROFILE




ABAP code using 7.40 inline data declarations to call FM PFL_CHECK_EASY_PROFILE

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 CHAR1 FROM BTCH0000 INTO @DATA(ld_check_type).
 
"SELECT single CHAR1 FROM BTCH0000 INTO @DATA(ld_error_flag).
 
 
DATA(ld_dfl_profile_values) = ' '.
 
DATA(ld_dir_values) = ' '.
 
DATA(ld_start_values) = ' '.
 
DATA(ld_wp_and_buf_values) = ' '.
 
DATA(ld_lang_n_cp) = ' '.
 
DATA(ld_storage_values) = ' '.
 


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!