cancel
Showing results for 
Search instead for 
Did you mean: 

Error with field hyperlink, triggered when clicking item details

matthias_kasig2
Participant
0 Kudos

Hi SDN,

we are running SRM-MDM 2.0 SP04 PL11.

I have created a repository which uses the hyperlink lookup table to add a link to a pdf file for the particluar item. In the hyperlinks table I created one type "Link".

From my Excel import I map URL against URL<Hyperlink> and URL-Type against Hyperlink (LookUp Table). Works fine so far. So when clicking on my pdf file-link -- looks like this:
mdmserver\folder\2000123.pdf I get a new window displaying the pdf in adobe acrobat reader. Nice so far - but this is no http link but a link to a share or shared folder in the file system. So it is merely a file-link - no web http ftp or thelike link.

I get a follow on error which should not have to do anything with this, but the error text tells so.

Just to make things clear - if after a successful search, I have a data entry in the mdm list view with 2 hyperlinks - one leads to my pdf, the other to item-details.

As I could not find out how to avoid the link to item-details (link is on short description, but I don't need it...) I get an error, when clicking on short description - error text is this:

The initial exception that caused the request to fail, was:

com.sap.tc.webdynpro.services.exceptions.InvalidUrlRuntimeException: Invalid URL=file:
mymdmserver\folder\2000123.pdf

In fact, if I write in data manager eg http://www.cool.de to the URL field, then I don't get an error when clicking item details. Can somebody tell either how to avoid the details link (didn't find anything in the config web UI tool), or

how to avoid this error anyway...

One bonus question but not as important: Is there a way to change the column name "hyperlink" on the web UI? I'd rather have "Preview" instead. But I can't find tools or ways to change this. Not in the config web UI, neither in the

console - there we have the label "Hyperlink" only in the item details in the lower right corner. But this seems to be the label which the web UI uses.

kind regards, matthias

Edited by: Matthias Kasig on Nov 25, 2010 10:08 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

matthias_kasig2
Participant
0 Kudos

you shall find the solution in my last comment, thanx, matthias

matthias_kasig2
Participant
0 Kudos

Hi SDN,

I could not wait too long, so I put the question also in the SRM Catalog forum. There I received illumination! Bala wrote - and this is the solution to all of my problems:

Hi Mathias.

Since you are not interested to view item details, and If you don't want to throw an exception when you navigate to Item details, just remove the filed Hyperlink from Item details through Catalog Configuration UI.

or

Check if the Relative URL is correct and it has the file exists on it(Refer to SAP MDM Catalog FAQNote for more details on this)

or

Contact SAP since this is throwing exception.

-

For your Bonus Question.

Try changing the maintable-filed name Hyperlink to Preview- and checn if it is reflecting in the Web-UI.

Again if you do this it will reflect in all the places(resultset, compare,itemdetails etc)Make sure you modify only the "Name" of the field. If it works make a note of the changes you did, because in future if you are

Note: SAP recommends not to edit any fields in the repository.

Regards

Bala

I did not contact SAP officials for this as I am quite happy with this solution,

kind regardsk, matthias