SAP FMCA_SAMPLE_0982 Function Module for IS-PS-CA: Transfer Posting - Master Data Checks
FMCA_SAMPLE_0982 is a standard fmca sample 0982 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-PS-CA: Transfer Posting - Master Data Checks 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 fmca sample 0982 FM, simply by entering the name FMCA_SAMPLE_0982 into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMCA_CH
Program Name: SAPLFMCA_CH
Main Program: SAPLFMCA_CH
Appliation area: F
Release date: 27-Nov-2001
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FMCA_SAMPLE_0982 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 'FMCA_SAMPLE_0982'"IS-PS-CA: Transfer Posting - Master Data Checks.
EXPORTING
I_BUP1 = "Business partner 1
I_BUP2 = "Business partner 2
I_VK1 = "Contract account 1
I_VKP1 = "Partner 1 - Account 1
I_VK2 = "Contract account 2
I_VKP2 = "Partner 2 - Account 2
I_UMB = "Make transfer posting: From - To
TABLES
T_MSG = "Output: Messages
EXCEPTIONS
CHECK_FAILURE = 1
IMPORTING Parameters details for FMCA_SAMPLE_0982
I_BUP1 - Business partner 1
Data type: BUS000_EXTOptional: No
Call by Reference: No ( called with pass by value option)
I_BUP2 - Business partner 2
Data type: BUS000_EXTOptional: No
Call by Reference: No ( called with pass by value option)
I_VK1 - Contract account 1
Data type: FKKVKOptional: No
Call by Reference: No ( called with pass by value option)
I_VKP1 - Partner 1 - Account 1
Data type: FKKVKPOptional: No
Call by Reference: No ( called with pass by value option)
I_VK2 - Contract account 2
Data type: FKKVKOptional: No
Call by Reference: No ( called with pass by value option)
I_VKP2 - Partner 2 - Account 2
Data type: FKKVKPOptional: No
Call by Reference: No ( called with pass by value option)
I_UMB - Make transfer posting: From - To
Data type: FKK_UMBOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FMCA_SAMPLE_0982
T_MSG - Output: Messages
Data type: FKK_UMBMSGOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CHECK_FAILURE - Transfers not possible
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FMCA_SAMPLE_0982 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_t_msg | TYPE STANDARD TABLE OF FKK_UMBMSG, " | |||
| lv_i_bup1 | TYPE BUS000_EXT, " | |||
| lv_check_failure | TYPE BUS000_EXT, " | |||
| lv_i_bup2 | TYPE BUS000_EXT, " | |||
| lv_i_vk1 | TYPE FKKVK, " | |||
| lv_i_vkp1 | TYPE FKKVKP, " | |||
| lv_i_vk2 | TYPE FKKVK, " | |||
| lv_i_vkp2 | TYPE FKKVKP, " | |||
| lv_i_umb | TYPE FKK_UMB. " |
|   CALL FUNCTION 'FMCA_SAMPLE_0982' "IS-PS-CA: Transfer Posting - Master Data Checks |
| EXPORTING | ||
| I_BUP1 | = lv_i_bup1 | |
| I_BUP2 | = lv_i_bup2 | |
| I_VK1 | = lv_i_vk1 | |
| I_VKP1 | = lv_i_vkp1 | |
| I_VK2 | = lv_i_vk2 | |
| I_VKP2 | = lv_i_vkp2 | |
| I_UMB | = lv_i_umb | |
| TABLES | ||
| T_MSG | = lt_t_msg | |
| EXCEPTIONS | ||
| CHECK_FAILURE = 1 | ||
| . " FMCA_SAMPLE_0982 | ||
ABAP code using 7.40 inline data declarations to call FM FMCA_SAMPLE_0982
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