Create PDF PO in SAP R/3 4.7

Anyone know whether it is possible to create PDF PO document in R/3 4.7?
If you have experience on the above work, appreciate if you can share with me. TQ.

Hi,
If you want to convert PO into a PDF format then follow the procedure-1 (one time)
If you want to send PO continously whenever you create a PO to your vendor follow the procedure -2
Procedure-1
1.Create PO using ME21N
2.Set the message output ME22N
3.Use further data & set Send Immediately while saving the application
4.Save the PO
5.GO to Print Pre-view or (we can use ME9F & give the document number)
6.Go to menu bar-System-Own spool request (SP02)
7.Note down the Spool Request Number
8.Use SE38
9.Execute the program RSTXPDFT4.
10.Enter the Spool request number & give the path for down loading.
Procedure-2
1.You must maintain an e-mail address in the address in the vendor master.
2. The same applies to your own user master. You also have to specify an e-mail address there in order to identify the sender.
Note that it is not possible to change the e-mail address of the vendor via the SAP purchase order transaction (ME21N, ME22N, and so on). The system only uses the e-mail address of the vendor that is maintained in the vendor master!
3. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail. You can find the definition of the communication strategy in the Customizing via the following path: (SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define Communication Strategy). As a default, communication strategy CS01 is delivered. This already contains the necessary entry for the external communication. Bear in mind that without a suitable communication strategy it is not possible to communicate with a partner via Medium 5 (external sending).
4. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
5. In the condition records for the output type (for example, Transaction MN04), use medium '5' (External send).
6. You can use Transaction SCOT to trigger the output manually. The prerequisite for a correct sending is that the node is set correctly. This is not described here, but it must have already been carried out.
7. To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.
For more details, check out the OSS note: 191470
Regards,
Vengat
Edited by: Vengata Raghavan on Jul 8, 2008 11:35 AM

Similar Messages

  • Create PDF crashes webapplication

    Hi,
    We have a website that creates PDF-reports using SAP Crystal Reports runtime engine for .NET Framework 4 (64-bit) SP1. The site runs on Windows 2003 R2 x64.
    The site (w3wp.exe) crashes every now and then when a report is generated in PDF. We cannot trace it back to specific reports, users or actions. It seems to be random. We don't have this issue on x86-webservers with the same application and CR-version.
    We got a memory dump from one of the crashes. The dump can be found [here|http://www.megaupload.com/?d=ZFVJ7FEZ] (zipped, about 330MB). Microsoft already analyzed this dump and this is the conclusion :
    Here is my analysis: as you already noted, the stack goes from the SAP component to msvcr80, based on the method name (without the private symbols we cannot see the arguments passed etcu2026) it looks like they are initializing something which requires memory to be moved around, hence the call to memmove_s
    0:076> kpL
    Child-SP          RetAddr           Call Site
    00000000`27ceec88 00000000`781b6a70 msvcr80!memcpy(unsigned char * dst = 0x00000000`26bbceb8 "???", unsigned char * src = 0x00000000`26bbceb8 "???", unsigned long count = 0)+0x1ec
    00000000`27ceec90 00000000`41d69db4 msvcr80!memmove_s(void * dst = 0x00000000`00000000, unsigned int64 sizeInBytes = 2, void * src = 0x00000000`000001c2, unsigned int64 count = 0)+0x80
    00000000`27ceecd0 00000000`41d6b2bc crxf_pdf!UXFInitializeW+0x1834
    00000000`27ceed50 00000000`37b2d78f crxf_pdf!UXFGetExportFormatsExW+0x10c
    00000000`27ceeda0 00000000`37da9c1a crpe32!CRPEConnectionInit+0x365df
    00000000`27ceeef0 00000000`37da0b93 crpe32!MWCleanupProcess+0x4ffca
    00000000`27ceefd0 00000000`37da54eb crpe32!MWCleanupProcess+0x46f43
    00000000`27cef720 00000000`37d27bb4 crpe32!MWCleanupProcess+0x4b89b
    00000000`27cef750 00000000`37d38964 crpe32!CRPEConnectionInit+0x230a04
    00000000`27cef820 00000000`37d39a8f crpe32!CRPEConnectionInit+0x2417b4
    00000000`27cefb90 00000000`37d39dac crpe32!CRPEConnectionInit+0x2428df
    00000000`27cefbe0 00000000`37d3a45c crpe32!CRPEConnectionInit+0x242bfc
    00000000`27cefd30 00000000`783917cd crpe32!CRPEConnectionInit+0x2432ac
    00000000`27cefe20 00000000`781337d7 mfc80u!_AfxThreadEntry(void * pParam = 0x00000000`23e01f80)+0x101
    00000000`27ceff20 00000000`78133894 msvcr80!_callthreadstartex(void)+0x17
    00000000`27ceff50 00000000`77d6b71a msvcr80!_threadstartex(void * ptd = 0x00000000`77d6b6e0)+0x84
    00000000`27ceff80 00000000`00000000 kernel32!BaseThreadStart(<function> * lpStartAddress = 0x00000000`00000000, void * lpParameter = 0x00000000`00000000)+0x3a
    First, itu2019s interesting to note that the destination pointer does not look to be valid; the call to msvcr80!memmove_s comes directly from crxf_pdf!UXFInitializeW (there are no u201Chiddenu201D calls in the middle):
    0:076> ln 00000000`41d69db4
    (00000000`41d68580)   crxf_pdf!UXFInitializeW+0x1834   |  (00000000`41d6b1b0)   crxf_pdf!UXFGetExportFormatsExW
    The exception (an Access Violation) is actually thrown in msvcr80 while it is trying to copy the memory as a result of the move call:
    0:076> .exr -1
    ExceptionAddress: 000000007814e38c (msvcr80!memcpy+0x00000000000001ec)
       ExceptionCode: c0000005 (Access violation)
      ExceptionFlags: 00000000
    NumberParameters: 2
       Parameter[0]: 0000000000000001
       Parameter[1]: 000000002c78b280
    Attempt to write to address 000000002c78b280
    Also looking at the thread registers confirms that the memory address is not valid:
    0:076> r
    rax=0000000000000009 rbx=0000000000000413 rcx=000000002c78b280
    rdx=ffffffffff9329f0 rsi=0000000000000000 rdi=0000000000000002
    rip=000000007814e38c rsp=0000000027ceec88 rbp=0000000041dd42b0
    r8=0000000005500dc0  r9=0000000005500dc4 r10=000000002728a4c0
    r11=000000002728a4c0 r12=0000000041dd42b0 r13=0000000000000001
    r14=000000002728a4c0 r15=000000002c78b284
    iopl=0         nv up ei pl nz na po nc
    cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010204
    msvcr80!memcpy+0x1ec:
    00000000`7814e38c 8901            mov     dword ptr [rcx],eax ds:00000000`2c78b280=????????
    Unfortunately without the private symbols we cannot see what that memory belongs to.
    Anyway since I have access to all Microsoft private symbols, the fact that I cannot find this specific one I think means this is part of the SAP components. I think we can conclude the problem originates from the crxf_pdf.dll and manifests itself in msvcr80.dll because of some wrong parameter passed into that call.
    All help would be very much appreciated.
    Many Thanks,
    Thomas

    Hi Thomas,
    Since you have RAS available use this code and test again:
    private void ExportToPDFRAS_Click(object sender, EventArgs e)
        //CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
        ISCDReportClientDocument rcd;
        //rpt.Load("c:
    Reports
    Group.rpt");
        rcd = rptClientDoc;
        // Declare a PrintOutputController to allow documents to be exported to PDF
        PrintOutputController rasPrintOutputController;
        CrReportExportFormatEnum rasReportExportFormat;
        CrystalDecisions.Shared.DiskFileDestinationOptions diskOpts = CrystalDecisions.Shared.ExportOptions.CreateDiskFileDestinationOptions();
        diskOpts.DiskFileName = "c:
    reports
    reports1.pdf";
        // Set the CrReportExportFormatEnum to export the report as a PDF file.
        rasReportExportFormat = CrReportExportFormatEnum.crReportExportFormatPDF;
        rasPrintOutputController = rcd.PrintOutputController;
        // Use the Export() method of the PrintOutputController to export the report to a ByteArray.
        ByteArray tempByteArray = rasPrintOutputController.Export(rasReportExportFormat, 0);
        Byte[] byteStreamOutput = tempByteArray.ByteArray;
        System.IO.Stream oStream;
        byte[] byteArray = null;
        oStream = rpt.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
        byteArray = new byte[oStream.Length];
        oStream.Read(byteArray, 0, Convert.ToInt32(oStream.Length - 1));
        // this is used to verify the file so I saved it to disk
        System.IO.File.Create(diskOpts.DiskFileName, Convert.ToInt32(oStream.Length - 1)).Close();
        System.IO.File.OpenWrite(diskOpts.DiskFileName).Write(byteArray, 0, Convert.ToInt32(oStream.Length - 1));
        System.IO.File.SetAttributes(diskOpts.DiskFileName, System.IO.FileAttributes.Directory);
        oStream.Close();
    CR requires contiguous memory space so for large reports IIS may not be able to handle cleaning up it's memory fragmentation when objects are freed up. It's a common problem with Java app's also, Java doesn't have a good memory manager either.
    Because of the lack of ability to pass files through Forums I suggest you purchase a support case if you don't have a Support Contract and work with a Support engineer here to debug the problem. We can get the PDB's for those files to you if that helps MS determine what their issue is...
    Thanks
    Don

  • Cannot retrieve teplate structure: Error creating PDF

    Hi,
    I've installed a Composite Form as the start of a process, and when I go to Administration and try to generate the PDF file I get the following error:
    Cannot retrieve teplate structure: Error creating PDF
    When I go to the log, I get this trace:
    Error creating PDF
    com.sap.caf.eu.gp.base.exception.EngineException: Error creating PDF
    at com.sap.caf.eu.gp.model.forms.adapter.FormAdapterMediator.createInstanceDocument(FormAdapterMediator.java:462)
    at com.sap.caf.eu.gp.model.forms.preproc.FormPreprocessor.instanciateTemplate(FormPreprocessor.java:1982)
    at com.sap.caf.eu.gp.model.forms.preproc.FormPreprocessor.createImpersonalizedFormInstance(FormPreprocessor.java:1170)
    at com.sap.caf.eu.gp.ui.admin.uforms.UnpersonalizedFormsManager.createNewForm(UnpersonalizedFormsManager.java:888)
    at com.sap.caf.eu.gp.ui.admin.uforms.UnpersonalizedFormsManager.createForm(UnpersonalizedFormsManager.java:457)
    at com.sap.caf.eu.gp.ui.admin.uforms.wdp.InternalUnpersonalizedFormsManager.createForm(InternalUnpersonalizedFormsManager.java:190)
    at com.sap.caf.eu.gp.ui.admin.uforms.CreateUForm.onActionOK(CreateUForm.java:243)
    at com.sap.caf.eu.gp.ui.admin.uforms.wdp.InternalCreateUForm.wdInvokeEventHandler(InternalCreateUForm.java:156)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:131)
    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:72)
    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.doHandleActionEvent(ProcessingEventPhase.java:156)
    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.execute(ProcessingEventPhase.java:91)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:161)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:109)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:96)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:469)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:52)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1395)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1215)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoProcessing(AbstractExecutionContextDispatcher.java:158)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppProcessing.doService(DispatchHandlerForAppProcessing.java:35)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoProcessing(ExecutionContextDispatcher.java:114)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:81)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:506)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:526)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:457)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:248)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:699)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:231)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:230)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Caused by: com.sap.caf.eu.gp.model.forms.exceptions.AdapterException: Error creating PDF
    at com.sap.caf.eu.gp.model.forms.exceptionhandling.ExceptionHandler.throwAdapterException(ExceptionHandler.java:851)
    at com.sap.caf.eu.gp.model.forms.adapter.pdf.AdobeDSFormAdapter.createInstanceDocuments(AdobeDSFormAdapter.java:180)
    at com.sap.caf.eu.gp.model.forms.adapter.pdf.AdobeAdapter.createInstanceDocument(AdobeAdapter.java:204)
    at com.sap.caf.eu.gp.model.forms.adapter.FormAdapterMediator.createInstanceDocument(FormAdapterMediator.java:456)
    ... 70 more
    Caused by: com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process RenderRequest...
    at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
    at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentCreationContext.execute(PDFDocumentCreationContext.java:136)
    at com.sap.tc.adobe.pdfdocument.impl.PDFCreationContextImpl.execute(PDFCreationContextImpl.java:90)
    at com.sap.caf.eu.gp.model.forms.adapter.pdf.AdobeDSFormAdapter.createInstanceDocuments(AdobeDSFormAdapter.java:152)
    ... 72 more
    Caused by: com.sap.tc.adobe.pdfobject.core.PDFObjectRuntimeException: Logical Target ConfigPort_Document not mapped to a physical system.
    at com.sap.tc.adobe.pdfobject.core.PDFObjectDII.invoke(PDFObjectDII.java:349)
    at com.sap.tc.adobe.pdfobject.core.PDFObjectDII.doSoapCall(PDFObjectDII.java:81)
    at com.sap.tc.adobe.pdfobject.core.PDFObject.render(PDFObject.java:3610)
    at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:152)
    at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
    ... 75 more
    Caused by: com.sap.engine.services.webservices.espbase.discovery.TargetNotMappedException: Logical Target ConfigPort_Document not mapped to a physical system.
    at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.getDSTTemplateForSystem(DestinationsHelperImpl.java:894)
    at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.getWSDLUrl(DestinationsHelperImpl.java:397)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.getWSDLUrl(GenericServiceFactory.java:222)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:187)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:175)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:160)
    at com.sap.tc.adobe.pdfobject.core.PDFObjectDII.invoke(PDFObjectDII.java:278)
    ... 79 more

    The address is http://<host>:<port>/inspection.wsil
    It need not be localhost. Any address that's visible to the WAS where you are configuring should work. Make sure to provide the user account and password configured for ADS on the security settings of the destination.
    One other thing I forgot to ask - did you do all the steps requried to configure ADS with CE? If not, please send me your email address and I'll send you the doc.
    Thanks!
    Rao

  • I want read PDF file from SAP directory and create a spool request or print

    Hi all,
    I want read PDF file from SAP directory and create a spool request or print the pdf through SAP. Can any body  help me in this.
    Also please write to me if its possible to open PDF from SAP directory to adobe pdf reader.
    Thanks in advance,
    Sunny

    Hi Sunny,
    Check these links.
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    http://www.erpgenie.com/sap/abap/pdf_creation.htm
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • How to create PDF type of ivews in portal using the standard SAP template

    Hi,
    I have to create PDF type of ivew in the portal, I am trying with URL type of ivew but it is not taking " %" in URL type of ivew.
    Is there any other template availabe to create pdf type of ivews or how to create these pdf type of ivews in portal.
    Please help me out .
    Thanks,
    Manasa.

    Hi Manasa,
    You can do that by simply removing the special character "%" (in ur case) and providing " "(blank space) in its place.
    Please refer to this link: [http://help.sap.com/saphelp_nw70/helpdata/en/2f/84e378f6244113b0816b5d00cd3747/frameset.htm]
    Hope this helps !
    Regards,
    Nishant Singh

  • Print a pdf file from sap

    Hello,
    I'm looking for a way to print a .pdf file from sap . The file  was created manualy and is in a newtwork folder.
    I have to send the print to a network printer . Is it possible to use the AcroRd32.exe as a command line?
    Thank you.

    hii,
    try this
    CONVERT_OTFSPOOLJOB_2_PDF
    http://help.sap.com/saphelp_nw04/helpdata/en/27/67443cc0063415e10000000a11405a/content.htm
    PDF - Printing a PDF file from ABAP or SAP Script
    regards,
    Sri.

  • Error while creating PDF object

    We are using Adobe Interactive Forms with Guided Procedures.  Netweaver 7.0 SP14 (Dual stack Java & Abap).  All was working well it appears until we configured SSL for ADS - don't know for sure if this caused the problem but it is the only change we can identify around the time that our problems began.
    When we attempt to Create an Impersonalized Form we receive the following error -
    Cannot retrieve template structure: Execution ended in an unrecognized state
    When we attempt to test a callable object associated with an interactive form we receive -
    Error while creating PDF object: PDF object could not be created; object returned from ADS is null.
    In both cases the entries in the default trace log are the same -
    Service XMLFormService: Native process (PID=0) /usr/sap/UFD/DVEBMGS02/j2ee/os_libs/adssap/XMLFormService/bin/XMLForm.exe terminated abnormally with error code 134
    PDF object could not be created; object returned from ADS is null
    com.sap.caf.eu.gp.base.exception.EngineException: PDF object could not be created; object returned from ADS is null
    at com.sap.caf.eu.gp.model.iforms.adapter.pdf.AdobePDFAdapter.createInstanceDocument(AdobePDFAdapter.java:542)
    at com.sap.caf.eu.gp.model.iforms.preproc.FormPreprocessor.execute(FormPreprocessor.java:507)
    Like I mentioned earlier this functionality was working successfully in our environment at one time.
    Any guidance in this matter would be greatly appreciated.
    Thanks,
    Joe

    Joe,
    If you originally configured ADS without SSL, I would recommend going back through the ADS Configuration Guide for your NetWeaver stack and make sure all the necessary changes for SSL were made.  I've seen another case where a step was missed in SSL configuration for ADS which caused a form to error.
    If everything looks good based on your SSL configuration, I would recommend creating an OSS Note.
    -Matt

  • Print BDS document(in PDF format) from SAP R/3

    Hello ,
    I have a requirement to print BDS document(in PDF format) from SAP R/3 without user interaction.
    In simple way, if I execute the program - PDF document will get printed on local default printer.
    Please help me if anybody worked on similar requirement.
    Thank you very much,
    Liliya

    Hi Liliya,
    First you should create a smartform for BDS  Layout and give output parameter like this..
      wa_param-langu     = sy-langu.
      wa_param-no_dialog = 'X'.
      wa_param-getotf = 'X'.
      wa_param-DEVICE = '     '.                               " (here you can give the path of your printer)
      lv_output_options-tdnewid = 'X'.                      "Print parameters,
      lv_output_options-tddelete = space.                "Print parameters,
      lv_output_options-tdnoprev    = 'X' .
       lv_output_options-TDIMMED    = 'X' .               " it will give the immediate output of form in given output device
    I hope it will help you.....
    Enjoy...

  • How to create a map in SAP BI???

    Dear SAP BI Experts,
    I have a difficulties to make a map in BI and missed the steps procedure how to create a map.  I have an ESRI CD Map and Arc VIew application.  What is the first step if i want to create a map and is there any procedures or manuals from the beginning "how to create a map in SAP BI" ???
    So sorry for stupid question!!!
    Thank you very much for your time and help.
    Best Regards,
    Rudy (SAP BI Team)

    Hi Nirmansyah,
    Please check the below link.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/step-by-step%20procedure%20for%20creating%20customized%20bex%20maps.pdf
    Hope this helps.
    Veerendra.

  • Is it possible to create WEB SERVICE in SAP 4.7

    Hi guys,
    is it possible to create WEB SERVICE in SAP 4.7 ?
    i want to make a FM as web service enabled.
    plz advice.
    Regards
    pabi

    Hi,
    The definitive (and in my experience only) documentation on this is at;
    http://help.sap.com/saphelp_47x200/helpdata/en/94/f8c8a2e68811d6b2dc00508b5d5211/frameset.htm
    This same information is available combinded as a single pdf, but I can't find this.
    Regards,
    Nick

  • Creating PDF file in XI using iText

    Hi all,
    I am trying to create a PDF file in XI using itext. The PDF file is getting created in my target ftp server but I am not able to open the PDF. It is throwing the below error while opening.
    "Adobe Reader could not open the sample.pdf because it is either not a supported file or because the file has been damaged(for example,it was sent as an e mail attachment and wasn't correctly decoded)"
    I am using the below code in my udf
    String filename= "Sample.pdf";
    try
    Document document= new Document();
    PdfWriter pdfwriter=PdfWriter.getInstance(document,new FileOutputStream(filename));
    document.open();
    document.add(new Paragraph("Hi How are you?"));
    document.close();
    DynamicConfiguration conf = (DynamicConfiguration) container
           .getTransformationParameters()
           .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key,filename);
    catch(Exception e)
    return "";
    Kindly let me know if you have any information on this.
    With Regards
    jaisu.
    Edited by: jaisu118 on Feb 12, 2010 8:04 AM

    hi,
    I had used custom adapter module for creating the PDF file.
    you have to use java mapping if you want to create pdf without using adapter module.
    You need to import iText library available at http://itextpdf.com/.
    How to use external jar files ??
    External Jar files in UDF
    code may look like this:
    import java.io.BufferedReader;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.Reader;
    //1. AbstractTransformation class is imported.
    // The associated jar file is: com.sap.xpi.ib.mapping.lib.jar
    import com.sap.aii.mapping.api.AbstractTransformation;
    import  com.sap.aii.mapping.api.DynamicConfiguration;
    import com.sap.aii.mapping.api.DynamicConfigurationKey;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import com.sap.aii.mapping.api.TransformationInput;
    import com.sap.aii.mapping.api.TransformationOutput;
    import com.sap.aii.mapping.api.InputHeader;
    public class xyz extends AbstractTransformation {
    public void transform(TransformationInput inp, TransformationOutput out) throws StreamTransformationException {
         getTrace().addInfo("JAVA Mapping Called");
                         InputStream inData = inp.getInputPayload().getInputStream();
                        // pdf conversion code
                        out.getOutputPayload().getOutputStream().write(outData.getBytes("UTF-8"));
    check http://help.sap.com/javadocs/pi/SP3/xpi/index.html for java mapping api.
    Thanks.

  • Storing PDF file in SAP?

    Hello Friends,
    I have one requirement. I need to display the PDF file as soon as user click on the push button. For that I need to store this PDF file in SAP.
    I have that PDF file in my PC .
    Could you pls let me know is there any ways to store the PDF file in SAP.
    Thanks in adavcne.
    Regards
    Raghu

    Sunil,
    FYI: I have upload pdf file to application server using transaction CG3Z with transferable format BIN.
    File has created successfully. I checked in AL11 transaction.
    like that is showing..
    X     11/07/2008 14:48:54 devadm            10,278  TEST.PDF
    pls find the code below
    =====
    DATA EXE_PDF TYPE STRING
              VALUE 'C:\Program Files\Adobe\Acrobat 8.0\Acrobat\acrobat.exe'.
    DATA : PDFPATH TYPE STRING VALUE '/usr/sap/tmp/TEST.PDF'.
    ======
        WHEN 'DISP'.
          CALL FUNCTION 'WS_EXECUTE'
            EXPORTING
              COMMANDLINE        = PDFPATH
              PROGRAM            = EXE_PDF
            EXCEPTIONS
              FRONTEND_ERROR     = 1
              NO_BATCH           = 2
              PROG_NOT_FOUND     = 3
              ILLEGAL_OPTION     = 4
              GUI_REFUSE_EXECUTE = 5
              OTHERS             = 6.
    ====
    pls help me .
    Thanks
    Raghu

  • Preview PDF file in SAP

    Dear All,
    I know how to creat PDF file in smartform but I want to preview PDF file in SAP instead of downloading on local drive so How can i do this?
    Regards,

    Not quite sure what you mean by preview (the actual PDF or the smartform you created?), but here is a FM for displaying a PDF from where you can download file to local drive.
    Almost forgot:
    SSFCOMP_PDF_PREVIEW
    Edited by: Micky Oestreich on Mar 10, 2009 7:38 AM

  • CREATE PDF fails with ALC-PDG-null-Generic Log Message java.lang.OutOfMemoryError

    Adobe LiveCycle PDF Generator ES (Version: 8.2.1)
    The CREATE PDF service fails. It does not convert word documents to PDF. It used to work earlier. We haven't changed any configuration. The Server.log has the below entries:
    2014-01-07 10:18:49,536 INFO  [com.adobe.pdfg.GeneratePDFImpl] ALC-PDG-001-000-
    Job ID for the submitted createPDF job =BXU004275.docx911bb3-b13cac-ba31d8-1e253f-c932e7-fa2bf0
    2014-01-07 10:18:52,176 INFO  [com.adobe.pdfg.BMCCaller] ALC-PDG-001-024-BXU004275.docx: Time Job Submitted: 1/7/14 10:18 AM
    2014-01-07 10:18:52,458 INFO  [com.adobe.pdfg.BMCCaller] ALC-PDG-001-021-BXU004275.docx: PDF Settings Used: pdfg Standard 55865
    2014-01-07 10:18:52,458 INFO  [com.adobe.pdfg.BMCCaller] ALC-PDG-001-022-BXU004275.docx: Security Settings Used: No Security
    2014-01-07 10:18:52,458 INFO  [com.adobe.pdfg.BMCCaller] ALC-PDG-001-023-BXU004275.docx: FileType Settings Used: Standard
    2014-01-07 10:18:52,458 INFO  [com.adobe.pdfg.BMCCaller] ALC-PDG-001-017-BXU004275.docx: Job Submitted by User: administrator
    2014-01-07 10:18:52,536 INFO  [com.adobe.service.ProcessResource] BMC505: Service PDFMakerSvc: Starting native process with command line "C:\\Adobe\\LiveCycle8.2\\jboss\\server\\all\\svcnative\\PDFMakerSvc\\bin\\dll\\pdfgen.ex e" PDF-PD1936a0002 -beginExecutable "C:\\Java\\jdk1.5.0_14\\jre\\bin\\javaw.exe" -endExecutable -Xmx64m -cp "C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/adobe-appmon.jar;C:/Ado be/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/adobe-appmondata.jar;C:/Adobe/L iveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/adobe-bslj.jar;C:/Adobe/LiveCycle8. 2/jboss/server/all/svcnative/PDFMakerSvc/bin/adobe-csa.jar;C:/Adobe/LiveCycle8.2/jboss/ser ver/all/svcnative/PDFMakerSvc/bin/adobe-generatepdf-client.jar;C:/Adobe/LiveCycle8.2/jboss /server/all/svcnative/PDFMakerSvc/bin/adobe-pdfg-common-jaxb.jar;C:/Adobe/LiveCycle8.2/jbo ss/server/all/svcnative/PDFMakerSvc/bin/adobe-pdfg-common.jar;C:/Adobe/LiveCycle8.2/jboss/ server/all/svcnative/PDFMakerSvc/bin/adobe-pdfg-commonbmc.jar;C:/Adobe/LiveCycle8.2/jboss/ server/all/svcnative/PDFMakerSvc/bin/adobe-pdfg-idl-bmc-websphere.jar;C:/Adobe/LiveCycle8. 2/jboss/server/all/svcnative/PDFMakerSvc/bin/adobe-pdfg-idl-bmc.jar;C:/Adobe/LiveCycle8.2/ jboss/server/all/svcnative/PDFMakerSvc/bin/adobe-utilities.jar;C:/Adobe/LiveCycle8.2/jboss /server/all/svcnative/PDFMakerSvc/bin/avalon-framework-4.1.5.jar;C:/Adobe/LiveCycle8.2/jbo ss/server/all/svcnative/PDFMakerSvc/bin/comfyj-2.4.jar;C:/Adobe/LiveCycle8.2/jboss/server/ all/svcnative/PDFMakerSvc/bin/jacorb.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/ PDFMakerSvc/bin/jaxb-api.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/ bin/jaxb-impl.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jaxb-li bs.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_acrobat1 .1.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_autocad1 .1.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_autocad2 007.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_excel1. 3.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_pdfmapi1. 0.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_ppt2.6.ja r;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_project4.4.ja r;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_publisher1.0. jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_visio4.a.ja r;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_word8.1.jar;C :/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniwrap-3.6.1.jar;C:/Adobe /LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/logkit-1.2.jar;C:/Adobe/LiveCycle 8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/namespace.jar;C:/Adobe/LiveCycle8.2/jboss/s erver/all/svcnative/PDFMakerSvc/bin/PDFMakerConverterServer.jar;C:/Adobe/LiveCycle8.2/jbos s/server/all/svcnative/PDFMakerSvc/bin/winpack-3.6.jar;C:/Adobe/LiveCycle8.2/jboss/server/ all/svcnative/ServicesNatives2/jars/adobe-bslj.jar" com.adobe.native2pdf.bmc.PDFMakerServer -IOR IOR:000000000000002249444C3A636F6D2F61646F62652F736572766963652F4D616E616765723A312E30000 0000000000200000000000000D8000102000000000D31302E32302E3133302E353200000DC8000000134A426F7 3732F42522D312F010000000000000000000000050000000000000008000000004A414300000000010000001C0 000000000010001000000010501000100010109000000010501000100000021000000500000000000000001000 0000000000024000000200000007E00000000000000010000000D31302E32302E3133302E353200000DC900000 0000000000000000000000000000000000000000000000000000000002000000004000000000000001F0000000 400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003    -AppServer jboss
    2014-01-07 10:18:52,567 INFO  [STDOUT] Command line '"C:\Java\jdk1.5.0_14\jre\bin\javaw.exe"'
    2014-01-07 10:18:52,770 INFO  [STDOUT] [configuration loaded from classpath resource jar:file:/C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/adobe-pdfg-com monbmc.jar!/jacorb.properties]
    2014-01-07 10:18:53,942 INFO  [com.adobe.native2pdf.bmc.WordToPDFConverter] ALC-PDG-001-001-Begin processing job : C:\Documents and Settings\infodba\Local Settings\Temp\pdfg-infodba\6f\40a5-a1cb14-9618a9-a39550-d1e383-217845\native-in.docx
    2014-01-07 10:19:04,925 INFO  [com.adobe.pdfg.BMCCaller] ALC-PDG-001-016-BXU004275.docx: Job Type: Convert to PDF
    2014-01-07 10:19:04,940 INFO  [com.adobe.pdfg.BMCCaller] ALC-PDG-001-027-BXU004275.docx: Job Completion Status: Succeeded
    2014-01-07 10:19:04,940 INFO  [com.adobe.pdfg.BMCCaller] ALC-PDG-001-025-BXU004275.docx: Time Job Completed: 1/7/14 10:19 AM
    2014-01-07 10:19:04,940 INFO  [com.adobe.pdfg.BMCCaller] ALC-PDG-001-026-BXU004275.docx: Time of Job Execution: 12,764 ms
    2014-01-07 10:19:04,940 INFO  [com.adobe.aes.web.create.CreatePDFAct] ALC-PDG-001-018-BXU004275.docx: User Connected from Host: 10.2.113.168/10.2.113.168
    2014-01-07 10:19:04,940 INFO  [com.adobe.aes.web.create.CreatePDFAct] ALC-PDG-001-029-BXU004275.docx: Job Source: Admin UI
    2014-01-07 10:19:05,018 ERROR [com.adobe.aes.web.create.CreatePDFAct] ALC-PDG-null-Generic Log Message
    java.lang.OutOfMemoryError
    at java.io.FileInputStream.readBytes(Native Method)
    at java.io.FileInputStream.read(FileInputStream.java:194)
    at com.adobe.idp.Document.passivateInitData(Document.java:1219)
    at com.adobe.idp.Document.passivate(Document.java:1055)
    at com.adobe.idp.Document.passivate(Document.java:1012)
    at com.adobe.idp.Document.getInputStream(Document.java:1524)
    at com.adobe.idp.Document.copyToFile(Document.java:1623)
    at com.adobe.aes.web.create.CreatePDFAct.execute(CreatePDFAct.java:192)
    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:717)
    at com.adobe.aes.web.AesActionServlet.service(AesActionServlet.java:63)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at com.adobe.idp.um.auth.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:154)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:159)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P rotocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    at java.lang.Thread.run(Thread.java:595)

    Thanks guys for the response..
    I checked the IR and the SAP Basis has been added. Here are the details I got.
    Name:     SAP_BASIS
    Version:  700
    SWCV:     SAP BASIS 7.00
    Available Support Packages:  12
    Any more suggesions/feedback will be greatly appreciated.
    Thanks

  • Creating PDF's with a watermark / template

    Hi Folks,
    I have a requirement to create PDF Payslips from the system. There is a standard report for converting the spool output of a payslip program to adobe PDF which solves most of the issue however there also needs to be a background image which represents what is currently on the preprinted stationary - items such as company logo, boxes for amounts etc. The question is can the image be set as a watermark for the PDF and then the text data from SAP is used to  "over write" it.
    The other approach is to merge one PDF with another perhaps using a 3rd party tool.
    Any insights to this would be greatly appreciated - please shout if you need more information.
    Kind regards,
    Dannyboy

    I don't know that you'll be able to use a watermark like that, though I've never tried.  What kind of capabilities do your printers have?  We use templates stored on the printer for stuff like that.  The template is called via print control and the template and OTF/PDF data are merged at print time.

Maybe you are looking for

  • Balance transfer from old recon a/c to new recon a/c

    Hello We have changed the vendor''s reconciliation account.....now we have to transfer the balance of open items....from old recon a/c to new one.......... ....what is the best way to do this....... regards

  • IPod touch won't connect to the internet.

    I am sharing the connection from my MacBook Pro 17", late 2007 (with Airport Extreme). I have an internet connection from a Verizon wireless usb modem. It has always worked before on my iPod touch 4g, when I was running iOS 4.3.4. However, I just upd

  • CCMS agents, alert monitoring, SNMP traps

    Hi Guys, I have a question. There is a requirement about monitoring. Any documenation or links will be really appreciated. My client needs me to use CCMS agents, alert monitoring for both ABAP and JAVA stacks, SNMP traps, sending SNMP traps, interfac

  • 10.2.0.4 DBCA problem

    Hi all very good morning, i have installed Oracle 10.2 on Linux and up on that i have applied 10.2.0.4 after all these i was creating database through DBCA. at 84% it is giving a warning. Warning is: Error securing Database Control, Database Control

  • Code(with coments)

    Hi, I have requirement like i need a code which can adapt my original code into coments. example: for the code LOOP AT itab INTO wa. ENDLOOP. it shoud give like LOOP AT itab INTO wa.     *LOOP AT itab INTO wa ENDLOOP. i hope u can understand my quest