{"id":5445,"date":"2016-02-16T17:05:16","date_gmt":"2016-02-16T15:05:16","guid":{"rendered":"http:\/\/www.karadere.com\/blog\/?p=5445"},"modified":"2016-02-16T17:05:16","modified_gmt":"2016-02-16T15:05:16","slug":"sap-bsp-mime-toplu-dosya-yukleme-bsp_update_mimerepos-sap-abap-report-update-the-mime-repository-based-on-frontend-data","status":"publish","type":"post","link":"https:\/\/www.karadere.com\/blog\/sap-bsp-mime-toplu-dosya-yukleme-bsp_update_mimerepos-sap-abap-report-update-the-mime-repository-based-on-frontend-data.html","title":{"rendered":"SAP BSP MIME toplu dosya y\u00fckleme. BSP_UPDATE_MIMEREPOS SAP ABAP Report &#8211; Update the MIME Repository based on frontend data"},"content":{"rendered":"<p><a href=\"http:\/\/www.karadere.com\/blog\/abap-listbox-and-itab-or-table.html\/sap-abap-logo\" rel=\"attachment wp-att-309\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-309\" src=\"http:\/\/www.karadere.com\/blog\/uploads\/\/2010\/02\/sap-abap-logo.png\" alt=\"SAP Fiori\" width=\"230\" height=\"121\" \/><\/a><\/p>\n<p>SAP se80 de ;\u00a0<strong> BSP_UPDATE_MIMEREPOS <\/strong>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 <strong>BSP_UPDATE_MIMEREPOS<\/strong> into the relevant SAP transaction such as<strong> SE38 or SE80<\/strong><\/p>\n<p>Contribute (Comments\/Questions)<br \/>\nBelow is the basic information available for SAP report <strong>BSP_UPDATE_MIMEREPOS<\/strong> 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.<\/p>\n<p>The contribute\/comments section below therefore offer&#8217;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.<\/p>\n<p>This will then be available for everyone to easily find by simply searching on the report name <strong>BSP_UPDATE_MIMEREPOS<\/strong> or its description.<\/p>\n<p>SAP Documentation for program <strong>BSP_UPDATE_MIMEREPOS<\/strong><br \/>\nPURPOSE<br \/>\nCompares the MIME Repositories between different systems.<\/p>\n<p>FEATURES<br \/>\nExport:<br \/>\na) Process whole structure:<br \/>\nAll objects below the specified MIME repository path are exported<br \/>\nto the hard disk.<br \/>\nb)Process flat structure: Only those objects in the specified MIME repository path are exported. The structures below are not included.<br \/>\nc) Process single file: One file only is exported. A target directory is selected from a popup. If the checkbox &#8220;Include LOIO&#8221; is activated, a file is created in the target directory containing details about the LOIO assignment.<br \/>\nImport:<br \/>\nFirst a source directory in the front end fixed drive<br \/>\nis selected from a popup.<\/p>\n<p>a) Process whole structure: All files and folders from this source directory are created in the specified MIME repository path.<br \/>\nb) Process flat structure: Only the files from this source directory are created in the specified MIME repository path.<br \/>\nc) Process single file: One file only is imported Packages are assigned according to the parent object of the MIME repository. If the checkbox &#8220;Include LOIO&#8221; 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 &#8220;Create with Different LOIOs&#8221; is activated, files (not the folders) are compared.<\/p>\n<p>ABAP code listing snippet for SAP ABAP Report BSP_UPDATE_MIMEREPOS<br \/>\n*&amp;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-*<br \/>\n*&amp; Report BSP_UPDATE_MIMEREPOS<br \/>\n*&amp;<br \/>\n*&amp;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-*<br \/>\n*&amp;<br \/>\n*&amp; Comparison of MIME Repository with frontend data<br \/>\n*&amp;<br \/>\n*&amp;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-*<br \/>\nREPORT bsp_update_mimerepos LINE-SIZE 316.<br \/>\nINCLUDE &lt;ICON&gt;.<br \/>\nCONSTANTS: co_max_length TYPE i VALUE 256.<br \/>\nCONSTANTS: co_loio_file TYPE string VALUE &#8216;sap_loios.txt&#8217;.<br \/>\nDATA: l_filename TYPE string.<br \/>\nDATA: l_loiofile TYPE string.<br \/>\nDATA: itab_mr_path TYPE string_table.<\/p>\n<p>&#8230;.See full code listing within your SAP system using transactions such as SE80 and SE38<\/p>\n<p>Includes used within report:<\/p>\n<p>No INCLUDES are used within this report code!<br \/>\nTables used within report and the associated select statement:<\/p>\n<p>No SAP database TABLES are accessed within this report code!<br \/>\nFunction Modules used within report and the associated call statement:<\/p>\n<p>ICM_CACHE_INVALIDATE_ALL<br \/>\nCALL FUNCTION &#8216;ICM_CACHE_INVALIDATE_ALL&#8217;<br \/>\nEXPORTING<br \/>\nglobal = 1<br \/>\nEXCEPTIONS<br \/>\nicm_op_failed = 1<br \/>\nicm_get_serv_failed = 2<br \/>\nicm_no_http_service = 3<br \/>\nOTHERS = 4.<br \/>\nText pool values<br \/>\nLog Containing MIME Repository Imports or Exports<br \/>\nSelection Text: WITHLOIO = Include LOIO<br \/>\nSelection Text: OVWRLOIO = Create with Different LOIOs<br \/>\nSelection Text: ONEFILE = Process Single File Only<br \/>\nSelection Text: MIMEPATH = MIME Repository Path<br \/>\nSelection Text: IMPORT = Import from Disk<br \/>\nSelection Text: FLATPATH = Process Flat Structure<br \/>\nSelection Text: EXPORT = Export to Disk<br \/>\nSelection Text: DEEPPATH = Process Whole Structure<br \/>\nTitle: Update the MIME Repository based on frontend data<br \/>\nText Symbol: 028 = Error occurred downloading file<br \/>\nText Symbol: 029 = File with LOIO information is not available<br \/>\nText Symbol: 030 = Error reading the LOIO information from file<br \/>\nText Symbol: 031 = Directory is not empty<br \/>\nText Symbol: 032 = Folder has been created<br \/>\nText Symbol: 033 = Unable to determine LOIO for file<br \/>\nText Symbol: 034 = File is not created<br \/>\nText Symbol: 035 = Path too long; file cannot be exported<br \/>\nText Symbol: 036 = LOIO Processing<br \/>\nText Symbol: 037 = Import from Disk<br \/>\nText Symbol: 038 = Create with Different LOIOs<br \/>\nText Symbol: 039 = MIME path points to a folder, not to a file<br \/>\nText Symbol: 040 = Error invalidating the ICM cache<br \/>\nText Symbol: 041 = This program can be used only with ref. to the root element \/ SAP!<br \/>\nText Symbol: 001 = Resources<br \/>\nText Symbol: 003 = Root directory could not be determined<br \/>\nText Symbol: 004 = Directory list could not be created<br \/>\nText Symbol: 005 = File list could not be created<br \/>\nText Symbol: 006 = Error while uploading the file<br \/>\nText Symbol: 007 = No read authorization for MIME object<br \/>\nText Symbol: 008 = Error reading the MIME object<br \/>\nText Symbol: 009 = No write authorization for MIME object<br \/>\nText Symbol: 010 = Error creating the MIME object<br \/>\nText Symbol: 011 = The specified path points to a directory<br \/>\nText Symbol: 012 = Import\/Export<br \/>\nText Symbol: 013 = No read authorization for the MIME Repository<br \/>\nText Symbol: 014 = Unable to read MIME Repository<br \/>\nText Symbol: 015 = Options<br \/>\nText Symbol: 016 = File could not be found<br \/>\nText Symbol: 017 = Selection of the Required Directory<br \/>\nText Symbol: 018 = Folder does not exist<br \/>\nText Symbol: 019 = LOIOs are different<br \/>\nText Symbol: 022 = Error deleting the file<br \/>\nText Symbol: 023 = No authorization to delete the file<br \/>\nText Symbol: 024 = Recreating the file (LOIO comparison)<br \/>\nText Symbol: 025 = MIME object has been created<br \/>\nText Symbol: 026 = Number of Newly Created Files<br \/>\nText Symbol: 027 = Number of Newly Created Folders<\/p>\n","protected":false},"excerpt":{"rendered":"<p>BSP MIME toplu dosya y\u00fckleme<\/p>\n","protected":false},"author":1,"featured_media":309,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[88,41,45],"tags":[395,615,2453,2454,836,2461,1837,2467,2468,2469,2472,2399],"class_list":["post-5445","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-abap-sap","category-programlama-software","category-sap","tag-abap","tag-bsp-2","tag-bsp-application","tag-business-service-programing","tag-dosya","tag-mime","tag-sap","tag-sap-mime","tag-se80","tag-se80-mime","tag-toplu","tag-yukleme","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"views":2318,"_links":{"self":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/5445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/comments?post=5445"}],"version-history":[{"count":0,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/5445\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/media?parent=5445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/categories?post=5445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/tags?post=5445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}