SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Document Management Services(BC-SRV-KPR-DMS) SAP BC

RSIR_MODIFY_DOC_PROTECTION SAP ABAP Report - RSIRMODIFYDOCPROTECTION







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


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 RSIR_MODIFY_DOC_PROTECTION. "Basic submit
SUBMIT RSIR_MODIFY_DOC_PROTECTION AND RETURN. "Return to original report after report execution complete
SUBMIT RSIR_MODIFY_DOC_PROTECTION 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: 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


INCLUDES used within this REPORT RSIR_MODIFY_DOC_PROTECTION

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:

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'.



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