SAP FKK_PDC_READ Function Module for









FKK_PDC_READ is a standard fkk pdc read 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 fkk pdc read FM, simply by entering the name FKK_PDC_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function FKK_PDC_READ 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 'FKK_PDC_READ'"
EXPORTING
* IF_SET_ENQUEUE = ' ' "
* IF_CHECK_ENQUEUE = ' ' "
I_SEL = "
* I_DIALOG = ' ' "

IMPORTING
ES_PDC = "
ES_PDC_FROM_S = "
ET_PDC = "
ET_PDCS = "
ET_PDCV = "
ET_PDCE = "

EXCEPTIONS
NOTHING_FOUND = 1
.



IMPORTING Parameters details for FKK_PDC_READ

IF_SET_ENQUEUE -

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

IF_CHECK_ENQUEUE -

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

I_SEL -

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

I_DIALOG -

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

EXPORTING Parameters details for FKK_PDC_READ

ES_PDC -

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

ES_PDC_FROM_S -

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

ET_PDC -

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

ET_PDCS -

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

ET_PDCV -

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

ET_PDCE -

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

EXCEPTIONS details

NOTHING_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FKK_PDC_READ 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_es_pdc  TYPE DFKKPDC, "   
lv_nothing_found  TYPE DFKKPDC, "   
lv_if_set_enqueue  TYPE XFELD, "   SPACE
lv_es_pdc_from_s  TYPE DFKKPDC, "   
lv_if_check_enqueue  TYPE XFELD, "   SPACE
lv_i_sel  TYPE RFPDC_SEL, "   
lv_et_pdc  TYPE TT_DFKKPDC, "   
lv_et_pdcs  TYPE TT_DFKKPDCS, "   
lv_i_dialog  TYPE XFELD, "   SPACE
lv_et_pdcv  TYPE TT_DFKKPDCV, "   
lv_et_pdce  TYPE TT_DFKKPDCE. "   

  CALL FUNCTION 'FKK_PDC_READ'  "
    EXPORTING
         IF_SET_ENQUEUE = lv_if_set_enqueue
         IF_CHECK_ENQUEUE = lv_if_check_enqueue
         I_SEL = lv_i_sel
         I_DIALOG = lv_i_dialog
    IMPORTING
         ES_PDC = lv_es_pdc
         ES_PDC_FROM_S = lv_es_pdc_from_s
         ET_PDC = lv_et_pdc
         ET_PDCS = lv_et_pdcs
         ET_PDCV = lv_et_pdcv
         ET_PDCE = lv_et_pdce
    EXCEPTIONS
        NOTHING_FOUND = 1
. " FKK_PDC_READ




ABAP code using 7.40 inline data declarations to call FM FKK_PDC_READ

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_if_set_enqueue) = ' '.
 
 
DATA(ld_if_check_enqueue) = ' '.
 
 
 
 
DATA(ld_i_dialog) = ' '.
 
 
 


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!