Monday, September 19, 2016

Change Reference Characteristics of InfoObjects

Sometimes,
We create infoobjects referencing other infoobjects, but down the line, we might want to remove the reference  or change the reference or in some cases, add a new reference for the infoobjects.

SAP has provided a note for the same SAP NOTE 568051

https://launchpad.support.sap.com/#/notes/568051

Below are the steps as explained in the note.


Scenario 1
Replace the reference characteristic from one to another
In this scenarion,  we have an Infoobject ZCHILD which was created as a reference to ZMAIN1.
Now we wanted to replace the reference from ZMAIN1 to ZMAIN2.

Step 1 : Check the entry in table RSDCHA
Here change the value of 'M' entry to the reference character wanted.Here to ZPMAIN2 either directly in the table (most cases possible in dev systems ) or through program ( where edit not available)


Now go to table RSDIOBJ and make 'ACTIVFL' BLANK from 'X' for both 'A' and 'M' versions.

These changes will de-activate the infoobject.
Go to RSA1 and activate it. you can see that the reference object has been changed.

The activation would NOT happen if the Infoobject is being used in any infocubes with data in them. Delete the data from the infocubes and activate the infoobject.


Now, if you check the table, RSDIOBJ, the ACTIVFl would be changed back to 'X'.



Scenario 2








1 comment:

  1. The above content is very useful and thanks for that. Now when we want to assign reference Info Object to existing info object then what would be the steps and Prerequisites.

    ReplyDelete