Display PDF Business Documents in ITS application on ECC6.0
Hi SDN forum,
We are currently migrate an ITS application that was plugged with SAP R/3 4.6C on a W.A.S 7.00 (ECC 6.0)
One of our web pages enables us to display PDF documents (material technical documents). These documents were stored until now in web apache server frontend in DMZ.
We manage to make work the web pages in new architecture but PDF document can't be displayed.
We don't know where to put them today with integrated ITS in W.A.S architecture and how to configure new llinks.
PS :PDF documents are linked with DIR objects in R/3. (CV03N)
Thanks a lot for your precious help.
Hi Joseph
Many thanks for the info.
I had raised an SR in Metalink as well as requesting info here and Metalink gave me a ftp link to the document.
This solved my problems as I needed to undertake the extra configurations in opmn.xml, webappserver.cfg and add a .jar file (these are not shown anywhere in the standard BPA admin or install guides!!)
Once all these done it works like a dream and users state it is faster then a Tom Cat based deployment.
Cheers
John
Similar Messages
-
Display PDF on Web via ITS.
Hello everyone,
I am trying to display a pdf that I am converting from OTF on web directly via ITS in SAP GUI for HTML based IAC. The following is the code behind scenes.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = g_bin
* BIN_FILE =
TABLES
otf = p_T_OTF
lines = t_lines
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
CALL FUNCTION 'ALEWEB_DOWNLOAD'
EXPORTING
data_len = g_bin
mime_type = 'application/pdf'
DATA_TYPE = 'BIN'
tables
data_tab = t_lines.
Then the following garbage is getting displayed.
äⴱ⸳à´â¢îíਲâ°â¯æªà´ã°¼
But if I use GUI_DOWNLOAD as shown below, then the PDF is getting downloaded into my local PC without any problem and I am able to read the PDF also.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = g_bin
filename = 'test.pdf'
filetype = 'BIN'
TABLES
data_tab = t_lines.
I am using ECC 5.0 and ITS 6.20 Patch 23. What should I do to see the PDF on web.
Thanks,
-BharathHi
I have a doubt so thought i will ask you. I am creating a spool request number through VF02. How can get the OTF format in to my internal table using the spool request number to use this function module. I am using the FM CONVERT_OTFSPOOLJOB_2_PDF and getting the PDF in to the internal table but i am getting some authorization problems in reading the spool request can you help me on this.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = g_bin
BIN_FILE =
TABLES
otf = p_T_OTF
lines = t_lines
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
Thanks in Adv.
Regards
Lakshmikanth.T.V -
Displaying pdf files in Portal from application server.
Hi,
I have a requirement where i will give a link on the portal for Provident Fund related data. When the user clicks on the link, i have to retrieve his pdf file from the folder stored on the application server and display it in portal. Could you please tell me how to do it?
Also can we use Knowledge Management for it? If yes, how to do it?Hi,
This can be done by
1. Store the pdfs in the server like userid.pdf. Or you can add the year also the the file name. The files can be in the same appserver. No need for KM.
2. Create a Webdynpro application where the WD automatically reads user ids of the person logged in (IUser).
3. In the Webdynpro code create a LinkToURL element with the user id you got in step one. This will make sure that somebody cannot see others file.
Regards
Srini -
Display PDF Documents Stored In Database
Hi
I apologise that this question has been asked many times, but I just do not seem to be able to find answer to my question in many other posts over the years.
We have pdf documents stored in database and wish for client to view from forms session.
I am able to use webutil_file_transfer.DB_To_Client_With_Progress to transfer to client and open using client_host('cmd /c start '||TheFile);
I am also able to view pdf documents stored on application server using web.show_document.
What I would prefer to do is:
1. Transfer file from database to application server (This is bit I cannot figure out)
2. Display from application server using web.show_document
3. Delete temporary file from application server (Also unsure how to do this)
Our users have thin clients and so in many cases do not have access or unsure where can access to store temporary file if use transfer to client method. Wish to keep temporary file activity on application server.You can combine the methods in WEBUTIL. Check this Re: Forms 10G - Saving Blob on Application Server using Java.
-
Display PDF in read only mode in a Java Dynpro Application
hi,
A PDF Document is being generated by ABAP FM and I want to display that PDF document in a seperate browser in the a Java Dynpro Application.
how to go about it ?
regards
seventyrosHi,
There is another solution but it is at client side only.
Open Adobe Reader -> goto Menu 'Edit'-> 'preferences'->'Internet'-> Uncheck 'Display PDF in browser' then press 'OK'.
Thanks
Gautam Singh -
Displaying pdf document in transaction bnk_moni
Hi all,
We are trying to open a pdf file in transaction bnk_moni. But this fails since there are no function modules to handle the pdf format.
This funation module FI_PAYM_XML_DISPLAY is used for displaying the XML document in the same transaction. ¨
Are there any FM or alternate ways to diplay pdf files in that transaction.Any clue would be great.
Thanks,
KavithaYou might be able to provide points to some worthy responder on a different forum.
This forum is specific to SAP Business Objects line of Business Intelligence products, and the SDKs that come with them.
Sincerely,
Ted Ueda -
How to display pdf file in windows phone 8 silver light application?
Hi,
I am developing windows phone 8 silver light application . For my app I want to display pdf files . Is there any default controls to display pdf files ?
I don't want to display using launchers , I want to display with in the app.
any help,
Thanks..
Suresh.MProbably this should give you a fair idea : How to view PDF file inside an Windows Phone application?
http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8 -
My operating system is Windows XP SP3. I have Adobe 11.0.08 installed. I cannot print a pdf file/document. Error message - AeroRd32.exe - Unable To Locate Component - "Application failed to start because lxdautil.dll not found." Any suggestions?
That DLL is part of your printer driver; reinstall or update the device driver for your printer, and the message should go away.
-
PDF document in Java application
Hi All,
Is it possible to show a PDF document in Java application, Using JEditorPane or.....?
Regards,
ByjuWhat makes you think so? There's a screenshot on that page presenting a Metal GUI, so it's compatible with Swing. Also, there are lots of other solutions ...
-
The option under Accessibility>Setup Assistanct to uncheck the "Display PDF Document in the web browser" doesn't correctly disable Display PDF in browser when unchecked, it still defaults to opening in Internet Explorer even after restarting the browser. Confirmed this tested agianst with IE 8, 9, 10 and 11 with the same behavior. Moving back to Reader 11.0.10 and using this same setting works flawlessly. Anyone else experiencing this issue?
I am out of the office until 1/22/13.
If you need assistance with technical issues, please contact the Help Desk at: 518-402-8888
>>> Test Screen Name <[email protected]> 01/17/13 10:30 >>>
Test Screen Name http://forums.adobe.com/people/Test+Screen+Name created the discussion
"Re: Adobe Reader XI enterprise deploy-disable display PDF in browser?"
To view the discussion, visit: http://forums.adobe.com/message/5001441#5001441 -
Displaying PDF file in Flex application
Hello,
Is there any way, by which I can read/display PDF file as it is in Flex application (Web based). Is there any way or work around by which I can achieve
this.
Awaiting for prompt response.
Thanks and RegardsHello Mariush,
I have to display the content of the PDF in the flex application. If not PDF directly, is there other workaround for this. Or can I display the content of the MS word file, if not PDF.
Thanks and Regards
Khalid Chaudhary -
Display PDF document from Servlets to browser - how 2 change the title
Hi, need help of changing the html title when Display PDF document from Servlets to browser. By default the browser's title shows the obsolute URL where the rdf comes from (i.e. http://www.google.com/sample.pdf), because servlet responds a binary data (PDF), there seems to be no other way to change the browser's title to fit my own choice.
Appreciate your quick help,You can try and check with
.setTitle("Welcome"); -
Haw disable the saved icon of pdf document inside flex application??
Hello,
My gool is to disable the save icon of pdf document when i open the pdf document inside flex application.
Haw you any ideas?
Thanks youThis isn't something that can be managed from the Flex end of things. You have to configure the document DRM.
-
Display Smartform Pdf output in ABAP Webdynpro application
Hello,
there is a solution for displaying Smartform output in Java Webdynpro application in this forum. Since i want to start an project in ABAP Webdynpro i need a solution for this technology since i don't want to recreate all the paperwork again using Adobe. Is there any solution available?
Thanks
Udo AhleHello,
this is the solution which i was able to implement using the hints given by Heidi and Thomas. Thank you for the support. With this solution it is possible to reuse oldstyle sapscripts and smartforms in todays environment. Here is the sample code which solves the problem:
In WDA you define for example a pushbutton to start the display of the PDF.
In the onaction method you implement:
method ONACTIONSHOW_PDF .
data LX_pdf type xstring.
* get PDF from existing sapscript or smatform
call function 'Y_PDF_GET' destination '46c'
IMPORTING
ex_PDF = LX_PDF.
* append the pdf to the response
cl_wd_runtime_services=>attach_file_to_response(
i_filename = 'Hello.PDF'
i_content = lx_pdf
i_mime_type = 'application/pdf'
i_in_new_window = 'X'
i_inplace = 'X' ).
endmethod.
The function 'Y_PDF_GET' is implemented as follows:
FUNCTION Y_PDF_GET .
*"*"Local interface:
*" EXPORTING
*" VALUE(EX_PDF) TYPE XSTRING
*" TABLES
*" ET_OTF STRUCTURE ITCOO OPTIONAL
data: lf_filesize type i,
lt_otf type table of ITCOO,
lt_lines type table of tline,
tline type tline.
* start sapscript or smatforms and return
perform make_otf.
CALL FUNCTION 'READ_OTF_FROM_MEMORY'
TABLES
OTF = lt_otf
EXCEPTIONS
MEMORY_EMPTY = 1
OTHERS = 2
et_otf[] = lt_otf.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
* MAX_LINEWIDTH = 132
* ARCHIVE_INDEX = ' '
IMPORTING
BIN_FILESIZE = lf_filesize
TABLES
OTF = lt_otf
LINES = lt_lines
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* convert tline to xstring as needed in
* in web dynpro
field-symbols <X>.
data: st(268) type c.
data l1 type i.
data len type i.
data maxline type i value 134.
l1 = 0.
loop AT lt_lines INTO tline.
clear st.
st+l1(maxline) = tline.
len = maxline + l1.
l1 = maxline - strlen( tline ).
ASSIGN st TO <x> TYPE 'X'.
CONCATENATE ex_pdf <x>(len) INTO ex_pdf.
endloop.
ENDFUNCTION.
The make_otf for sapscript is the following:
* the next attribute enables the otf output.
* no other output will be generated
<b>options-TDGETOTF = 'X'</b>
CALL FUNCTION 'OPEN_FORM'
EXPORTING
* APPLICATION = 'TX'
* ARCHIVE_INDEX = ARCHIVE_INDEX
ARCHIVE_PARAMS = ARCHIVE_PARAMS
DEVICE = DEVICE
DIALOG = ' '
FORM = FORM
LANGUAGE = language
OPTIONS = OPTIONS
* IMPORTING
* LANGUAGE =
* NEW_ARCHIVE_PARAMS =
* RESULT =
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
OTHERS = 6.
*... make some write forms
data lT_OTF type table of ITCOO.
* get the otf data
CALL FUNCTION 'CLOSE_FORM'
* IMPORTING
* RESULT = result
TABLES
OTFDATA = lt_otf
EXCEPTIONS
UNOPENED = 1
OTHERS = 2.
* put otf into memory for later usage
if not lt_otf is initial.
CALL FUNCTION 'SAVE_OTF_TO_MEMORY'
* EXPORTING
* MEMORY_KEY = 'DEF_OTF_MEMORY_KEY'
TABLES
OTF = lt_otf.
endif.
For Smartforms technology it is possible to implement the same concept. -
Document Properties - Extract Application that Created the Pdf
Hello,
I need to extract the original application that a pdf was created from in javascript. eg in the document properties the application is shown as follows:
Application: AutoCAD 2010
The console script I have is as follows:
console.println('Application: '
+ this.info.Application +' ');
When the script is run it does not extract the application which the pdf was created from.
Can anyone please advise how the script can be modified to extract the application from the document properties?
Any assistance will be most appreciated.
Thank you.Thank you very much for your help, most appreciated .
I can now extract the application which created the pdf as follows:
console.println('Application that create pdf: '
+ this.info.Creator +' ');
Thanks, Again.
Maybe you are looking for
-
Call a storedprocedure with CLOB input parameter gives ORA-24811 error
Hi all, I am calling a storedprocedure from VB using ADO and OraOLEDB. Calling stored procedure as mention in OraOLED documentation. The procedure accepts a varchar and a CLOB parameter. While executing the store procedure its throw an
-
hello, i am on a project where i need to install oracle 10gr2 on aix 6.1. the issue i am looking at right now is this we already install oracle 10gr2 the server using a particular partition now i want to install oracle 10gr2 on the same server but a
-
Hello experts, I have a requirement for making a replication of Vendor Hierarchy, how it is on ECC, i need to produce the name results in MDG Supplier/Vendor. I do know that MDG works on Business Partner functionality, which is different. My question
-
Hello Folks, Could some one let me know about Billing Output Archiving? I want to know the concept of archiving, and whats the transaction code to view the archieved outputs. Points rewarded. Regards, Krishna
-
How to delete photos transferred from mac to iphone ?
I have searched on Google "how to delete photos transferred from mac to iPhone" It returned the following result : To do so just: In iTunes select the device icon in the Devices List on the left. ... Choose Sync photos from, being iPhoto or Aperture