Can I fix LCM (Promotion Management)?

Hi all basically, someone deleted the LCM folder in Business Objects and now I get this error when I try go to Promotion Management in the CMC.

I have tried going to the recycle bin, but it must of been deleted a while ago because its not in there.

I have also tried to re-create the folder but that doesnt work either, Im guessing because the new folder has a new CUID.

I have spent hours upon hours searching google. Most stuff leads me to the SAP Support Portal. But because we got Business objects from a reseller we dont have a login. We need to pay our supplier for support.

Usually I would say to try and promote the folder from another environment but since it is the LCM folder, that kinda shoots that option. :roll_eyes:

I don’t think folder objects are sent to the recycle bin, at least I’ve never seen any there. Only reports. So it may not be a time issue for your.

The only option I can think of to regain the folder would be to try a repair of your installation. Hopefully that would restore the LCM folder.

1 Like

Might work to run promotion management on the second environment and promote to the server with the missing folder. I think it just needs to connect to the CMS on the problem box.

1 Like

We only have the one environment. Stupid I know, but I dont have any control over that side. Our infrastructure team do all the server setup and installations.

I did ask infrastructure to create me a test server. And all they did was clone the LIVE application server onto another server.

But im guessing there are settings that need changing (e.g IP, Server Name) because it wont let me login to anything on the cloned server. I just get an error that says "Could not reach CMS"

Also i dont think they copied the database, so the clone server is porbabaly trying to connect to the LIVE CMS database.

Its so frustrating.

Infrastructure tried the repair on the earliest version of BO in Add/Remove programs. It broke the server and they had to restore.

I wish I had more control over things.

Hello,

LCM should never be deleted. It has been hardcoded by CUID. Fixing this is a bit difficult.
Follow KB2067506

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

Procedure (described in the KB) is the following:

WARNING: Ensure that you have taken backup of the CMS database and FRS (filestore) before proceeding further.

  1. Download and extract the attached dfocleanup script which is used to delete the corrupt DeploymentFile related objects and the associated entries.

  2. Take a backup of the problematic BusinessObjects_LCM_PromotionJobs_Folder_dfo.xml and BusinessObjects_LCM_Folder_dfo.xml file. Located in: C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dfo<latest_dfo_xxxxcyyyyzzzz folder> assuming the product is installed in C:\ drive.

  3. If these files are not available in the above dfo folder, then copy them over from a working server running at the exact same patch level/version.

  4. Clean up the failing or incomplete objects & dfos in the CMS database using the DFOCleanUp script.

  5. Run: DfoCleanUp.bat -f BusinessObjects_LCM_PromotionJobs_Folder_dfo.xml -c [Replacing with the CMS (e.g. myserver:6400) ].

  6. Run: DfoCleanUp.bat -f BusinessObjects_LCM_Folder_dfo.xml -c [Replacing with the CMS (e.g. myserver:6400) ].

  7. Upload the dfo files in (<>/packages) folder: C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\packages assuming the product is installed in C:\ drive.

  8. Restart the Server Intelligence Agent.

  9. The .xml files should disappear from the above packages folder after CMS starts.

  10. After it restarts can access the Promotion Management without any errors.

ALTERNATE METHOD:

  1. Delete the dfo entry manually from CMS database by following the below steps:

  2. Login to AdminTools.

  3. Run the query select * from ci_infoobjects, ci_appobjects, ci_systemobjects where si_name=‘BusinessObjects_LCM_PromotionJobs_Folder_dfo.xml’.

  4. Run the query select * from ci_infoobjects, ci_appobjects, ci_systemobjects where si_name=BusinessObjects_LCM_Folder_dfo.xml’

  5. Note the SI_ID of these DFOs.

  6. Stop the Server Intelligence Agent.

  7. Go to the directory \SAP BusinessObjects Enterprise XI 4.0\dfo<latest_dfo_xxxxcyyyyzzzz folder>

  8. Take the backup of file BusinessObjects_LCM_PromotionJobs_Folder_dfo.xml and BusinessObjects_LCM_Folder_dfo.xml

  9. Start the CMS in console mode. (KBA: 1828536 )

  10. Run: delete <SI_ID>(SI_ID is the id noted in step 5/need to delete the ID one by one).

  11. Upload the BusinessObjects_LCM_PromotionJobs_Folder_dfo.xml and BusinessObjects_LCM_Folder_dfo.xml in the Packages folder.

  12. Restart the Server Intelligence Agent.


The DfoCleanup.zip Utility can be downloaded from the above mentioned KB via SAP Launchpad.

Regards,

Klaus