SAP FCO_COGS_TRANSFER_POST Function Module for Do not use anymore
FCO_COGS_TRANSFER_POST is a standard fco cogs transfer post SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Do not use anymore 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 fco cogs transfer post FM, simply by entering the name FCO_COGS_TRANSFER_POST into the relevant SAP transaction such as SE37 or SE38.
Function Group: FCO_COGS
Program Name: SAPLFCO_COGS
Main Program: SAPLFCO_COGS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FCO_COGS_TRANSFER_POST 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_COGS_TRANSFER_POST'"Do not use anymore.
EXPORTING
* I_RFC_DEST = "Logical System
TABLES
CT_ACCIT = "Accounting Interface: Item Information
CT_ACCCR = "Accounting Interface: Currency Information
CT_ACCVS = "Vendor Line Item Splitting Information for FI/CO-Interface
CT_ACCFI = "Interface to Accounting: Financial Acctg One-Time Accts
CT_ACCHD = "Interface to Accounting: Header Information
* CT_ACCIT_PA = "FI/CO document: CO-PA segment
* CT_ACCIT_CCS = "Cost Component Split per Accounting Interface Item
IMPORTING Parameters details for FCO_COGS_TRANSFER_POST
I_RFC_DEST - Logical System
Data type: LOGSYSTEMOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FCO_COGS_TRANSFER_POST
CT_ACCIT - Accounting Interface: Item Information
Data type: ACCITOptional: No
Call by Reference: Yes
CT_ACCCR - Accounting Interface: Currency Information
Data type: ACCCROptional: No
Call by Reference: Yes
CT_ACCVS - Vendor Line Item Splitting Information for FI/CO-Interface
Data type: ACCVSOptional: No
Call by Reference: Yes
CT_ACCFI - Interface to Accounting: Financial Acctg One-Time Accts
Data type: ACCFIOptional: No
Call by Reference: Yes
CT_ACCHD - Interface to Accounting: Header Information
Data type: ACCHDOptional: No
Call by Reference: Yes
CT_ACCIT_PA - FI/CO document: CO-PA segment
Data type: ACCIT_PAOptional: Yes
Call by Reference: Yes
CT_ACCIT_CCS - Cost Component Split per Accounting Interface Item
Data type: FCOS_ACCIT_CCSOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for FCO_COGS_TRANSFER_POST 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_ct_accit | TYPE STANDARD TABLE OF ACCIT, " | |||
| lv_i_rfc_dest | TYPE LOGSYSTEM, " | |||
| lt_ct_acccr | TYPE STANDARD TABLE OF ACCCR, " | |||
| lt_ct_accvs | TYPE STANDARD TABLE OF ACCVS, " | |||
| lt_ct_accfi | TYPE STANDARD TABLE OF ACCFI, " | |||
| lt_ct_acchd | TYPE STANDARD TABLE OF ACCHD, " | |||
| lt_ct_accit_pa | TYPE STANDARD TABLE OF ACCIT_PA, " | |||
| lt_ct_accit_ccs | TYPE STANDARD TABLE OF FCOS_ACCIT_CCS. " |
|   CALL FUNCTION 'FCO_COGS_TRANSFER_POST' "Do not use anymore |
| EXPORTING | ||
| I_RFC_DEST | = lv_i_rfc_dest | |
| TABLES | ||
| CT_ACCIT | = lt_ct_accit | |
| CT_ACCCR | = lt_ct_acccr | |
| CT_ACCVS | = lt_ct_accvs | |
| CT_ACCFI | = lt_ct_accfi | |
| CT_ACCHD | = lt_ct_acchd | |
| CT_ACCIT_PA | = lt_ct_accit_pa | |
| CT_ACCIT_CCS | = lt_ct_accit_ccs | |
| . " FCO_COGS_TRANSFER_POST | ||
ABAP code using 7.40 inline data declarations to call FM FCO_COGS_TRANSFER_POST
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