DMC_ASSIGN_DOMRULES is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program for automatically assigning rules to fields...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter DMC_ASSIGN_DOMRULES 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: S_RULE = D Rule
Selection Text: S_COBJ = D Conversion Object
Selection Text: P_SPROJ = D Subproject
Selection Text: P_SIM = Simulation Mode
Selection Text: P_PROJ = D Project
Selection Text: P_MT_ID = D Mass Transfer ID
Selection Text: P_APPL = D Application
Title: MWB: Assignment Proposal for Domain Rules (Mass Transfer)
Text Symbol: T06 = Criteria for Rule Selection
Text Symbol: T05 = No mode was selected yet
Text Symbol: T04 = Currently Selected Mode:
Text Symbol: T03 = Assignment proposal for ...
Text Symbol: T02 = Options
Text Symbol: T01 = Selection of Migration Objects
Text Symbol: SIM = SIMULATION !
Text Symbol: S07 = Consider all :
Text Symbol: S06 = Sequence of Selection :
Text Symbol: S05 = ConvObject-Specific Rules
Text Symbol: S04 = Subproject-Specific Rules
Text Symbol: S03 = Project-Specific Rules
Text Symbol: S02 = ConvObject rule before subproject rule before project rule
Text Symbol: S01 = Project rule before subproject rule before ConvObject rule
Text Symbol: RUL = Rules Selected for Analysis:
Text Symbol: PRS = Rule Selection
Text Symbol: MO3 = Assignment Proposal for a Mass Transfer
Text Symbol: MO2 = Assignment Proposal for a Set of Conversion Objects
Text Symbol: MO1 = Assignment Proposal for a Complete Subproject
Text Symbol: HLP = Selection of Mass Transfer
Text Symbol: FUN = Proposal for Domain Rule Assignment
Text Symbol: DOT = .....
Text Symbol: BT3 = Mass Transfer
Text Symbol: BT2 = Migration Oject(s)
Text Symbol: BT1 = Subproject
Text Symbol: 104 = Select a subproject
Text Symbol: 103 = Select at least one rule visibility
Text Symbol: 102 = Select one or more migration objects!
Text Symbol: 101 = Select a mass transfer ID
Text Symbol: 100 = Select a mode
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = l_restrict EXCEPTIONS too_late = 1 repeated = 2 selopt_without_options = 3 selopt_without_signs = 4 invalid_sign = 5 empty_option_list = 6 invalid_kind = 7 repeated_kind_a = 8 OTHERS = 9.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'DMC_MT_HEADER' lfieldname = 'ID' IMPORTING dfies_wa = field_wa.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'DMC_MT_HEADER' lfieldname = 'DESCR' IMPORTING dfies_wa = field_wa.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'ID' dynpprog = dyname dynpnr = dynum dynprofield = 'P_MT_ID' window_title = text-hlp value_org = 'S' TABLES value_tab = value_tab field_tab = field_tab.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'DMC_RULE_SELECTION' lfieldname = 'IDENT' IMPORTING dfies_wa = field_wa.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'DMC_RULE_SELECTION' lfieldname = 'OWNER' IMPORTING dfies_wa = field_wa.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'DMC_RULE_SELECTION' lfieldname = 'OWNERTYPE' IMPORTING dfies_wa = field_wa.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'DMC_RULE_SELECTION' lfieldname = 'DESCR' IMPORTING dfies_wa = field_wa.
DDIF_FIELDINFO_GET * CALL FUNCTION 'DDIF_FIELDINFO_GET' * EXPORTING * tabname = 'DMC_RULE' * lfieldname = 'VISIBILITY' * IMPORTING * dfies_wa = field_wa.
DDIF_FIELDINFO_GET * CALL FUNCTION 'DDIF_FIELDINFO_GET' * EXPORTING * tabname = 'DMC_RULE' * lfieldname = 'DESCR' * IMPORTING * dfies_wa = field_wa.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'IDENT' dynpprog = dyname dynpnr = dynum dynprofield = 'S_RULE-LOW' window_title = text-hlp value_org = 'S' TABLES value_tab = value_tab field_tab = field_tab.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
DMC_ASSIGN_DOMRULES - MWB: Assignment Proposal for Domain Rules (Mass Transfer) DMC_ASSIGN_DOMRULES - MWB: Assignment Proposal for Domain Rules (Mass Transfer) DMC_ASSIGN_COBJ_TO_MT - MWB: Assignment of Conversion Objects to a Mass Transfer DMC_ASSIGN_COBJ_TO_MT - MWB: Assignment of Conversion Objects to a Mass Transfer DMC_ASSIGN_ACPLAN_TO_COLL_ACP - assign access plan(s) to a collective access plan DMC_ASSIGN_ACPLAN_TO_COLL_ACP - assign access plan(s) to a collective access plan