Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Wrong document URL for content server

$
0
0

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&docId=4F7F37E4333C02F2E10080000A0A07D6&compId=productx.jpg

 

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


Viewing all articles
Browse latest Browse all 8332

Trending Articles