SAP Reports / Programs | Cross-Application Components | WebClient UI | Web Services Tool(CA-WUI-WST) SAP CA

CRMOST_SIMPLE_EVENT_RECEIVER SAP ABAP INCLUDE - Include CRMOST_SIMPLE_EVENT_RECEIVER







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


Text pool values


Title: Include CRMOST_SIMPLE_EVENT_RECEIVER


INCLUDES used within this REPORT CRMOST_SIMPLE_EVENT_RECEIVER

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:

RS_DD_SHOW CALL FUNCTION 'RS_DD_SHOW' EXPORTING objname = l_objname objtype = l_objtype * POPUP = ' ' * SECNAME = * MONITOR_ACTIVATE = 'X' * IMPORTING * FCODE = EXCEPTIONS object_not_found = 1 object_not_specified = 2 permission_failure = 3 type_not_valid = 4 OTHERS = 5 .

RS_TOOL_ACCESS CALL FUNCTION 'RS_TOOL_ACCESS' EXPORTING operation = 'SHOW' object_name = ls_crmost_genstatus-abap_obj_name object_type = 'FUNC' * ENCLOSING_OBJECT = ENCLOSING_OBJECT * POSITION = ' ' * DEVCLASS = DEVCLASS * INCLUDE = INCLUDE * VERSION = ' ' * MONITOR_ACTIVATION = 'X' * WB_MANAGER = WB_MANAGER * IN_NEW_WINDOW = IN_NEW_WINDOW * WITH_OBJECTLIST = ' ' * WITH_WORKLIST = ' ' * IMPORTING * NEW_NAME = NEW_NAME * WB_TODO_REQUEST = WB_TODO_REQUEST * TABLES * OBJLIST = OBJLIST * CHANGING * P_REQUEST = ' ' EXCEPTIONS not_executed = 1 invalid_object_type = 2 OTHERS = 3.

RS_TOOL_ACCESS CALL FUNCTION 'RS_TOOL_ACCESS' EXPORTING operation = 'SHOW' object_name = ls_crmost_genstatus-abap_obj_name object_type = 'FUGR' * ENCLOSING_OBJECT = ENCLOSING_OBJECT * POSITION = ' ' * DEVCLASS = DEVCLASS * INCLUDE = INCLUDE * VERSION = ' ' * MONITOR_ACTIVATION = 'X' * WB_MANAGER = WB_MANAGER * IN_NEW_WINDOW = IN_NEW_WINDOW * WITH_OBJECTLIST = ' ' * WITH_WORKLIST = ' ' * IMPORTING * NEW_NAME = NEW_NAME * WB_TODO_REQUEST = WB_TODO_REQUEST * TABLES * OBJLIST = OBJLIST * CHANGING * P_REQUEST = ' ' EXCEPTIONS not_executed = 1 invalid_object_type = 2 OTHERS = 3.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'CRMOST' msgty = 'I' msgv1 = ls_service_object-object_type txtnr = 157 zeile = l_line EXCEPTIONS OTHERS = 0.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'CRMOST' msgty = 'I' msgv1 = 'Generation done'(034) txtnr = 000 zeile = l_line EXCEPTIONS OTHERS = 0.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'CRMOST' msgty = 'I' msgv1 = ls_service_object-object_type txtnr = 157 zeile = l_line EXCEPTIONS OTHERS = 0.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'CRMOST' msgty = 'I' msgv1 = 'Generation done'(034) txtnr = 000 zeile = l_line EXCEPTIONS OTHERS = 0.

TRFC_SET_QUEUE_NAME CALL FUNCTION 'TRFC_SET_QUEUE_NAME' EXPORTING qname = l_queuename * nosend = 'S' EXCEPTIONS invalid_queue_name = 1 error_message = 2 OTHERS = 3.

CRMOST_GENERATE_OBJECT CALL FUNCTION 'CRMOST_GENERATE_OBJECT' "#EC ENHOK IN BACKGROUND TASK AS SEPARATE UNIT EXPORTING i_release_ws_runtime = 'X' * I_AFTERIMPORT = ' ' * I_SET_ERROR_FLAG = ' ' CHANGING cv_service_object = ls_service_object. "#EC ENHOK

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'CRMC_OST_SRV_OBJ' fieldname = 'OBJECT_TYPE' searchhelp = 'CRMOST_SRV_OBJECTS' shlpparam = 'OBJECT_TYPE' * dynpprog = sy-repid * dynpnr = sy-dynnr * dynprofield = 'service_obj' * STEPL = 0 * VALUE = ' ' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * SUPPRESS_RECORDLIST = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' * SELECTION_SCREEN = ' ' TABLES return_tab = lt_return_tab EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5.

CRMOST_EXPORT_OBJ CALL FUNCTION 'CRMOST_EXPORT_OBJ' EXPORTING i_object_type = l_service_object_exp.

CRMOST_IMPORT_OBJ CALL FUNCTION 'CRMOST_IMPORT_OBJ' * EXPORTING * FORCE_UPDATE = '' IMPORTING et_bapirettab = lt_bapirettab.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'CRMOST' msgty = 'I' msgv1 = ls_crmost_genstatus-service_object msgv2 = ls_crmost_genstatus-task txtnr = 109 zeile = 1 EXCEPTIONS OTHERS = 0.

CRMOST_FILL_BAPIRET CALL FUNCTION 'CRMOST_FILL_BAPIRET' EXPORTING type = 'E' cl = 'CRMOST' number = 109 par1 = ls_crmost_genstatus-service_object par2 = ls_crmost_genstatus-task IMPORTING bapireturn = l_bapireturn.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'CRMOST' msgty = 'I' msgv1 = ls_crmost_genstatus-service_object msgv2 = ls_crmost_genstatus-task txtnr = 109 zeile = 1 EXCEPTIONS OTHERS = 0.

CRMOST_FILL_BAPIRET CALL FUNCTION 'CRMOST_FILL_BAPIRET' EXPORTING type = 'E' cl = 'CRMOST' number = 109 par1 = ls_crmost_genstatus-service_object par2 = ls_crmost_genstatus-task IMPORTING bapireturn = l_bapireturn.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Confirmation'(013) * diagnose_object = text_question = 'Do you really want to delete the generated objects?'(012) * 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 = l_rc * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2.

CRMOST_FILL_BAPIRET CALL FUNCTION 'CRMOST_FILL_BAPIRET' EXPORTING type = 'E' cl = 'CRMOST' number = 161 par1 = ls_crmost_genstatus-service_object par2 = ls_crmost_genstatus-task IMPORTING bapireturn = l_bapireturn.

CRMOST_FILL_BAPIRET





CALL FUNCTION 'CRMOST_FILL_BAPIRET' EXPORTING type = 'E' cl = 'CRMOST' number = 161 par1 = ls_crmost_genstatus-service_object par2 = ls_crmost_genstatus-task IMPORTING bapireturn = l_bapireturn.

CRMOST_FILL_BAPIRET CALL FUNCTION 'CRMOST_FILL_BAPIRET' EXPORTING type = 'S' cl = 'CRMOST' number = 610 IMPORTING bapireturn = l_bapireturn.

CRMOST_GENERATE_VIA_RFC CALL FUNCTION 'CRMOST_GENERATE_VIA_RFC' * DESTINATION g_destination EXPORTING iv_object_name = ls_crmost_genstatus-service_object iv_destination = g_destination IMPORTING et_bapireturn = lt_error.

CRMOST_FILL_BAPIRET CALL FUNCTION 'CRMOST_FILL_BAPIRET' EXPORTING type = 'S' cl = 'CRMOST' number = 610 IMPORTING bapireturn = l_bapireturn.

CRMOST_CHECK_DEPENDENCIES CALL FUNCTION 'CRMOST_CHECK_DEPENDENCIES' EXPORTING iv_service_object = ls_crmost_genstatus-service_object IMPORTING et_messages = lt_messages.



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