cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete an environment in BPC 2021 completely

SAPSupport
Employee
Employee
0 Kudos
904

I restore the environment from BPC10.1 to BPC2021 new system using UJBR, then I do some test.
now I want to delete the environment in BPC2021 web, if there are some other data I need to process or delete, to avoid generating garbage data?


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee

Sometimes an environment deleted by the standard BPC operation, such as the Web Administration or the report UJS_ACTIVATE_CONTENT (clean option) leaves scrap data in the system.

This may be identified by /CPMB/<Environment Prefix> objects under unassigned nodes, or tables left under /CPMB/, /1CPMB/, or /B28/ namespaces that were related to the original environment.

While restoring or transporting an environment one may face issues such:
•"Environment <Environment Name> already exists with the prefix /CPMB/<Prefix Code>"
•"Table /1CPMB/<Object Name> already exists"
•"InfoObject /CPMB/<Object Name> already exists"

Steps to run the report:
1.Logged at the Netweaver backend, in the BW client go to transaction SE38:
2.Execute the report UJAA_CLEAN_DELETED_APPSET.
3.Parse the parameters:
a.APPSET: This is the original name used by both BW and BPC to refer to the Environment/InfoArea. If one don't know for sure the environment name, the tables generating the exception might hold this information in one of its fields.
b.APPS_PFX: This is the environment's technical name prefix. The prefix is the first 2 characters after the /CPMB/ namespace tag for almost every BPC object. For instance, a BPC dimension with technical name as '/CPMB/RUDZ1VW' belongs to an environment named SAP_PLANNING.
c.The parameters for UJAA_CLEAN_DELETED_APPSET in this case would be:
APPSET = SAP_PLANNING
APPS_PFX = RU
4.Execute.
5.Check if the affected scrap data has been removed from the system through the BW workbench and checking the affected BPC internal tables.

Answers (0)