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

/ISDFPS/MATMAS_LOVM_PLANT_CHAN SAP ABAP Report - Set Deletion Flag Material Master Data Storage Locations







/ISDFPS/MATMAS_LOVM_PLANT_CHAN 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/MATMAS_LOVM_PLANT_CHAN 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 /ISDFPS/MATMAS_LOVM_PLANT_CHAN. "Basic submit
SUBMIT /ISDFPS/MATMAS_LOVM_PLANT_CHAN AND RETURN. "Return to original report after report execution complete
SUBMIT /ISDFPS/MATMAS_LOVM_PLANT_CHAN 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_BATCH = Schedule Background Job
Selection Text: P_BEGDA = Start Date of Reorganization
Selection Text: P_ENDDA = End Date of Reorganization
Selection Text: P_OBJ_S = D .
Selection Text: P_TYP = D .
Title: Set Deletion Flag Material Master Data Storage Locations
Text Symbol: 001 = Cross-Plant Reorganization
Text Symbol: 002 = For Force Element
Text Symbol: 100 = Error Log
Text Symbol: 101 = MATMAS_DELE
Text Symbol: 111 = Set Deletion Flag for Material Master Data
Text Symbol: SRC = Force Element To Reorganized
Text Symbol: TYP = Stock/Provis.


INCLUDES used within this REPORT /ISDFPS/MATMAS_LOVM_PLANT_CHAN

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:

SET_LVORM_MATERIAL CALL FUNCTION 'SET_LVORM_MATERIAL' EXPORTING material_record = ls_matnr_loevm EXCEPTIONS kein_buchungskreis = 1 inkons_custom = 2 kein_bewertungskreis = 3 keine_lagernummer = 4 kein_lagerort = 5 kein_lagertyp = 6 keine_vkorg = 7 kein_vertriebsweg = 8 kein_werk = 9 no_material = 10 OTHERS = 11.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_t_log_handle = lt_handles EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_grid_title = 'Fehlerprotokoll'(100) i_structure_name = 'BAPIRET2' TABLES t_outtab = lt_messages EXCEPTIONS program_error = 1 OTHERS = 2.

BAL_LOG_CREATE * CALL FUNCTION 'BAL_LOG_CREATE' * EXPORTING * i_s_log = ls_log * IMPORTING * e_log_handle = l_loghandle * EXCEPTIONS * log_header_inconsistent = 1 * OTHERS = 2.

REUSE_ALV_GRID_DISPLAY * CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' * EXPORTING * i_grid_title = text-100 * i_structure_name = 'BAPIRET2' ** IT_FIELDCAT = * TABLES * t_outtab = lt_messages * EXCEPTIONS * program_error = 1 * OTHERS = 2.

BAL_LOG_MSG_ADD * CALL FUNCTION 'BAL_LOG_MSG_ADD' * EXPORTING * i_log_handle = l_loghandle * i_s_msg = ls_msg * EXCEPTIONS * OTHERS = 4.

BAL_DSP_LOG_DISPLAY * CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' * EXPORTING ** I_S_DISPLAY_PROFILE = * i_t_log_handle = lt_handles ** I_T_MSG_HANDLE = ** I_S_LOG_FILTER = ** I_S_MSG_FILTER = ** I_T_LOG_CONTEXT_FILTER = ** I_T_MSG_CONTEXT_FILTER = ** I_AMODAL = ' ' ** IMPORTING ** E_S_EXIT_COMMAND = * EXCEPTIONS ** PROFILE_INCONSISTENT = 1 ** INTERNAL_ERROR = 2 ** NO_DATA_AVAILABLE = 3 ** NO_AUTHORITY = 4 * OTHERS = 5.

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

K_BATCH_REQUEST CALL FUNCTION 'K_BATCH_REQUEST' EXPORTING par_dialg = 'X' par_jname = l_jobname par_print = 'X' par_rname = l_repid "#EC DOM_EQUAL par_sdmsg = 'X' TABLES tab_selpa = lt_selektionen.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = lv_active_plvar EXCEPTIONS no_active_plvar = 1 OTHERS = 2.

RH_DETERMINE_ORG_OBJID CALL FUNCTION 'RH_DETERMINE_ORG_OBJID' EXPORTING org_object_type = 'O' act_plvar = lv_active_plvar IMPORTING org_object_objid = ls_force-objid EXCEPTIONS no_active_plvar = 1 no_object_id_selected = 2 OTHERS = 3.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = dyname dynumb = dynumb TABLES dynpfields = dynp_updt_tab EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 OTHERS = 8.



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