SAP SATC_AC_PUSH_EXEMPTIONS Function Module for Push exemptions to remote system









SATC_AC_PUSH_EXEMPTIONS is a standard satc ac push exemptions SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Push exemptions to remote system 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 satc ac push exemptions FM, simply by entering the name SATC_AC_PUSH_EXEMPTIONS into the relevant SAP transaction such as SE37 or SE38.

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



Function SATC_AC_PUSH_EXEMPTIONS 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 'SATC_AC_PUSH_EXEMPTIONS'"Push exemptions to remote system
EXPORTING
* I_SINCE = 14 "Period to distribute
I_DESTINATION = "Logical destination (specified in function Call)
* I_INSERT = 'X' "Insert new records
* I_UPDATE = 'X' "Update existing records

EXCEPTIONS
CX_SATC_AC_ROOT = 1
.



IMPORTING Parameters details for SATC_AC_PUSH_EXEMPTIONS

I_SINCE - Period to distribute

Data type: SATC_D_MODIFIED_DAYS_AGO
Default: 14
Optional: No
Call by Reference: Yes

I_DESTINATION - Logical destination (specified in function Call)

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

I_INSERT - Insert new records

Data type: SAP_BOOL
Default: 'X'
Optional: No
Call by Reference: Yes

I_UPDATE - Update existing records

Data type: SAP_BOOL
Default: 'X'
Optional: No
Call by Reference: Yes

EXCEPTIONS details

CX_SATC_AC_ROOT - Exception within ABAP Check Layer of ATC

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for SATC_AC_PUSH_EXEMPTIONS 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_i_since  TYPE SATC_D_MODIFIED_DAYS_AGO, "   14
lv_cx_satc_ac_root  TYPE SATC_D_MODIFIED_DAYS_AGO, "   
lv_i_destination  TYPE RFCDEST, "   
lv_i_insert  TYPE SAP_BOOL, "   'X'
lv_i_update  TYPE SAP_BOOL. "   'X'

  CALL FUNCTION 'SATC_AC_PUSH_EXEMPTIONS'  "Push exemptions to remote system
    EXPORTING
         I_SINCE = lv_i_since
         I_DESTINATION = lv_i_destination
         I_INSERT = lv_i_insert
         I_UPDATE = lv_i_update
    EXCEPTIONS
        CX_SATC_AC_ROOT = 1
. " SATC_AC_PUSH_EXEMPTIONS




ABAP code using 7.40 inline data declarations to call FM SATC_AC_PUSH_EXEMPTIONS

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_since) = 14.
 
 
 
DATA(ld_i_insert) = 'X'.
 
DATA(ld_i_update) = 'X'.
 


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!