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

RCNCHANGEDOC SAP ABAP Report - Change Documents for Project







RCNCHANGEDOC 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 RCNCHANGEDOC into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CNS60 - Change Documents for Projects/Netw.
CN60 - Change Documents for Projects/Netw.


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 RCNCHANGEDOC. "Basic submit
SUBMIT RCNCHANGEDOC AND RETURN. "Return to original report after report execution complete
SUBMIT RCNCHANGEDOC 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: S_DEL = Display Deleted Objects
Selection Text: S_UDATE = D .
Selection Text: S_USER = D .
Title: Change Documents for Project


INCLUDES used within this REPORT RCNCHANGEDOC

INCLUDE PSDBADAT.
INCLUDE PSDBCMEM.
INCLUDE RCNCHANGEDOCDATA.
INCLUDE RCNCHANGEDOCF01.
INCLUDE RCNCHANGEDOCF02.


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:

CHANGEDOCUMENT_READ_RANGES CALL FUNCTION 'CHANGEDOCUMENT_READ_RANGES' EXPORTING date_of_change = s_udate objectclass_tab = t_objectclass objectid_tab = t_objectid tablename_tab = t_tablename tablekey_tab = t_tablekey username_tab = t_username TABLES editpos = i_editpos EXCEPTIONS no_position_found = 1 wrong_access_to_archive = 2.

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING objnr = wa_tabkey-objnr IMPORTING e_text = l_text e_identification = l_identification.

REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'PSIS_CHANGE_DOC' i_bypassing_buffer = 'X' CHANGING ct_fieldcat = t_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 others = 3.

TZ_SYSTEM_TO_LOCAL call function 'TZ_SYSTEM_TO_LOCAL' exporting date_system = wa_table-udate timezone = sy-zonlo time_system = wa_table-utime importing date_local = wa_table-udate time_local = wa_table-utime exceptions others = 0.

REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting * I_BUFFER_ACTIVE = * I_INTERFACE_CHECK = ' ' * I_CALLBACK_PROGRAM = ' ' * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = ' ' * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = * IS_LAYOUT = it_fieldcat = t_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' I_SAVE = 'A' IS_VARIANT = l_variant * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = tables t_outtab = t_table exceptions program_error = 1 others = 2.

STATUS_CHECK call function 'STATUS_CHECK' EXPORTING objnr = act01-objnr status = 'I0013' EXCEPTIONS object_not_found = 1 status_not_active = 2 others = 3.

STATUS_CHECK call function 'STATUS_CHECK' EXPORTING objnr = act01-objnr status = 'I0076' EXCEPTIONS object_not_found = 1 status_not_active = 2 others = 3.



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