Skip to Content

Applies to:

SAP BW NW 7.0. For more information, visit the Business Intelligence homepage.

Summary

Error (RSDA156 ) while Activating the cube after removing a field from infoprovider  which has a DAP established (NLS).

This guide gives a step-by-step detail of when this error occurs and how to resolve it.

Author: Megha Katore , Ashwini A Gosavi

Created on: 11th Dec, 2013

Introduction:


In cases where there is a large amount of data in SAP BI, we cannot hold all the data in the BW system has it would occupy unnecessary space, as this data can be archieved in some other place and can be accessed by the BW system as and when required. The process to do the same is Data Archival Process, which enables us to archive data on remote or logical file.

Error:

We had an infocube which had 10 fields we had to remove 2 fields from the cube. The cube had a NLS based DAP established. After removing the field and activating the infocube we were facing an error stating “Infoobject ABC cannot be removed from infoprovider ZXYZ .This is because it has been used as a selection characteristic or semantic group characteristics in dap or in near line storage for the infoprovider”.


Solution:

While analyzing the same scenario we came across a few findings and the way this error can be resolved.

Consider the following scenarios and the steps followed to resolve the errors:

Scenario 1: (ADK Based DAP)

  We have an Infocube ZCUBE_TST, having 5 objects (ZT1, ZT2, ZT3, ZT4 and ZT5).


/wp-content/uploads/2013/12/1_341024.png


And it has an ADK base DAP established. All the fields present  in the Infocube ZCUBE_TST are reflected in the DAP :

/wp-content/uploads/2013/12/2_341025.png

/wp-content/uploads/2013/12/3_341026.png

The below screenshot shows the selection profile which has all the characteristics objects available for partioning .

/wp-content/uploads/2013/12/4_341031.jpg

The below screenshot shows the Semantic group which has all the characteristics and Key figure objects available for Sorting .

/wp-content/uploads/2013/12/5_341032.jpg

Now, we have to remove the field ZT2 from the infocube.(The below screenshot shows the Infocube after removing the field from the infocube.)

/wp-content/uploads/2013/12/6_341033.jpg

After removing the field and while activating the Infocube you will get a pop-up as shown below:

/wp-content/uploads/2013/12/7_341034.jpg

In this scenario when it is an ADK based DAP we do not face any error while activating the Infocube after removing the field from the Infocube as it automatically updates the DAP after activation of DAP and all the underline objects that are inactive like transformation and DTP.

/wp-content/uploads/2013/12/8_341035.jpg

The below screenshot shows the DAP after activation and the updated structure of the same. Now you can see that the field ZT2 is now being removed from the Infocube as well as the DAP.

/wp-content/uploads/2013/12/9_341036.jpg

/wp-content/uploads/2013/12/10_341037.jpg

Scenario 2: (NLS Based  DAP)

In this scenario we are using the same Infocube ZCUBE_TST, but we will make use of a NLS based DAP.

/wp-content/uploads/2013/12/11_341038.jpg

In the below screenshot you can see a NLS based DAP. All the fields present  in the Infocube ZCUBE_TST are reflected in the DAP :

/wp-content/uploads/2013/12/12_341042.jpg

/wp-content/uploads/2013/12/13_341043.jpg

The below screenshot shows the selection profile which has all the characteristics objects available for partioning .

/wp-content/uploads/2013/12/14_341044.jpg

The below screenshot shows the Semantic group which has all the characteristics and Key figure objects available for Sorting .

/wp-content/uploads/2013/12/15_341051.jpg

Now, we have to remove the field ZT2 from the infocube.(The below screenshot shows the Infocube after removing the field from the infocube.)

/wp-content/uploads/2013/12/16_341052.jpg

After removing the field and while activating the Infocube you will get a pop-up as shown below:

/wp-content/uploads/2013/12/17_341053.jpg

Earlier for an ADK based DAP , while activating the Infocube we did not receive any error while activalting the cube. But for an NLS based DAP , while activating the cube after removing the field we recived the following error as shown below:

/wp-content/uploads/2013/12/18_341054.jpg/wp-content/uploads/2013/12/19_341055.jpg/wp-content/uploads/2013/12/20_341056.jpg

So you can see we are unable to activate the Infocube after removing the field from the Infocbe which has a NLS based DAP.

/wp-content/uploads/2013/12/21_341057.jpg

As earlier in the ADK based DAP we were able to see that when we remove the field from the cube the same gets automatically updated in the DAP after activation. As we are unable to activate the Infocube the changes are not reflected in the DAP as shown below.

/wp-content/uploads/2013/12/22_341058.jpg

(Note: The field ZT2 is still present in the DAP)

/wp-content/uploads/2013/12/23_341059.jpg

As the fields are present in selection profile and semantic group the structure is different, due to change in the structure it is showing and ambiguity as the structure of Infocube and DAP are different it is now allowing us to activate the cube. So we thought of manually removing the fields from selection profile and semantic group. But as you can see these fields are in disabled mode even if you switch to change mode.You can only make changes in the settings of the DAP and not the structure. The Structure gets updated automatically.

Now, the solution that we implemented to resolve the issue is as follows:

Step 1: Delete the DAP .(Right Click the Infocube à  goto Data Archival Process à goto delete ).

/wp-content/uploads/2013/12/24_341065.jpg

Step 2: After deleting the DAP. Now again try to activate the cube. You will again see the standard pop-up that appears after you remove any fields from the cube as shown below.

/wp-content/uploads/2013/12/25_341066.jpg

Now, you can see the field ZT2 has been removed from the Infocube and the Infocube is now in active state.

/wp-content/uploads/2013/12/26_341068.jpg

Step 3:  Now activate the underline transformation for the same.

/wp-content/uploads/2013/12/8_341035.jpg

Step 4: Now re-create the DAP , once the Infocube is active(Right Click and goto Create Data Archival Process).

/wp-content/uploads/2013/12/27_341071.jpg

/wp-content/uploads/2013/12/28_341078.jpg

Now you can see the DAP will contains the same structure as the Infocube as shown below.

/wp-content/uploads/2013/12/29_341079.jpg

/wp-content/uploads/2013/12/30_341080.jpg

/wp-content/uploads/2013/12/31_341082.jpg

Note: This error occurs only when you remove any field from the Infocube after creation of DAP. While adding a new field to the Infocube the structure gets reflected automatically in the DAP.

Caution: When you delete the DAP, the archived data also gets deleted. So to avoid losing the data,we should reload all the archived data back into the info-provider before the DAP deletion process is started.

To report this post you need to login first.

15 Comments

You must be Logged on to comment or reply to a post.

  1. Harish Allachervu

    nice job 🙂 but you could have added bit background i mean to say difference between ADK & NLS DAP so that it has been handy info for the readers!!!

    it is just my personnel opinion 😉

    Regards,

    Harish

    (0) 

Leave a Reply