SAP Reports / Programs | Cross-Application Components | European Monetary Union: Euro(CA-EUR) SAP CA

DMC_ASSIGN_DOMRULES SAP ABAP Report - MWB: Assignment Proposal for Domain Rules (Mass Transfer)







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


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





Text Symbol: 005 = OrgUnit
Text Symbol: 004 = Owner
Text Symbol: 003 = ConvObject
Text Symbol: 002 = Subproject
Text Symbol: 001 = Project


INCLUDES used within this REPORT DMC_ASSIGN_DOMRULES

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:

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.



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