SAP Reports / Programs | Production Planning and Control | Production Planning for Process Industries | Process Management(PP-PI-PMA) SAP PP

ICMXXSRIMP04 SAP ABAP INCLUDE - documentation and ABAP source code







ICMXXSRIMP04 is a standard ABAP INCLUDE 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 ICMXXSRIMP04 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 ICMXXSRIMP04. "Basic submit
SUBMIT ICMXXSRIMP04 AND RETURN. "Return to original report after report execution complete
SUBMIT ICMXXSRIMP04 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT ICMXXSRIMP04

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:

CRM_STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'CRM_STATUS_CHANGE_FOR_ACTIVITY' EXPORTING check_only = 'X' objnr = m_status_obj_id vrgng = action EXCEPTIONS activity_not_allowed = 1 object_not_found = 2 status_inconsistent = 3 status_not_allowed = 4 wrong_input = 5 warning_occured = 6 OTHERS = 7.

CRM_STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'CRM_STATUS_CHANGE_FOR_ACTIVITY' EXPORTING check_only = ' ' objnr = m_status_obj_id vrgng = action EXCEPTIONS activity_not_allowed = 1 object_not_found = 2 status_inconsistent = 3 status_not_allowed = 4 wrong_input = 5 warning_occured = 6 OTHERS = 7.

CRM_STATUS_READ CALL FUNCTION 'CRM_STATUS_READ' EXPORTING objnr = m_status_obj_id only_active = 'X' IMPORTING stsma = l_stsma TABLES status = lt_status EXCEPTIONS object_not_found = 1 OTHERS = 2.

CRM_STATUS_NUMBER_CONVERSION CALL FUNCTION 'CRM_STATUS_NUMBER_CONVERSION' EXPORTING language = sy-langu objnr = m_status_obj_id status_number = lw_status-stat stsma = l_stsma IMPORTING txt04 = lw_xsr_state-status_short_text txt30 = lw_xsr_state-status_text EXCEPTIONS insufficient_input = 1 object_not_found = 2 status_not_found = 3 stsma_not_found = 4 OTHERS = 5.

CRM_STATUS_OBJECT_READ CALL FUNCTION 'CRM_STATUS_OBJECT_READ' EXPORTING objnr = status_obj_id EXCEPTIONS object_not_found = 1 OTHERS = 2.

CRM_STATUS_CHECK CALL FUNCTION 'CRM_STATUS_CHECK' EXPORTING objnr = m_status_obj_id status = state EXCEPTIONS object_not_found = 1 status_not_active = 2 OTHERS = 3.

CRM_STATUS_CHANGE_INTERN CALL FUNCTION 'CRM_STATUS_CHANGE_INTERN' EXPORTING objnr = m_status_obj_id TABLES status = lt_status EXCEPTIONS object_not_found = 1 status_inconsistent = 2 status_not_allowed = 3 OTHERS = 4.

CRM_STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'CRM_STATUS_CHANGE_FOR_ACTIVITY' EXPORTING check_only = 'X' objnr = m_status_obj_id vrgng = action EXCEPTIONS activity_not_allowed = 1 object_not_found = 2 status_inconsistent = 3 status_not_allowed = 4 wrong_input = 5 warning_occured = 6 OTHERS = 7.

CRM_STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'CRM_STATUS_CHANGE_FOR_ACTIVITY' EXPORTING check_only = ' ' objnr = m_status_obj_id vrgng = l_action EXCEPTIONS activity_not_allowed = 1 object_not_found = 2 status_inconsistent = 3 status_not_allowed = 4 wrong_input = 5 warning_occured = 6 OTHERS = 7.

CRM_STATUS_CHANGE_INTERN CALL FUNCTION 'CRM_STATUS_CHANGE_INTERN' EXPORTING objnr = m_status_obj_id TABLES status = lt_state_dsig EXCEPTIONS object_not_found = 1 status_inconsistent = 2 status_not_allowed = 3 OTHERS = 4.

CRM_STATUS_DELETE_FROM_BUFFER CALL FUNCTION 'CRM_STATUS_DELETE_FROM_BUFFER' EXPORTING objnr = m_status_obj_id.



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