Regenerate PDF copies of invoices

Hi Experts,
I have a question in billing related output processing.
Scenario/Requirement: My company (ABC) is acquired by some other company (XYZ). Now company XYZ is requesting us to give thes soft copies of invoices in SAP in a PDF format that they will store in some data ware house.
I imagine that it is some form of a customer program that we need to write to regenerate the old invoices in PDF format and also give us an option to download the file to a local folder.
Has anyone faced such kind of a situation earlier? if you did can you let me know some details like what functional module(s) you used to pull this etc.,
Helpful answers will definitely be rewarded.
Thanks,
Sravani

Vishnuu2019s suggestion would work.  Here is an alternative that works for sapscript output.  It might work for smartforms, but I have never tried it.  It involves a new output type, an LSMW to open and save each invoice, and an LSMW for a SAP program to convert spool requests into PDF files.
Configure a new output type for the invoices.  Assign the same layout set as your u201Cnormalu201D invoice output type.  Assign a key combination that is simple to set up a condition record for all of your invoices (like u201CSales Orgu201D).  Add the new output type to your billing output procedure.  Transport to your target system.
In the target system,
1.     Create the condition record for the new output type.  Assign medium 1 (print), date/time 4 (immediate), and assign a u201Cdummyu201D output device that will not really print anything.
2.     Create an LSMW to open and save a billing document via t-code VF02.  With the new output condition record in place, each execution of VF02 will generate a spool request for the output (that will not print since you assigned a dummy printer).  Run the LSMW for all of the invoices that you need to process.
3.     Create another LSMW to execute program RSTXPDFT4 for each spool request sitting out there waiting on the dummy printer.  You can get a list of the spool requests from table TSP01.  Specify the spool request number and network path/file name for the selection screen in your input file.
Regards,
zKen

Similar Messages

  • How to generate PDF copy of invoice list

    Hi All,
    I need a favor from you in helping to generate a PDF copy to invoice list .
    I observed that  spool is not generated for this print output of invoice list but output successfully triggered.
    we have z report (zretrieval ) to generated the PDF  but it's not allowed to generate PDF.
    I tried alternative method by saving the print preview but I can able to save only that particular page.
    our business looking for all invoice list pages in single pdf  so please guide me to proceed further.
    Regards
    Srinivasa Reddy

    I presume your issue is output triggered but PDF file is not generating if the invoice list goes for multiple pages.  If this is correct, then you need to talk to your ABAPer as they only, have to check the  smartform being used for invoice list.
    G. Lakshmipathi

  • Want to attach PDF file with invoice

    Hi Friends
    I want to know, how can we attach the PDF files with Invoice.
    Thanks
    Gowrishankar

    Hi,
    If you are talking about attaching the documents to Invoice, You need to use Generic object service (GOS) along with archival procedure. Please search the SCN, we have some documentation on this.
    If it is via E-mail, it is very simple. You can pass the receiver list to SF and send the mail.
    Thanks,
    Vinod.

  • 2 copies of invoice form with different backgroung picture

    Hi,
    I have to print 2 copies of Invoice Form (VF03) using differeant backgroung picture. I am using custom SMARTFORM for this.
    Please let me , How can i do this?
    Regards
    Mohit

    HI
    Call smartform twice by passing dynamic variable which will display back ground image accordingly.
    use the variable in smartform too in the place holder of back ground picture

  • Problems with downloading PDF copies of Statements

    Is anyone experiencing problems downloading PDF copies of billing statements? When I attempt to do so, every file I download is categorized by Adobe Acrobat as an invalid file/format. Thanks.

    Are you using the newer My Verizon web site? I know it allows you to download the bills in multiple formats.
    If you have not been switched yet, and you do switch, it will not allow you to switch back to the older MyVerizon format. I am not sure if everyone has switched over.
    http://www22.verizon.com/foryourhome/myaccount/ngen/upr/nlogin.aspx
    If you login and select Bill & Payment from the left side bar, the page should display the current bill.
    At the top of that page you will see a pull down menu that will allow the display of other months.
    To the right of the pull down, there is an icon that says "Get My Bill (Up to 24 months)" click on that icon, and it will start with the Current Bill.
    You can ask for paper bill select PDF or select other formats, click on Download My Bill, then it will say "Your PDF file of your bill is ready for download. " you musk click a second time. For the download to come up in the menu.
    This works for me, and I am only using the Latest Reader and not the Pro Version, But have Pro at work and have had no issues.
    It seems like a more complicated procedure as compared to the previous one, but it does provide multiple download formats, with more options that others have requested.

  • Printing multiple copies of invoice, PO etc.

    Hi,
    We are not able to print multiple copies of Invoice, PO etc. from SAP.
    e.g. When we print invoice using vf02->issue output, we are setting number of copies to be printed as 5, still only one copy gets printed. Hence,  we need to execute the vf02 five times to get five copies of the invoice. Same is the case for PO printing.
    Kindly help.
    With Best Regards,
    Rajkumar

    Thanks for your reply.
    No, we are not using front end printing (F/G). When we click on "issue output to" (vf02->Billing Document)), we select the print button and the standard printer dialog for selecting Printer and other settings appears. In this dialog there is option call "Number of Copies". We set it to 5 and after clicking on "OK", only single print gets printed.
    Kindly suggest what to do?
    With Best Regards,
    Rajkumar
    Edited by: Rajkumar Namdeo Phand on Mar 22, 2010 12:43 PM
    Edited by: Rajkumar Namdeo Phand on Mar 22, 2010 12:43 PM

  • Tcode to print the .pdf self-billing invoice

    Hi,
    Please instruct me what tcode is needed to print the .pdf self-billing invoice that is created in SAP and sent to ERS Vendors via email after each ERS run (I think the tcode is MRRL).
    Thanks

    Hi moderator,
    Can you move my question to SRM thread ?
    I think my question is related to SRM module in SAP.
    Thank you.

  • PDF with multiple invoices I need collated copies printed

    First off, I would like to say I am an IT professional so the obvious things I have already tried.  Here is the situation:
    I have a business application that outputs shipping invoices and packing slips into a PDF.  That single PDF has many slips and some are multiple pages long.  I need to print 3 copies of each slip as part of the business SOP.  Right now I have to manually collate each one and it takes hours.  The printer does support collating, BUT it treats it as a single document.  Not a document that has multiple documents inside of it.  So if I put on collate, they are printed in order, but then I have to seperate each set of copies.  That process actually takes longer than printing them not collated. 
    The only way I can think of it would be somehow tagging the seperate pages automatically so the print driver knows it is a seperate document within the single file.  They all have page x of y on each page.  But open to other ideas.
    Is there some way to print this how I need it?  It isn't a simple solution but this would eliminate 2-4 hours of manual collating each day.  Any ideas?  Right now it is using adobe reader, but if they have more advanced option in the pro version I am sure the company would gladly invest in it.
    Thank you in advance for any assistance.

    Open the document in Acrobat Reader and use the menu Window > New Window.

  • Smartform to pdf copies

    Hi,
    I have created 3 copies in smartform. While converting to pdf using pdf! only first copy is showing. What to do?

    DATA : ANS(6) TYPE C.
    DATA : WS_UCOMM LIKE SY-UCOMM,
            FORM_NAME TYPE RS38L_FNAM,
            WA_CTRLOP TYPE SSFCTRLOP,
            WA_OUTOPT TYPE SSFCOMPOP,
            IT_OTF    TYPE STANDARD TABLE OF ITCOO.
    DATA : T_OTFDATA TYPE SSFCRESCL,
            T_PDF_TAB LIKE TLINE OCCURS 0 WITH HEADER LINE.
    DATA : T_OTF TYPE ITCOO OCCURS 0 WITH HEADER LINE.
    DATA : W_FILESIZE TYPE I.
    DATA : W_BIN_FILESIZE TYPE I.
    DATA: t_data_tab TYPE TABLE OF x255,
    buffer_x TYPE xstring,
    buffer_zip TYPE xstring.
    DATA: zip_tool TYPE REF TO cl_abap_zip.
    *.................GET SMARTFORM FUNCTION MODULE NAME.................*
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
       EXPORTING
         FORMNAME           = 'ZTEST_SF_EX1'
       IMPORTING
         FM_NAME            = FORM_NAME
    CLEAR wa_outopt.
    *WA_CTRLOP-PREVIEW = 'X'.
    *WA_CTRLOP-NO_DIALOG = 'X'.
    *WA_OUTOPT-TDNOPREV = 'X'.
    WA_OUTOPT-TDCOPIES = 3.
    *...........................CALL SMARTFORM............................*
    CALL FUNCTION FORM_NAME
      EXPORTING
        CONTROL_PARAMETERS         = WA_CTRLOP
        OUTPUT_OPTIONS             = WA_OUTOPT
        USER_SETTINGS              = 'X'
         PO_NO                     = '4500006370'
      IMPORTING
        JOB_OUTPUT_INFO            = T_OTFDATA
    *...........................POP UP CONFIRMATION WINDOW............................*
    CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
       EXPORTING
        DEFAULTOPTION        = 'Y'
        TEXTLINE1            = 'DO YOU TO DOWNLOAD PREVIEW TO PDF FILE ?'
        TEXTLINE2            = 'PRESS YES TO DOWNLOAD AND NO OR CANCEL TO EXIT !'
        TITEL                = 'DOWNLOAD TO PDF FILE ON PRESENTATION SERVER'
        CANCEL_DISPLAY       = 'X'
      IMPORTING
        ANSWER               = ANS.
    CASE ANS.
       WHEN 'J'.
         PERFORM DWTOPDF.
       WHEN 'N'.
         BACK.
    *  WHEN OTHERS.
    *    LEAVE PROGRAM.
    ENDCASE.
    FORM DWTOPDF .
    WA_CTRLOP-GETOTF = 'X'.
    *WA_CTRLOP-PREVIEW = ' '.
    WA_CTRLOP-NO_DIALOG = 'X'.
    *...........................CALL SMARTFORM............................*
    CALL FUNCTION FORM_NAME
      EXPORTING
        CONTROL_PARAMETERS         = WA_CTRLOP
        OUTPUT_OPTIONS             = WA_OUTOPT
        USER_SETTINGS              = 'X'
        PO_NO                      = '4500006370'
      IMPORTING
        JOB_OUTPUT_INFO            = T_OTFDATA
    *T_OTF[] = T_OTFDATA-OTFDATA[].
    DO WA_OUTOPT-TDCOPIES TIMES.
      APPEND LINES OF T_OTFDATA-OTFDATA TO IT_OTF.
    ENDDO.
    *.........................CONVERT TO OTF TO PDF.......................*
       CALL FUNCTION 'CONVERT_OTF'
       EXPORTING
         FORMAT        = 'PDF'
         MAX_LINEWIDTH = 132
       IMPORTING
         BIN_FILESIZE  = W_BIN_FILESIZE
       TABLES
          OTF          = IT_OTF "T_OTF
          LINES        = T_PDF_TAB
    "Declarations
    DATA:input_length TYPE  i.
    DATA:content_x    TYPE xstring.
    DATA:content_s    TYPE string.
    LOOP AT T_PDF_TAB.
       CONCATENATE content_s T_PDF_TAB-tdline INTO content_s.
    ENDLOOP.
    CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
       EXPORTING
         text   = content_s
         MIMETYPE = space
       IMPORTING
          buffer = content_x
    "Declarations
    DATA:zip        TYPE REF TO cl_abap_zip.
    DATA:zip_file   TYPE xstring.
    DATA:binary_tab TYPE STANDARD TABLE OF x255.
    DATA:name       TYPE string VALUE 'Invoice.PDF'.
    CREATE OBJECT zip.
    zip->add( name = name
    content = content_x ).
    zip_file = zip->save( ).
    CLEAR T_PDF_TAB[].
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
       EXPORTING
          buffer     = zip_file
       TABLES
          binary_tab = binary_tab.
    cl_gui_frontend_services=>gui_download(
       EXPORTING
         filename                  = 'D:\PDFZIP.ZIP'
         filetype                  = 'BIN'
       CHANGING
         data_tab                  = binary_tab ).
    Thanks,
    PoornaChand M

  • Hot to Print 3 copies of Invoice in separate trays from HP Laserjet Printer

    My Customer needs to print three copies of the Invoice in different color paper. The paper is loaded in the three trays in the printer and we need to tell the printer from Business One to send the three copies, one for each tray.
    The printer is HP Laserjet P4015 tn.
    Many thanks...

    Mauricio
    it is not possible to send print to three different tray , current limitations in printer setup can only select which printer the data must be sent we cannot direct 3 pages to three different tray
    but you can have solution like
    1) arrange the invoice paper such that each color is kept next (eg blue-pink-green again blue-pink-green and blue-pink-green...)
    2)check with printer vendor for any such setting in printer so that you can send each page to different tray
    Hope this helps
    Thanks
    Krish

  • How to attach PDF files to invoice document from ECM.

    Hi Gurus,
    We have one requirement in that around three million  invoice pdf files are there in ECM system. we need to attach those pdf files(GOS) to  existing invoice document in SAP.as we searched in SCN we found one function module ARCHIVE_CONNECTION_INSERT. for this  function module we need pass mandatory import parameters as SAP object ID ,Document ID and some other variables(object type, doc.type , repository ID).
    My problem is how can I find the value of  respective SAP object ID and Document ID  form ECM system. and how can I match the SAP object ID and Document ID.
    please  help on this.
    Thanks in advance!!
    Regards,
    Vigneshwar.D

    Hello,
    Check with Global document type is maintained for the PDF you are looking for in OAC2. You will find the Document type, for the respective object type, check in OAC3. Content Repository is the archiving ID. Search by the archiving ID.
    Regards
    Rakesh

  • PDF printing of Invoice

    Hi ,
    I have developed sap script for printing Invoices.
    I want to add one more option to print in PDF format.
    could anybody please guide me how to do that???
    Thanks and Best Regards.
    Kusum.

    HI
    see this
    [program to convert script output to pdf|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/converting%2bscripts%2boutput%2binto%2bpdf%2bform]
    in the program at last the path is hard coded and the gui download is called,if u dont want to use hard coded path then use cl_gui_frontend_services=>file_save_dialog before gui_download.And if u want to save the pdf into application server then use open dataset command and transfer instead of gui download

  • Printing  duplicate copies of invoices in another location

    hello,
    my client has a requirement to print set up a daily job to print invoices copies ( this can be done using processing mode 2 in transaction VF31) ; but these copies have to be printed on a different  printer than the first invoices.
    In other words
    1- first processing in printer A
    2- second processing in printer B
    How is it possible to do this without creating 2 differents  outputs types ?
    Thanks

    Hi,
    By using VF31 Transaction you cant change the Printer for the OUTPUT
    Goto the tranaction code SE38 and with the Program RSNAST00 execute all the Billing document which require the second Print and enter the  OUTPUT TYPE and processing medium
    now execute the program in Background which will prompt you to enter the Printer device name, maintain it and execute.
    Then all the prints will sent to the Another printer which is B as per you .
    checkk this and let me know if you need any frther details
    thanks,
    santosh

  • Why are my PDF copies so dirty?

    I recently updated from Windows 7 Home Premium to Windows 8.1 (via a download from Microsoft).  After reinstalling all of my software, I immediately noticed a SIGNIFICANT difference in the quality of copies I was getting from my Adobe software.  Originally, I thought it was an issue with my Neat Scanner software, but after printing my PDF from a different computer, I realized the scanner was not the problem.  I have uninstalled and reinstalled all of my Adobe software more than once, but nothing is working.  If I open the PDF with Adobe Acrobat 9 Pro, I can use clean up the PDF some by using the "Optimize Scanned PDF" option, but it still doesn't come out a clear as it did before I updated to Windows 8.1. 
    I'm so frustrated!  Any help will be greatly appreciated.

    Hi efacg,
    Most printing issues are solved by resetting the Printing preferences. When you print from Firefox and you click on the down arrow, do you see Defualt and Firefox? Please make changes to the preferences here and preview the document.
    If this continues to be an issue please also see [[Fix printing problems in Firefox]]
    If there are any other questions, please do not hesitate to ask, we are here to help.

  • Can't send PDF within my invoicing software

    I have kBilling software and all of a sudden when I send an invoice or statement the PDF can't be viewed. It shows as a Txt file
    Also when i try to view anything on my PC it shows a message saying Bitmap file can't be viewed.
    Any help??
    Thanks
    jason

    You can right click on the displayed pdf and choose "view as icon" so it only shows up as an icon. But the fact that it's displayed as an icon or a preview of the actual file has no effect at all on how it's received at the other end -- they'll get the file, and if their mail reader is configured to preview pdf files, it will be previewed, if not it will appear as just an attached file.

Maybe you are looking for

  • Ipod nano first generation and windows vista

    I finally got everything to work right with Itunes and Windows Vista except one minor problem. On my ipod, the blue "dot" does not show up when a podcast is new, so in a long lists of podcasts, I can't tell which ones I already listened to. Is there

  • New imac doesn't recognize firewire 400

    Just got the new imac and transferred all data from my old (non-intel) imac using a firewire 400-to-800 adapter. Now, my new imac doesn't recognize my external (400 firewire) drives anymore. One of the drives has an USB which works with the new mac b

  • We want the accounts to be posted to 5310 and sales org xx70

    Hi All In april2008 invoice was created for company code 5610 and sales org xx60 now in Jan 2009 they have seized this company code 5610 and sales org xx60 and started operations on 5310 with sales org xx70 Now for business reasons (self billing) the

  • MOVED: Windows cannot boot because of missing/corrupt hal.dll! Help!

    This topic has been moved to Operating Systems. Windows cannot boot because of missing/corrupt hal.dll! Help!

  • Make an offset with a variable

    Hi all, In query designer, I want to make an offset with a variable, i explain : Now, I modify my date manually. for example, i give in selection screen month and year, 05.2008 and i change this date in 04.2008 with a "-1" offset. I want to give the