SAP Reports / Programs | Cross-Application Components(CA) SAP CA

MPO_CCPOS_ALERT_GENERATE SAP ABAP Report - Generates messages for postings on cost centers for the MiniApp







MPO_CCPOS_ALERT_GENERATE 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 MPO_CCPOS_ALERT_GENERATE 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

MPOCCPOSALERT - Write Extracts for Line Items


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 MPO_CCPOS_ALERT_GENERATE. "Basic submit
SUBMIT MPO_CCPOS_ALERT_GENERATE AND RETURN. "Return to original report after report execution complete
SUBMIT MPO_CCPOS_ALERT_GENERATE 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_DATE = Last access after
Selection Text: P_DELETE = Delete: Last access before
Selection Text: P_MAXSEL = D Maximum Number of Hits
Selection Text: P_SAVE = Save extract
Selection Text: P_USER = D User
Title: Generates messages for postings on cost centers for the MiniApp


INCLUDES used within this REPORT MPO_CCPOS_ALERT_GENERATE

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:

SUSR_USER_CHECK_EXISTENCE CALL FUNCTION 'SUSR_USER_CHECK_EXISTENCE' EXPORTING user_name = p_user "#EC DOM_EQUAL EXCEPTIONS user_name_not_exists = 1 * OTHERS = 2 .

CK_EXTRACT_DELETE_OLD CALL FUNCTION 'CK_EXTRACT_DELETE_OLD' EXPORTING I_REPORT = l_repid I_VARIANT = SPACE I_DISPLAY_DATE = p_delete EXCEPTIONS OTHERS = 1.

CK_EXTRACT_USERS_GET CALL FUNCTION 'CK_EXTRACT_USERS_GET' EXPORTING I_REPORT = l_repid I_VARIANT = SPACE I_DISPLAY_DATE = p_date TABLES ET_USERS = lt_users EXCEPTIONS OTHERS = 1.

MPO_CCMON_RULES_GET CALL FUNCTION 'MPO_CCMON_RULES_GET' EXPORTING i_uname = ls_users-user i_exc_type = mccmt_rule_exc_type-pos TABLES et_rules = lt_rules.

MPO_CCMONITOR_EVAL_POS CALL FUNCTION 'MPO_CCMONITOR_EVAL_POS' TABLES ct_rules = lt_all_rules et_alerts = lt_alert_storage.

CK_EXTRACT_SAVE CALL FUNCTION 'CK_EXTRACT_SAVE' EXPORTING i_report = l_repid "#EC DOM_EQUAL i_variant = SPACE i_user = l_user i_strucname = 'MPO_CCPOS_ALERT_STORAGE' i_cut_off = l_cut_off TABLES it_table = lt_alert_per_user.

CK_EXTRACT_SET_EVAL_TIME CALL FUNCTION 'CK_EXTRACT_SET_EVAL_TIME' EXPORTING I_REPORT = 'MPO_CCPOS_ALERT_GENERATE' I_VARIANT = SPACE I_USER = p_user i_EVAL_DATE = l_date I_EVAL_TIME = l_time EXCEPTIONS EXTRACT_NOT_FOUND = 1 FAILED = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'MPO_CCPOS_ALERT_STORAGE' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS OTHERS = 0.

REUSE_MINIALV_LIST_DISPLAY CALL FUNCTION 'REUSE_MINIALV_LIST_DISPLAY' EXPORTING it_fieldcat = lt_fieldcat is_variant = ls_variant i_save = 'A' TABLES t_outtab = lt_alert_storage.



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