/ISDFPS/MATERIELLES_SOLL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to transfer authorized materials data from a non-SAP system to the system, so that it is available in the
If you would like to execute this report or see the full code listing simply enter /ISDFPS/MATERIELLES_SOLL into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: FILENAME = File Name
Selection Text: FILEPC = Path for Local File
Selection Text: LOESCHS = Delete Authorized Materials
Selection Text: LOESCHSH = Delete Auth.Matls Hier.TopDown
Selection Text: NODETYPE = Node Type
Selection Text: PROT = Display Log
Selection Text: STATUS = From Status
Selection Text: STATUS1 = Change Status
Selection Text: STATUSH = Change Status w. Hier. TopDown
Selection Text: STRUKT = Load Authorized Materials
Selection Text: S_OBJID = Force Element
Selection Text: TEST = Test Run (Without Update)
Selection Text: ZSTATUS = To Status
Title: Create and Change Authorized Materials
Text Symbol: 037 = Restart
Text Symbol: 038 = Run No.:
Text Symbol: 039 = Deleted DR
Text Symbol: 040 = Planned
Text Symbol: 041 = Requested
Text Symbol: 042 = Approved
Text Symbol: 043 = Created Actvly
Text Symbol: 083 = Processing Therefore Terminated
Text Symbol: 084 = Plan Status Invalid, as Not in (1..5)
Text Symbol: 085 = Invalid Plan Status
Text Symbol: 086 = Reading from Database Server
Text Symbol: 087 = Read from Front End?
Text Symbol: 088 = Migration Run Starting, Run No.:
Text Symbol: 089 = Read Data
Text Symbol: 091 = Start migration
Text Symbol: 092 = No errors found during processing
Text Symbol: 093 = Error During Processing; See Log
Text Symbol: 095 = Data Is Being Checked Only; No Database Update
Text Symbol: 101 = Last Imported Data Record
Text Symbol: 109 = Run no. only in the case of restart; input ignored
Text Symbol: 110 = Restart Run
Text Symbol: 001 = Processing via External Data
Text Symbol: 002 = Or By Force Elements
Text Symbol: 003 = Change Sts Auth. Matls After Entry
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = filepc1 filetype = 'ASC' has_field_separator = ' ' read_by_line = 'X' IMPORTING filelength = flength TABLES data_tab = tab EXCEPTIONS file_open_error = 1.
STATUS_DELETE CALL FUNCTION 'STATUS_DELETE' EXPORTING * CLIENT = SY-MANDT objnr = record-objnr.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = text-086 * TEXTLINE2 = ' ' titel = text-089 * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' IMPORTING answer = answer.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = text-087 * TEXTLINE2 = ' ' titel = text-089 * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' IMPORTING answer = answer.
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_PM_GET_STRUCTURE CALL FUNCTION 'RH_PM_GET_STRUCTURE' EXPORTING plvar = lv_active_plvar otype = 'O' objid = s_objid-low begda = sy-datum endda = sy-datum * STATUS = '1' wegid = 'O-O_DOWN' * 77AW_INT = ' ' authy = '' "'X' * DEPTH = 0 * CHECK_OBJECT = ' ' * PROGRESS_INDICATOR = ' ' * SVECT = * ACTIV = 'X' * BUFFER_MODE = TABLES objec_tab = lt_objec * STRUC_TAB = * GDSTR_TAB = EXCEPTIONS not_found = 1 ppway_not_found = 2 OTHERS = 3 .
STATUS_UPDATE CALL FUNCTION 'STATUS_UPDATE' TABLES jest_ins = j_ins jest_upd = j_upd jsto_ins = js_ins jsto_upd = js_upd obj_del = obj_del.
STATUS_READ CALL FUNCTION 'STATUS_READ' EXPORTING * CLIENT = SY-MANDT objnr = ls_formpo-objnr only_active = 'X' * IMPORTING * OBTYP = * STSMA = * STONR = TABLES status = lt_jstat EXCEPTIONS object_not_found = 1 OTHERS = 2.
STATUS_CHANGE_INTERN * CALL FUNCTION 'STATUS_CHANGE_INTERN' * EXPORTING ** CHECK_ONLY = ' ' ** CLIENT = SY-MANDT * objnr = ls_formpo-objnr ** ZEILE = ' ' ** SET_CHGKZ = ** IMPORTING ** ERROR_OCCURRED = ** OBJECT_NOT_FOUND = ** STATUS_INCONSISTENT = ** STATUS_NOT_ALLOWED = * TABLES * status = lt_jstat * EXCEPTIONS * object_not_found = 1 * status_inconsistent = 2 * status_not_allowed = 3 * OTHERS = 4.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = text_1 textline2 = text_2 titel = text_3 * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' IMPORTING answer = answer.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING
* PERCENTAGE = 0 text = mestext.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL' EXPORTING _synchron = 'X'.
STATUS_READ CALL FUNCTION 'STATUS_READ' EXPORTING client = sy-mandt objnr = ls_formpo-objnr only_active = 'X' * IMPORTING * OBTYP = * STSMA = * STONR = TABLES status = lt_jstat EXCEPTIONS object_not_found = 1 OTHERS = 2.
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/MATERIELLES_SOLL or its description.
/ISDFPS/MATERIELLES_SOLL - Create and Change Authorized Materials /ISDFPS/MATERIELLES_SOLL - Create and Change Authorized Materials /ISDFPS/MATERIALBESTANDTOP - documentation and ABAP source code /ISDFPS/MATERIALBESTAND - Program /ISDFPS/MATERIALBESTAND /ISDFPS/MATERIALBESTAND - Program /ISDFPS/MATERIALBESTAND /ISDFPS/MASS_LOSS_MANAGER_TOP - /ISDFPS/MASSLOSSMANAGERTOP