SAP Reports / Programs

FPB_ADMINRULES_COPIED_TO_USERS SAP ABAP Report - FPBADMINRULESCOPIEDTOUSERS







FPB_ADMINRULES_COPIED_TO_USERS 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_ADMINRULES_COPIED_TO_USERS 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 FPB_ADMINRULES_COPIED_TO_USERS. "Basic submit
SUBMIT FPB_ADMINRULES_COPIED_TO_USERS AND RETURN. "Return to original report after report execution complete
SUBMIT FPB_ADMINRULES_COPIED_TO_USERS 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_MTYPE = Monitor Type
Selection Text: P_MAPPL = D .
Selection Text: R_RULEID = D .
Text Symbol: 001 = Assignment of Rules to Users for Variances on Cost Centers
Text Symbol: 002 = Assignment of Rules to Users for Variances on Internal Orders
Text Symbol: 003 = Assignment of Rules to Users for Variances on Profit Centers
Text Symbol: 004 = Assignment of Rules for Critical Line Items on Cost Centers
Text Symbol: 005 = Assignment of Rules for Critical Line Items on Internal Orders
Text Symbol: 006 = Assignment of Rules for Critical Line Items on Profit Centers
Text Symbol: 007 = Delete Rules
Text Symbol: 008 = Delete the selected rules?


INCLUDES used within this REPORT FPB_ADMINRULES_COPIED_TO_USERS

INCLUDE FPB_ADMRULES_COPIED_TO_USR_TOP.


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:

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'FPB_LINE_RULES' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = ls_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = 'FPB_ADMINRULES_COPIED_TO_USERS ' i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND_LINE' * 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 = ld_title * I_GRID_SETTINGS = is_layout = ls_layout it_fieldcat = lt_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = 'A' is_variant = ls_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 = gt_line_table EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'FPB_VAR_RULES' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = ls_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = 'FPB_ADMINRULES_COPIED_TO_USERS ' i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND_VAR' * 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 = ld_title * I_GRID_SETTINGS = is_layout = ls_layout it_fieldcat = lt_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = 'A' is_variant = ls_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 = gt_var_table EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-007 * DIAGNOSE_OBJECT = ' ' text_question = text-008 * TEXT_BUTTON_1 = 'Ja'(001) * ICON_BUTTON_1 = ' ' * TEXT_BUTTON_2 = 'Nein'(002) * ICON_BUTTON_2 = ' ' * DEFAULT_BUTTON = '1' * DISPLAY_CANCEL_BUTTON = 'X' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = * IV_QUICKINFO_BUTTON_1 = ' ' * IV_QUICKINFO_BUTTON_2 = ' ' IMPORTING answer = ld_answer * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2 .

FPB_ADMRULE_LINE_DEL_RELATION CALL FUNCTION 'FPB_ADMRULE_LINE_DEL_RELATION' EXPORTING id_monappl = p_mappl id_ruleid = ld_ruleid TABLES it_ruleiduser = lt_ruleiduser * ET_RETURN = et_Ruleiduser = lt_ruleiduser2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-007 * DIAGNOSE_OBJECT = ' ' text_question = text-008 * TEXT_BUTTON_1 = 'Ja'(001) * ICON_BUTTON_1 = ' ' * TEXT_BUTTON_2 = 'Nein'(002) * ICON_BUTTON_2 = ' ' * DEFAULT_BUTTON = '1' * DISPLAY_CANCEL_BUTTON = 'X' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = * IV_QUICKINFO_BUTTON_1 = ' ' * IV_QUICKINFO_BUTTON_2 = ' ' IMPORTING answer = ld_answer * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2 .

FPB_ADMRULE_VAR_DEL_RELATION CALL FUNCTION 'FPB_ADMRULE_VAR_DEL_RELATION' EXPORTING id_monappl = p_mappl id_ruleid = ld_ruleid TABLES it_ruleiduser = lt_ruleiduser * ET_RETURN = et_Ruleiduser = lt_ruleiduser2.



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