SAP FDM_COLL_GET_DATA_46C Function Module for
FDM_COLL_GET_DATA_46C is a standard fdm coll get data 46c 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 fdm coll get data 46c FM, simply by entering the name FDM_COLL_GET_DATA_46C into the relevant SAP transaction such as SE37 or SE38.
Function Group: FDM_COLL_DATA_EXT
Program Name: SAPLFDM_COLL_DATA_EXT
Main Program: SAPLFDM_COLL_DATA_EXT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FDM_COLL_GET_DATA_46C 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 'FDM_COLL_GET_DATA_46C'".
EXPORTING
I_CUSTOMER_EXTERNAL = "
I_COMPANY_CODE_EXTERNAL = "External Company Code
I_LOGICAL_SYSTEM = "
I_FROM_DATE = "
* I_TO_DATE = '99991231' "
I_LOCAL_CURRENCY = "Local Currency
* I_DOCUMENT_TYPE = "
* I_DOCUMENT_KEY = "
IMPORTING
ET_INVOICES = "Information about Invoices of the Original System
ET_OPENITEMS = "Information about Open Items of the Original System
ET_CLEAREDITEMS = "Information about Cleared Items of the Original System
ET_ITEMS_EBPP = "FSCM Biller Direct: Item Data
ET_INVOICES_EBPP = "FSCM Biller Direct: Bill Data
ET_ALLOCATION_EBPP = "FSCM Biller Direct: Assignment Item Data/Bill Data
ET_MYPAYMENTS_EBPP = "Biller Direct: Payments
ET_PAYALLOCATION_EBPP = "Biller Direct: Payment Data/Bill Data Assignment
ET_MESSAGES = "Messages
EXCEPTIONS
CUSTOMER_DELETED_OR_ARCHIVED = 1
IMPORTING Parameters details for FDM_COLL_GET_DATA_46C
I_CUSTOMER_EXTERNAL -
Data type: KUNNROptional: No
Call by Reference: Yes
I_COMPANY_CODE_EXTERNAL - External Company Code
Data type: BUKRSOptional: No
Call by Reference: Yes
I_LOGICAL_SYSTEM -
Data type: LOGSYSOptional: No
Call by Reference: Yes
I_FROM_DATE -
Data type: DATUMOptional: No
Call by Reference: Yes
I_TO_DATE -
Data type: DATUMDefault: '99991231'
Optional: Yes
Call by Reference: Yes
I_LOCAL_CURRENCY - Local Currency
Data type: HWAEROptional: No
Call by Reference: Yes
I_DOCUMENT_TYPE -
Data type: SWO_OBJTYPOptional: Yes
Call by Reference: Yes
I_DOCUMENT_KEY -
Data type: SWO_TYPEIDOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FDM_COLL_GET_DATA_46C
ET_INVOICES - Information about Invoices of the Original System
Data type: FDM_T_COLL_INVOICES_EXTSYSOptional: No
Call by Reference: Yes
ET_OPENITEMS - Information about Open Items of the Original System
Data type: FDM_T_COLL_OPENITEMS_EXTSYSOptional: No
Call by Reference: Yes
ET_CLEAREDITEMS - Information about Cleared Items of the Original System
Data type: FDM_T_COLL_CLEAREDITEMS_EXTSYSOptional: No
Call by Reference: Yes
ET_ITEMS_EBPP - FSCM Biller Direct: Item Data
Data type: FDM_T_COLL_ITEMS_EBPPOptional: No
Call by Reference: Yes
ET_INVOICES_EBPP - FSCM Biller Direct: Bill Data
Data type: FDM_T_COLL_INVOICES_EBPPOptional: No
Call by Reference: Yes
ET_ALLOCATION_EBPP - FSCM Biller Direct: Assignment Item Data/Bill Data
Data type: FDM_T_COLL_ALLOCATION_EBPPOptional: No
Call by Reference: Yes
ET_MYPAYMENTS_EBPP - Biller Direct: Payments
Data type: FDM_T_COLL_MYPAYMENTS_EBPPOptional: No
Call by Reference: Yes
ET_PAYALLOCATION_EBPP - Biller Direct: Payment Data/Bill Data Assignment
Data type: FDM_T_COLL_PAYALLOCATION_EBPPOptional: No
Call by Reference: Yes
ET_MESSAGES - Messages
Data type: BAPIRETTABOptional: No
Call by Reference: Yes
EXCEPTIONS details
CUSTOMER_DELETED_OR_ARCHIVED - Customer has either been deleted or archived
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FDM_COLL_GET_DATA_46C 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_et_invoices | TYPE FDM_T_COLL_INVOICES_EXTSYS, " | |||
| lv_i_customer_external | TYPE KUNNR, " | |||
| lv_customer_deleted_or_archived | TYPE KUNNR, " | |||
| lv_et_openitems | TYPE FDM_T_COLL_OPENITEMS_EXTSYS, " | |||
| lv_i_company_code_external | TYPE BUKRS, " | |||
| lv_et_cleareditems | TYPE FDM_T_COLL_CLEAREDITEMS_EXTSYS, " | |||
| lv_i_logical_system | TYPE LOGSYS, " | |||
| lv_i_from_date | TYPE DATUM, " | |||
| lv_et_items_ebpp | TYPE FDM_T_COLL_ITEMS_EBPP, " | |||
| lv_i_to_date | TYPE DATUM, " '99991231' | |||
| lv_et_invoices_ebpp | TYPE FDM_T_COLL_INVOICES_EBPP, " | |||
| lv_i_local_currency | TYPE HWAER, " | |||
| lv_et_allocation_ebpp | TYPE FDM_T_COLL_ALLOCATION_EBPP, " | |||
| lv_i_document_type | TYPE SWO_OBJTYP, " | |||
| lv_et_mypayments_ebpp | TYPE FDM_T_COLL_MYPAYMENTS_EBPP, " | |||
| lv_i_document_key | TYPE SWO_TYPEID, " | |||
| lv_et_payallocation_ebpp | TYPE FDM_T_COLL_PAYALLOCATION_EBPP, " | |||
| lv_et_messages | TYPE BAPIRETTAB. " |
|   CALL FUNCTION 'FDM_COLL_GET_DATA_46C' " |
| EXPORTING | ||
| I_CUSTOMER_EXTERNAL | = lv_i_customer_external | |
| I_COMPANY_CODE_EXTERNAL | = lv_i_company_code_external | |
| I_LOGICAL_SYSTEM | = lv_i_logical_system | |
| I_FROM_DATE | = lv_i_from_date | |
| I_TO_DATE | = lv_i_to_date | |
| I_LOCAL_CURRENCY | = lv_i_local_currency | |
| I_DOCUMENT_TYPE | = lv_i_document_type | |
| I_DOCUMENT_KEY | = lv_i_document_key | |
| IMPORTING | ||
| ET_INVOICES | = lv_et_invoices | |
| ET_OPENITEMS | = lv_et_openitems | |
| ET_CLEAREDITEMS | = lv_et_cleareditems | |
| ET_ITEMS_EBPP | = lv_et_items_ebpp | |
| ET_INVOICES_EBPP | = lv_et_invoices_ebpp | |
| ET_ALLOCATION_EBPP | = lv_et_allocation_ebpp | |
| ET_MYPAYMENTS_EBPP | = lv_et_mypayments_ebpp | |
| ET_PAYALLOCATION_EBPP | = lv_et_payallocation_ebpp | |
| ET_MESSAGES | = lv_et_messages | |
| EXCEPTIONS | ||
| CUSTOMER_DELETED_OR_ARCHIVED = 1 | ||
| . " FDM_COLL_GET_DATA_46C | ||
ABAP code using 7.40 inline data declarations to call FM FDM_COLL_GET_DATA_46C
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_to_date) | = '99991231'. | |||
Search for further information about these or an SAP related objects