cancel
Showing results for 
Search instead for 
Did you mean: 

Attachment as link

Former Member
0 Kudos

Hi Experts,

My requirment is i need to display my attachment as hyper link in smartform . When i click on the hyper link should open attachment .

I am able to display hyper link in smart form . I am creating a URL for my attachment using FM BBP_ATTACH_BUILD_URL by passing GUID of ticket and object ID of attachment . And this URL i am displaying in my smartform as hyper link .

Below is the output of my FM : BBP_ATTACH_BUILD_URL

HTTP://sapds1ci.weutio.com:8127/sap/ebp/docserver/500/?attcget&ClId=4AD31FFCF7941ABEE10000000A0A3CDE...

But when i try to open this URL from browser directly it is giving error : Web page cannot find .

1 .Can anybody suggest me is the process i am following correct ?

2 . FM BBP_ATTACH_BUILD_URL is right one ? if not please give me any other FM ?

Thanks & Regards,

Vijay

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

If you are trying to create URL for attachments of service tickets then you can use class CL_CRM_DOCUMENTS.

This class maintains the documents of CRM.

Use method SEND_DOCUMENTS to create URL for the document.

Thanks and Regards,

Akshatha