SlideShare a Scribd company logo
SAP	
  Post	
  Copy	
  Automa.on	
  
•  This  document  provides  a  quick  overview  of  SAP  Post  Copy  
Automa;on  (PCA)  based  on  experiences  during  implementa;on  
on  customer  projects
•  PCA  is  part  of  NetWeaver  Landscape  Virtualiza;on  Manager  
Enterprise  Edi;on  (LVM)
•  It  is  available  for  both  the  ABAP  and  Java  stack  of  NetWeaver  
but  this  document  focuses  on  the  ABAP  implementa;on
•  The  document  is  aimed  at  system  administrators  familiar  with  
the  system  copy  process  for  ABAP-­‐based  systems  such  as  ECC
Introduc.on	
  
•  Automates  most  of  the  post  copy  steps  in  the  Basis  area
•  Uses  an  export/import  approach  via  R3trans
•  Op;ons  to  export/import  customer  tables  through  BAdI
•  Can  run  standalone  or  integrated  with  LVM
•  SAP  standard  task  lists  available
Main	
  Features	
  
Prepara.on	
  
•  Prepara;on  in  source  system
–  Enter  tables  to  be  excluded  from  conversion  in  table  BDLSEXZ
–  Run  RBDLS_CHECK  to  populate  table  BDLSCOUNTALL
•  Prepara;on  in  target  system
–  Ensure  kernel  is  up  to  date
–  Parameter  ctc/allow_systemcopy_postconfig  should  be  set  to  1
–  Parameter  login/no_automa;c_user_sapstar  should  be  set  to  0  
–  Create  ctc_data  directory  in  DIR_GLOBAL
–  Ensure  sufficient  background  work  processes  for  BDLS
Transportable	
  Objects	
  
•  Customer  task  lists
–  SAP  standard  task  lists  must  not  be  changed
–  Create  customer  task  lists  as  copies  of  standard  task  lists
–  Transport  to  produc;on
•  Customer  tables
–  Customer  tables  can  be  handled  via  enhancement  spot  
SCTC_SC_CUSTOMER  and  BADI  SCTC_SC_CUSTOMER_TAB
–  Tables  can  be  exported/imported  or  truncated
–  BAdI  invoked  by  PCA  tasks  “Export/Import  Customer  Defined  
Configura;on  Tables”  or  “Cleanup  of  Customer  Defined  Configura;on  
Tables”  
System	
  Copy	
  with	
  PCA	
  
•  System  Copy
–  Perform  ini;al  system  copy  using  SWPM  target  system  install
–  Perform  ini;al  configura;on  using  SAP  supplied  PCA  task  list
–  Perform  remaining  configura;on  tasks  manually  e.g.
•  RFC  des;na;on  adjustments
•  Adjustments  in  the  spool  administra;on
–  Perform  logical  system  name  conversion  (BDLS)  using  PCA  task  list
System	
  Refresh	
  with	
  PCA	
  
•  System  Refresh
–  Perform  configura;on  export  using  PCA  task  list
–  Perform  database  refresh  using  standard  tools  (dump/load)
–  Perform  configura;on  import  using  PCA  task  list
–  Perform  logical  system  name  conversion  (BDLS)  using  PCA  task  list
Logical	
  System	
  Conversion	
  
•  Logical  System  Conversion
–  Uses  content  of  BDLSCOUNTALL  prepared  earlier
–  Processes  all  logical  system  name  pairs  simultaneously
–  Parallel  processing  of  tables  via  numerous  background  jobs
–  Standard  PCA  task  list  SAP_BASIS_COPY_BDLS  is  sufficient
Standard	
  Task	
  List	
   System	
  Copy	
   System	
  Refresh	
  
SAP_BASIS_COPY_REFRESH_EXPORT	
   ✖	
   ✔	
  
SAP_BASIS_COPY_INITIAL_CONFIG	
   ✔	
   ✖	
  
SAP_BASIS_COPY_REFRESH_EXPORT	
   ✖	
   ✔	
  
SAP_BASIS_COPY_BDLS	
   ✔	
   ✔	
  
System	
  Copy	
  &	
  Refresh	
  Summary	
  
www.aliterconsul.ng.co.uk	
  

More Related Content

SAP Post Copy Automation

  • 1. SAP  Post  Copy  Automa.on  
  • 2. •  This  document  provides  a  quick  overview  of  SAP  Post  Copy   Automa;on  (PCA)  based  on  experiences  during  implementa;on   on  customer  projects •  PCA  is  part  of  NetWeaver  Landscape  Virtualiza;on  Manager   Enterprise  Edi;on  (LVM) •  It  is  available  for  both  the  ABAP  and  Java  stack  of  NetWeaver   but  this  document  focuses  on  the  ABAP  implementa;on •  The  document  is  aimed  at  system  administrators  familiar  with   the  system  copy  process  for  ABAP-­‐based  systems  such  as  ECC Introduc.on  
  • 3. •  Automates  most  of  the  post  copy  steps  in  the  Basis  area •  Uses  an  export/import  approach  via  R3trans •  Op;ons  to  export/import  customer  tables  through  BAdI •  Can  run  standalone  or  integrated  with  LVM •  SAP  standard  task  lists  available Main  Features  
  • 4. Prepara.on   •  Prepara;on  in  source  system –  Enter  tables  to  be  excluded  from  conversion  in  table  BDLSEXZ –  Run  RBDLS_CHECK  to  populate  table  BDLSCOUNTALL •  Prepara;on  in  target  system –  Ensure  kernel  is  up  to  date –  Parameter  ctc/allow_systemcopy_postconfig  should  be  set  to  1 –  Parameter  login/no_automa;c_user_sapstar  should  be  set  to  0   –  Create  ctc_data  directory  in  DIR_GLOBAL –  Ensure  sufficient  background  work  processes  for  BDLS
  • 5. Transportable  Objects   •  Customer  task  lists –  SAP  standard  task  lists  must  not  be  changed –  Create  customer  task  lists  as  copies  of  standard  task  lists –  Transport  to  produc;on •  Customer  tables –  Customer  tables  can  be  handled  via  enhancement  spot   SCTC_SC_CUSTOMER  and  BADI  SCTC_SC_CUSTOMER_TAB –  Tables  can  be  exported/imported  or  truncated –  BAdI  invoked  by  PCA  tasks  “Export/Import  Customer  Defined   Configura;on  Tables”  or  “Cleanup  of  Customer  Defined  Configura;on   Tables”  
  • 6. System  Copy  with  PCA   •  System  Copy –  Perform  ini;al  system  copy  using  SWPM  target  system  install –  Perform  ini;al  configura;on  using  SAP  supplied  PCA  task  list –  Perform  remaining  configura;on  tasks  manually  e.g. •  RFC  des;na;on  adjustments •  Adjustments  in  the  spool  administra;on –  Perform  logical  system  name  conversion  (BDLS)  using  PCA  task  list
  • 7. System  Refresh  with  PCA   •  System  Refresh –  Perform  configura;on  export  using  PCA  task  list –  Perform  database  refresh  using  standard  tools  (dump/load) –  Perform  configura;on  import  using  PCA  task  list –  Perform  logical  system  name  conversion  (BDLS)  using  PCA  task  list
  • 8. Logical  System  Conversion   •  Logical  System  Conversion –  Uses  content  of  BDLSCOUNTALL  prepared  earlier –  Processes  all  logical  system  name  pairs  simultaneously –  Parallel  processing  of  tables  via  numerous  background  jobs –  Standard  PCA  task  list  SAP_BASIS_COPY_BDLS  is  sufficient
  • 9. Standard  Task  List   System  Copy   System  Refresh   SAP_BASIS_COPY_REFRESH_EXPORT   ✖   ✔   SAP_BASIS_COPY_INITIAL_CONFIG   ✔   ✖   SAP_BASIS_COPY_REFRESH_EXPORT   ✖   ✔   SAP_BASIS_COPY_BDLS   ✔   ✔   System  Copy  &  Refresh  Summary