SAP Reports / Programs | Supplier Relationship Management | Enterprise Buyer | SRM Enterprise Services(SRM-EBP-ESA) SAP SRM

/SAPSRM/PUR_SEL_MSG_APPL SAP ABAP INCLUDE - Include /SAPSRM/PUR_SEL_MSG_APPL







/SAPSRM/PUR_SEL_MSG_APPL 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 /SAPSRM/PUR_SEL_MSG_APPL 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 /SAPSRM/PUR_SEL_MSG_APPL. "Basic submit
SUBMIT /SAPSRM/PUR_SEL_MSG_APPL AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSRM/PUR_SEL_MSG_APPL 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 /SAPSRM/PUR_SEL_MSG_APPL


INCLUDES used within this REPORT /SAPSRM/PUR_SEL_MSG_APPL

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:

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'SXMSMSGDSP' i_bypassing_buffer = 'X' CHANGING ct_fieldcat = gt_fieldcat.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = alv_save CHANGING cs_variant = alv_variant EXCEPTIONS not_found = 0.

SXMB_GET_STATUS_LIST CALL FUNCTION 'SXMB_GET_STATUS_LIST' EXPORTING im_stat_type = stattype IMPORTING ex_mstat_tab = lt_mstat_tab.

SXMB_SELECT_MESSAGES_NEW CALL FUNCTION 'SXMB_SELECT_MESSAGES_NEW' EXPORTING im_filter = ls_select im_number = l_number im_process_mode = lv_process_mode IMPORTING ex_msgtab = gt_msgtab ex_result = l_result ex_first_ts = l_first_ts EXCEPTIONS persist_error = 1 OTHERS = 2.

SXMB_SELECT_MESSAGES_NEW CALL FUNCTION 'SXMB_SELECT_MESSAGES_NEW' EXPORTING im_filter = ls_select im_number = l_number im_process_mode = lv_process_mode IMPORTING ex_msgtab = lv_msgtab ex_result = l_result ex_first_ts = l_first_ts EXCEPTIONS persist_error = 1 OTHERS = 2.

SWF_XI_MESSAGE_PROCESSES_SHOW CALL FUNCTION 'SWF_XI_MESSAGE_PROCESSES_SHOW' EXPORTING im_msgguid = lv_eoref.

SWF_XI_MESSAGE_PROCESSES_SHOW CALL FUNCTION 'SWF_XI_MESSAGE_PROCESSES_SHOW' EXPORTING im_msgguid = lv_eoref.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-150 text_question = text-151 text_button_1 = 'beibehalten'(152) text_button_2 = 'erhhen'(153) default_button = '1' display_cancel_button = 'X' start_column = 25 start_row = 6 IMPORTING answer = lv_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

SXMB_GET_STATUS_ATTRIBUTES CALL FUNCTION 'SXMB_GET_STATUS_ATTRIBUTES' EXPORTING im_langu = sy-langu im_msgstate = gs_msgtab_ext-msgstate im_icon_convert = space IMPORTING ex_msgstate_attr = lt_msgstate_attr EXCEPTIONS msgstate_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM * CALL FUNCTION 'POPUP_TO_CONFIRM' * EXPORTING * titlebar = text-155 * text_question = text-156 * text_button_1 = 'Ja'(157) * text_button_2 = 'Nein'(158) * default_button = '2' * display_cancel_button = 'X' * start_column = 25 * start_row = 6 * IMPORTING * answer = lv_answer * EXCEPTIONS * text_not_found = 1 * OTHERS = 2.

SXMB_INVOKE_ADMIN_ACTION_INT CALL FUNCTION 'SXMB_INVOKE_ADMIN_ACTION_INT' EXPORTING im_msgs = lt_restart_msgs im_action = 'R' * im_skip_validation = lv_skip_validation im_restart_trace = restart_trace IMPORTING ex_admin_result = lt_result.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = text-109 * textline2 = titel = text-110 * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' IMPORTING answer = lv_answer.

SXMB_GET_STATUS_ATTRIBUTES CALL FUNCTION 'SXMB_GET_STATUS_ATTRIBUTES' EXPORTING im_langu = sy-langu im_msgstate = gs_msgtab_ext-msgstate im_icon_convert = space IMPORTING ex_msgstate_attr = lt_msgstate_attr EXCEPTIONS msgstate_not_found = 1 OTHERS = 2.

SXMB_INVOKE_ADMIN_ACTION_INT CALL FUNCTION 'SXMB_INVOKE_ADMIN_ACTION_INT' EXPORTING im_msgs = lt_accept_msgs im_action = 'C' IMPORTING ex_admin_result = lt_result.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = text-160 * textline2 = titel = text-110 * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' IMPORTING answer = lv_answer.

SXMB_INVOKE_ADMIN_ACTION_INT CALL FUNCTION 'SXMB_INVOKE_ADMIN_ACTION_INT' EXPORTING im_msgs = lt_terminate_msgs im_action = 'T' IMPORTING ex_admin_result = lt_result.

SXMS_UPDATE_MSG_MONI_STATUS CALL FUNCTION 'SXMS_UPDATE_MSG_MONI_STATUS' CHANGING queue_messages = gt_eoref_int adapter_messages = gt_eoref_out.

SXMB_SHOW_ICON_LEGEND CALL FUNCTION 'SXMB_SHOW_ICON_LEGEND'.

SWF_XI_MESSAGE_PROCESSES_SHOW





* CALL FUNCTION 'SWF_XI_MESSAGE_PROCESSES_SHOW' * EXPORTING * im_msgguid = lv_eoref.

SWF_XI_MESSAGE_PROCESSES_SHOW * CALL FUNCTION 'SWF_XI_MESSAGE_PROCESSES_SHOW' * EXPORTING * im_msgguid = lv_eoref.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-wf1 * DIAGNOSE_OBJECT = ' ' text_question = l_text * TEXT_BUTTON_1 = 'Ja' icon_button_1 = '@OQ@' * TEXT_BUTTON_2 = 'Nein' icon_button_2 = '@0W@' * DEFAULT_BUTTON = '1' display_cancel_button = space * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 popup_type = 'ICON_MESSAGE_INFORMATION' * IV_QUICKINFO_BUTTON_1 = ' ' * IV_QUICKINFO_BUTTON_2 = ' ' IMPORTING answer = l_answer * TABLES * PARAMETER = * EXCEPTIONS * TEXT_NOT_FOUND = 1 * OTHERS = 2 .

SWF_XI_BUILDER_PROFILE_SET CALL FUNCTION 'SWF_XI_BUILDER_PROFILE_SET'.

SWD_INVOKE_WORKFLOW_EDITOR CALL FUNCTION 'SWD_INVOKE_WORKFLOW_EDITOR' EXPORTING im_task_id = l_task im_wfdkey = l_wfdkey im_command = 'PRE' EXCEPTIONS OTHERS = 0.

SWL_WI_DISPLAY CALL FUNCTION 'SWL_WI_DISPLAY' EXPORTING wi_id = gs_msgtab_ext-wi_id * DISP_WITH_ORG_RESTRICTION = ' ' * DISP_FLOW_HEADER = ' ' * EXTENDED_DISPLAY = 'X' * MULTI_MODE = ' ' show_steplog = 'X' * IMPORTING * WORKITEM = * WORKITEM_MODIFIED = * MODIFIED_WORKITEM = * NEXT_FUNCTION = EXCEPTIONS read_failed = 1 OTHERS = 2.

SWF_XMP_DEFINITION_BUILDER CALL FUNCTION 'SWF_XMP_DEFINITION_BUILDER' EXPORTING im_xmp_name = gs_msgtab_ext-xi_proxy im_operation = 'DISPLAY'.

DOCU_INIT CALL FUNCTION 'DOCU_INIT' EXPORTING id = lv_id object = lv_object langu = lv_langu typ = lv_typ IMPORTING xdokil = ls_dokil.

DOCU_READ CALL FUNCTION 'DOCU_READ' EXPORTING id = lv_id langu = lv_langu object = lv_object typ = lv_typ version = ls_dokil-version IMPORTING head = ls_header TABLES line = lt_lines.

CONVERT_ITF_TO_HTML CALL FUNCTION 'CONVERT_ITF_TO_HTML' EXPORTING i_header = ls_header i_funcname = 'HELP_DOCULINES_SHOW_HTML_LINK' TABLES t_itf_text = lt_lines[] t_html_text = lt_html[] EXCEPTIONS OTHERS = 1.

SWF_XI_MESSAGE_PROCESSES_GET CALL FUNCTION 'SWF_XI_MESSAGE_PROCESSES_GET' EXPORTING im_msgguid = msgline-msgguid IMPORTING ex_process = lt_process.

SWF_XI_PROCESS_GET_PARTY_SERV CALL FUNCTION 'SWF_XI_PROCESS_GET_PARTY_SERV' EXPORTING iv_task = ls_task * it_task = lt_task IMPORTING ev_party_service = ls_bpm_fields * et_party_service = lt_bpm_fields .

SXMB_GET_ICON_FOR_MSG_STATE CALL FUNCTION 'SXMB_GET_ICON_FOR_MSG_STATE' EXPORTING im_state = msgtab-msgstate im_commit_flag = msgtab-commitact im_restart_version = msgtab-rest_vers im_msgtype = msgtab-msgtype IMPORTING ex_icon = l_icon.

SXMB_MONI_CHECK_AUTHORITY CALL FUNCTION 'SXMB_MONI_CHECK_AUTHORITY' EXPORTING im_activity = l_activity im_address = ls_address IMPORTING ex_authority = l_allowed EXCEPTIONS invalid_activity = 1 OTHERS = 2.

SXMB_MONI_CHECK_AUTHORITY CALL FUNCTION 'SXMB_MONI_CHECK_AUTHORITY' EXPORTING im_activity = l_activity im_address = ls_address IMPORTING ex_authority = l_allowed EXCEPTIONS invalid_activity = 1 OTHERS = 2.



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 /SAPSRM/PUR_SEL_MSG_APPL or its description.