SAP Reports / Programs | Monitors for Automotive | Industry Solution Automotive | Monitors for Automotive(IS-A-MON) SAP IS

ED_MONORD_USER_COM SAP ABAP INCLUDE - EDMONORDUSERCOM







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

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:

FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = ls_fp_outputparams EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 OTHERS = 5.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = 'EDMORD_PDF_FORM' IMPORTING e_funcname = lv_fm_name.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' * IMPORTING * E_RESULT = EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4 .

EDM01_DISPLAY_IDOC_TEXT CALL FUNCTION 'EDM01_DISPLAY_IDOC_TEXT' EXPORTING i_idocnum = g_t_header-docnum i_mestype = 'ORDERS' EXCEPTIONS docnumerr = 1 mestyperr = 2 OTHERS = 3.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'VA03' EXCEPTIONS ok = 0 not_ok = 2 OTHERS = 3.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'VA13' EXCEPTIONS ok = 0 not_ok = 2 OTHERS = 3.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'VA03' EXCEPTIONS ok = 0 not_ok = 2 OTHERS = 3.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'VA03' EXCEPTIONS ok = 0 not_ok = 2 OTHERS = 3.

EDM01_GET_STATUS_HISTORY CALL FUNCTION 'EDM01_GET_STATUS_HISTORY' EXPORTING iv_docnum = g_t_header-docnum TABLES ot_statushist = g_t_statushist EXCEPTIONS nodata = 0 progerror = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * i_structure_name = 'G_T_STATUSHIST' * I_BACKGROUND_ID = ' ' i_grid_title = text-028 * I_GRID_SETTINGS = * IS_LAYOUT = it_fieldcat = g_t_fieldcat_s[] it_excluding = g_t_extab[] * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = i_screen_start_column = 10 i_screen_start_line = 5 i_screen_end_column = 132 i_screen_end_line = 20 TABLES t_outtab = g_t_statushist EXCEPTIONS program_error = 1 OTHERS = 2 .

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'WE02' EXCEPTIONS ok = 0 not_ok = 2 OTHERS = 3.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'Y' diagnosetext1 = g_t_edidc_e-docnum textline1 = text-087 ** textline2 = text-036 titel = text-050 cancel_display = ' ' IMPORTING answer = g_f_answer.

APPLICATION_IDOC_POST_IMMEDIAT CALL FUNCTION 'APPLICATION_IDOC_POST_IMMEDIAT' * EXPORTING * ERROR_FLAG = C_FALSE * INBOUND_PARTNER_PROFILE = * DO_COMMIT = C_TRUE TABLES idoc_control = g_t_edidc_e idoc_data = g_t_edidd EXCEPTIONS error_opening_idoc = 1 error_writing_idoc_status = 2 no_idocs = 3 OTHERS = 4.

APPLICATION_IDOC_POST_IMMEDIAT CALL FUNCTION 'APPLICATION_IDOC_POST_IMMEDIAT' * EXPORTING * ERROR_FLAG = C_FALSE * INBOUND_PARTNER_PROFILE = * DO_COMMIT = C_TRUE TABLES idoc_control = g_t_edidc_e idoc_data = g_t_edidd EXCEPTIONS error_opening_idoc = 1 error_writing_idoc_status = 2 no_idocs = 3 OTHERS = 4.

EDM01_DELETE_IDOC CALL FUNCTION 'EDM01_DELETE_IDOC' EXPORTING docnum_iv = g_t_bdidocstat-docnum TABLES ct_bdidocstat = g_t_bdidocstat EXCEPTIONS not_possible = 1 OTHERS = 2.

POPUP_TO_CONFIRM_WITH_MESSAGE ** CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' ** EXPORTING ** defaultoption = 'Y' ** diagnosetext1 = text-022 ** textline1 = g_f_text ** textline2 = text-042 ** titel = text-041 ** cancel_display = ' ' ** IMPORTING ** answer = g_f_answer.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'LEGENDE' * I_BACKGROUND_ID = ' ' i_grid_title = text-029 * I_GRID_SETTINGS = * IS_LAYOUT = it_fieldcat = g_t_fieldcat_l[] it_excluding = g_t_extab[] * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = i_screen_start_column = 10 i_screen_start_line = 5 i_screen_end_column = 90 i_screen_end_line = 20 TABLES t_outtab = g_t_legende EXCEPTIONS program_error = 1 OTHERS = 2 .

REUSE_ALV_POPUP_TO_SELECT ** CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT' ** EXPORTING ** I_TITLE = TEXT-089 ** I_SELECTION = 'X' ** I_SCROLL_TO_SEL_LINE = 'X' ** I_TABNAME = 'G_T_IMG_AUS' ** IT_FIELDCAT = G_T_FIELDCAT_W[] ** IT_EXCLUDING = G_T_EXTAB[] ** IMPORTING ** ES_SELFIELD = L_R_SELFIELD ** TABLES ** T_OUTTAB = G_T_IMG_AUS ** EXCEPTIONS ** PROGRAM_ERROR = 1 ** OTHERS = 2.

AUTHORITY_CHECK_TCODE





** CALL FUNCTION 'AUTHORITY_CHECK_TCODE' ** EXPORTING ** TCODE = 'VOE2' ** EXCEPTIONS ** OK = 0 ** NOT_OK = 2 ** OTHERS = 3.



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