SAP FMCA_EVENT_P281 Function Module for Amendment: Additional Check for Tax Return









FMCA_EVENT_P281 is a standard fmca event p281 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Amendment: Additional Check for Tax Return 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 event p281 FM, simply by entering the name FMCA_EVENT_P281 into the relevant SAP transaction such as SE37 or SE38.

Function Group: FMCA_RETURN_AMD
Program Name: SAPLFMCA_RETURN_AMD
Main Program: SAPLFMCA_RETURN_AMD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FMCA_EVENT_P281 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_EVENT_P281'"Amendment: Additional Check for Tax Return
EXPORTING
IT_RETURNS = "Table Type for Uploading Tax Returns

IMPORTING
ET_MESSAGE = "FI-CA: Standard Table for Structure BAPIRET2
ES_SOURCE_RETURN_ID = "Technical Case Key (Case GUID)
ES_TARGET_RETURN_ID = "Technical Case Key (Case GUID)
.



IMPORTING Parameters details for FMCA_EVENT_P281

IT_RETURNS - Table Type for Uploading Tax Returns

Data type: FMCA_RETURN_T
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for FMCA_EVENT_P281

ET_MESSAGE - FI-CA: Standard Table for Structure BAPIRET2

Data type: BAPIRET2_TAB_KK
Optional: No
Call by Reference: Yes

ES_SOURCE_RETURN_ID - Technical Case Key (Case GUID)

Data type: SCMG_CASE_GUID
Optional: No
Call by Reference: Yes

ES_TARGET_RETURN_ID - Technical Case Key (Case GUID)

Data type: SCMG_CASE_GUID
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FMCA_EVENT_P281 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_message  TYPE BAPIRET2_TAB_KK, "   
lv_it_returns  TYPE FMCA_RETURN_T, "   
lv_es_source_return_id  TYPE SCMG_CASE_GUID, "   
lv_es_target_return_id  TYPE SCMG_CASE_GUID. "   

  CALL FUNCTION 'FMCA_EVENT_P281'  "Amendment: Additional Check for Tax Return
    EXPORTING
         IT_RETURNS = lv_it_returns
    IMPORTING
         ET_MESSAGE = lv_et_message
         ES_SOURCE_RETURN_ID = lv_es_source_return_id
         ES_TARGET_RETURN_ID = lv_es_target_return_id
. " FMCA_EVENT_P281




ABAP code using 7.40 inline data declarations to call FM FMCA_EVENT_P281

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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!