SAP Reports / Programs

RSCLNAST SAP ABAP Report - Report for Deleting Output Status Records (Note Consistency)







RSCLNAST is a standard Executable ABAP Report 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 RSCLNAST 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 RSCLNAST. "Basic submit
SUBMIT RSCLNAST AND RETURN. "Return to original report after report execution complete
SUBMIT RSCLNAST VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: CONF_ALL = Confirm each deletion
Selection Text: DELTA = created up until current date
Selection Text: UNIT = Time unit
Selection Text: S_VSZTP = Time of shipping
Selection Text: S_PARVW = Partner function
Selection Text: S_PARNR = Output partner
Selection Text: S_OBJKY = Object key
Selection Text: S_NACHA = Transmission medium of output
Selection Text: S_KSCHL = Output type (Condition type)
Selection Text: S_KAPPL = Output application
Selection Text: S_ERUHR = Time of creation
Selection Text: S_ERDAT = Date of creation
Selection Text: PREVIEW = Simulation only, no deletion
Selection Text: NORMAL = Normal deletion process
Title: Report for Deleting Output Status Records (Note Consistency)
Text Symbol: 001 = Caution: Loss of data!!!
Text Symbol: 002 = If you activate "YES", selected
Text Symbol: 003 = message control records are deleted!
Text Symbol: 004 = Activitating "YES" causes
Text Symbol: 005 = deletion!!!
Text Symbol: 006 = Msg ctrl record deleted!!!
Text Symbol: 010 = DELETE:
Text Symbol: 011 = DELETED:
Text Symbol: 500 = Time unit:
Text Symbol: 501 = Archiving period


INCLUDES used within this REPORT RSCLNAST

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:

START_TIME_DETERMINE CALL FUNCTION 'START_TIME_DETERMINE' EXPORTING DURATION = DELTA UNIT = UNIT * FACTORY_CALENDAR = IMPORTING START_DATE = L_STARTDATE EXCEPTIONS FACTORY_CALENDAR_NOT_FOUND = 1 DATE_OUT_OF_CALENDAR_RANGE = 2 DATE_NOT_VALID = 3 UNIT_CONVERSION_ERROR = 4 SI_UNIT_MISSING = 5 PARAMETERS_NOT_VALID = 6 OTHERS = 7.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'N' TEXTLINE1 = TEXT-002 TEXTLINE2 = TEXT-003 TITEL = TEXT-001 START_COLUMN = 25 START_ROW = 6 IMPORTING ANSWER = ANTWORT.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DEFAULTOPTION = 'N' DIAGNOSETEXT1 = TEXT-004 DIAGNOSETEXT2 = INAST DIAGNOSETEXT3 = TEXT-005 TEXTLINE1 = TEXT-004 TEXTLINE2 = TEXT-005 TITEL = TEXT-006 START_COLUMN = 25 START_ROW = 6 IMPORTING ANSWER = ANTWORT.

NAST_PROTOCOL_DELETE CALL FUNCTION 'NAST_PROTOCOL_DELETE' EXPORTING NR = INAST-CMFPNR EXCEPTIONS CALLED_WITHOUT_VALUES = 01.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING * CLIENT = " SY-MANDT ID = 'BEWG' LANGUAGE = SY-LANGU NAME = TDNAME OBJECT = 'OCS' SAVEMODE_DIRECT = 'X' * TEXTMEMORY_ONLY = " ' ' EXCEPTIONS NOT_FOUND = 01.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING * CUCOL = 0 * CUROW = 0 * DISPLAY = ' ' FIELDNAME = 'MSEHI' TABNAME = 'T006' * NO_MARKING_OF_CHECKVALUE = ' ' TITLE_IN_VALUES_LIST = TEXT-500 " 'Zeiteinheit' TITEL = TEXT-501 "'Archivierungsperiode' SHOW_ALL_VALUES_AT_FIRST_TIME = 'X' IMPORTING SELECT_VALUE = UNIT TABLES FIELDS = HELP_VAL VALUETAB = VALUES EXCEPTIONS FIELD_NOT_IN_DDIC = 1 MORE_THEN_ONE_SELECTFIELD = 2 NO_SELECTFIELD = 3 OTHERS = 4.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GC_REPID IS_LAYOUT = LS_LAYOUT IT_FIELDCAT = LT_FIELDCAT IT_EVENTS = LT_EVENTTAB TABLES T_OUTTAB = GT_OUTTAB_NAST EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = GC_REPID * I_INTERNAL_TABNAME = IV_TAB I_STRUCTURE_NAME = IV_STRU CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTTAB.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = GT_TOP_OF_PAGE.

PAK_GET_SHORTTEXT_DTEL CALL FUNCTION 'PAK_GET_SHORTTEXT_DTEL' EXPORTING I_ELEM_KEY = GC_P_SIMUL I_LANGUAGE = SY-LANGU IMPORTING E_SHORT_TEXT = G_SH_TXT.

FORMAT_TEXTLINES CALL FUNCTION 'FORMAT_TEXTLINES' EXPORTING FORMATWIDTH = 60 LINEWIDTH = 132 STARTLINE = 1 TABLES LINES = GT_TLINE EXCEPTIONS OTHERS = 0.



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 RSCLNAST or its description.