SAP Reports / Programs | Basis Components | Use Subcomponents | Monitoring(BC-CCM-MON) SAP BC

ALSYSAL SAP ABAP INCLUDE - Program for Object Type SYSALERT: System Alert







ALSYSAL is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter ALSYSAL into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT ALSYSAL. "Basic submit
SUBMIT ALSYSAL AND RETURN. "Return to original report after report execution complete
SUBMIT ALSYSAL VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Program for Object Type SYSALERT: System Alert


INCLUDES used within this REPORT ALSYSAL

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

SALR_WF_ALERT_CREATE *CALL FUNCTION 'SALR_WF_ALERT_CREATE' * EXPORTING * AID = AID * IMPORTING * ALNUMBER = OBJECT-KEY-NUMBER * EXCEPTIONS * OTHERS = 01.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING NR_RANGE_NR = '01' OBJECT = 'SYSALERT' QUANTITY = '1' SUBOBJECT = ' ' TOYEAR = '0000' IMPORTING NUMBER = OBJECT-KEY-NUMBER * QUANTITY = RETURNCODE = RET_CODE EXCEPTIONS INTERVAL_NOT_FOUND = 01 NUMBER_RANGE_NOT_INTERN = 02 OBJECT_NOT_FOUND = 03 QUANTITY_IS_0 = 04.

SWU_NUMBER_RANGE_CREATE CALL FUNCTION 'SWU_NUMBER_RANGE_CREATE' EXPORTING OBJECT = 'SYSALERT' NR_RANGE_NR1 = '01' QUANTITY = 1 IMPORTING NUMBER = OBJECT-KEY-NUMBER EXCEPTIONS RANGE_ALREADY_EXISTS = 01 OBJECT_NOT_FOUND = 02 SYSTEM_ERROR = 03 OTHERS = 04.

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING OBJTYPE = OBJTYPE OBJKEY = OBJKEY EVENT = EVENT * creator = creator START_WITH_DELAY = ' ' IMPORTING EVENT_ID = EVENTID TABLES EVENT_CONTAINER = EVENT_CONTAINER EXCEPTIONS OBJTYPE_NOT_FOUND = 01.

SALR_AL_READ_ALERT_BY_AID CALL FUNCTION 'SALR_AL_READ_ALERT_BY_AID' EXPORTING ALERTS_GET_ACTIVE = 'X' ALERTS_GET_HISTORY = 'X' TABLES AID = AID ALERTS_SALR = ALERT_DATA.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name ALSYSAL or its description.