More problems while converting hyperlinks in word to pdf - missing first words

I'm using Microsoft Office Word 2007 and Adobe Acrobat 9 Pro Extended (I think on Windows XP).
If I have a word document with a working hyperlink when I convert it to PDF (using the Acrobat button in Word)I end up with a working hyperlink in the pdf file but it is missing the first word. For example :
in Word the hyperlinked phrase will be http:/tinyurl.com/MarinaBloj but in the pdf version it will be :/tinyurl.com/MarinaBloj
or
in Word the hypelinked phrase will be "Sensitivity to luminance and chromaticity gradients in a complex scene." but in the pdf version it will be " to luminance and chromaticity gradients in a complex scene." with an extra blank space.
worse, if in the word it is a single word, say "PDF" then all you get in the created pdf document is " " i.e. a blank space that is actually is a hyperlink (you can see the corresponding address if you hover the mouse).

I am experiencing the exact problem...hyperlinks work after conversion from Word to pdf however first word is missing. I can only reproduce the problem on one computer. Other computers I have tried it on do not have that problem. Here is a work around i found....You can select the entire document (Ctrl + Shift + End from the beginning), then go to "Create PDF". Go into Options and select the "Selection" option. Then proceed to convert the document. It's a workaround but I'd like to know what the cause of the problem is.

Similar Messages

  • In converting a .docx file to .pdf the the Word functionality of linking screen tips to hyperlinks is lost. Why?  How can screen tips be saved in pdf if at all?

    In converting a .docx file to .pdf the the Word functionality of linking screen tips to hyperlinks is lost. Why?  How can screen tips be saved in pdf if at all?

    Thanks for replying. I am converting from MS Office Word document to Adobe Acrobat Document and opening with Reader XI - sorry my mistake.
    I now notice another problem. On trying to open a specific hyperlink in the pdf version I get the message  'Acrobat does not allow connection to: www.biblegateway.com'.  Why would there be a restriction? 

  • I recently signed up for a one month trial of adobe pro.  I logged in.  I cannot convert a single page of PDF file to word or Excel with this trial.  I just get the request to sign up for a year.  What good is the trial if I can't try it?

    I recently signed up for a one month trial of adobe pro.  I logged in.  I cannot convert a single page of PDF file to word or Excel with this trial.  I just get the request to sign up for a year.  What good is the trial if I can't try it?

    Hey vcomfort6,
    Please ensure that you are using Adobe Acrobat and not Reader to convert PDF file to word or excel.
    Could you tell me whether it is a scanned document? Does this happen with all PDFs or any specific one?
    Do you get any error message? What exactly happens when you try doing the same?
    Hope to hear from you.
    Regards,
    Anubha

  • The system doesn't recognize or capitalize the word (I) or the first word of every sentence. Another really annoying thing about the integrated mail on your Mac computers is the fact that the system learns the word as you type it more and more instead of

    The system doesn’t recognize or capitalize the word (I) or the first word of every sentence. Another really annoying thing about the integrated mail on your Mac computers is the fact that the system learns the word as you type it more and more instead of highlighting it as incorrectly is this is a word that’s being misspelled. Can Apple fix this bug to make it user friendly as if you were using Office or a Word Document?

    You hit the target CT.
    It’s only fair that if Apple is going to integrate Mail into Mac PCs, it would be nice if the system does it for you like Office or perhaps Outlook. I just don’t to use Outlook although I have it installed and ready to use, but instead use Mail which comes with Mac OS already.
    I hope to make some sense here.

  • Hello! I have the Acrobat XI test version installed, got the registration Mail and confirmed it. When i have the program opened and try to convert the file from a pdf to a word and press the convert button, it shows a the message "application failed" (in

    Hello! I have the Acrobat XI test version installed, got the registration Mail and confirmed it. When i have the program opened and try to convert the file from a pdf to a word and press the convert button, it shows a the message "application failed" (in german "Fehler bei der Anmeldung"). I hope have explained the issue on the right way with my bad english. Do you have a solution for it?? Best regards, Marcus Wenk

    yes, you are right. it is the adobe reader via exportPDF. but it should be the acrobat. it was written on the internetpage...

  • Problem while converting smartform out to PDF.

    Hi,
    I have an issue while converting smartform output to PDF. After converting samrtform out to PDF, apostrophe(') is appearing as # in the pdf file. For example the word Indian's is getting printed as Indian#s. I'm using Helvetica font for printing this text.
    How ever print preview is coming fine.
    Could anybody provide me some inputs to solve this.
    Thanks,
    Rick.

    I'm using FM: CONVERT_OTF
    CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
        IMPORTING
          bin_filesize          = lv_filesize
        TABLES
          otf                   = ls_job_info-otfdata
          lines                 = lt_pdf_table
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4
          OTHERS                = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.

  • Problem while converting doc to PDF

    Hi - When tried to convert a doc file to PDF, it introduced spaces between word characters in the result PDF file.
    For e.g. "Project" became "Pro    ject"
    But when used Print to PDF it worked fine.
    Can somebody please help me to understand why conversion from doc to PDF file introduces spaces in between? Is this an existing bug in Adobe?
    Your inputs will be very helpful.
    Thank You

    >Is this an existing bug
    Bug in what???
    What version of MS Word... and have you applied all updates from Microsoft?
    Office http://office.microsoft.com/en-us/downloads/default.aspx
    What version of Acrobat... and have you applied all updates from Adobe?
    Apply all updates IN NUMBER ORDER
    Acrobat Update http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows

  • Problem while Converting TiFF to PDF using OCR

    Hi,
    We have installed Adobe LiveCycle8.2 PDF Generator ES trail version, Acrobat Pro Extended 9.0.
    OS: Windows XP Service Pack3,
    App Server: WebSphere 6.1.0.19
    DB: SQL Server 2005 SP2.
    We are getting following error while converting TIFF images to PDF Using OCR.
    Error message on AdminUI screen:
    "Error Code:1000
    Error Message: ALC-PDG-001-000-Conversion failed because of an exception. Connection to failed service."
    Error messages in server log file:
    [10/10/08 18:16:50:015 IST] 00000043 ProcessResour W com.adobe.service.ProcessResource$ErrorReaderThread run BMC024: Service Native2PDFSvc: Process ProcessResource(name=pdfgen.exe,pid=0) terminated abnormally with error code {3}
    [10/10/08 18:16:50:218 IST] 00000035 ProcessResour A com.adobe.service.ProcessResource startProcess BMC505: Service Native2PDFSvc: Starting native process with command line "C:\\Program Files\\ibm\\WebSphere\\AppServer1\\profiles\\AppSrv01\\installedApps\\HDDLGSDMNK8897Node0 1Cell\\adobe\\server1\\Native2PDFSvc\\bin\\dll\\pdfgen.exe" PDF-NAf6c310002 -beginExecutable "C:\\Program Files\\IBM\\WebSphere\\AppServer1\\java\\jre\\bin\\javaw.exe" -endExecutable -Xmx64m -cp "C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-appmon.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-appmondata.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-bslj.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-csa.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-generatepdf-client.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-pdfg-common-jaxb.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-pdfg-common.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-pdfg-commonbmc.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-pdfg-idl-bmc-websphere.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-pdfg-idl-bmc.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/adobe-utilities.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/avalon-framework-4.1.5.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/comfyj-2.4.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/jacorb.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/jaxb-api.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/jaxb-impl.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/jaxb-libs.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Cell/a dobe/server1/Native2PDFSvc/bin/jniw2.9.5_acrobat1.1.jar;C:/Program Files/ibm/WebSphere/AppServer1/profiles/AppSrv01/installedApps/HDDLGSDMNK8897Node01Ce

    Error message continuation:
    [10/10/08 18:16:50:296 IST] 00000044 SystemOut O Command line '"C:\Program Files\IBM\WebSphere\AppServer1\java\jre\bin\javaw.exe"'
    [10/10/08 18:16:50:437 IST] 00000035 ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "doRequiresNew" on bean "BeanId(LiveCycle8#adobe-dscf.jar#EjbTransactionBMTAdapter, null)". Exception data: java.lang.IllegalStateException: Connection to failed service.
    at com.adobe.service.ResourcePooler.allocateResource(ResourcePooler.java:87)
    at com.adobe.service.ConnectionFactoryManagerPeer.getConnectionResourceFromPool(ConnectionFa ctoryManagerPeer.java:79)
    at com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection(J2EEConnectionFactor yManagerPeerImpl.java:84)
    at com.adobe.service.ConnectionFactoryRmiAdapter.getConnection(ConnectionFactoryRmiAdapter.j ava:53)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:615)
    at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:727)
    at java.security.AccessController.doPrivileged(AccessController.java:241)
    at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
    at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1123)
    at $Proxy80.getConnection(Unknown Source)
    at com.adobe.service._ConnectionFactoryRemote_Stub.getConnection(_ConnectionFactoryRemote_St ub.java:58)
    at com.adobe.pdfg.callbacks.NativeToPDFTransactionCallback.convertToPdf(NativeToPDFTransacti onCallback.java:185)
    at com.adobe.pdfg.callbacks.NativeToPDFTransactionCallback.doInTransaction(NativeToPDFTransa ctionCallback.java:163)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionBMTAdapter_ 3af08fdf.doRequiresNew(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)
    at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)
    at com.adobe.pdfg.BMCCaller.invokeInSMT(BMCCaller.java:769)
    at com.adobe.pdfg.Native2PdfCaller.callNativeBMC(Native2PdfCaller.java:779)
    at com.adobe.pdfg.Native2PdfCaller.createPDF(Native2PdfCaller.java:298)
    at com.adobe.pdfg.GeneratePDFImpl.createPDFCommon(GeneratePDFImpl.java:342)
    at com.adobe.pdfg.GeneratePDFImpl.createPDF(GeneratePDFImpl.java:172)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:615)
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionBMTAdapter_ 3af08fdf.doBMT(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:102)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:91)
    at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:21 5)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    at com.adobe.aes.web.create.CreatePDFAct.createPDF(CreatePDFAct.java:383)
    at com.adobe.aes.web.create.CreatePDFAct.createPDF2(CreatePDFAct.java:402)
    at com.adobe.aes.web.create.CreatePDFAct.execute(CreatePDFAct.java:174)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at com.adobe.aes.web.AesActionServlet.service(AesActionServlet.java:63)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1036)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    at com.adobe.idp.um.auth.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:154)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:565)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.jav a:90)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink .java:458)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink .java:387)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConn ectionInitialReadCallback.java:214)

  • Problem while converting pr from mrp to po

    hi friends,
                     I had sales order.Based on sales order, I had run MRP. Pr was created.While converting from pr to po, It is asking for GL Account for that Sales order. So how to proceed further. PLease reply........

    you should ask the FI guy that which account should be used for this purpose becuase if auto determination of G/L is not defined and you are creating the PR for a/c category for sales order

  • Having problem while converting pdf to tiff

    Hi,
    I am using adobe live cycle.I tried to convert one editable pdf file to tiff file. It was giving me an exception which seems i cant convert editable pdf file to tiff file. So first i converted editable pdf to non editable pdf and then converted the non editable pdf to tiff file. Then it is working fine. but while converting editable pdf to non editable pdf,barcode has been erased so in tiff also i am not getting the barcode. Please give me solution for this. It is a bit urgent.
    The exception stack is below
    [Long, long content removed by forum host, please repost in the proper forum. Thank you.]
    Thanks,
    Amit

    Yikes.
    Amit...
    Please navigate to the main Adobe Forums list and find the correct product forum to repost your question.
    This area is for comments and discussion about the operation of the forums themselves. No product questions are discussed here.
    Thanks!

  • Problem while converting Spool to PDF

    Hi,
    I am sending ALV report output to Spool then converting the Spool to PDF using  'CONVERT_ABAPSPOOLJOB_2_PDF'.
    I am able to send the mail but in the PDF, the first page contains data statistics(no. of records passed) but I want to supress it. I need to get my Actual output only.
    Please help me regarding this.
    Thanks,
    Swathi

    You need to set the print parameter of the ALV to avoid the statistics in the Spool.
    Like:
    data:   ls_prnt      type slis_print_alv.
    ls_prnt-NO_PRINT_LISTINFOS = 'X'.
      call function 'REUSE_ALV_GRID_DISPLAY'
          is_print                          = ls_prnt
    Regards,
    Naimesh Patel

  • Hyperlinks not working in PDF created from Word

    I have created a Word document containing hyperlinks but when I print it to a PDF file (using Acrobat 7.0.9 on Windows Server 2003), the hyperlinks look OK in the PDF file but nothing happens when I click on them.
    In Acrobat, under Edit > Preferences > Convert to PDF > Microsoft Office > Edit Settings, the "Add bookmarks and links to Adobe PDF file" option is ticked.
    How can I get the hyperlinks to work in a PDF file created from a Word document?

    The original post did not indicate the method of creating the PDF. The result that was obtained was what happens when you print to the Adobe PDF printer. To get the hyperlinks embedded in the PDF, you have to use the PDF Maker (create PDF in WORD 2007).

  • While converting smartform output toPDF: end command // missing in OTF data

    Hi,
    While Converting smartform output to PDF i am getiing the following error.
    end command // missing OTF data . And also in the importing parameter of smartform  function module also (job_output_info ) i did not findout the data. Where did i make a mistake. How can i correct this error. Thanks in advance.

    Implemented SAP Note 1123505 - OTF-PDF conversion.

  • Problem in converting script o/p to PDF

    Hi,
        Iam trying to convert a script output into  PDF that gets saved on C drive.I have used 'Convert_OTF'
    FM .now ewhen i try to print preview in VA02 (sales order).it says "OTF end command // missing in OTF". any help wud be appreciated.
    Thanks,
    Naren

    Hi naren,
    DATA: i_otf LIKE itcoo OCCURS 100 WITH HEADER LINE,
          i_pdf LIKE tline OCCURS 100 WITH HEADER LINE,
          i_opt like itcpo occurs 0 with header line.  
    i_opt-TDGETOTF = 'X'.
    append i_opt.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
       APPLICATION                       = 'TX'
       FORM                              = 'ZTEST_SCRIPT1'
       LANGUAGE                          = SY-LANGU
       OPTIONS                           = i_opt 
    EXCEPTIONS
       CANCELED                          = 1
       DEVICE                            = 2
       FORM                              = 3
       OPTIONS                           = 4
       UNCLOSED                          = 5
       MAIL_OPTIONS                      = 6
       ARCHIVE_ERROR                     = 7
       INVALID_FAX_NUMBER                = 8
       MORE_PARAMS_NEEDED_IN_BATCH       = 9
       SPOOL_ERROR                       = 10
       CODEPAGE                          = 11
       OTHERS                            = 12
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'TEXT'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'HEADER'
    * IMPORTING
    *   PENDING_LINES                  =
    * EXCEPTIONS
    *   ELEMENT                        = 1
    *   FUNCTION                       = 2
    *   TYPE                           = 3
    *   UNOPENED                       = 4
    *   UNSTARTED                      = 5
    *   WINDOW                         = 6
    *   BAD_PAGEFORMAT_FOR_PRINT       = 7
    *   SPOOL_ERROR                    = 8
    *   CODEPAGE                       = 9
    *   OTHERS                         = 10
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'CLOSE_FORM'
    * IMPORTING
    *   RESULT                         =
    *   RDI_RESULT                     =
    TABLES
       OTFDATA                        = i_otf
    EXCEPTIONS
       UNOPENED                       = 1
       BAD_PAGEFORMAT_FOR_PRINT       = 2
       SEND_ERROR                     = 3
       SPOOL_ERROR                    = 4
       CODEPAGE                       = 5
       OTHERS                         = 6
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
       format                      = 'PDF'
    *   MAX_LINEWIDTH               = 132
    *   ARCHIVE_INDEX               = ' '
    *   COPYNUMBER                  = 0
    *   ASCII_BIDI_VIS2LOG          = ' '
    *   PDF_DELETE_OTFTAB           = ' '
    * IMPORTING
    *   BIN_FILESIZE                =
    *   BIN_FILE                    =
      TABLES
        otf                         = i_otf
        lines                       = i_pdf
    EXCEPTIONS
       ERR_MAX_LINEWIDTH           = 1
       ERR_FORMAT                  = 2
       ERR_CONV_NOT_POSSIBLE       = 3
       ERR_BAD_OTF                 = 4
       OTHERS                      = 5
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    *   BIN_FILESIZE                    =
        filename                        = 'c:\test_pdf.pdf'
       FILETYPE                        = 'BIN'
    *   APPEND                          = ' '
    *   WRITE_FIELD_SEPARATOR           = ' '
    *   HEADER                          = '00'
    *   TRUNC_TRAILING_BLANKS           = ' '
    *   WRITE_LF                        = 'X'
    *   COL_SELECT                      = ' '
    *   COL_SELECT_MASK                 = ' '
    *   DAT_MODE                        = ' '
    *   CONFIRM_OVERWRITE               = ' '
    *   NO_AUTH_CHECK                   = ' '
    *   CODEPAGE                        = ' '
    *   IGNORE_CERR                     = ABAP_TRUE
    *   REPLACEMENT                     = '#'
    *   WRITE_BOM                       = ' '
    *   TRUNC_TRAILING_BLANKS_EOL       = 'X'
    *   WK1_N_FORMAT                    = ' '
    *   WK1_N_SIZE                      = ' '
    *   WK1_T_FORMAT                    = ' '
    *   WK1_T_SIZE                      = ' '
    *   WRITE_LF_AFTER_LAST_LINE        = ABAP_TRUE
    * IMPORTING
    *   FILELENGTH                      =
      tables
        data_tab                        = i_pdf
    *   FIELDNAMES                      =
    EXCEPTIONS
       FILE_WRITE_ERROR                = 1
       NO_BATCH                        = 2
       GUI_REFUSE_FILETRANSFER         = 3
       INVALID_TYPE                    = 4
       NO_AUTHORITY                    = 5
       UNKNOWN_ERROR                   = 6
       HEADER_NOT_ALLOWED              = 7
       SEPARATOR_NOT_ALLOWED           = 8
       FILESIZE_NOT_ALLOWED            = 9
       HEADER_TOO_LONG                 = 10
       DP_ERROR_CREATE                 = 11
       DP_ERROR_SEND                   = 12
       DP_ERROR_WRITE                  = 13
       UNKNOWN_DP_ERROR                = 14
       ACCESS_DENIED                   = 15
       DP_OUT_OF_MEMORY                = 16
       DISK_FULL                       = 17
       DP_TIMEOUT                      = 18
       FILE_NOT_FOUND                  = 19
       DATAPROVIDER_EXCEPTION          = 20
       CONTROL_FLUSH_ERROR             = 21
       OTHERS                          = 22
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Sravanthi

  • Unit of measurement problem while converting SC to PO - Classic

    Hi
    We are using Classic scenario and on SRM 3.0 with SAP 4.70
    The problem:
    User created shopping cart with qty of 3.24 EA, when we convert this Shopping cart as PO in backend SAP system is removing decimal places in PO and making as 3 EA.  Like wise if SC is for 0.45 EA the PO will generate error because qty is 0 EA.
    I know decimal places are not configured in CUIN for EA in both SAP and EBP also.  But system allows me decimal places to create SC and manullay created POs in EBP and SAP respectively.  The problem is only when we conver SC to PO its Truncating.
    Any ideas, please help.
    Thanks in Advance
    Nags

    Hi Nagaraju,
    Looks like the problem lies in the default settings of the user profile (background user that talks to your R/3 system) that you are using to transfer the data to your R/3 system.
    Change your default settings of that system user and that should resolve your problem.
    Please award points for usefull answers.
    Thanks,
    Sundeep

Maybe you are looking for

  • Footer visible in table

    Hi I am trying to add a footer to a table by marking footer visible as true. Problem is I get no footer, instead I get a horizontal scrolling. Does any of u know how do I add this footer? Thanks Nitsan

  • Trouble with iCloud

    Trouble with iCloud: Equipment:   Mac mini,  OSX 10.7.4                     iPod iOS 5.1.1 I have done and then repeatedly reread the iCloud instructions on each.            I have up to date copies of Pages running on both devices. The Pages documen

  • Ipod not updating new exported garageband songs

    hey...i'm working on a song and re-recording things a lot in garageband. When i export the changes, itunes opens normally and the new version of the song is there. I play it from itunes and it's great. But when i update my ipod, the song doesn't upda

  • Approvals names before submitting OAF Custom page

    Hi, I have posted the below question in Workflow forums but i haven't received any answer so thought of posting it here. please read. I have created a new workflow which is fired when a custom OAF page is submitted. This workflow is based on dynamic

  • Mail - picture signature will not change

    I'v changed my "picture signature" (the picture that appears at the top of emails)by going to my account at .Mac - mail/preferences/photo then saved it etc. Now - if I send an email from the .Mac page it shows the new photo, but when I send an email