SAP Reports / Programs

DMC_MDS_IMPORT_PIECELIST SAP ABAP Report - Program DMC_MDS_IMPORT_PIECELIST







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


Text pool values


Selection Text: P_TRKORR = Piece list
Title: Program DMC_MDS_IMPORT_PIECELIST
Text Symbol: 001 = &: An error occured when executing command - &
Text Symbol: 002 = NO_PERMISSION
Text Symbol: 003 = COMMAND_NOT_FOUND
Text Symbol: 004 = PARAMETERS_TOO_LONG
Text Symbol: 005 = SECURITY_RISK
Text Symbol: 006 = WRONG_CHECK_CALL_INTERFACE
Text Symbol: 007 = PROGRAM_START_ERROR
Text Symbol: 008 = PROGRAM_TERMINATION_ERROR
Text Symbol: 009 = X_ERROR
Text Symbol: 010 = PARAMETER_EXPECTED
Text Symbol: 011 = TOO_MANY_PARAMETERS
Text Symbol: 012 = ILLEGAL_COMMAND
Text Symbol: 013 = WRONG_ASYNCHRONOUS_PARAMETERS
Text Symbol: 014 = CANT_ENQ_TBTCO_ENTRY
Text Symbol: 015 = JOBCOUNT_GENERATION_ERROR
Text Symbol: 016 = OTHERS
Text Symbol: 017 = Log display
Text Symbol: 018 = No entries selected
Text Symbol: 019 = Command & does not exist


INCLUDES used within this REPORT DMC_MDS_IMPORT_PIECELIST

INCLUDE DMC_MDS_COMMON.


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:

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'P_TRKORR' * PVALKEY = ' ' dynpprog = gv_repid dynpnr = '1000' dynprofield = 'P_TRKORR' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' TABLES value_tab = gt_value_tab * FIELD_TAB = * RETURN_TAB = * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

CNV_MBT_AUTHORITY_CHECK CALL FUNCTION 'CNV_MBT_AUTHORITY_CHECK' EXPORTING im_area = 'SLOP' im_level = 'PACKAGE' im_activity = '02'.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = gs_log IMPORTING e_log_handle = gv_loghandle EXCEPTIONS OTHERS = 0.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING * I_CLIENT = SY-MANDT * I_IN_UPDATE_TASK = ' ' * I_SAVE_ALL = ' ' i_t_log_handle = gt_loghandles * IMPORTING * E_NEW_LOGNUMBERS = * EXCEPTIONS * LOG_NOT_FOUND = 1 * SAVE_NOT_ALLOWED = 2 * NUMBERING_ERROR = 3 * OTHERS = 4 .

BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING e_s_display_profile = gs_profile.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = gs_profile EXCEPTIONS OTHERS = 0.

SXPG_COMMAND_EXECUTE CALL FUNCTION 'SXPG_COMMAND_EXECUTE' EXPORTING commandname = gc_command_cmd additional_parameters = lv_parameter * OPERATINGSYSTEM = SY-OPSYS * TARGETSYSTEM = SY-HOST * DESTINATION = * STDOUT = 'X' * STDERR = 'X' * TERMINATIONWAIT = 'X' * TRACE = IMPORTING * STATUS = exitcode = lv_exitcode TABLES exec_protocol = lt_protocol EXCEPTIONS no_permission = 1 command_not_found = 2 parameters_too_long = 3 security_risk = 4 wrong_check_call_interface = 5 program_start_error = 6 program_termination_error = 7 x_error = 8 parameter_expected = 9 too_many_parameters = 10 illegal_command = 11 wrong_asynchronous_parameters = 12 cant_enq_tbtco_entry = 13 jobcount_generation_error = 14 OTHERS = 15.

SXPG_COMMAND_GET CALL FUNCTION 'SXPG_COMMAND_GET' EXPORTING commandname = gc_command_cmd operatingsystem = ls_command_new-opsystem IMPORTING command = ls_command EXCEPTIONS command_not_found = 1 OTHERS = 2.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = gv_loghandle i_msgty = p_msgty i_text = p_msg EXCEPTIONS OTHERS = 0.



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