SAP Reports / Programs | Business Package for Manager Self-Service (FI) | Portal Content | Business Package for Manager Self-Service (FI)(EP-PCT-MGR-CO) SAP EP

FPB_MIGRATE_RULES SAP ABAP Report - Migration of Rules from MSSMyBudget







FPB_MIGRATE_RULES 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 FPB_MIGRATE_RULES into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FPB_MIGRATE_RULES - Migrate Rules of Monitors


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 FPB_MIGRATE_RULES. "Basic submit
SUBMIT FPB_MIGRATE_RULES AND RETURN. "Return to original report after report execution complete
SUBMIT FPB_MIGRATE_RULES 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_MIGR = Migration of Rules
Title: Migration of Rules from MSSMyBudget


INCLUDES used within this REPORT FPB_MIGRATE_RULES

INCLUDE FPB_MIGRATE_RULES_TOP . " GLOBAL DATA


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:

FPB_ADMRULE_VAR_SAVE CALL FUNCTION 'FPB_ADMRULE_VAR_SAVE' EXPORTING ID_MONAPPL = ld_monappl * ID_RULEID = ID_RULENAME = ls_ccmon_rule-name ID_KFSPEC1 = ld_kfspec1 ID_KFSPEC2 = ld_kfspec2 ID_LIMITREL = ld_limitrel ID_LIMITABS = ld_limitabs ID_WAERS = ls_ccmon_rule-waers ID_SIGN = ls_ccmon_rule-operator ID_TIMERANGE = ld_timerange * IMPORTING * ED_RULEID = TABLES IT_OBJECT = lt_object IT_KFSPECGL = lt_kfspecgl ET_RETURN = lt_return.

FPB_RULE_VAR_SAVE CALL FUNCTION 'FPB_RULE_VAR_SAVE' EXPORTING ID_MONAPPL = ld_monappl ID_UNAME = ls_ccmon_rule-uname * ID_RULEID = ID_RULENAME = ls_ccmon_rule-name ID_KFSPEC1 = ld_kfspec1 ID_KFSPEC2 = ld_kfspec2 ID_LIMITREL = ld_limitrel ID_LIMITABS = ld_limitabs ID_WAERS = ls_ccmon_rule-waers ID_SIGN = ls_ccmon_rule-operator ID_TIMERANGE = ld_timerange * ID_ADMINRULE = * ID_UNCHANGEABLE = * IMPORTING * ED_RULEID = TABLES IT_OBJECT = lt_object IT_KFSPECGL = lt_kfspecgl ET_RETURN = lt_return.

RKE_TIMESTAMP_CONVERT_OUTPUT CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_OUTPUT' EXPORTING i_dayst = sy-dayst i_timestmp = ls_ccmon_rule-confstamp i_tzone = sy-tzone IMPORTING e_date = l_date.

FPB_ADMRULE_LIN_SAVE CALL FUNCTION 'FPB_ADMRULE_LIN_SAVE' EXPORTING id_monappl = ld_monappl * id_ruleid = gd_ruleid id_rulename = ls_ccmon_rule-name id_kfspec = '04' id_limit = ls_ccmon_rule-EXC_VALUE id_waers = ls_ccmon_rule-waers id_sign = ls_ccmon_rule-operator id_timestamp = l_date * IMPORTING * ed_ruleid = gd_ruleid TABLES it_object = lt_object it_kfspecgl = lt_kfspecgl et_return = lt_return.

FPB_RULE_LIN_SAVE CALL FUNCTION 'FPB_RULE_LIN_SAVE' EXPORTING ID_MONAPPL = ld_monappl ID_UNAME = ls_ccmon_rule-uname * ID_RULEID = ID_RULENAME = ls_ccmon_rule-name ID_KFSPEC = '04' ID_LIMIT = ls_ccmon_rule-exc_value ID_SIGN = ls_ccmon_rule-operator ID_TIMESTAMP = l_date ID_WAERS = ls_ccmon_rule-waers * IMPORTING * ED_RULEID = TABLES IT_OBJECT = lt_object IT_KFSPECGL = lt_kfspecgl ET_RETURN = lt_return.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = * I_INTERNAL_TABNAME = I_STRUCTURE_NAME = 'MPO_CCMON_ALERT_RULE' * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING CT_FIELDCAT = lt_fieldcat EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3 .

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' * I_CALLBACK_PROGRAM = ' ' * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = * IS_LAYOUT = IT_FIELDCAT = lt_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = 0 * I_HTML_HEIGHT_END = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = * IR_SALV_FULLSCREEN_ADAPTER = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = lt_ccmon_rule EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.



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