SAP SXMS_AGG_GET_XPI_STATUS_DELTA Function Module for









SXMS_AGG_GET_XPI_STATUS_DELTA is a standard sxms agg get xpi status delta 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 sxms agg get xpi status delta FM, simply by entering the name SXMS_AGG_GET_XPI_STATUS_DELTA into the relevant SAP transaction such as SE37 or SE38.

Function Group: SXMS_MSGAGG_RFC_PROC
Program Name: SAPLSXMS_MSGAGG_RFC_PROC
Main Program: SAPLSXMS_MSGAGG_RFC_PROC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function SXMS_AGG_GET_XPI_STATUS_DELTA 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 'SXMS_AGG_GET_XPI_STATUS_DELTA'"
EXPORTING
* CLIENT = SY-MANDT "
* PROFILE_NAME = 'XPI_SEND_RECV_01' "
PERIODS = "
LAST_READ = "
* REFRESH_ADAPTER_STATUS = "

IMPORTING
AGG_DATA_BY_PERIOD = "
LAST_TMST = "
AGGREGATION_KEY_MAPPING = "
RETURN_TAB = "
.



IMPORTING Parameters details for SXMS_AGG_GET_XPI_STATUS_DELTA

CLIENT -

Data type: SYMANDT
Default: SY-MANDT
Optional: No
Call by Reference: No ( called with pass by value option)

PROFILE_NAME -

Data type: SXMS_AGG_PROF_NAME
Default: 'XPI_SEND_RECV_01'
Optional: No
Call by Reference: No ( called with pass by value option)

PERIODS -

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

LAST_READ -

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

REFRESH_ADAPTER_STATUS -

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

EXPORTING Parameters details for SXMS_AGG_GET_XPI_STATUS_DELTA

AGG_DATA_BY_PERIOD -

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

LAST_TMST -

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

AGGREGATION_KEY_MAPPING -

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

RETURN_TAB -

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

Copy and paste ABAP code example for SXMS_AGG_GET_XPI_STATUS_DELTA 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_client  TYPE SYMANDT, "   SY-MANDT
lv_agg_data_by_period  TYPE SXMS_AGGDATA_BY_PERIOD_T, "   
lv_last_tmst  TYPE TIMESTAMPL, "   
lv_profile_name  TYPE SXMS_AGG_PROF_NAME, "   'XPI_SEND_RECV_01'
lv_periods  TYPE SXMS_AGG_PERIOD_TIME_T, "   
lv_aggregation_key_mapping  TYPE SXMS_AGG_KEY_MAPPING_T, "   
lv_last_read  TYPE TIMESTAMPL, "   
lv_return_tab  TYPE BAPIRET2_T, "   
lv_refresh_adapter_status  TYPE CHAR1. "   

  CALL FUNCTION 'SXMS_AGG_GET_XPI_STATUS_DELTA'  "
    EXPORTING
         CLIENT = lv_client
         PROFILE_NAME = lv_profile_name
         PERIODS = lv_periods
         LAST_READ = lv_last_read
         REFRESH_ADAPTER_STATUS = lv_refresh_adapter_status
    IMPORTING
         AGG_DATA_BY_PERIOD = lv_agg_data_by_period
         LAST_TMST = lv_last_tmst
         AGGREGATION_KEY_MAPPING = lv_aggregation_key_mapping
         RETURN_TAB = lv_return_tab
. " SXMS_AGG_GET_XPI_STATUS_DELTA




ABAP code using 7.40 inline data declarations to call FM SXMS_AGG_GET_XPI_STATUS_DELTA

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_client) = SY-MANDT.
 
 
 
DATA(ld_profile_name) = 'XPI_SEND_RECV_01'.
 
 
 
 
 
 


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!