Layout to pdf functionality available in SDK?

When emailing documents from SAP the document layout is used to create a pdf and added as an attachment to a message. Apparently, as in the service module, the name of the file is even passed to the conversion process.
I can see in the SDK references how to create messages to be emailed and how to add attachments but not how to actually generate attachments.
Is it possible to access this functionality from the sdk? I'm looking for a way to use the existing layouts within SAP like the standard SAP document mailing does.
I already have a program I wrote that uses Crystal Reports to create pdf files or prints reports from a Windows service using a queue table in SAP. However, I'm looking for a way to use standard SAP layouts.
Thanks for any assistance.
Bill Faulk

I can call menu options from an addon but that really wouldn't be so great with 2000 customer invoices.
My customer wants a program to email/fax/or print invoices depending on a setting in the business partner. I already have a program that runs in the background on the server and automatically prints or saves output from a Crystal Report layout to a pdf using a print queue in the sap database. I'll likely need to update that to add to the sap message queue for printing and faxing after the pdf is saved.
It doesn't look like there is any exposure of any method to print a layout much less generate an attachment so I guess I'll have to do my own thing with Crystal.
Thanks for answering though. If anyone know of any plans to add this functionality in SBO 2007, or has figured out how to expose an existing method to do so from one of the SAP libraries then please let me know.

Similar Messages

  • Use enhanced function of Acrobat SDK

    Hello,
    We would like to use Acrobat SDK to read PDF files (containing aircraft navigation charts) in our application (under QT), put in a window, trace objects on the image and print.
    There is no creation of PDF file, only read mode.
    We have tried Acrobat SDK joined with Acrobat Reader but there is not enough function in this case.
    We would like to use Acrobat SDK joined with Acrobat Professional to have enhanced functions.
    Can we then deployed to our customers our application with some DLL of Acrobat Professional ?
    Best regards

    As explained in the API documentation, there are many functions of the SDK that are not available if you have not Acrobat Professional.
    For instance, all functions in:
    - AcroExch.PDDoc
    - AcroExch.PDPage
    So, it is not possible to select a part of a PDF and redraw, to control the scroll and zoom, and so on.
    The only functions available in the SDK with Acrobat Reader is contained in AxAcroPDFLib.AxAcroPDF.
    Unfortunately, it is very limited.

  • How to convert PO sapscript layout to pdf - need VERY URGENT Help

    Dear All,
    Requirement: PO sapscript layout after some modifications (say, ZMEDRUCK) has to be converted to pdf. Through me9f user will be able to give ranges of PO numbers and can view the print preview for the po. After that on clicking the print button we get the printout of the pos one after another based on the user input of PO numbers.
    Our requirement is that when the user will click on the "Print Preview" of po (rather than pressing the print button) it i.e. PO sapscript layout has to get converted to pdf.
    If you have already encountered this scenario, could you please send me the source code regarding this at the earliest. If you want to email it to my personal id, please let me know so that I can give it to you. Thank you.
    It will be very beneficial for mine if you can send me some source code in this regard. (FYI. We want only “Print output” of PO sapscript. So, Print Program /SMB40/FM06P [after copying it to our ZSMB40/FM06P program] need to be modified for downloading the PO into PDF where there is no FMs like OPEN_FORM, WRITE_FORM, CLOSE_FORM. So already available source code in SAP forums can not help me.)). Kindly help me at the earliest. It’s VERY URGENT…
    Thank you.
    Thanks & Regards
    Sudipta

    Hi Chaith,
    Could you please provide me the source code regarding this at the earliest.
    We want only “Print output” of PO sapscript. So we need to modify only the Print Program SAPFM06P after copying it to ZSAPFM06P for downloading of modified PO (ZMEDRUCK) sapscript layout into PDF.
    I am already having some source code from sdn portral. I am attaching it herewith. But it's not working as some constants and variable values need to be given. We want to take download of PO into PDF from ME9F transaction itself.
    Could you please provide necessary values in the missing constants and variables and kindly resend the corrected modified Source code to me so that I can run the same code to  download the modified PO ZMEDRUCK into PDF . Need YOUR URGENT HELP...
    DATA: l_druvo LIKE t166k-druvo,
            l_nast  LIKE nast,
            aux_nast LIKE nast,
            l_from_memory,
            l_doc   TYPE meein_purchase_doc_print,
            ent_screen TYPE c,
            ent_retco TYPE i,
            toa_dara TYPE toa_dara,
            arc_params LIKE arc_params,
            aux_form LIKE tnapr-fonam.
      DATA: otf LIKE itcoo OCCURS 0 WITH HEADER LINE,
            lt_docs      TYPE TABLE OF docs,
            pdf_bytecount TYPE i,
            nom_archivo TYPE string.
      aux_form = 'ZMEDRUCK'.
      l_from_memory = c_true.
      SELECT *
        FROM nast
        INTO aux_nast
        UP TO 1 ROWS
        WHERE kappl = c_po     " Purchase Order
        AND   objky = t_datos-ebeln
        AND   aktiv = space
        ORDER BY erdat DESCENDING eruhr DESCENDING.
      ENDSELECT.
      aux_nast-sort1 = c_swp.
      CLEAR ent_screen.
      CLEAR ent_retco.
      IF aux_nast-aende EQ space.
        l_druvo = c_1.
      ELSE.
        l_druvo = c_2.
      ENDIF.
    l_druvo = '2'.
      CALL FUNCTION 'ME_READ_PO_FOR_PRINTING'
        EXPORTING
          ix_nast        = aux_nast
          ix_screen      = ent_screen
        IMPORTING
          ex_retco       = ent_retco
          ex_nast        = l_nast
          doc            = l_doc
        CHANGING
          cx_druvo       = l_druvo
          cx_from_memory = l_from_memory.
      CHECK ent_retco EQ 0.
      CALL FUNCTION 'ECP_PRINT_PO'
        EXPORTING
          ix_nast        = l_nast
          ix_druvo       = l_druvo
          doc            = l_doc
          ix_screen      = ent_screen
          ix_from_memory = l_from_memory
          ix_toa_dara    = toa_dara
          ix_arc_params  = arc_params
          ix_fonam       = aux_form                            
        IMPORTING
          ex_retco       = ent_retco.
      CLEAR otf.
      CALL FUNCTION 'READ_OTF_FROM_MEMORY'
        EXPORTING
          memory_key   = l_nast-objky  " PO Number
        TABLES
          otf          = otf
        EXCEPTIONS
          memory_empty = 1
          OTHERS       = 2.
      CALL FUNCTION 'CONVERT_OTF_2_PDF'
        IMPORTING
          bin_filesize           = pdf_bytecount
        TABLES
          otf                    = otf
          doctab_archive         = lt_docs
          lines                  = pdfout
        EXCEPTIONS
          err_conv_not_possible  = 1
          err_otf_mc_noendmarker = 2
          OTHERS                 = 3.
      CONCATENATE c_dest t_datos-ebeln c_ext INTO nom_archivo.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          bin_filesize = pdf_bytecount
          filename     = nom_archivo
          filetype     = c_bin
        IMPORTING
          filelength   = pdf_bytecount
        TABLES
          data_tab     = pdfout.

  • Sending an email of the layout in PDF attachement

    Hello All,
    I have written a program to send the layout in PDF format to send in a mail to the customer.
    The email is going fne with the PDF attachement in the development box, but it is not working in Quality box.
    In the Quality box the email is going but the attachement is not opening.
    I have used CONVERT_OTF function module for converting OTF format to PDF format. As per my analysis it is returning the PDF format properly in Developement box but not the same in Quality. In Quality the the data returning in PDF format is not in proper manner. It is giving some junk data with symbols like traingle, rectange..etc..
    I am using FM SO_OBJECT_SEND for sending an email.
    Can you please suggest me what may be problem?
    Valuable answers will be rewarded.
    Thanks & Regards,
    Satish.

    Hi,
    you need to save the File in PDF format not in the text format.
    check whether the file is saved in pdf format or not.
    Regards,
    Raj.

  • Commenting Functions available

    Is there a pdf reader available that supports the commenting functions of the adobe reader? I am interested in using it on an
    Android tablets.

    Hello,
    To check all the blackfin function go to the following help file : C:\Program Files\National Instruments\LabVIEW 7.1 Embedded\help\lvblackfinpalette.chm.
    You will find help for all the blackfin analysis VIs.
    Regards,
    ClémentG

  • Copying text from PDF created using print to PDF function in OS X

    I use a MacBook Pro with Mac OS X Lion, and Microsoft Word 2008 for Mac and Adobe Acrobat Pro.
    For some reason when I use the Print to PDF function to export a PDF of a Word document, then open it with Acrobat Reader or Acrobat Pro 9 and try to select text and copy it then paste it into a word processor (include Word 2008) the resulting text is gibberish. It looks like some sort of encoding issue, but I can't understand that, since it's all happening on the same Mac! I have also tried to do this with Preview as the PDF reader but I still get gibberish.
    The issue first started occuring with Snow Leopard, and all software is patched, but no dice.
    I've attempted to work around this by using all of the different PDF options under the print dialog, and by saving the doc as a PDF, but I still get the same thing.
    I've also tried copying and pasting the text int Pages, then saving it as PDF and trying to ready it .. again, no luck.  I was able to output the file directly from Pages to Preview and save it from there, but it really doesn't seem like this should be necessary, given that the functionality is build into the OS.
    Anybody else have experience with this? I have just one user that needs to copy and paste text from the doc, so it's a real pain to have to maintain separate PDF and Word versions.
    Thanks!
    D

    Rishi,
    Welcome to Apple Discussions.
    After reading your post, I tried to duplicate this problem. I opened a PDF, selected a sentence, then copied it to the clipboard. I then opened Pages, selected the blank template, then pasted in the text. It pasted perfectly.
    Does this problem happen with all text in a PDF? With different PDFs?
    -Dennis

  • Acrobat X Pro suddenly no Adobe PDF printer available within applications

    I have been using X Pro for 2 months following installation of CS5.5 Premium. I used to be able to print-to-file using the Adobe PDF printer in the print dialog box from within apps such as Word and Finale. Suddenly that option is absent from my print dialog box in all apps.

    Hi Bill,
    I'm SO glad I tried your HELP suggestion first because un- and re-installing was going to be my next step and I dreaded it, and now, given the info you provide below, it appears it was a good thing I didn't do it. Thanks for the further information. I keep a log to refer to when gremlins like this pop up and this is going into it ASAP!!!
    jan
    Jan Thyer
    JT Graphics
    1299 Rose St.
    Berkeley, CA 94702
    510.526.5161 (ph & fax)
    Date: Fri, 23 Sep 2011 06:24:49 -0600
    From: [email protected]
    To: [email protected]
    Subject: Acrobat X Pro suddenly no Adobe PDF printer available within applications
        Re: Acrobat X Pro suddenly no Adobe PDF printer available within applications
        created by Bill@VT in Acrobat Windows - View the full discussion
    Great. We often hear of folks having uninstalled and reinstalled and problems not going away. The repair is the first line of defense if you have not been able to track down a problem. The last line is a reinstall. One of the problems with reinstalls is that folks do not clean up the system before the install. That clean up should include removal of all latent folder parts left by Acrobat and also running a registry cleaner (MS used to have one, but it is not longer available -- making CCleaner the typical cleanup). So if you have problems in the future, try to trouble shoot it and come to the forum if you need help. Sometimes, the repair is a quick fix, and lastly with no other answers do the reinstall--BUT with the cleanup along the way. Again, glad it worked for you.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/3934097#3934097
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3934097#3934097. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Acrobat Windows by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Possibility to execute Acrobat Pro's "Combine files into PDF" function from within SAP?

    Good day.
    Presently, a company uses Acrobat Pro to manually combine files such as *.pdf, *.jpg, *.doc, which have been downloaded from SAP's Document Management System, into one pdf file. I would like to know if it is possible to automatically execute Acrobat Pro's "Combine files into PDF" function from within SAP (ECC 6.0) application system. I'm wondering if this could be achieved from a program via OLE (Object Linking and Embedding) or RFC (remote function call).
    Thanks in advance for your thoughts and inputs.

    Yes, you can combine PDF files via IAC/COM methods.

  • Creating layout in PDF Based Form to print table content.

    Hi ,
        I am facing problem in creating the layout of PDF Based Form . I do not need any interactive text but only active table in my context whose data i need to print . What i did was drag the table from data view into  the body page and activate . When i run it i only get a table structure but without any data .
    Can any one help me or give a pointer to any tutorial for this ?. I have checked in SAPnet for PDF Based Print Form but it somehow skips how to create layout.
    With regards,
    Saurabh Kumar Pandey

    Have a look at help.sap.com:
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/b7/64348655fb46149098d95bdca103d0/content.htm">Interactive Forms based on Adobe Software</a>
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/4c/9cc19e5c874091a99790e540b06f3a/content.htm">Inserting a Table or Loop</a>

  • Is there a custom function available which can be used for logging errors captured in a sp in a sql table

    Is there a custom function  available which can be used for logging errors captured in a sp during and after execution in a sql table?
    Basically we  would like to utilize such function  in every sp and log errors of each sp in a error log table
    Mudassar

    Thanks .
    I was able to write this however I am thinking I am missing something
    CREATE FUNCTION testfunction1()
    RETURNS @temp_error TABLE (
    id int identity(1,1),
    procedure_name varchar(255),
    line_number int,
    error_number int,
    error_message varchar(max),
    error_state int,
    error_severity int,
    occurence_datetime datetime default current_timestamp,
    user_name sysname default suser_name(),
    login_name sysname default suser_name()
    AS
    BEGIN
    insert @temp_error(procedure_name,line_number,error_number,error_message,error_state,error_severity)
    select error_procedure(),error_line(),error_number(),error_message(),error_state(),error_severity()
    RETURN;
    END;
    CREATE TYPE test_type AS TABLE(
    id int identity(1,1),
    procedure_name varchar(255),
    line_number int,
    error_number int,
    error_message varchar(max),
    error_state int,
    error_severity int,
    occurence_datetime datetime default current_timestamp,
    user_name sysname default suser_name(),
    login_name sysname default suser_name()
    GO
    create proc usp_error_test
    @test_type AS test_type READONLY
    as
    begin
    begin try
    select 1/0
    end try
    begin catch
    select * from testfunction1(@test_type)
    end catch
    end
    Mudassar

  • How do i delay the screensaver kicking in? I want to have the music function available without havingto constantly press slide to open. Ipod touch.  Thanks

    how do i delay the screensaver kicking in? I want to have the music function available without havingto constantly press slide to open. Ipod touch.  Thanks

    On the iPod, go into Settings/General/Auto-Lock and set that for the amount of time you want, form the choices given.
    However, a note of caution; this isn't a screensaver function, it's there to prolong battery life. The longer the screen is on before turning itself off, the more battery you are using and the shorter the time before you run out of power.
    There's possibly a better way for you to use you iPod than to keep the screen on. Why are you constantly going into the music function? If it's to select a new track, you could possibly use the Shake To Shuffle feature, which will select a new track at random when you shake the iPod. Alternatively, use the basic Shuffle feature. Or create a Playlist (on the iPod), where you can select the songs you want to play at that time, put them in one list and let the iPod play them.

  • SEARCH function available in iCal on iPhone?

    I can't figure out how to search for an item in my iCalendar on my iPhone 3G. Is this function available and I'm missing it?

    You can make your suggestion here: http://www.apple.com/feedback/iphone.htm

  • Quark - Export layout as PDF

    Does anyone have a script which will open and export layout to PDF?
    I'm using a PDF workflow system called Odystar (http://www.artwork-systems.com/products/odystar/) which processes pdfs. I want to be able to select a group of Quark files and place into a folder watched by Odystar. This will run the applescript and allow the files to continue through the workflow.
    Please if anyone can help.
    Dave K.
    Xserve   Mac OS X (10.4.6)  

    I would suggest you post this question in the Quark User Forums (http://www.quark.com/service/forums/viewforum.php?f=14). This sort of thing has been posted before there and you should be able to get an answer.
    I know it is possible to script export as PostScript, which you could then distill using Acrobat Distiller.
    Robert

  • Is there any registry functions available in Flex

    Is there any registry functions available in Flex:
    So that it can be useful...to make a application to start during startup

    I dont think so through Flash player security constraint you can access registry on local.

  • Is that Any Function Available

    Hi,
    I have the values like 00000000000988 in my table.
    Is that any Functions available in Oracle to trim the zero values in the first.
    so that i will get the field value as 988 alone.
    Thanks,
    Murali.V

    One other solution for 10G with Regex:
    Connected to Oracle Database 10g Enterprise Edition Release 10.1.0.2.0
    Connected as SYSADM
    SQL>
    SQL> SELECT t.a, regexp_replace(t.a, '^0*(.*)','\1') aaa
      2    FROM (
      3          SELECT '000000123' a
      4            FROM dual
      5          UNION
      6          SELECT '000000asdfawfd' a FROM dual) t
      7  ;
    A              AAA
    000000123      123
    000000asdfawfd asdfawfd
    SQL> And if it is obvious 0 only comes infront you can use TRANSLATE

Maybe you are looking for

  • MSI GT70 Crashes and Blue Screens

    I just bought an MSI GT70 and have had it crash every time I browse the web and try to play anything.  I've updated my drivers to try and fix it as well as trying a reset to factory defaults.  So far I haven't had any luck.  It doesn't seem to mind j

  • How do I insert multiple rows from a single form ...

    How do I insert multiple rows from a single form? This form is organised by a table. (just as in an excel format) I have 20 items on a form each row item has five field +++++++++++ FORM AREA+++++++++++++++++++++++++++++++++++++++++++++++++++++ +Produ

  • Can a video clip lose quality with ,multiple rerendering???

    I have a question, can rerender a video file, say I rendered and found I forgot to add chapter markers to sequence, rendered it to a Quicktime DV clip, I deleted all render files after export. Now all I have is the DV clip that needs to have chapter

  • Problem in additional tab page in cprojects

    hi all, i have created one additional tab page through spro settings in cprojects application. trasaction : spro collaboration projects -> global enhancements -> Define field groups for customer fields. here it is giving me option to apply this field

  • Adding a background image in php

    Hey guys, i have a php file on which i need to add a background image to better coordinate my website and i can´t remember the code and where it goes. Could someone help ? thanks guys.