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

Function FDM_COLL_ACCESS 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_ACCESS'".
EXPORTING
IS_COLL_SEGMENT = "Collection Segment
* IX_HOB_EXTD_MODE = "Collections Management: Enhanced Head Office Mode
* IX_CALLED_BY_IC = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
I_PARTNER = "Business Partner Number
* I_PARTNER_GUID = "Business Partner GUID
* I_CUSTOMER = "Debtor Number 1
* I_COLL_SPECIALIST = "Collection Specialist
* IS_COLL_CONTACT = "Collections Management: Contact Person
* I_OLDEST_RSM_DATE = "Resubmission Date
* IX_DISPLAY_ONLY = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* I_WORKITEM_GUID = "Key of Worklist Item
IMPORTING
ES_CCT_ATTR = "Customer Contact: Attributes for Creation and Change
ES_COLL_CONTACT = "Collections Management: Contact Person
ES_OLDEST_RSM = "Resubmission: Attributes for Creation and Change
EX_NO_RSM = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
ES_RETURN = "Return Parameter(s)
TABLES
IT_COMP_CODE = "Company Code in Collections Management
* CT_COLL_CONTACT_KEY = "Contact Person Key
IMPORTING Parameters details for FDM_COLL_ACCESS
IS_COLL_SEGMENT - Collection Segment
Data type: BDM_S_COLL_SEGMENTOptional: No
Call by Reference: No ( called with pass by value option)
IX_HOB_EXTD_MODE - Collections Management: Enhanced Head Office Mode
Data type: FDM_COLL_HOB_EXTD_MODEOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_CALLED_BY_IC - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PARTNER - Business Partner Number
Data type: BU_PARTNEROptional: No
Call by Reference: No ( called with pass by value option)
I_PARTNER_GUID - Business Partner GUID
Data type: BU_PARTNER_GUIDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CUSTOMER - Debtor Number 1
Data type: KUNNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_COLL_SPECIALIST - Collection Specialist
Data type: BDM_COLL_SPECIALISTOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_COLL_CONTACT - Collections Management: Contact Person
Data type: BDM_COLL_CONTACTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_OLDEST_RSM_DATE - Resubmission Date
Data type: BDM_RSM_DATEOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_DISPLAY_ONLY - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DOptional: Yes
Call by Reference: No ( called with pass by value option)
I_WORKITEM_GUID - Key of Worklist Item
Data type: FDM_WORKLIST_ITEM_GUIDOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FDM_COLL_ACCESS
ES_CCT_ATTR - Customer Contact: Attributes for Creation and Change
Data type: BDM_CCT_ATTROptional: No
Call by Reference: No ( called with pass by value option)
ES_COLL_CONTACT - Collections Management: Contact Person
Data type: BDM_COLL_CONTACTOptional: No
Call by Reference: No ( called with pass by value option)
ES_OLDEST_RSM - Resubmission: Attributes for Creation and Change
Data type: BDM_RSM_ATTROptional: No
Call by Reference: No ( called with pass by value option)
EX_NO_RSM - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DOptional: No
Call by Reference: No ( called with pass by value option)
ES_RETURN - Return Parameter(s)
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FDM_COLL_ACCESS
IT_COMP_CODE - Company Code in Collections Management
Data type: BAPI_COLL_COMPANYOptional: No
Call by Reference: Yes
CT_COLL_CONTACT_KEY - Contact Person Key
Data type: BDM_COLL_CONTACT_KEYOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for FDM_COLL_ACCESS 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_es_cct_attr | TYPE BDM_CCT_ATTR, " | |||
| lt_it_comp_code | TYPE STANDARD TABLE OF BAPI_COLL_COMPANY, " | |||
| lv_is_coll_segment | TYPE BDM_S_COLL_SEGMENT, " | |||
| lv_ix_hob_extd_mode | TYPE FDM_COLL_HOB_EXTD_MODE, " | |||
| lv_ix_called_by_ic | TYPE BOOLE_D, " | |||
| lv_i_partner | TYPE BU_PARTNER, " | |||
| lv_es_coll_contact | TYPE BDM_COLL_CONTACT, " | |||
| lt_ct_coll_contact_key | TYPE STANDARD TABLE OF BDM_COLL_CONTACT_KEY, " | |||
| lv_es_oldest_rsm | TYPE BDM_RSM_ATTR, " | |||
| lv_i_partner_guid | TYPE BU_PARTNER_GUID, " | |||
| lv_ex_no_rsm | TYPE BOOLE_D, " | |||
| lv_i_customer | TYPE KUNNR, " | |||
| lv_es_return | TYPE BAPIRET2, " | |||
| lv_i_coll_specialist | TYPE BDM_COLL_SPECIALIST, " | |||
| lv_is_coll_contact | TYPE BDM_COLL_CONTACT, " | |||
| lv_i_oldest_rsm_date | TYPE BDM_RSM_DATE, " | |||
| lv_ix_display_only | TYPE BOOLE_D, " | |||
| lv_i_workitem_guid | TYPE FDM_WORKLIST_ITEM_GUID. " |
|   CALL FUNCTION 'FDM_COLL_ACCESS' " |
| EXPORTING | ||
| IS_COLL_SEGMENT | = lv_is_coll_segment | |
| IX_HOB_EXTD_MODE | = lv_ix_hob_extd_mode | |
| IX_CALLED_BY_IC | = lv_ix_called_by_ic | |
| I_PARTNER | = lv_i_partner | |
| I_PARTNER_GUID | = lv_i_partner_guid | |
| I_CUSTOMER | = lv_i_customer | |
| I_COLL_SPECIALIST | = lv_i_coll_specialist | |
| IS_COLL_CONTACT | = lv_is_coll_contact | |
| I_OLDEST_RSM_DATE | = lv_i_oldest_rsm_date | |
| IX_DISPLAY_ONLY | = lv_ix_display_only | |
| I_WORKITEM_GUID | = lv_i_workitem_guid | |
| IMPORTING | ||
| ES_CCT_ATTR | = lv_es_cct_attr | |
| ES_COLL_CONTACT | = lv_es_coll_contact | |
| ES_OLDEST_RSM | = lv_es_oldest_rsm | |
| EX_NO_RSM | = lv_ex_no_rsm | |
| ES_RETURN | = lv_es_return | |
| TABLES | ||
| IT_COMP_CODE | = lt_it_comp_code | |
| CT_COLL_CONTACT_KEY | = lt_ct_coll_contact_key | |
| . " FDM_COLL_ACCESS | ||
ABAP code using 7.40 inline data declarations to call FM FDM_COLL_ACCESS
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