Application Development 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: 

View the pdf stored in content server

Former Member
0 Kudos

Hello,

Can I open a pdf available in content server from web? This web based application is non SAP aaplication.

The content server is connected to my SAP system and by using FM ALINK_RFC_DOCUMENTS_GET I get the required link. I am not sure how can I open this link from ouside SAP system( in SAP system pfd can be open using FM OBJECT_DISPLAY_CONNECTIONS).

I have also gone through the below SAP link also but no luck.

http://help.sap.com/saphelp_nw70/helpdata/en/9b/e8c18ceaf811d195580000e82deb58/frameset.htm

Thank you,

Bhavana

1 ACCEPTED SOLUTION

former_member209703
Active Contributor
0 Kudos

Hi

I'm not sure you can use this URL outside your SAP System and open it without providing any kind of security credentials.

Anyway what you could do is use ALINK_RFC_TABLE_GET to get your PDF in binary format and compose it in your Web Application

Regards

3 REPLIES 3

former_member209703
Active Contributor
0 Kudos

Hi

I'm not sure you can use this URL outside your SAP System and open it without providing any kind of security credentials.

Anyway what you could do is use ALINK_RFC_TABLE_GET to get your PDF in binary format and compose it in your Web Application

Regards

0 Kudos

Thanks for your response.

FM ALINK_RFC_TABLE_GET is obsolete. Is there any alternate FM for this.

Thanks,

Bhavana

0 Kudos

Hi

You can download the PDF to the presentation server using SCMS_HTTP_DOC_GET_FILES

In case you want to get the PDF in RAW format to compose it later, there is another FM available SCMS_HTTP_DOC_GET_RAW