SAP FM_CCF_DOCUMENT_DISPLAY Function Module for









FM_CCF_DOCUMENT_DISPLAY is a standard fm ccf document display 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 fm ccf document display FM, simply by entering the name FM_CCF_DOCUMENT_DISPLAY into the relevant SAP transaction such as SE37 or SE38.

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



Function FM_CCF_DOCUMENT_DISPLAY 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 'FM_CCF_DOCUMENT_DISPLAY'"
EXPORTING
* I_VALUTYP = "
* I_RFORG = "Reference Organizational Units
* I_RFPOS = "Reference Document Item No.
* I_RFKNT = "Account assignment number of reference document
* I_RFETE = "Reference document classification number
* I_RCOND = "Counter Conditions and Level Number
* I_RFTYP = "Reference Transaction
* I_RFSYS = "Logical System
* I_WRTTP = "Value Type
* I_RYEAR = "Receiver Fiscal Year
* I_RLEDGER = "Receiver Ledger
* I_FIKRS = "Financial Management Area
* I_SYEAR = "Fiscal Year
* I_SLEDGER = "
* I_TRANR = "Funds management transaction number
* I_CPUDT = "Date of Accounting Document Entry
* I_CPUTM = "Time of Entry
* I_UNAME = "User Name
* I_F_TOTALS_LIST = "
* I_CFDOCNR = "
* I_BUKRS = "Company Code
* I_KNGJAHR = "FI Document Number
* I_FMBELNR = "Document Number for a TR-FM line item
* I_FMBUZEI = "Number of a posting line in a TR-FM line item
* I_REFBN = "Reference document number
* I_REFBT = "Reference Document Category

TABLES
* R_SGRANT = "Range for Grant
* R_SFONDS = "Funds Management: Range for Fund
* R_SFIPEX = "Range for Commitment Item
* R_SFISTL = "Range for Funds Center
* R_SFAREA = "Funds Management: Range for Functional area
* R_SMEASURE = "Range for Measure
* R_SBUDGET_PD = "Funds Management: Range for Fund

EXCEPTIONS
RECORD_NOT_FOUND = 1 MISSING_INPUT_PARAMETER = 2
.



IMPORTING Parameters details for FM_CCF_DOCUMENT_DISPLAY

I_VALUTYP -

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

I_RFORG - Reference Organizational Units

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

I_RFPOS - Reference Document Item No.

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

I_RFKNT - Account assignment number of reference document

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

I_RFETE - Reference document classification number

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

I_RCOND - Counter Conditions and Level Number

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

I_RFTYP - Reference Transaction

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

I_RFSYS - Logical System

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

I_WRTTP - Value Type

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

I_RYEAR - Receiver Fiscal Year

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

I_RLEDGER - Receiver Ledger

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

I_FIKRS - Financial Management Area

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

I_SYEAR - Fiscal Year

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

I_SLEDGER -

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

I_TRANR - Funds management transaction number

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

I_CPUDT - Date of Accounting Document Entry

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

I_CPUTM - Time of Entry

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

I_UNAME - User Name

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

I_F_TOTALS_LIST -

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

I_CFDOCNR -

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

I_BUKRS - Company Code

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

I_KNGJAHR - FI Document Number

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

I_FMBELNR - Document Number for a TR-FM line item

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

I_FMBUZEI - Number of a posting line in a TR-FM line item

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

I_REFBN - Reference document number

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

I_REFBT - Reference Document Category

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

TABLES Parameters details for FM_CCF_DOCUMENT_DISPLAY

R_SGRANT - Range for Grant

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

R_SFONDS - Funds Management: Range for Fund

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

R_SFIPEX - Range for Commitment Item

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

R_SFISTL - Range for Funds Center

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

R_SFAREA - Funds Management: Range for Functional area

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

R_SMEASURE - Range for Measure

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

R_SBUDGET_PD - Funds Management: Range for Fund

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

EXCEPTIONS details

RECORD_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

MISSING_INPUT_PARAMETER -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FM_CCF_DOCUMENT_DISPLAY 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_r_sgrant  TYPE STANDARD TABLE OF IFM_RANGE_GRANT, "   
lv_i_valutyp  TYPE VALUTYP, "   
lv_record_not_found  TYPE VALUTYP, "   
lv_i_rforg  TYPE AWORG, "   
lv_i_rfpos  TYPE CC_RFPOS, "   
lv_i_rfknt  TYPE CC_RFKNT, "   
lv_i_rfete  TYPE CC_RFETE, "   
lv_i_rcond  TYPE RCOND, "   
lv_i_rftyp  TYPE AWTYP, "   
lv_i_rfsys  TYPE LOGSYSTEM, "   
lv_i_wrttp  TYPE FM_WRTTP, "   
lv_i_ryear  TYPE GJAHR, "   
lv_i_rledger  TYPE RLDNR, "   
lv_i_fikrs  TYPE FIKRS, "   
lt_r_sfonds  TYPE STANDARD TABLE OF IFM_RANGE_FUND, "   
lv_missing_input_parameter  TYPE IFM_RANGE_FUND, "   
lv_i_syear  TYPE GJAHR, "   
lv_i_sledger  TYPE RLDNR, "   
lv_i_tranr  TYPE FM_TRANR, "   
lv_i_cpudt  TYPE CPUDT, "   
lv_i_cputm  TYPE CPUTM, "   
lv_i_uname  TYPE UNAME, "   
lv_i_f_totals_list  TYPE IFM_CCF_TOTALS_LIST, "   
lt_r_sfipex  TYPE STANDARD TABLE OF IFM_RANGE_FIPEX, "   
lv_i_cfdocnr  TYPE FM_CFBELNR, "   
lv_i_bukrs  TYPE BUKRS, "   
lt_r_sfistl  TYPE STANDARD TABLE OF IFM_RANGE_FICTR, "   
lt_r_sfarea  TYPE STANDARD TABLE OF IFM_RANGE_FAREA, "   
lv_i_kngjahr  TYPE FM_KNGJAHR, "   
lv_i_fmbelnr  TYPE FM_BELNR, "   
lt_r_smeasure  TYPE STANDARD TABLE OF IFM_RANGE_MEASURE, "   
lv_i_fmbuzei  TYPE FM_BUZEI, "   
lt_r_sbudget_pd  TYPE STANDARD TABLE OF IFM_RANGE_BUDGET_PD, "   
lv_i_refbn  TYPE CO_REFBN, "   
lv_i_refbt  TYPE FM_REFBTYP. "   

  CALL FUNCTION 'FM_CCF_DOCUMENT_DISPLAY'  "
    EXPORTING
         I_VALUTYP = lv_i_valutyp
         I_RFORG = lv_i_rforg
         I_RFPOS = lv_i_rfpos
         I_RFKNT = lv_i_rfknt
         I_RFETE = lv_i_rfete
         I_RCOND = lv_i_rcond
         I_RFTYP = lv_i_rftyp
         I_RFSYS = lv_i_rfsys
         I_WRTTP = lv_i_wrttp
         I_RYEAR = lv_i_ryear
         I_RLEDGER = lv_i_rledger
         I_FIKRS = lv_i_fikrs
         I_SYEAR = lv_i_syear
         I_SLEDGER = lv_i_sledger
         I_TRANR = lv_i_tranr
         I_CPUDT = lv_i_cpudt
         I_CPUTM = lv_i_cputm
         I_UNAME = lv_i_uname
         I_F_TOTALS_LIST = lv_i_f_totals_list
         I_CFDOCNR = lv_i_cfdocnr
         I_BUKRS = lv_i_bukrs
         I_KNGJAHR = lv_i_kngjahr
         I_FMBELNR = lv_i_fmbelnr
         I_FMBUZEI = lv_i_fmbuzei
         I_REFBN = lv_i_refbn
         I_REFBT = lv_i_refbt
    TABLES
         R_SGRANT = lt_r_sgrant
         R_SFONDS = lt_r_sfonds
         R_SFIPEX = lt_r_sfipex
         R_SFISTL = lt_r_sfistl
         R_SFAREA = lt_r_sfarea
         R_SMEASURE = lt_r_smeasure
         R_SBUDGET_PD = lt_r_sbudget_pd
    EXCEPTIONS
        RECORD_NOT_FOUND = 1
        MISSING_INPUT_PARAMETER = 2
. " FM_CCF_DOCUMENT_DISPLAY




ABAP code using 7.40 inline data declarations to call FM FM_CCF_DOCUMENT_DISPLAY

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!