SAP FSC_EVENT_0280 Function Module for FI-CA Extended: Returns Charges 1 (Determine Master Data)
FSC_EVENT_0280 is a standard fsc event 0280 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for FI-CA Extended: Returns Charges 1 (Determine Master Data) processing and below is the pattern details for this FM, 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 fsc event 0280 FM, simply by entering the name FSC_EVENT_0280 into the relevant SAP transaction such as SE37 or SE38.
Function Group: FSP81
Program Name: SAPLFSP81
Main Program: SAPLFSP81
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FSC_EVENT_0280 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 'FSC_EVENT_0280'"FI-CA Extended: Returns Charges 1 (Determine Master Data).
EXPORTING
I_TFK045A = "Control Table for Return Reason
IMPORTING
E_VKONT = "Contract Account for Charges
E_GPART = "Business Partner for Charges
E_HKONT = "General Ledger Account for Charges (Receivable)
E_HVORG = "Main Transaction for Charges
E_TVORG = "Subtransaction for Charges
E_KOFIZ = "Acct Determination Supplement
TABLES
T_FKKOP = "Items Cleared by Payment
T_ZFKKOP = "Items Paid on Account
EXCEPTIONS
NO_INFO_FOUND = 1
IMPORTING Parameters details for FSC_EVENT_0280
I_TFK045A - Control Table for Return Reason
Data type: TFK045AOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FSC_EVENT_0280
E_VKONT - Contract Account for Charges
Data type: FKKOP-VKONTOptional: No
Call by Reference: No ( called with pass by value option)
E_GPART - Business Partner for Charges
Data type: FKKOP-GPARTOptional: No
Call by Reference: No ( called with pass by value option)
E_HKONT - General Ledger Account for Charges (Receivable)
Data type: FKKOP-HKONTOptional: No
Call by Reference: No ( called with pass by value option)
E_HVORG - Main Transaction for Charges
Data type: FKKOP-HVORGOptional: No
Call by Reference: No ( called with pass by value option)
E_TVORG - Subtransaction for Charges
Data type: FKKOP-TVORGOptional: No
Call by Reference: No ( called with pass by value option)
E_KOFIZ - Acct Determination Supplement
Data type: FKKOP-KOFIZOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FSC_EVENT_0280
T_FKKOP - Items Cleared by Payment
Data type: FKKOPOptional: No
Call by Reference: No ( called with pass by value option)
T_ZFKKOP - Items Paid on Account
Data type: FKKOPOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_INFO_FOUND - Table t_fkkop Was Empty
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FSC_EVENT_0280 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_e_vkont | TYPE FKKOP-VKONT, " | |||
| lt_t_fkkop | TYPE STANDARD TABLE OF FKKOP, " | |||
| lv_i_tfk045a | TYPE TFK045A, " | |||
| lv_no_info_found | TYPE TFK045A, " | |||
| lv_e_gpart | TYPE FKKOP-GPART, " | |||
| lt_t_zfkkop | TYPE STANDARD TABLE OF FKKOP, " | |||
| lv_e_hkont | TYPE FKKOP-HKONT, " | |||
| lv_e_hvorg | TYPE FKKOP-HVORG, " | |||
| lv_e_tvorg | TYPE FKKOP-TVORG, " | |||
| lv_e_kofiz | TYPE FKKOP-KOFIZ. " |
|   CALL FUNCTION 'FSC_EVENT_0280' "FI-CA Extended: Returns Charges 1 (Determine Master Data) |
| EXPORTING | ||
| I_TFK045A | = lv_i_tfk045a | |
| IMPORTING | ||
| E_VKONT | = lv_e_vkont | |
| E_GPART | = lv_e_gpart | |
| E_HKONT | = lv_e_hkont | |
| E_HVORG | = lv_e_hvorg | |
| E_TVORG | = lv_e_tvorg | |
| E_KOFIZ | = lv_e_kofiz | |
| TABLES | ||
| T_FKKOP | = lt_t_fkkop | |
| T_ZFKKOP | = lt_t_zfkkop | |
| EXCEPTIONS | ||
| NO_INFO_FOUND = 1 | ||
| . " FSC_EVENT_0280 | ||
ABAP code using 7.40 inline data declarations to call FM FSC_EVENT_0280
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 VKONT FROM FKKOP INTO @DATA(ld_e_vkont). | ||||
| "SELECT single GPART FROM FKKOP INTO @DATA(ld_e_gpart). | ||||
| "SELECT single HKONT FROM FKKOP INTO @DATA(ld_e_hkont). | ||||
| "SELECT single HVORG FROM FKKOP INTO @DATA(ld_e_hvorg). | ||||
| "SELECT single TVORG FROM FKKOP INTO @DATA(ld_e_tvorg). | ||||
| "SELECT single KOFIZ FROM FKKOP INTO @DATA(ld_e_kofiz). | ||||
Search for further information about these or an SAP related objects