cancel
Showing results for 
Search instead for 
Did you mean: 

CCM - "error when reading master catalog"

diegohs
Active Participant
0 Kudos

Hi Everybody,

I want to use CCM, I tried this initialization steps:

- transaction SA38 run report "/CCM/INITIALIZE_CME"

- Open the "Edit Catalogs" link before you create any catalogs. Choosing Edit Catalogs triggers the creation of the master catalog. If you do not do this, SAP Catalog Authoring Tool outputs an error message when you try to create a catalog.

For my bad luck.. I receive that error trying to create a supplier catalog.

IMPORTANT: I dont have Trex nor XI installed yet.

Anybody knows how to solve this error ?

I really appreciate your help !

Regards,

Diego

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Diego,

You apparently followed the good steps.

Please:

1-Run /CCM/INITIALIZE_CME once again (be sure to use a user with CCM admin role), and give me the log (transaction SLOG)

2- Launch the transaction "Edit Catalogs" in your browser with the CCM admin user, <u>and wait</u> til the Master catalog appears on the screen

Concerning XI:

-It will only be necessary when you'll try to upload XML files, or for the publication if you've choosen to separate the CAT ( Catalog Authoring Tool) and the CSE (Catalog Search Engine).

Cocerning TREX:

-It is used only in the CSE, and is required during the publication

Regards.

Vadim

diegohs
Active Participant
0 Kudos

Hi Vadim,

Well... I have the same error, but i have 3 comments:

1. I run the report with a user with the following roles:

/CCM/CATALOG_MANAGER

/CCM/CATALOG_APPROVER

/CCM/CATALOG_SEARCH

SAP_BBP_STAL_ADMINISTRATOR

Is the "manager" role equivalent to the CCM Admin role mentioned by you ?

2. The transaction SLOG in SRM doesnt exists. Do you mean transaction SLG1 ?

3. When I press "Edit Catalogs", I see the screen complete.. but a tiny message on the bottom displays the error.

Thanks for your help,

Saludos desde Mexico,

Diego

diegohs
Active Participant
0 Kudos

HI Vadim,

This is a complete update of my situation:

1. I'm using SRM 5.0 and CCM 1.0 with SP7 (both)

2. I logon in SRM (gui) with a user with the following roles:

/CCM/CATALOG_APPROVER

/CCM/CATALOG_MANAGER

/CCM/CATALOG_SEARCH

SAP_BBP_STAL_ADMINISTRATOR

SAP_BBP_STAL_CONTENT_MANAGER

3. I execute in SA38 the report: "/CCM/INITIALIZE_CME"

4. I checked in SLG1 the log, and some CCM logs are green, others are yellow. Example of an yellow record: "Format data (STRING) will be used internally"

5. I logon in EBP (web) with the same user and press "Edit Catalogs" link (in order to create the Master Catalog)

6. I can see that screen (edit catalogs) without problems, but at the bottom of the page I receive this message with a yellow icon: "Error when reading catalogs; error when reading master catalog"

7. I checked SLG1 again and I have this error in red(detail with 3 lines):

"System is not initialized, carry out report /CCM/INITIALIZE_CME"

"Unable to initialize the characteristics/data types (catalog /CCM/MASTER_CATALOG)"

"Error when generating catalog /CCM/MASTER_CATALOG"

8. Searching a solution in the OSS; I found the note:734168 that describes my problem. But I'm on sp7 and the note is for sp01.

Do you have a clue of what can be wrong ?

Best regards,

Diego

Former Member
0 Kudos

Hi Diego,

I encountered a similar problem on CCM 1.0.

My problem came from the fact I didn't wait for the Master catalog to be creatred the first time I launched the "Edit Catalogs" transaction.

To solve this issue, I had to delete manually the "partial" master Catalog that was causing the error.

To check if it is your problem:

Launch manualy the method:

/CCM/CL_CATALOG_MANAGER --> SEARCH_CATALOGS_BY_TYPE

with parameters

IV_PROCESS = AI

IT_CATALOG_TYPE = 01 & 02

This method will list you the "partial" master catalog if it exists.

Then you'll have to use the delete function of the object /CCM/CL_CATALOG_MANAGER to delete this catalog.

Just relaunch the Edit Catalog transaction after and wait for the Master catalog to be created (it will be listed on the web screen).

Regards.

Vadim

diegohs
Active Participant
0 Kudos

Hi Vadim,

Thanks for your reply.. on saturday 😃

Im not very familiar with transactions at all.. In which transaction can I launch that method manually ?

Best regards from Mexico,

Diego

Former Member
0 Kudos

In SE80,

Ask a developer to help you.

Regards.

Vadim

diegohs
Active Participant
0 Kudos

Hi Vadim,

I executed the method manually in SE80, but it doesnt return anything. =(

Do you know which class/method creates the master catalog ? I would like to try to create it manually

Or Should I check something else ?

Thanks for your help !

Un saludo desde mexico,

Diego

diegohs
Active Participant
0 Kudos

Hi Vadim,

Do you have any other clue about the solution for this problem ? =(

Regards,

Diego

Former Member
0 Kudos

Hi Diego,

Sorry, but I have no system here.

Try to use the method I gave you, but I agree it was a quite difficult way even for me (and I used to be an SAP developer ).

Good luck.

Vadim

diegohs
Active Participant
0 Kudos

well.. let see what sap support people says about it then..

I'll you know the final results 😃

diegohs
Active Participant
0 Kudos

Hi vadim,

After several days, my CCM was fixed with an upgrade of Abap & Basis to sp14.

Thanks for your help,

Diego