RSIR_MODIFY_DOC_PROTECTION 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 RSIR_MODIFY_DOC_PROTECTION into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_DOCSP = D .
Selection Text: P_TEST = Test Run
Selection Text: P_OLD_DP = Old Document Protection
Selection Text: P_NOTALL = Restrict to Old Values
Selection Text: P_NEW_DP = New Document Protection
Selection Text: P_CLASS = PHIO Class
Selection Text: P_CATSRC = Source Category
Selection Text: P_CATDST = Target Category
Text Symbol: 017 = Update of file attributes in the DDIC tables failed
Text Symbol: 016 = Source and target categories use the same repository
Text Symbol: 015 = Source category not suitable or not available
Text Symbol: 014 = Document has no content in target category
Text Symbol: 013 = Document does not exist in target category
Text Symbol: 012 = Source and target categories use the same repository
Text Symbol: 011 = Target category not suitable or does not exist
Text Symbol: 010 = Document has no content
Text Symbol: 009 = Document does not exist
Text Symbol: 008 = Changed successfully
Text Symbol: 007 = Unexpected error
Text Symbol: 006 = Result
Text Symbol: 005 = PHIO ID
Text Symbol: 004 = PHIO Class
Text Symbol: 003 = Change Document Protection of Physical Documents
Text Symbol: 002 = Specify Document Area or PHIO Class
Text Symbol: 001 = Source and target categories must be different
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SDOK_CLASS_FIND_BY_QUERY call function 'SDOK_CLASS_FIND_BY_QUERY' exporting * OBJECT_CLASS = '*' x_no_loio_classes = 'X' * X_NO_PHIO_CLASSES = ' ' x_no_rela_classes = 'X' tables query = class_query result = classes exceptions bad_query = 1 not_authorized = 2 others = 3 .
SDOK_PHIO_FIND_BY_QUERY call function 'SDOK_PHIO_FIND_BY_QUERY' exporting object_class = classes-class * CLIENT = SY-MANDT tables query = phio_query * INPUT_PHIOS = result = phios * PROPERTIES_REQUEST = * PROPERTIES_RESULT = exceptions bad_class = 1 bad_query = 2 not_authorized = 3 others = 4.
SDOK_PHIO_MODIFY_CONTENT_INFO CALL FUNCTION 'SDOK_PHIO_MODIFY_CONTENT_INFO' EXPORTING OBJECT_ID = phios DESTINATION = p_catdst * CLIENT = SY-MANDT DST_DOC_PROT = p_new_dp * TABLES * MOD_COMPINFO = EXCEPTIONS NOT_EXISTING = 1 NOT_AUTHORIZED = 2 NO_CONTENT = 3 BAD_STORAGE = 4 SOURCE_EQUAL_DESTINATION = 5 NOT_EXISTING_ON_2ND_RELOC = 6 NOT_AUTHORIZED_ON_2ND_RELOC = 7 NO_CONTENT_ON_2ND_RELOC = 8 BAD_STORAGE_ON_2ND_RELOC = 9 SOURCE_EQUAL_DESTINATION_2REL = 10 DDIC_TABLE_UPDATE_FAILS = 11 OTHERS = 12 .
SDOK_COMMIT call function 'SDOK_COMMIT'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSIR_MODIFY_DOC_PROTECTION - RSIRMODIFYDOCPROTECTION RSIR_MODIFY_DOC_PROTECTION - RSIRMODIFYDOCPROTECTION RSIR_MIME_TRANSLATE_CHECK - Check for Inconsistencies in Language Properties in MIME Repository RSIR_MIME_TRANSLATE_CHECK - Check for Inconsistencies in Language Properties in MIME Repository RSIR_MIME_EXPIRY_CLEANUP - Cleanup of Expiry Times in MIME Repository RSIR_MIME_EXPIRY_CLEANUP - Cleanup of Expiry Times in MIME Repository