{"id":1994,"date":"2026-06-22T11:03:51","date_gmt":"2026-06-22T05:33:51","guid":{"rendered":"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/"},"modified":"2026-06-22T14:51:15","modified_gmt":"2026-06-22T09:21:15","slug":"sap-system-copy-refresh-guide-s4hana","status":"publish","type":"post","link":"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/","title":{"rendered":"SAP System Copy &#038; Refresh \u2014 Step-by-Step Guide for S\/4HANA"},"content":{"rendered":"<p>If you&#8217;ve been in SAP Basis long enough, you know the feeling. Production crashed over the weekend, and management wants a fresh system copy &#8220;yesterday.&#8221; System copy refresh sounds simple on paper \u2014 copy system A to B, change the SID. But anyone who&#8217;s actually done it knows the reality: RFC destinations pointing back to production, logical system names carrying the old SID, stalled update requests. I&#8217;ve seen it all.<\/p>\n<p>This guide walks through the entire homogeneous system copy process for S\/4HANA \u2014 from preparation to post-copy cleanup \u2014 the way a seasoned Basis admin actually does it.<\/p>\n<div style=\"background:#f0f9ff;padding:15px;border-left:4px solid #3b82f6;margin:20px 0;\"><strong>Related resources:<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/adilfahim.com\/myblog\/s-4hana-conversion\/\">ECC to S\/4HANA Conversion Roadmap<\/a><\/li>\n<li><a href=\"https:\/\/adilfahim.com\/myblog\/sap-parallel-landscape-upgrades-conversions\/\">How to Set Up a Parallel Landscape for S\/4HANA<\/a><\/li>\n<li><a href=\"https:\/\/adilfahim.com\/myblog\/sap-hana-dba-calculations-sizing-backup-memory-performance\/\">SAP HANA DBA Calculations Guide<\/a><\/li>\n<li><a href=\"https:\/\/adilfahim.com\/myblog\/sap-security-audit-checklist\/\">SAP Security Audit Checklist<\/a><\/li>\n<\/ul>\n<\/div>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a3ae2a7b7e52\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a3ae2a7b7e52\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/#What_Is_a_Homogeneous_System_Copy\" >What Is a Homogeneous System Copy?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/#Preparation_%E2%80%94_Before_You_Touch_Anything\" >Preparation \u2014 Before You Touch Anything<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/#Source_System_Tasks\" >Source System Tasks<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/#Target_System_Tasks\" >Target System Tasks<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/#The_Copy_Procedure_%E2%80%94_SWPM_Step_by_Step\" >The Copy Procedure \u2014 SWPM Step by Step<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/#Phase_1_Export_from_Source\" >Phase 1: Export from Source<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/#Phase_2_Import_into_Target\" >Phase 2: Import into Target<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/#Critical_Post-Copy_Steps_%E2%80%94_What_SWPM_Doesnt_Fix\" >Critical Post-Copy Steps \u2014 What SWPM Doesn&#8217;t Fix<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/#1_BDLS_%E2%80%94_The_Most_Common_Oversight\" >1. BDLS \u2014 The Most Common Oversight<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/#2_RFC_Destinations_%E2%80%94_Silent_Failures_Everywhere\" >2. RFC Destinations \u2014 Silent Failures Everywhere<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/#3_User_Passwords_Buffer_Cleanup\" >3. User Passwords &#038; Buffer Cleanup<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/#Automation_with_SAP_LaMa\" >Automation with SAP LaMa<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/#Common_Mistakes\" >Common Mistakes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/#Verification_Checklist\" >Verification Checklist<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/adilfahim.com\/myblog\/sap-system-copy-refresh-guide-s4hana\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"What_Is_a_Homogeneous_System_Copy\"><\/span>What Is a Homogeneous System Copy?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A homogeneous SAP system copy means the source and target run on the same operating system and database platform. For S\/4HANA, that&#8217;s typically Linux on x86_64 with HANA. You export the source database and import into the target with a new SID. The alternative \u2014 heterogeneous copy \u2014 involves a platform change like moving from Oracle to HANA. For most Basis teams, homogeneous is the bread and butter: refreshing QA from production, spinning up sandboxes, or cloning dev systems.<\/p>\n<p>If you&#8217;re in the middle of an <a href=\"https:\/\/adilfahim.com\/myblog\/s-4hana-conversion\/\">ECC to S\/4HANA conversion<\/a>, system copy becomes even more critical \u2014 you&#8217;ll need solid copies for dress rehearsals and parallel testing before cutover.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Preparation_%E2%80%94_Before_You_Touch_Anything\"><\/span>Preparation \u2014 Before You Touch Anything<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>This is where most mistakes happen. Rushing into a system copy without proper prep guarantees pain later.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Source_System_Tasks\"><\/span>Source System Tasks<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Run DBACOCKPIT<\/strong> \u2014 Check HANA consistency; run full backup<\/li>\n<li><strong>Disable background jobs<\/strong> (SM37) that could interfere with export<\/li>\n<li><strong>SM02<\/strong> \u2014 Lock logon; release running jobs<\/li>\n<li><strong>Document:<\/strong> profile parameters, RFC destinations, printer configs (SPAD), license keys (SLICENSE). Every RFC pointing <em>out<\/em> of the source will need fixing later<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Target_System_Tasks\"><\/span>Target System Tasks<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>OS prep<\/strong> \u2014 Same Linux distro, kernel params, filesystem layout as source<\/li>\n<li><strong>SWPM<\/strong> \u2014 Create target shell (instance + SCS + HANA database)<\/li>\n<li><strong>HANA revision parity<\/strong> \u2014 Target must match source release train<\/li>\n<li><strong>Transport directory<\/strong> \u2014 Share <code>\/usr\/sap\/trans<\/code> across landscape<\/li>\n<li><strong>Disk space<\/strong> \u2014 1.5x source HANA data volume for export files<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"The_Copy_Procedure_%E2%80%94_SWPM_Step_by_Step\"><\/span>The Copy Procedure \u2014 SWPM Step by Step<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Software Provisioning Manager (SWPM) is the tool for homogeneous system copies. Navigate to <strong>System Copy<\/strong> \u2192 <strong>Target System<\/strong> \u2192 <strong>Homogeneous System Copy<\/strong>.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Phase_1_Export_from_Source\"><\/span>Phase 1: Export from Source<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>Run SWPM on the source with the export option<\/li>\n<li>Select HANA database export \u2014 SWPM uses hdbexport and hdbsql under the hood<\/li>\n<li>Specify the export directory \u2014 NFS share or local volume the target can also reach<\/li>\n<li>SWPM exports the HANA database to files. For a 2TB system, expect 4-8 hours<\/li>\n<\/ol>\n<p><strong>Pro tip:<\/strong> Run <code>hdbsql \"SELECT COUNT(*) FROM M_TABLES\"<\/code> before and after export to confirm record counts match. I&#8217;ve caught two silent export failures this way.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Phase_2_Import_into_Target\"><\/span>Phase 2: Import into Target<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>Run SWPM on the target with the import option<\/li>\n<li>Select System Copy \u2192 Target System \u2192 Homogeneous System Copy \u2192 Import<\/li>\n<li>Point it to the same export directory<\/li>\n<li>Enter the new SAPSID \u2014 SWPM handles SID changes for database schemas automatically<\/li>\n<li>The import creates the HANA tenant, imports schema objects, and applies data files<\/li>\n<li>After import, SWPM runs <strong>SAP_BASIS_COPY_REFRESH<\/strong> \u2014 the automation task list for critical post-copy adjustments<\/li>\n<\/ol>\n<p>If you&#8217;ve already <a href=\"https:\/\/adilfahim.com\/myblog\/sap-parallel-landscape-upgrades-conversions\/\">set up a parallel landscape for S\/4HANA<\/a>, this is where that investment pays off. Pre-configured target systems with dedicated network and storage mean the import phase runs without surprises.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Critical_Post-Copy_Steps_%E2%80%94_What_SWPM_Doesnt_Fix\"><\/span>Critical Post-Copy Steps \u2014 What SWPM Doesn&#8217;t Fix<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>SWPM handles database and SID-level changes, but application-level cleanup depends on your environment. Here are the three most critical areas.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"1_BDLS_%E2%80%94_The_Most_Common_Oversight\"><\/span>1. BDLS \u2014 The Most Common Oversight<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>BDLS<\/strong> (Business Data Logical System) updates logical system names carried from the source. Without this, ALE\/IDoc breaks, RFC trust fails, workflow routing stops. Run BDLS immediately after SWPM. Use transaction <strong>BDLS<\/strong> with the old \u2192 new mapping, then confirm in <strong>BD87<\/strong>. Never skip this step.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_RFC_Destinations_%E2%80%94_Silent_Failures_Everywhere\"><\/span>2. RFC Destinations \u2014 Silent Failures Everywhere<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>This is the biggest source of post-copy pain. Every RFC that pointed to or from the source now has the wrong SID or hostname. Use <strong>SM59<\/strong> to update them, recreate trusts via <strong>SMT1<\/strong>. <strong>Common blind spot:<\/strong> RFCs to PI\/PO, Solution Manager, or GRC don&#8217;t surface in a standard SM59 search. Run <code>SE11 \u2192 Table RFCDES \u2192 Contents<\/code> to catch every RFC in the system.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_User_Passwords_Buffer_Cleanup\"><\/span>3. User Passwords &#038; Buffer Cleanup<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>When you refresh QA from production, every user password comes along. After the copy: mass-reset passwords via <strong>SU10<\/strong>, clear ABAP buffers by running <strong>$SYNC<\/strong>, flush the RFC cache (SM59 \u2192 Extras \u2192 Delete Cache), and run <code>ALTER SYSTEM CLEAR SQL PLAN CACHE<\/code> for HANA-specific cleanup. If your HANA system is sized correctly, the <a href=\"https:\/\/adilfahim.com\/myblog\/sap-hana-dba-calculations-sizing-backup-memory-performance\/\">SAP HANA DBA Calculations Guide<\/a> has buffer sizing recommendations that help prevent performance regressions after a copy.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Automation_with_SAP_LaMa\"><\/span>Automation with SAP LaMa<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>For 10+ systems, manual copies don&#8217;t scale. SAP Landscape Management (LaMa) automates provisioning, cloning, refresh, and rename. The tradeoff is setup complexity \u2014 LaMa needs its own infrastructure with an SCS instance, connectors to every managed system, and an HANA database for its repository. For smaller shops with 3-5 systems, manual SWPM is perfectly adequate.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Common_Mistakes\"><\/span>Common Mistakes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<figure class=\"wp-block-table\">\n<table>\n<thead>\n<tr>\n<th>Mistake<\/th>\n<th>Impact<\/th>\n<th>Fix<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>RFCs pointing to production<\/td>\n<td>Data corruption from cross-system updates<\/td>\n<td>SM59 audit immediately after copy<\/td>\n<\/tr>\n<tr>\n<td>Missing BDLS execution<\/td>\n<td>ALE\/IDoc failure, workflow broken<\/td>\n<td>BDLS = step 1 in post-copy checklist<\/td>\n<\/tr>\n<tr>\n<td>Stale table buffers<\/td>\n<td>Users see old data, wrong valuations<\/td>\n<td>Restart or run $SYNC<\/td>\n<\/tr>\n<tr>\n<td>Forgotten printer configs<\/td>\n<td>Printout failures across landscape<\/td>\n<td>Backup SPAD before copy, restore after<\/td>\n<\/tr>\n<tr>\n<td>Job scheduling conflicts<\/td>\n<td>Duplicate production jobs in QA<\/td>\n<td>Disable all, review before reactivating<\/td>\n<\/tr>\n<tr>\n<td>License key expired<\/td>\n<td>System locks in 2 weeks<\/td>\n<td>Install permanent license before copy<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<h2><span class=\"ez-toc-section\" id=\"Verification_Checklist\"><\/span>Verification Checklist<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li><strong>BDLS<\/strong> \u2014 Verify all logical system names updated<\/li>\n<li><strong>SM59<\/strong> \u2014 Test all critical RFC destinations<\/li>\n<li><strong>BD87<\/strong> \u2014 Confirm test IDoc reaches partner system<\/li>\n<li><strong>SU10<\/strong> \u2014 Mass-reset all user passwords<\/li>\n<li><strong>SM37<\/strong> \u2014 Delete production-specific background jobs<\/li>\n<li><strong>SPAD<\/strong> \u2014 Check output devices against pre-copy backup<\/li>\n<li><strong>STMS<\/strong> \u2014 Verify transport routes for the new SID<\/li>\n<li><strong>SLICENSE<\/strong> \u2014 Confirm active permanent license installed<\/li>\n<li><strong>Restart<\/strong> \u2014 Final restart to clear all buffers<\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>SAP system copy for S\/4HANA isn&#8217;t complicated \u2014 it&#8217;s unforgiving of shortcuts. The export and import is the easy part. It&#8217;s the post-copy work \u2014 BDLS, RFCs, buffers, passwords \u2014 that separates a smooth refresh from a three-day firefight. Build a repeatable checklist, customize it for your landscape, and never skip the BDLS step. What&#8217;s your system refresh horror story? Drop a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step-by-step SAP system copy and refresh guide for S\/4HANA \u2014 homogeneous copy procedure, critical post-copy steps, RFC updates, BDLS, and common mistakes to avoid.<\/p>\n","protected":false},"author":1,"featured_media":2001,"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,"footnotes":""},"categories":[1241,1243],"tags":[188,189,1263,1298,1302],"class_list":["post-1994","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sap-basis","category-sap-migration","tag-sap-basis","tag-sap-hana","tag-sap-migration","tag-sap-s-4hana","tag-sap-system-copy"],"_links":{"self":[{"href":"https:\/\/adilfahim.com\/myblog\/wp-json\/wp\/v2\/posts\/1994","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adilfahim.com\/myblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adilfahim.com\/myblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adilfahim.com\/myblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/adilfahim.com\/myblog\/wp-json\/wp\/v2\/comments?post=1994"}],"version-history":[{"count":5,"href":"https:\/\/adilfahim.com\/myblog\/wp-json\/wp\/v2\/posts\/1994\/revisions"}],"predecessor-version":[{"id":1999,"href":"https:\/\/adilfahim.com\/myblog\/wp-json\/wp\/v2\/posts\/1994\/revisions\/1999"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/adilfahim.com\/myblog\/wp-json\/wp\/v2\/media\/2001"}],"wp:attachment":[{"href":"https:\/\/adilfahim.com\/myblog\/wp-json\/wp\/v2\/media?parent=1994"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adilfahim.com\/myblog\/wp-json\/wp\/v2\/categories?post=1994"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adilfahim.com\/myblog\/wp-json\/wp\/v2\/tags?post=1994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}