Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Wrong document URL for content server

Former Member
0 Likes
2,468

Hi,

In my code I'm getting the url of an image by using the function:

CALL FUNCTION 'CVAPI_DOC_VIEW'

   EXPORTING

     PF_DOKAR               = it_objectlinks-documenttype

     PF_DOKNR               = it_objectlinks-documentnumber

     PF_DOKVR               = it_objectlinks-documentversion

     PF_DOKTL               = it_objectlinks-documentpart

    PF_HOSTNAME            = 'DEFAULT'

    PF_APPL_START          = ' '

    PF_GET_URL             = 'X'

IMPORTING

    PFX_URL                = lv_url

EXCEPTIONS

    ERROR                  = 1

    NOT_FOUND              = 2

    NO_AUTH                = 3

    NO_ORIGINAL            = 4

    OTHERS                 = 5.

On Development side I'm getting the correct url.

http://sapdcs.brussel.be.x.com:1090/ContentServer/ContentServer.dll?get&pVersion=0046&contRep=ZD&;docId=53655548314D14C0E10080000A0A0748&compId=productx.jpg

On Quality side I'm getting the wrong url.

http://sapdcs.brussel.be.x.com:1090/ContentServer/ContentServer.dll?get&pVersion=0046&contRep=ZQ&doc...

The contRep and compId are correct. I'm not able to check the docId.

Is this a possible problem or do I call the wrong content server or is this server wrong configured, no idea!

Any help?

Regards

8 REPLIES 8
Read only

FredericGirod
Active Contributor
0 Likes
2,112

Hi,

do you have found the document in the TOA01 table ?

did you check the content server is UP and running ?

regards

Fred

Read only

0 Likes
2,112

* I didn't found the documents in the TOA01 but neither on Development, where the link is working

* The server is running

Read only

0 Likes
2,112

do you have check with the program RSCMST ?

Read only

0 Likes
2,112

Read only

0 Likes
2,112

Press the Exec icon for each lines

Read only

0 Likes
2,112

What is this program doing because I'm not the owner of the server

Read only

0 Likes
2,112

This program only test if the server is OK

test creation, modificaiton, suppression

this program is a basic test to check if you content server repository is OK or not

Read only

0 Likes
2,112

DEVELOPMENT (WORKING)

QUALITY (NOT WORKING)