SAP BSP MIME toplu dosya yükleme. BSP_UPDATE_MIMEREPOS SAP ABAP Report – Update the MIME Repository based on frontend data

SAP Fiori

SAP se80 de ;  BSP_UPDATE_MIMEREPOS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the standard documentation available for this report and a few details of other objects it interacts with such as tables, function modules, includes etc. If you would like to see the full code listing simply enter BSP_UPDATE_MIMEREPOS into the relevant SAP transaction such as SE38 or SE80

Contribute (Comments/Questions)
Below is the basic information available for SAP report BSP_UPDATE_MIMEREPOS and is provided for your convenience to access as and when required. Although the 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 BSP_UPDATE_MIMEREPOS or its description.

SAP Documentation for program BSP_UPDATE_MIMEREPOS
PURPOSE
Compares the MIME Repositories between different systems.

FEATURES
Export:
a) Process whole structure:
All objects below the specified MIME repository path are exported
to the hard disk.
b)Process flat structure: Only those objects in the specified MIME repository path are exported. The structures below are not included.
c) Process single file: One file only is exported. A target directory is selected from a popup. If the checkbox “Include LOIO” is activated, a file is created in the target directory containing details about the LOIO assignment.
Import:
First a source directory in the front end fixed drive
is selected from a popup.

a) Process whole structure: All files and folders from this source directory are created in the specified MIME repository path.
b) Process flat structure: Only the files from this source directory are created in the specified MIME repository path.
c) Process single file: One file only is imported Packages are assigned according to the parent object of the MIME repository. If the checkbox “Include LOIO” is activated, a file containing these details is searched for in the source directory. New folders and files are then created in the specified LOIOs. Any differences in the LOIOs of existing objects are indicated. If the checkbox “Create with Different LOIOs” is activated, files (not the folders) are compared.

ABAP code listing snippet for SAP ABAP Report BSP_UPDATE_MIMEREPOS
*&——————————-*
*& Report BSP_UPDATE_MIMEREPOS
*&
*&——————————-*
*&
*& Comparison of MIME Repository with frontend data
*&
*&——————————-*
REPORT bsp_update_mimerepos LINE-SIZE 316.
INCLUDE <ICON>.
CONSTANTS: co_max_length TYPE i VALUE 256.
CONSTANTS: co_loio_file TYPE string VALUE ‘sap_loios.txt’.
DATA: l_filename TYPE string.
DATA: l_loiofile TYPE string.
DATA: itab_mr_path TYPE string_table.

….See full code listing within your SAP system using transactions such as SE80 and SE38

Includes used within report:

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:

ICM_CACHE_INVALIDATE_ALL
CALL FUNCTION ‘ICM_CACHE_INVALIDATE_ALL’
EXPORTING
global = 1
EXCEPTIONS
icm_op_failed = 1
icm_get_serv_failed = 2
icm_no_http_service = 3
OTHERS = 4.
Text pool values
Log Containing MIME Repository Imports or Exports
Selection Text: WITHLOIO = Include LOIO
Selection Text: OVWRLOIO = Create with Different LOIOs
Selection Text: ONEFILE = Process Single File Only
Selection Text: MIMEPATH = MIME Repository Path
Selection Text: IMPORT = Import from Disk
Selection Text: FLATPATH = Process Flat Structure
Selection Text: EXPORT = Export to Disk
Selection Text: DEEPPATH = Process Whole Structure
Title: Update the MIME Repository based on frontend data
Text Symbol: 028 = Error occurred downloading file
Text Symbol: 029 = File with LOIO information is not available
Text Symbol: 030 = Error reading the LOIO information from file
Text Symbol: 031 = Directory is not empty
Text Symbol: 032 = Folder has been created
Text Symbol: 033 = Unable to determine LOIO for file
Text Symbol: 034 = File is not created
Text Symbol: 035 = Path too long; file cannot be exported
Text Symbol: 036 = LOIO Processing
Text Symbol: 037 = Import from Disk
Text Symbol: 038 = Create with Different LOIOs
Text Symbol: 039 = MIME path points to a folder, not to a file
Text Symbol: 040 = Error invalidating the ICM cache
Text Symbol: 041 = This program can be used only with ref. to the root element / SAP!
Text Symbol: 001 = Resources
Text Symbol: 003 = Root directory could not be determined
Text Symbol: 004 = Directory list could not be created
Text Symbol: 005 = File list could not be created
Text Symbol: 006 = Error while uploading the file
Text Symbol: 007 = No read authorization for MIME object
Text Symbol: 008 = Error reading the MIME object
Text Symbol: 009 = No write authorization for MIME object
Text Symbol: 010 = Error creating the MIME object
Text Symbol: 011 = The specified path points to a directory
Text Symbol: 012 = Import/Export
Text Symbol: 013 = No read authorization for the MIME Repository
Text Symbol: 014 = Unable to read MIME Repository
Text Symbol: 015 = Options
Text Symbol: 016 = File could not be found
Text Symbol: 017 = Selection of the Required Directory
Text Symbol: 018 = Folder does not exist
Text Symbol: 019 = LOIOs are different
Text Symbol: 022 = Error deleting the file
Text Symbol: 023 = No authorization to delete the file
Text Symbol: 024 = Recreating the file (LOIO comparison)
Text Symbol: 025 = MIME object has been created
Text Symbol: 026 = Number of Newly Created Files
Text Symbol: 027 = Number of Newly Created Folders

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)