SAP Reports / Programs | Materials Management | Defense Forces and Public Security | Materials Management(IS-DFS-MM) SAP IS

/ISDFPS/EXT_BATCHES SAP ABAP Report - Batch Usage Data of External Batches







/ISDFPS/EXT_BATCHES 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 /ISDFPS/EXT_BATCHES into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

/ISDFPS/EXT_BATCHES - Create External Batch Usage
/ISDFPS/EXT_BATCHES3 - Display External Batch Usage


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


Text pool values


Title: Batch Usage Data of External Batches
Text Symbol: 001 = Do you want to exit the transaction?
Text Symbol: 002 = Exit Transaction
Text Symbol: 003 = Do you want to overwrite existing data?
Text Symbol: 004 = Transfer BOM
Text Symbol: 005 = Transfer Assignments from Database
Text Symbol: 006 = Do you want to save the changed assignments?
Text Symbol: 007 = Change Saved Assignments
Text Symbol: 008 = Any existing assignments will be overwritten
Text Symbol: 009 = Order Item
Text Symbol: 043 =


INCLUDES used within this REPORT /ISDFPS/EXT_BATCHES

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:

F4IF_INT_TABLE_VALUE_REQUEST *\ CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' *\ EXPORTING *\ retfield = 'MCHA-CHARG' *\ value_org = 'S' *\ TABLES *\ value_tab = gt_f4_batches *\ return_tab = it_rueck *\ EXCEPTIONS *\ parameter_error = 1 *\ no_values_found = 2 *\ OTHERS = 3.

CS_BOM_EXPL_MAT_V2 CALL FUNCTION 'CS_BOM_EXPL_MAT_V2' EXPORTING capid = 'DFPS' "Anwendungskennung datuv = sy-datum "Datum gültig am mktls = 'X' "Materialkurztext lesen mehrs = 'X' "mehrstufige Auflösung mtnrv = act_matnr "Material IMPORTING topmat = topmat dstst = dstst TABLES stb = stb matcat = matcat EXCEPTIONS alt_not_found = 1 call_invalid = 2 material_not_found = 3 missing_authorization = 4 no_bom_found = 5 no_plant_data = 6 no_suitable_bom_found = 7 conversion_error = 8 OTHERS = 9.

/ISDFPS/GET_EXT_BATCHES_1 CALL FUNCTION '/ISDFPS/GET_EXT_BATCHES_1' EXPORTING i_werks = act_werks i_matnr = act_matnr i_charg = act_charg i_ebeln = act_ebeln i_ebelp = act_ebelp IMPORTING e_found_this_batch = data_found e_tabix_this_batch = data_tabix e_index = data_mjahr TABLES this_chvw_level_1 = chvw_level1_itab EXCEPTIONS miss_param = 1 OTHERS = 2.

/ISDFPS/GET_EXT_BATCHES_N CALL FUNCTION '/ISDFPS/GET_EXT_BATCHES_N' EXPORTING i_data_found = data_found i_index = data_mjahr TABLES this_chvw_level_1 = chvw_level1_itab this_hierarchy = chvw_booked_itab.

/ISDFPS/RESET_BUFFER CALL FUNCTION '/ISDFPS/RESET_BUFFER'.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = text-006 textline2 = text-008 titel = text-007 start_column = 25 start_row = 6 cancel_display = 'X' IMPORTING answer = dialog_answer.

/ISDFPS/CHVW_EXT_BATCHES_BUILD CALL FUNCTION '/ISDFPS/CHVW_EXT_BATCHES_BUILD' EXPORTING ebeln = act_ebeln ebelp = act_ebelp werks = act_werks matnr = act_matnr charg = act_charg mjahr = data_mjahr TABLES tc_ext_batches_new = data_ins tc_ext_batches_old = data_del EXCEPTIONS no_data = 1 no_change = 2 OTHERS = 3.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-003 titel = text-004 start_column = 25 start_row = 6 defaultoption = 'N' IMPORTING answer = dialog_answer.

/ISDFPS/GET_MAKTX CALL FUNCTION '/ISDFPS/GET_MAKTX' EXPORTING i_matnr = g_tc_ext_batches_itab-matnr IMPORTING e_maktx = g_tc_ext_batches_itab-maktx e_meins = g_tc_ext_batches_itab-meins EXCEPTIONS no_matnr = 1 no_mara = 2 OTHERS = 3.

/ISDFPS/GET_MAKTX CALL FUNCTION '/ISDFPS/GET_MAKTX' EXPORTING i_matnr = g_tc_ext_batches_itab-matnr IMPORTING e_maktx = g_tc_ext_batches_itab-maktx e_meins = g_tc_ext_batches_itab-meins EXCEPTIONS no_matnr = 1 no_mara = 2 OTHERS = 3.

/ISDFPS/GET_MAKTX *\ CALL FUNCTION '/ISDFPS/GET_MAKTX' *\ EXPORTING *\ i_matnr = um_chvw-matnr *\ IMPORTING *\ e_maktx = chvw_booked_itab-maktx *\ e_meins = dummy_meins *\ EXCEPTIONS *\ no_matnr = 1 *\ no_mara = 2 *\ OTHERS = 3.

/ISDFPS/GET_MAKTX CALL FUNCTION '/ISDFPS/GET_MAKTX' EXPORTING i_matnr = um_chvw-matnr IMPORTING e_maktx = chvw_booked_itab-maktx e_meins = dummy_meins EXCEPTIONS no_matnr = 1 no_mara = 2 OTHERS = 3.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-003 titel = text-005 start_column = 25 start_row = 6 defaultoption = 'N' IMPORTING answer = dialog_answer.

ENQUEUE_EMEKKOE CALL FUNCTION 'ENQUEUE_EMEKKOE' EXPORTING mode_ekko = 'E' mode_ekpo = 'E' ebeln = i_ebeln ebelp = i_ebelp EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EMEKKOE CALL FUNCTION 'DEQUEUE_EMEKKOE' EXPORTING ebeln = i_ebeln.

/ISDFPS/CREATE_OBJECTID CALL FUNCTION '/ISDFPS/CREATE_OBJECTID' EXPORTING ebeln = act_ebeln ebelp = act_ebelp werks = act_werks matnr = act_matnr charg = act_charg IMPORTING objectid = objectid EXCEPTIONS wrong_input = 1 OTHERS = 2.

CHANGEDOCUMENT_READ CALL FUNCTION 'CHANGEDOCUMENT_READ' EXPORTING objectclass = object objectid = objectid TABLES editpos = editpos_with_header EXCEPTIONS no_position_found = 1 wrong_access_to_archive = 2 time_zone_conversion_error = 3 OTHERS = 4.

CHANGEDOCUMENT_DISPLAY CALL FUNCTION 'CHANGEDOCUMENT_DISPLAY' EXPORTING i_applicationid = applicationid flg_autocondense = 'X' i_objectclas = object TABLES i_cdred = editpos_with_header.



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 /ISDFPS/EXT_BATCHES or its description.