SAP Reports / Programs | Project System | Information System | Accounting(PS-IS-REP-ACC) SAP PS

RCNCOF91 SAP ABAP INCLUDE - Form Routines for Message Handler







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


Text pool values


Title: Form Routines for Message Handler


INCLUDES used within this REPORT RCNCOF91

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:

MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' EXPORTING ONLY_FOR_ACTUAL_LINE = 'X' SEVERITY_FROM = 12 SEVERITY_TO = 16 IMPORTING COUNT = NACHHER.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = MESG-ARBGB MSGTY = MESG-MSGTY TXTNR = MESG-TXTNR MSGV1 = MSGV1 MSGV2 = MSGV2 MSGV3 = MSGV3 MSGV4 = MSGV4 ZEILE = ZEILE EXCEPTIONS NOT_ACTIVE = 01.

MESSAGE_LINE_SET CALL FUNCTION 'MESSAGE_LINE_SET' EXPORTING ZEILE = ZEILE.

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING DATUM = SY-DATLO "P30K067716 LANGU = SY-LANGU NO_BUKRS = ' ' NO_ERKRS = ' ' NO_KOKRS = ' ' OBJNR = OBJNR TEXT_WANTED = 'X' IMPORTING E_TEXT = E_TEXT IDENTIFICATION = IDENT.

MESSAGE_SET_DEFAULTLINE CALL FUNCTION 'MESSAGE_SET_DEFAULTLINE' EXPORTING ARBGB = 'HF' MSGTY = 'S' MSGV1 = IDENT MSGV2 = SY-MSGV2 TXTNR = '303' ZEILE = ZEILE MODIFY = 'X'.

MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' EXPORTING LINE_FROM = ZEILE LINE_TO = ZEILE SEVERITY_FROM = 0 SEVERITY_TO = 16 IMPORTING COUNT = SY-TABIX.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' * exporting * corrections_option = ' ' * corrections_func_text = ' ' * line_from = '000' * line_to = '999' * object = ' ' * send_if_one = ' ' * show_linno = 'X' EXCEPTIONS INCONSISTENT_RANGE = 1 NO_MESSAGES = 2 OTHERS = 3.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES T_MESG = T_MESG.



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