SAP FCO_REPORT_RESPCC Function Module for
FCO_REPORT_RESPCC is a standard fco report respcc 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 fco report respcc FM, simply by entering the name FCO_REPORT_RESPCC into the relevant SAP transaction such as SE37 or SE38.
Function Group: FCO_REPORTING
Program Name: SAPLFCO_REPORTING
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FCO_REPORT_RESPCC 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 'FCO_REPORT_RESPCC'".
EXPORTING
IS_SELECTION = "
* I_CUMULATED = 'X' "
* I_BY_PERIOD = "
* I_BY_BUDAT = "
* I_SHOW_ITEMS = ' ' "
* I_VALUATED_DOCUMENTS = 'X' "
* IS_VARIANT = "
* I_CHECK_AUTHORITY = ' ' "
TABLES
IT_TYPE_SELECTION = "
IT_RESPCC_RANGE = "
EXCEPTIONS
RESPCC_NOT_FOUND = 1 ERROR_DISPLAY = 2 NO_DOCUMENTS = 3 NO_AUTHORITY = 4
IMPORTING Parameters details for FCO_REPORT_RESPCC
IS_SELECTION -
Data type: FCO_REPORT_SELECTIONOptional: No
Call by Reference: Yes
I_CUMULATED -
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: Yes
I_BY_PERIOD -
Data type: COptional: Yes
Call by Reference: Yes
I_BY_BUDAT -
Data type: COptional: Yes
Call by Reference: Yes
I_SHOW_ITEMS -
Data type: CDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VALUATED_DOCUMENTS -
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IS_VARIANT -
Data type: DISVARIANTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CHECK_AUTHORITY -
Data type: CDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FCO_REPORT_RESPCC
IT_TYPE_SELECTION -
Data type: FCO_TYPE_SOptional: No
Call by Reference: Yes
IT_RESPCC_RANGE -
Data type: FCO_RESPCC_RANGEOptional: No
Call by Reference: Yes
EXCEPTIONS details
RESPCC_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
ERROR_DISPLAY -
Data type:Optional: No
Call by Reference: Yes
NO_DOCUMENTS -
Data type:Optional: No
Call by Reference: Yes
NO_AUTHORITY -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FCO_REPORT_RESPCC 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_is_selection | TYPE FCO_REPORT_SELECTION, " | |||
| lv_respcc_not_found | TYPE FCO_REPORT_SELECTION, " | |||
| lt_it_type_selection | TYPE STANDARD TABLE OF FCO_TYPE_S, " | |||
| lv_i_cumulated | TYPE C, " 'X' | |||
| lv_error_display | TYPE C, " | |||
| lt_it_respcc_range | TYPE STANDARD TABLE OF FCO_RESPCC_RANGE, " | |||
| lv_i_by_period | TYPE C, " | |||
| lv_no_documents | TYPE C, " | |||
| lv_i_by_budat | TYPE C, " | |||
| lv_no_authority | TYPE C, " | |||
| lv_i_show_items | TYPE C, " ' ' | |||
| lv_i_valuated_documents | TYPE C, " 'X' | |||
| lv_is_variant | TYPE DISVARIANT, " | |||
| lv_i_check_authority | TYPE C. " ' ' |
|   CALL FUNCTION 'FCO_REPORT_RESPCC' " |
| EXPORTING | ||
| IS_SELECTION | = lv_is_selection | |
| I_CUMULATED | = lv_i_cumulated | |
| I_BY_PERIOD | = lv_i_by_period | |
| I_BY_BUDAT | = lv_i_by_budat | |
| I_SHOW_ITEMS | = lv_i_show_items | |
| I_VALUATED_DOCUMENTS | = lv_i_valuated_documents | |
| IS_VARIANT | = lv_is_variant | |
| I_CHECK_AUTHORITY | = lv_i_check_authority | |
| TABLES | ||
| IT_TYPE_SELECTION | = lt_it_type_selection | |
| IT_RESPCC_RANGE | = lt_it_respcc_range | |
| EXCEPTIONS | ||
| RESPCC_NOT_FOUND = 1 | ||
| ERROR_DISPLAY = 2 | ||
| NO_DOCUMENTS = 3 | ||
| NO_AUTHORITY = 4 | ||
| . " FCO_REPORT_RESPCC | ||
ABAP code using 7.40 inline data declarations to call FM FCO_REPORT_RESPCC
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_i_cumulated) | = 'X'. | |||
| DATA(ld_i_show_items) | = ' '. | |||
| DATA(ld_i_valuated_documents) | = 'X'. | |||
| DATA(ld_i_check_authority) | = ' '. | |||
Search for further information about these or an SAP related objects