cancel
Showing results for 
Search instead for 
Did you mean: 

Attached documents can't be displayed

Former Member
0 Kudos

Hello,

We have SRM with EP. The SRM system was given a DNS domain name in order to be contacted among the full company. This name was configured in our company's DNS servers let's say this name is http://srmserverformycompany.com

but this server internally has the following name: http://srmpro.ep

The problem occurs when using the system with the url http://srmserverformycompany.com: we attach a document to a shopping cart and then when trying to open the system shows a new window with the message: the Page Cannot be Displayed so the system is trying to display the attached document using the internal address http://srmpro.ep which is not recognized in all the machines. The problem is solved if the user manually changes the url to

http://srmserverformycompany.com then the document is displayed.

So my question is: is there any way to change the url that SRM is using to open attached documents?

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello, you could try to define entries in table httpurlloc, srm uses this table to generate url for documents in docserver, you should define an entry for your protocol, domain and the corresponding host to be used when displaying documents.

http://help.sap.com/saphelp_erp2005/helpdata/en/42/d547ab30b6473ce10000000a114e5d/frameset.htm

the entries created should be for /sap/ebp/docserver

Regards, Luciano

Former Member
0 Kudos

Thanks Luciano,

That solved my problem.

Ragards.

Former Member
0 Kudos

Thanks ! Gurus,

Actaully I am facing same sort of problem, Sending attachment from SRM 7.01 to third party vendor.

We are able to see and open the attachment in our network, but the vendor is not able to open

the URL sent with the attachment to open the document.

Please suggest.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Elias,

Do you have service "docserver" activated in SICF? (path: SAP - ebp)?

When you have several clients, just create different default hosts for using this service. For Single Sign On assign a user to the service to support anonymous login.

Kind regards,

Claudia

Former Member
0 Kudos

Hi Claudia,

Yes the docserver service is activated.

But I don't understand what you said "When you have several clients, just create different default hosts for using this service"

Where do I have to do this?

Can you explain with more detail where is specified the URL that is used to attach documents?

Regards.

JohnnyKeogh
Explorer
0 Kudos

To allow access to attachments by external users,

BAdI implementation BBP_CHANGE_URL is available. In this BADI,

you must first distinguish the type of user, whether internal or

external. Then you must pass a different URL depending on the user and

return the URL to BBP_ROOT_URL. Please consider using this BADI to

resolve this issue.

Also, have you configured your system for attachments as per the

instructions of note 668062: Configuration of attachment display?

To summarise,

i.)Transaction SICF

11.)Double-click on service SAP->EBP->DOCSERVER or the corresponding

subservice for the client

111.) In here there should be

- either a user (with client & password) maintained

- or Single-Sign-on chosen. In this case additonal settings must

be maintained....

See the "Configuration Guide".

a) http://service.sap.com/ibc-srm

b) Choose a scenario on the right side, e.g.

"Self Service procurement"

c) Open the "Business Scenario Configuration Guide".

d) Chapter "Setting up Attachments" contains the necessary

information

iv.)Activate the service "DOCSERVER" or the corresponding subservice

for the client. (Right click link -> Activate Service)

Also, make sure the settings are correct in trx SMCIM ->Goto ->

Services

Former Member
0 Kudos

Hello Elias,

Try to use BADI BBP_CHANGE_URL

eg.

if iv_url eq '/docserver/'.

replace 'srmpro.ep' in ev_url with 'srmserverformycompany.com'.

endif.

Regards,

Marcin Gajewski

PS Please add points for helpful answer.

Former Member
0 Kudos

Hello Marcin,

I've just created the implementation for the BADI and nothig is happening. The URL of the attached document is not changig.

I've set a break point but is not stopping when is it supposed to reach this?

Regards