SAP FPB_PERS_READ_FOR_DIALOG Function Module for









FPB_PERS_READ_FOR_DIALOG is a standard fpb pers read for dialog 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 fpb pers read for dialog FM, simply by entering the name FPB_PERS_READ_FOR_DIALOG into the relevant SAP transaction such as SE37 or SE38.

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



Function FPB_PERS_READ_FOR_DIALOG 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 'FPB_PERS_READ_FOR_DIALOG'"
EXPORTING
* ID_DIALOGID = "
* ID_VALUEHELP_REQUESTED = 'X' "
* ID_CONVERT_TO_EXT = 'X' "
* ID_APPLID = "
* ID_FIELDNAME = "
* ID_SUBCONTEXT = "
* ID_PERSKEYTP = 'U' "
* ID_PERSKEY = "
* ID_DATE = SY-DATUM "
* ID_ORIGIN = ' ' "
* ID_RESOLVE = "

IMPORTING
ED_ERROR = "

TABLES
* ET_VALUES = "
* ET_FIELDLIST = "
* ET_LAYOUT = "
* ET_VALUEHELP = "
* ET_WRONG_VALUE = "

EXCEPTIONS
NO_INPUT = 1 OVER_DEFINED = 2 DIALOG_NOT_FOUND = 3 APPLID_NOT_FOUND = 4 FIELDNAME_NOT_FOUND = 5 DATA_INCONSISTENCY = 6
.



IMPORTING Parameters details for FPB_PERS_READ_FOR_DIALOG

ID_DIALOGID -

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

ID_VALUEHELP_REQUESTED -

Data type: FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

ID_CONVERT_TO_EXT -

Data type: FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

ID_APPLID -

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

ID_FIELDNAME -

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

ID_SUBCONTEXT -

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

ID_PERSKEYTP -

Data type: FPB_KEYTP
Default: 'U'
Optional: Yes
Call by Reference: No ( called with pass by value option)

ID_PERSKEY -

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

ID_DATE -

Data type: DATUM
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

ID_ORIGIN -

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

ID_RESOLVE -

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

EXPORTING Parameters details for FPB_PERS_READ_FOR_DIALOG

ED_ERROR -

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

TABLES Parameters details for FPB_PERS_READ_FOR_DIALOG

ET_VALUES -

Data type: FPB_T_VALUES
Optional: Yes
Call by Reference: Yes

ET_FIELDLIST -

Data type: FPB_T_FIELDLIST
Optional: Yes
Call by Reference: Yes

ET_LAYOUT -

Data type: FPB_T_LAYOUT
Optional: Yes
Call by Reference: Yes

ET_VALUEHELP -

Data type: FPB_T_VALUEHELP
Optional: Yes
Call by Reference: Yes

ET_WRONG_VALUE -

Data type: FPB_T_ERROR
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NO_INPUT -

Data type:
Optional: No
Call by Reference: Yes

OVER_DEFINED -

Data type:
Optional: No
Call by Reference: Yes

DIALOG_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

APPLID_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

FIELDNAME_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

DATA_INCONSISTENCY -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FPB_PERS_READ_FOR_DIALOG 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_ed_error  TYPE INT4, "   
lv_no_input  TYPE INT4, "   
lt_et_values  TYPE STANDARD TABLE OF FPB_T_VALUES, "   
lv_id_dialogid  TYPE FPB_DIALOGID, "   
lv_id_valuehelp_requested  TYPE FLAG, "   'X'
lv_id_convert_to_ext  TYPE FLAG, "   'X'
lv_id_applid  TYPE FPB_APPID, "   
lt_et_fieldlist  TYPE STANDARD TABLE OF FPB_T_FIELDLIST, "   
lv_over_defined  TYPE FPB_T_FIELDLIST, "   
lt_et_layout  TYPE STANDARD TABLE OF FPB_T_LAYOUT, "   
lv_id_fieldname  TYPE FIELDNAME, "   
lv_dialog_not_found  TYPE FIELDNAME, "   
lt_et_valuehelp  TYPE STANDARD TABLE OF FPB_T_VALUEHELP, "   
lv_id_subcontext  TYPE FPB_APPSUBCON, "   
lv_applid_not_found  TYPE FPB_APPSUBCON, "   
lv_id_perskeytp  TYPE FPB_KEYTP, "   'U'
lt_et_wrong_value  TYPE STANDARD TABLE OF FPB_T_ERROR, "   
lv_fieldname_not_found  TYPE FPB_T_ERROR, "   
lv_id_perskey  TYPE FPB_KEY, "   
lv_data_inconsistency  TYPE FPB_KEY, "   
lv_id_date  TYPE DATUM, "   SY-DATUM
lv_id_origin  TYPE CHAR1, "   SPACE
lv_id_resolve  TYPE FPB_RESOLVE_FLAG. "   

  CALL FUNCTION 'FPB_PERS_READ_FOR_DIALOG'  "
    EXPORTING
         ID_DIALOGID = lv_id_dialogid
         ID_VALUEHELP_REQUESTED = lv_id_valuehelp_requested
         ID_CONVERT_TO_EXT = lv_id_convert_to_ext
         ID_APPLID = lv_id_applid
         ID_FIELDNAME = lv_id_fieldname
         ID_SUBCONTEXT = lv_id_subcontext
         ID_PERSKEYTP = lv_id_perskeytp
         ID_PERSKEY = lv_id_perskey
         ID_DATE = lv_id_date
         ID_ORIGIN = lv_id_origin
         ID_RESOLVE = lv_id_resolve
    IMPORTING
         ED_ERROR = lv_ed_error
    TABLES
         ET_VALUES = lt_et_values
         ET_FIELDLIST = lt_et_fieldlist
         ET_LAYOUT = lt_et_layout
         ET_VALUEHELP = lt_et_valuehelp
         ET_WRONG_VALUE = lt_et_wrong_value
    EXCEPTIONS
        NO_INPUT = 1
        OVER_DEFINED = 2
        DIALOG_NOT_FOUND = 3
        APPLID_NOT_FOUND = 4
        FIELDNAME_NOT_FOUND = 5
        DATA_INCONSISTENCY = 6
. " FPB_PERS_READ_FOR_DIALOG




ABAP code using 7.40 inline data declarations to call FM FPB_PERS_READ_FOR_DIALOG

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.

 
 
 
 
DATA(ld_id_valuehelp_requested) = 'X'.
 
DATA(ld_id_convert_to_ext) = 'X'.
 
 
 
 
 
 
 
 
 
 
DATA(ld_id_perskeytp) = 'U'.
 
 
 
 
 
DATA(ld_id_date) = SY-DATUM.
 
DATA(ld_id_origin) = ' '.
 
 


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!