Print Draft Number on an AR Invoice

Hi
I am trying to print the draft # on the AR INVOICE printout. If an invoice is saved as a draft and if i preview it , i see the DRAFT comments that gets printed on the invoice. Now i m trying to print the DRAFT # also on the invoice.
Pls Help
Thanks
raghu

Hi Raghu,
Draft number will not be unique for market documents such as A/R Invoice.  What benefits will you get to keep that number?
When the Invoice got approved, a new number will be assigned. Please explain the reason why you need that number in the first place.
If you really need that number, you can always using query to find it out.
Check this thread:
Draft AP Service invoice report with G/L codes
Although that refers to AP invoice, AR invoice will have the exactly same logic with different table names only.
Thanks,
Gordon

Similar Messages

  • Preview Draft Number in PLD Outgoing Payment

    Hi All,
    Anybody know how to preview draft number (field docentry, table OPDF) in PLD Outgoing Payment?
    and how to link payment draft report(OPDF) with outgoing payment (OVPM)?
    Thank U all.
    Regards,
    Ratna

    Hi Ratna,
    You may check these threads:
    Re: Print Draft Number on an AR Invoice
    Re: Print Layout Designer
    PO Draft no. and associated actual PO no.
    Thanks,
    Gordon

  • Printing fixed number of  Invoice Line in rtf template with level two group

    Hi,
    I have to print fixed number of invoice lines on a page. Invoce tempalte design has a table with header and summary(Invoice , tax and shiping totals) at each page in table footer. The table should repeate at each page with header and footer. I need to print specific number of rows or number of rows wihich page can accumulate in table body on each page.
    I checked few blogs giving solution for fixed number of rows printing say
    "Anatomy of a Template I - Fixed Row Enumeration"(http://blogs.oracle.com/xmlpublisher/2007/03/27/)
    and
    http://oracle.anilpassi.com/xml-publisher-developing-reports-printed-on-pre-printed-stationary-2.html
    Above two blogs explanation has only one group at line level. but in my case there are two groups (Parent and child) at line level. I am able to count rows in parent group but it is not counting lines in child group.
    Edited by: Bhanu Yadav on Apr 19, 2011 2:10 AM

    Will it be possible for you to move the 1st and 3rd sections to header/footer?
    So that if the 2nd section spills over to next page too, starting position of 3rd section wont be affected.

  • Printed double number of copies (Invoice printing)

    Hi,
    While giving print for invoice from vf03 its printing double number of copies i.e. if i configure 3 copies in
    communication methods then it is printing 6 or 5 or 7 copies.
    Please need information where could be the problem.
    Thanks & Regards,
    Amit

    Hi Amit,
      The extra copies your getting are they blank?
    If you have used page-break option make sure there are no blank lines before it.
    Coz it will result in a blank page.
    Hope it helps!
    Much Regards,
    Amuktha.

  • How to print TIN Number of Customr on A/R Invoice

    Hi..
    I need to print TIN number of the customer on A/R Invoice. pls  tell me in which table i need to search it and get it printed on invoice.
    Reema

    Hi Reema,
    Just add a database field
    Table - CRD7
    Column - Taxid11
    If the above is not working then try by using the below FMS
    Create UDF(TIN No.) and assign the below FMS Query.
    SELECT  T0.[TaxId11] FROM CRD7 T0  INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    WHERE T1.[CardCode] =$[OINV.Cardcode]
    OR
    SELECT  Max(T0.[TaxId11]) FROM CRD7 T0  INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    WHERE T1.[CardCode] =$[OINV.Cardcode]
    Assign this FMS Query in UDF(TIN No.)
    Auto Refresh of Card Code and Check the Display Saved Values
    Regards,
    Bala
    Edited by: Balakumar Viswanathan on Jan 3, 2011 1:31 PM

  • Print draft in Crystal report

    Hi all,
    I face a problem when printing draft document via crystal report.
    when i try to print preview for non draft document , it runs well
    But the problem is when i print preview in draft mode.
    I use store procedure in sql.
    my query is like this.
    Create PROCEDURE [dbo].[Form_PO]
    @Dockey numeric(19,6),
    @ObjectId Numeric(19,6)
    AS
    BEGIN
    IF @ObjectId = 22
    BEGIN
              SELECT
                        --'ND' [DocuTipe],
                        a.DocEntry,
                        a.DocNum [PO NO],
                        a.NumAtCard [Reff Number],
                        a.DocDate [Document Date],
                        a.DocDueDate [Delivery Date],
                        a.TaxDate ,          
                        a.CardCode [CardCode],
                        a.CardName [CardName],
                        a.Address2,
                        c.PymntGroup   [Payment Terms],
                        a.Comments [Remark],
                        a.DocCur [Currency],
                        b.ItemCode [ItemCode],
                        b.Dscription,
                        a.DocType [TypeDoc],
                        e.TrnspName [Incoterms],
                        b.Quantity,
                        b.Price [Price], 
                        b.LineTotal  [Amount],
                         a.DocTotal [AmountTotal],
                        d.Phone1 [Telp],
                        d.Fax [Fax],
                   FROM OPOR a
                        INNER JOIN POR1 b ON a.docentry = b.docentry
                        INNER JOIN OCTG c ON a.GroupNum = c.GroupNum 
                        INNER JOIN OCRD d ON a.CardCode = d.CardCode
                        LEFT JOIN OSHP e ON a.TrnspCode = e.TrnspCode
                   where a.DocEntry = @Dockey
    END
    IF @ObjectId = 112
    BEGIN
              SELECT
                        'DR' [DocuTipe],
                        a.DocEntry,
                        a.DocNum [PO NO],
                        a.NumAtCard [Reff Number],
                        a.DocDate [Document Date],
                        a.DocDueDate [Delivery Date],
                        a.TaxDate ,          
                        a.CardCode[CardCode],
                        a.CardName[CardName],
                        a.Address2,
                        c.PymntGroup   [Payment Terms],
                        a.Comments [Remark],
                        a.DocCur [Currency],
                        b.ItemCode [ItemCode],
                        b.Dscription,
                        a.DocType [TypeDoc],
                        e.TrnspName [Incoterms],
                        b.Quantity,
                        b.Price [Price], 
                        b.LineTotal  [Amount],
                         a.DocTotal [AmountTotal],
                        d.Phone1 [Telp],
                        d.Fax [Fax],
                   FROM ODRF a
                        INNER JOIN DRF1 b ON a.docentry = b.docentry
                        INNER JOIN OCTG c ON a.GroupNum = c.GroupNum
                        INNER JOIN OCRD d ON a.CardCode = d.CardCode
                        LEFT JOIN OSHP e ON a.TrnspCode = e.TrnspCode
                   where a.DocEntry   = @Dockey
                   and a.ObjType = 22
              END
    END
    So when i print draft document the objectId is 112 and will select the odrf table.
    The issue is when print draft there is no data, but actually there are data in the odrf.
    Is there any problem with my query ?
    Regards
    Jia shun

    Hi,
    To print draft document using stored procedure , use base document object type instead of 112.
    for e.g. if you want to print purchase order draft set condition as Objtype ='22' instead if 112. It will fetch data.
    Thanks,
    Neetu

  • Print Draft Document using Crystal Report in SAP 8.8

    I created a Crystal Report Layout using SQL View as data source for AR Invoice which prints out fine. (everthing on 1 page)
    To print Draft Invoice, I copied the view to use ODRF/RDF1 instead of OINV/INV1, copied the Crystal report and updated the data source to the new view. When print Draft Invoice, it prints 3 pages - page 1 blank, page 2 just the "DRAFT" watermark, page 3 the crystal report without watermark.
    Steps to print Draft Invoice: Sales-A/R > Sales Report > Document Drafts Report > Open selected Draft Invoice document > File > Select Layout and Print...
    What is happening behind the scene when printing Draft documents? What is the correct way to print Drafts (e.g. special settings designing Crystal Reports)?
    Thanks,
    Grace

    Thank you for your reply. It works in this specific report.
    But we have both PLD and Crystal Report in the system, changing the settings means the PLD will lose their watermark...
    Also, I don't know how the Draft is displayed, but when select Print Preview for Draft, it's asking for parameter (DocEntry), which I have setup a DocKey@ in Crystal Report and set it in the Selection Manager. Does SAP provide DocEntry in Draft Invoice (ODRF) the same way as in Invoice (OINV)?
    Thanks,
    Grace

  • Error in SBO-SD-PRT Document Printing - Documento Number

    Hello experts.
    I have a problem in :
    A/R Sales > Document Printing
    Printing invoices from here, the document number is set on the first available number in the serires.
    This happens only when printing invoices. If i print order or delivery notes, the number printed is correct.
    If i print  a single invoice from A7R invoice module, the number is correct.
    My configuration is:
    SAPB1 2007 A (8.00.181) SP:00 PL:49
    do you have any suggestion??

    HI Gordon...
    Thank's for the reply...
    In ADMINISTRATION > System Initialisation > Printing Preferences > TAB Per Document > AR Invoices
    I've this setting:
    Export  to MSWord - NO FLAG
    Print Document - NOFLAG
    Print incoming payment with invoice - NO
    Print incoming payment & invoice on One Page - NO FLAG
    Print discount data - FLAG
    Print Mfr catalogue no instead of item number - NO FLAG
    hen batch/serial no. exist print - Document and batch / serial no.
    the problem occurs after upgrade from PL42 to PL49.
    Thank's in advance

  • Batch number in A/R Invoice pld

    Dear Experts
      Please give the idea how to print the batch number in A/R Invoice if the invoice was copied from delivery.
    Thanks & Regards
    S.Ganesh

    Dear Ganesh,
    You may check these threads:
    Batch Number in A/R Invoice
    Re: PLD -  Batch Number in Document Structure
    Thanks,
    Gordon

  • Batch Number in A/R Invoice

    Hi All,
    How do you print Batch Number of an Item in A/R Invoice PLD?
    Thanks
    SV Reddy

    Hi SV,
    i think directly will not get the batch no field in PLD,
    sorry, i dont have any test(client) database. so try this way,
    Table -> INV1 - A/R Invoice- Row
    Column -> BatchNo.
    or
    Create the UDF and assign the FMS.
    i think, (get the batch no)FMS is not possible on A/R invoice .
    it is possible to Create the UPDATE Stored Procedure
    but you should not write the UPDATE Stored Procedure in SAP database.
    best way, Create the UDF and type the Batch No on A/R Invoice.
    ->> Open the A/R invoice(System) PLD and Save as the New PLD.
    ->> Create the UDF(Batch no) Field in Repetetive Area on PLD.
    Save as and Run the Print Preview.
    OR
    Try to Create a Query Report and design a QPLD.
    If you want to Create QPLD, Check the thread, will be get some idea or solution.
    Invoice details related to Serial Numbers 
    Re: Item Serial No. on A\R Invoice Report
    Re: Item Serial No. on delivery note PLD
    Regards,
    Madhan.

  • Dunning letters printing with zero balance and no invoice listing

    How to trouble shoot 'Dunning letters printing with zero balance and no invoice listing' problem

    As per my understanding it could be due to OB22 settings.
    refer following SAP notes
    335608,191927,
    373296

  • Number Range in Excise Invoice

    Hi All,
    Is it possible to have different number range for the object J_1IEXCEXP(Export Excise Invoice).
    Currently we are having one excise group and one series group for one plant.
    According to the Material used in the document we need to change the number range.
    Please help
    Sthen
    Message was edited by:
            sthen

    Dear sthen
    To my knowledge, excise rule says that you can have different series groups per plant (one each for domestic, export and rejection).  So you should maintain only one series group for exports and hence maintaining multiple number ranges for export invoice is ruled out.
    Thanks
    G. Lakshmipathi

  • How can I print the "number lines" with the code in Visual Studio?

    How can I print the "number lines" with the code in Visual Studio?

    Hi BillionaireMan,
    What about your issue now?
    If you have resolved it, you can share the solution here, which will be beneficial for other members with the same issue.
    If you did not, please tell us more information,we will try my best to help you.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Sales Order Number in A/R Invoice PLD

    Dear All,
                 I copy a Sales Order to a Delivery Challan, i Copy This Delivery Challan to a A/ R Invoice.
                 I Need the Document number and their posting dates of both sales order and delivery documnet base number onto the A/R Invoice PLD.
                 I AM able to achieve the delivery number and date of Delivery documnet can anyone advice how to retireve the base sales order number on A/ R Invoice PLD

    Hi Aslam,
    Check this thread,
    Re: SO delivery date on A/R invoice
    OR
    Try to Create Query PLD. or Stored Procedure
    Regards,
    Madhan.

  • XSL-FO for Standard Purchase Order, doesn't print page number

    Hi,
    I worked on XSL-FO code to custom the PDF output for Standard PO. Everything works great: I added company logo (in a different position of the standard commented code <!-- Too easy just to uncomment... :-)--> ), i created new attribute sets to highlight some elements on the print, I added a footer with company details and document type and number (instead of placing this in the header, the costumer didn't like it where it was..)
    OK. BUT: the page number at the bottom on the right isn't printed anymore. For example: if the PO page is n.1 of 2 pages, it comes only '12' and not Page 1 of 2. So i tought not to use the original template (tihs one)
    <!-- Template for displaying the page numbers -->
    <!-- bug#3836856: Template for displaying the page numbers at right bottom of the page -->
    <xsl:template name="pageNumber">
         <xsl:variable name="po_page">
         <xsl:value-of select="$BOILER_PLATE_MESSAGES_OBJ[MESSAGE='PO_FO_PAGE'][1]/TEXT"/>
         </xsl:variable>
         <!-- Get the String before the PAGE_NUM token -->
         <xsl:variable name="string_before_page_num">
         <!-- <xsl:value-of select="substring-before($po_page,'&amp;PAGE_NUM')"/>-->
         <xsl:value-of select="substring-before($po_page,'Pag.;PAGE_NUM')"/>
         </xsl:variable>
         <!-- Get the String after the PAGE_NUM token -->
         <xsl:variable name="string_after_page_num">
         <!-- <xsl:value-of select="substring-after($po_page,'&amp;PAGE_NUM')"/>-->
         <xsl:value-of select="substring-after($po_page,'/ ;PAGE_NUM')"/>
         </xsl:variable> ......
    but inseriting a select just where I want the page num to be displayed (see code)
    <fo:block xsl:use-attribute-sets="test_style" >
    <xsl:value-of select="$BOILER_PLATE_MESSAGES_OBJ[MESSAGE='PO_FO_PAGE'][1]/TEXT"/>
                                                      </fo:block>
    but this gave me as result 'Page &PAGE_NUM of &END_PAGE'.
    Where did I do wrong?? It's like the PO_FO_PAGE message is not dinamically insered in the PDF. Hope I've been clear enough and somene can help me. Thaks in advance, Michele

    Hi Michele:
    I can check out for you how to print page number in XSL-FO (There is an O'Reilly) book, but I think I help you better by recommending a different strategy - Don't write XSL-FO stylesheets. While Purchasing does not support RTF templates you can still write RTF templates and convert them to FO using the XML Publisher Template Builder for Word.
    Download the matching Template Builder for Word (5.0) or XML Publisher Desktop 5.5 (includes the Template Builder) patch and then Create your template as an RTF template.
    You can then EXPORT the template as XSL-FO stylesheet and upload as to Purchasing AS LONG AS THE VERSION OF THE DESKTOP and E-Businees Suite XML Publisher MATCH.
    If you still want to write XSL stylesheet, you can just use the Template Builder to generate you the code and paste the code (e.g. for page numbers) into your stylesheet.
    By the way - Purchasing will support RTF templates in future versions...
    Hope that helps,
    Klaus

Maybe you are looking for

  • CER upgrade from 8.6 to 10.5- Refresh Upgrade COP file

    I am looking for the RU COP file specific to CER  10.5,  there is no COP file available under CER 10.5 download section . There is a COP file available under 10.0 ( v1) that is only for RHEL 5. Version 1.5 COP file available only for CUCM/CUC/IMP Can

  • Prob. with Templete in Smartforms

    I am new to smartforms. I have a scenario where I have a template of 4X3 matrix  I have to put some values and text within as Tot. Discount | value | value Tot. VAT        | value | value Tot. Excise     | value | value Grand Tot       | value | valu

  • Print large photo

    I have not been able to print a photo from my 8x10 paper tray. It always reverts to the photo tray which only accepts 4x6 photos. I need to be ble to print larger photos. This question was solved. View Solution.

  • Troubleshooting Guide for NW2004s ABAP Trial Version

    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/6055f523-df6e-2910-f0bf-acccbb0a7d37">this is the link to the document</a>

  • Does anyone know what to???

    does anyone know what to do when the droid charge starts telling you the the apps that you had are no longer installed on the phone and it wont allow you to  access whats needed to redownload the apps or access the internet. I mean the camera has eve