SAP Reports / Programs | Plant Maintenance | Maintenance Processing | Maintenance Orders(PM-WOC-MO) SAP PM

/MRSS/SGE_ASG_DATA_MIGRATION SAP ABAP Report - Migrate assignments from WFM Core to MRS Basis







/MRSS/SGE_ASG_DATA_MIGRATION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used for the migration of assignments from WFM Core to MRS Basis...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 /MRSS/SGE_ASG_DATA_MIGRATION 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 /MRSS/SGE_ASG_DATA_MIGRATION. "Basic submit
SUBMIT /MRSS/SGE_ASG_DATA_MIGRATION AND RETURN. "Return to original report after report execution complete
SUBMIT /MRSS/SGE_ASG_DATA_MIGRATION 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: SO_ORDER = Order Number
Selection Text: SO_DATE = Selection interval
Selection Text: P_SR_SYS = Source Logical System
Selection Text: P_SIM = Simulation mode
Selection Text: P_PKT_SZ = Transfer packet size
Selection Text: P_PACKET = Packet Size for transfer
Selection Text: P_OWNRFC = Own RFC Destination
Selection Text: P_NOLIST = No List output
Selection Text: P_INT_SZ = Interval step size
Selection Text: P_FLOG = Log migration status in file
Selection Text: P_FINCL = Include Orders from File
Selection Text: P_FEXCL = Exclude Orders from File
Title: Migrate assignments from WFM Core to MRS Basis
Text Symbol: 030 = WFM and MRS Buffers cleared.
Text Symbol: 029 = Could not save. Error occured. Note down the assignment keys and transfer again.
Text Symbol: 028 = Saving successful
Text Symbol: 027 = Saving changes in MRS Basis....
Text Symbol: 026 = successfully transferred.
Text Symbol: 025 = Assignment:
Text Symbol: 024 = **************************************
Text Symbol: 023 = Following messages are returned:
Text Symbol: 022 = failed.
Text Symbol: 021 = Transfer of assignment:
Text Symbol: 020 = *********** ERROR !!! ***************
Text Symbol: 019 = Transfer of Assignments into MRS started....
Text Symbol: 018 = Reading Assignments for Demands from WFM....
Text Symbol: 017 = *&------ Transfer of packet ended -------&*
Text Symbol: 016 = *&------ Transfer of packet started -------&*
Text Symbol: 015 = Advanced options
Text Symbol: 014 = Results of assignment migration
Text Symbol: 013 = Created By
Text Symbol: 012 = Duration
Text Symbol: 011 = End Timestamp
Text Symbol: 010 = Begin Timestamp
Text Symbol: 009 = Demand Key
Text Symbol: 008 = Description
Text Symbol: 007 = Assignment Key
Text Symbol: 006 = Transfer Result





Text Symbol: 005 = End date cannot be less than start date
Text Symbol: 004 = Field is a mandatory field
Text Symbol: 003 = Maintained value is above the maximum
Text Symbol: 002 = Maintained value is below the minimum
Text Symbol: 001 = Parameters for migration


INCLUDES used within this REPORT /MRSS/SGE_ASG_DATA_MIGRATION

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:

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = -low IMPORTING output = lv_aufnr.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = -high IMPORTING output = lv_aufnr.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = -low IMPORTING output = lv_aufnr.

SX_MESSAGE_TEXT_BUILD CALL FUNCTION 'SX_MESSAGE_TEXT_BUILD' EXPORTING msgid = ls_message-id msgnr = ls_message-number msgv1 = ls_message-message_v1 msgv2 = ls_message-message_v2 msgv3 = ls_message-message_v3 msgv4 = ls_message-message_v4 IMPORTING message_text_output = lv_text.



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 /MRSS/SGE_ASG_DATA_MIGRATION or its description.