如何通过SARA归档BP

2640553 - How to archive BP (without customer/vendor role) by SARA

Symptom

  • You create a BP by mistake in ERP or CRM system. You want to know how to archive the BP by SARA.
  • Step-by-step guidance of using SARA with object CA_BUPA. 

Environment

  • SAP ERP Central Component 6.0
  • SAP ERP 6.0

  • SAP Enhancement package for SAP ERP
  • SAP Enhancement package for SAP ERP, version for SAP HANA
  • software component SAP_ABA 

Resolution

  1. Set archiving flag on unwanted BP by
    - running transaction BUPA_PRE_DA or report BUPA_PREPARE_DA for the unwanted BP to set the archiving flag
    - OR going to tab "Status" in BP transaction and set the archiving flag manually. (Non CRM System only)
  2. Go to tcode SARA. Input object CA_BUPA which is used to archive business partners.
  3. Click on the Write button. Create a new Variant such as TEST. Then press Maintain button.
  4. Input the unwanted BP number into "Business Partner" field.
    If the BP only contains general data, you could just selet the General data indicator. If the BP contains other company code data, you should select the unwanted company code data as well.
    Choose the processing options as "Test mode" or "Production mode".
    Then press the "Attributes" button in the left top corner.
  5. Input the description. Then save the variant. It will come back to the screenshot in Step 5.
  6. Press BACK button.
  7. Maintain the start date of the job. Press "Start date" button. 
    In my test, I want to archive the BPs immediately, so I press "Immediate" button. Also, this can be schedule as a background job or a periodic job.
    Click on SAVE button. Then the light of "Start date" becomes green.   
  8. Click on "Spool params." and choose the output service.
  9. Execute the write job. 
  10. Press "job overview" button to monitor the job status. 

    To check whether there is error in the writing program, you can double click on "Spool" button and then double click on "ABAP list" button. 
    The following message "archived successfully" means the writing program being executed correctly. 
  11. Click on the DELETE button. 
  12. Once the Write program is executed successfully, there is a writing file for you to choose. Select this file.
  13. Same as step 8 and 9. Maintain the "start data" and "spool parameters".
  14. Click on the "Customizing" button. Choose Archiving object-Specific Customizing -> Technical Settings.
  15. Maintain the Settings for Deletion Program:
    Test mode Variant - SAP&TEST
    Live mode Variant - SAP&PROD
    And choose the content repository from F4 help.
    Save.
  16. Execute the Deletion program. And you could click on "job overview" button to check the job status.
  17. Once the deletion program is performed successfully, the unwanted BPs will be deleted from the system.

See Also

  • 15
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值