SAP Reports / Programs | Supplier Relationship Management | Enterprise Buyer | User Maintenance(SRM-EBP-ADM-USR) SAP SRM

SAPMWS10000037F SAP ABAP INCLUDE - Include SAPMWS10000037F -> Mod. pool SAPMWS10000037







SAPMWS10000037F 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 SAPMWS10000037F 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 SAPMWS10000037F. "Basic submit
SUBMIT SAPMWS10000037F AND RETURN. "Return to original report after report execution complete
SUBMIT SAPMWS10000037F 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 SAPMWS10000037F -> Mod. pool SAPMWS10000037


INCLUDES used within this REPORT SAPMWS10000037F

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:

SWU_SET_CUA_STATUS CALL FUNCTION 'SWU_SET_CUA_STATUS' EXPORTING i_pf_status = 'DYNPRO' i_titelbar = 'DYN' i_par_titel_1 = pdtask-stext TABLES I_T_EXCLUDE_FCODES = t_exclude_fcodes.

SWO_DIALOG_OBJECT_KEY_EDIT CALL FUNCTION 'SWO_DIALOG_OBJECT_KEY_EDIT' EXPORTING objtype = dynpros-object OBJKEY = L_OBJECT_PERSISTENT-OBJKEY IMPORTING return = l_return OBJKEY = L_OBJECT_PERSISTENT-OBJKEY.

SWO_CREATE CALL FUNCTION 'SWO_CREATE' EXPORTING OBJTYPE = DYNPROS-OBJECT OBJKEY = L_OBJECT_PERSISTENT-OBJKEY IMPORTING OBJECT = L_OBJECT_TRANSIENT RETURN = L_RETURN.

SWO_OBJECT_ID_GET CALL FUNCTION 'SWO_OBJECT_ID_GET' EXPORTING OBJECT = L_OBJECT_TRANSIENT IMPORTING RETURN = L_RETURN OBJID = L_OBJECT_PERSISTENT.

SWO_DIALOG_OBJTYPE_VAL_REQUEST CALL FUNCTION 'SWO_DIALOG_OBJTYPE_VAL_REQUEST' EXPORTING released = 'X' with_areas = SPACE IMPORTING objtype = l_objtype.

SWU_DIALOG_GET_DEADLINE CALL FUNCTION 'SWU_DIALOG_GET_DEADLINE' EXPORTING desired_start_date = desired_start_date desired_start_time = desired_start_time latest_start_date = latest_start_date latest_start_time = latest_start_time desired_end_date = desired_end_date desired_end_time = desired_end_time latest_end_date = latest_end_date latest_end_time = latest_end_time IMPORTING desired_start_date = desired_start_date desired_start_time = desired_start_time latest_start_date = latest_start_date latest_start_time = latest_start_time desired_end_date = desired_end_date desired_end_time = desired_end_time latest_end_date = latest_end_date latest_end_time = latest_end_time.

RH_GET_TASK_CONTAINER call function 'RH_GET_TASK_CONTAINER' EXPORTING act_object_ext = task TABLES act_cont_def = cont_def EXCEPTIONS container_not_found = 01 no_active_plvar = 02 others = 99.

SWC_CONT_CHECK CALL FUNCTION 'SWC_CONT_CHECK' IMPORTING return = check_return TABLES container = wi_container contdef = cont_def.

RH_GET_WORKITEM_TYPE CALL FUNCTION 'RH_GET_WORKITEM_TYPE' EXPORTING task_object = task IMPORTING wi_type = workitem_type.

RH_GET_TASK_TERM_EVENTS CALL FUNCTION 'RH_GET_TASK_TERM_EVENTS' EXPORTING act_task = task TABLES act_events = event_list EXCEPTIONS no_events_found = 01.

SWW_WI_START CALL FUNCTION 'SWW_WI_START' exporting * CALLBACK_FB = ' ' * * CHECKED_WI = NO_ID * * CONFIRM = ' ' * creator = creator * DESIRED_END_ACTION = TSWW-WI_DEF_DH_ACT * desired_end_date = desired_end_date desired_end_time = desired_end_time desired_start_date = desired_start_date desired_start_time = desired_start_time language = sy-langu * LATEST_END_ACTION = TSWW-WI_DEF_DH_ACT * latest_end_date = latest_end_date * LATEST_END_ESCALATION = NO_ESC * latest_end_time = latest_end_time * LATEST_START_ACTION = TSWW-WI_DEF_DH_ACT * latest_start_date = latest_start_date latest_start_time = latest_start_time * MAX_EVENT_COUNT = EI_DEF_MAX_EVT_CNT * * ORG_UNIT = ' ' * priority = priority task = task workitem_type = workitem_type * DO_COMMIT = 'X' * * DO_SYNC_CALLBACK = ' ' * * TEXT = ' ' * * DO_SYNC_WI_CHAIN = ' ' * called_in_background = 'X' importing wi_id = wi_id * WI_HEADER = * * RETURN = * wi_result = wi_result tables agents = swh_agents * deadline_agents = swh_le_agents * * desired_end_agents = swh_de_agents * * latest_start_agents = swh_ls_agetns * * excluded_agents = swh_eagents * * notification_agents = swh_nagents * * secondary_methods = sec_method_list * wi_container = wi_container comp_events = comp_events exceptions id_not_created = 01 read_failed = 02 immediate_start_not_possible = 03 execution_failed = 04 invalid_status = 05 others = 99.

SWW_WI_STATUS_TEXT_GET CALL FUNCTION 'SWW_WI_STATUS_TEXT_GET' EXPORTING language = sy-langu status = wi_status TABLES statustext = statustext EXCEPTIONS read_failed = 1.

SWW_WI_STATUS_TEXT_GET CALL FUNCTION 'SWW_WI_STATUS_TEXT_GET' EXPORTING language = sy-langu status = wi_status TABLES statustext = statustext EXCEPTIONS read_failed = 1.

SWU_SET_CUA_STATUS CALL FUNCTION 'SWU_SET_CUA_STATUS' EXPORTING i_pf_status = 'DYNPRO' TABLES I_T_EXCLUDE_FCODES = t_exclude_fcodes.

SWU_SET_CUA_STATUS CALL FUNCTION 'SWU_SET_CUA_STATUS' EXPORTING i_pf_status = 'DYNPRO' TABLES I_T_EXCLUDE_FCODES = t_exclude_fcodes.

HELP_OBJECT_SHOW_FOR_FIELD CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD' EXPORTING doklangu = syst-langu doktitle = l_title called_by_program = syst-cprog called_by_dynp = syst-dynnr called_for_tab = p_table called_for_field = p_field called_for_tab_fld_btch_input = p_dynpfield called_by_cuaprog = sy-cprog called_by_cuastat = sy-pfkey merge_dz_if_available = 'X' TABLES links = l_links EXCEPTIONS object_not_found = 1 sapscript_error = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr translate_to_upper = space request = space TABLES dynpfields = dy_field EXCEPTIONS invalid_abapworkarea = 1 invalid_request = 2 no_fielddescription = 3 undefind_error = 4.

SWU_GET_VAL_FOR_MC_SEARK_FIELD CALL FUNCTION 'SWU_GET_VAL_FOR_MC_SEARK_FIELD' EXPORTING i_table = p_table i_field = p_field i_selstr = l_seark IMPORTING e_value = dy_field-fieldvalue EXCEPTIONS not_found = 1 invalid_value = 2 user_cancel = 3.

HELP_VALUES_GET





CALL FUNCTION 'HELP_VALUES_GET' EXPORTING display = space fieldname = p_field input_value = l_seark tabname = p_table show_all_values_at_first_time = space IMPORTING select_value = dy_field-fieldvalue.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dy_field EXCEPTIONS invalid_abapworkarea = 1 invalid_request = 2 no_fielddescription = 3 undefind_error = 4 others = 99.

SWW_WI_CONTAINER_READ CALL FUNCTION 'SWW_WI_CONTAINER_READ' EXPORTING wi_id = wi_id * READ_FOR_UPDATE = ' ' * TABLES wi_container = wi_container EXCEPTIONS container_does_not_exist = 1 "message from function others = 99.

SWU_PROCESS_CONTAINER CALL FUNCTION 'SWU_PROCESS_CONTAINER' EXPORTING task = task wi_id = wi_id proc_state = proc_state IMPORTING return_code = return_code TABLES container = wi_container message_lines = message_lines EXCEPTIONS others = 99.

SWU_SET_CUA_STATUS CALL FUNCTION 'SWU_SET_CUA_STATUS' EXPORTING i_pf_status = 'DYNPRO' TABLES I_T_EXCLUDE_FCODES = t_exclude_fcodes.

SWU_SET_CUA_STATUS CALL FUNCTION 'SWU_SET_CUA_STATUS' EXPORTING i_pf_status = 'DYNPRO' TABLES I_T_EXCLUDE_FCODES = t_exclude_fcodes.

SWU_SPLIT_MESSAGE_LINE CALL FUNCTION 'SWU_SPLIT_MESSAGE_LINE' EXPORTING long_line = message_lines-line IMPORTING short_line_1 = message_line1 short_line_2 = message_line2 short_line_3 = message_line3 EXCEPTIONS OTHERS = 99.

RH_TASK_INIT_BINDING_GET CALL FUNCTION 'RH_TASK_INIT_BINDING_GET' EXPORTING act_task = l_task * ACT_PLVAR = ' ' * * SEARCH_DATE = SY-DATUM * TABLES init_bind_def = l_initial_binding_definition EXCEPTIONS no_active_plvar = 01 task_not_valid = 02 OTHERS = 99.

SWA_CONT_BIND_EXECUTE CALL FUNCTION 'SWA_CONT_BIND_EXECUTE' EXPORTING * CALLING_LOOPINDEX = ' ' * dataflow = 'E' " export * NOT_OVERWRITE_ELEMENTS = ' ' * IMPORTING errorcount = l_errorcount worst_msgtype = l_worst_msgtype TABLES bindefinition = l_initial_binding_definition called_cont = wi_container * CALLING_CONT = * error = l_init_bind_errors EXCEPTIONS no_bindefinition = 01 OTHERS = 99.

RH_INBOX_VIEW_BUFFER_REFRESH CALL FUNCTION 'RH_INBOX_VIEW_BUFFER_REFRESH' EXCEPTIONS OTHERS = 99.

SWL_WI_DISPLAY CALL FUNCTION 'SWL_WI_DISPLAY' EXPORTING wi_id = wi_id EXCEPTIONS read_failed = 1.



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