SAP PFL_CONVERT_EXPERT_TO_EASY Function Module for
PFL_CONVERT_EXPERT_TO_EASY is a standard pfl convert expert to easy 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 convert expert to easy FM, simply by entering the name PFL_CONVERT_EXPERT_TO_EASY into the relevant SAP transaction such as SE37 or SE38.
Function Group: SPFL
Program Name: SAPLSPFL
Main Program: SAPLSPFL
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:
Function PFL_CONVERT_EXPERT_TO_EASY 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_CONVERT_EXPERT_TO_EASY'".
EXPORTING
PROFILE_TYPE = "
IMPORTING
WP_AND_BUF_VALUES = "
DFL_PROFILE_VALUES = "
DIR_VALUES = "
START_VALUES = "
LANGUAGE_VALUES = "
ROLL_EXTMEM_VALUES = "
TABLES
DTAB = "
EXCEPTIONS
INVALID_PROFILE_TYPE = 1 ERROR_ANALYZING_STRT_PFL = 2
IMPORTING Parameters details for PFL_CONVERT_EXPERT_TO_EASY
PROFILE_TYPE -
Data type: BTCH0000-CHAR1Optional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for PFL_CONVERT_EXPERT_TO_EASY
WP_AND_BUF_VALUES -
Data type: TPFYWPBUFOptional: No
Call by Reference: No ( called with pass by value option)
DFL_PROFILE_VALUES -
Data type: TPFYDFLOptional: No
Call by Reference: No ( called with pass by value option)
DIR_VALUES -
Data type: TPFYDIROptional: No
Call by Reference: No ( called with pass by value option)
START_VALUES -
Data type: TPFYSTRTOptional: No
Call by Reference: No ( called with pass by value option)
LANGUAGE_VALUES -
Data type: TPFYLANGUOptional: No
Call by Reference: No ( called with pass by value option)
ROLL_EXTMEM_VALUES -
Data type: TPFYROLLOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for PFL_CONVERT_EXPERT_TO_EASY
DTAB -
Data type: TPFETOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INVALID_PROFILE_TYPE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_ANALYZING_STRT_PFL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for PFL_CONVERT_EXPERT_TO_EASY 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_profile_type | TYPE BTCH0000-CHAR1, " | |||
lv_wp_and_buf_values | TYPE TPFYWPBUF, " | |||
lv_invalid_profile_type | TYPE TPFYWPBUF, " | |||
lv_dfl_profile_values | TYPE TPFYDFL, " | |||
lv_error_analyzing_strt_pfl | TYPE TPFYDFL, " | |||
lv_dir_values | TYPE TPFYDIR, " | |||
lv_start_values | TYPE TPFYSTRT, " | |||
lv_language_values | TYPE TPFYLANGU, " | |||
lv_roll_extmem_values | TYPE TPFYROLL. " |
  CALL FUNCTION 'PFL_CONVERT_EXPERT_TO_EASY' " |
EXPORTING | ||
PROFILE_TYPE | = lv_profile_type | |
IMPORTING | ||
WP_AND_BUF_VALUES | = lv_wp_and_buf_values | |
DFL_PROFILE_VALUES | = lv_dfl_profile_values | |
DIR_VALUES | = lv_dir_values | |
START_VALUES | = lv_start_values | |
LANGUAGE_VALUES | = lv_language_values | |
ROLL_EXTMEM_VALUES | = lv_roll_extmem_values | |
TABLES | ||
DTAB | = lt_dtab | |
EXCEPTIONS | ||
INVALID_PROFILE_TYPE = 1 | ||
ERROR_ANALYZING_STRT_PFL = 2 | ||
. " PFL_CONVERT_EXPERT_TO_EASY |
ABAP code using 7.40 inline data declarations to call FM PFL_CONVERT_EXPERT_TO_EASY
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_profile_type). | ||||
Search for further information about these or an SAP related objects