Invoice Tax print on PO Script

Hi to All...
I want to display Invoice Tax on PO script.
Trancation ME23N WHICH TABLE ARE STORE INVOICE TAXES DETALS?
I'M TRY TO FINDOUT IN TABLE <b>KONV</b> AND <b>KONP</b> BUT NOT GETTING..
IS THERE ANY TABLE STORE THIS VALUE OR ANY PROCEDURE TO GETING
INVOICE TAX?
Thanks in advance...

Hi,
First you should know from the fun consultant, how the atxes are classified for PO's i.e based on Vendor, material and Tax jur code or on some other things.
Generally we do like this:
Using the LIFNR MATERIAL and TAX JURISDICTION CODE of the PO  get the KNUMH value  from the A* tables (A051 ,not sure just check)
and with this KNUMH field  go to KONP table  using KSCHL field and get the Tax Amounts.
reward if useful
regards,
Anji

Similar Messages

  • Invoice Tax Print on PO

    I want to display Invoice Tax on PO script.
    Trancation ME23N WHICH TABLE ARE STORE INVOICE TAXES DETALS?
    I'M TRY TO FINDOUT IN TABLE <b>KONV</b> AND <b>KONP</b> BUT NOT GETTING..
    IS THERE ANY TABLE STORE THIS VALUE OR ANY PROCEDURE TO GETING
    INVOICE TAX?
    Thanks in advance...

    hi,
    you need to use read_text function for any text script.
    raj

  • INVOICE의 TAX LINE TYPE이 'IPI' 로 생성

    제품 : FIN_AP
    작성날짜 : 2003-05-12
    INVOICE의 TAX LINE TYPE이 'IPI' 로 생성
    ==================================
    PURPOSE
    AP Period Closing 시 발생하는 data 문제를 아래 방법으로 해결한다.
    Problem Description
    Oracle Applications 11i
    Ap Period closing 을 할 수 없고 다음과 같은 Error가 발생한다.
    "Total debits are not equal to total credits in base currency for
    the invoice"
    원인을 살펴보면 Invoice의 tax line type이 'ipi'로 저장되었음을 알 수 있다.
    Workaround
    Solution Description
    1. Unaccounting script를 수행한다.
    2. 다음 문장을 수행한다.
    - 1. select LINE_TYPE_LOOKUP_CODE
    from AP_INVOICE_DISTRIBUTIONS_ALL
    where INVOICE_ID = (enter the invoice id whose type is ipi)
    - 2. UPDATE AP_INVOICE_DISTRIBUTIONS_ALL
    SET LINE_TYPE_LOOKUP_CODE = TAX
    WHERE INVOICE_ID = <from above>
    3. 다시 Accounting 처리하고 Period Close 한다.
    Reference Documents
    Note 178291.1

  • I want to add Tax indicator colomn in script for PO

    Hi Gurus,
    I want to add Tax indicator colomn in script in customized objects for Purchase order. How to give the condition for tax indicator. if the tax is applicable in item level  it should give YES or NO, Please provide some possible solutions.
    Thanks,
    V.V.

    Hello,
    If tax is not applicable at PO line, it will be blank or 'U0' at field EKPO-MWSKZ. In the customized print program, you may read this and pass the value to the script.
    Thanks,
    Venu

  • Using the one language invoice to print in all other languages

    Hi All,
    Is there any way or setting I can use so that one language Invoice to print all lanuguages say European lanuguages for testing purpose?
    Right now the printing language is based on customer master and Output type condition record..
    Any help will be appreciated.
    Thanks
    Netaji

    Hi Tummuru,
    Try to change the output type of the script during the runtime.
    All output type information is stored in the Table: TNAPR.
    &******** Reward point if helpful********&

  • Increase the invoice number printed on document

    the invoice number printed on invoice documents must be 10 digits. 
    how to increae the number
    can any body help
    chakri

    Dear Chakri,
    I doesn't under stand clearly about your requirement.
    As per my under standing about your requirement !
    Do You want to maintain the invoice number range must be 10 digits ?
    Then you can go to number range maintanence through VN01 transaction maintain the number range for the billing documents with 10 digits.
    Same thing you can capyure in to the output of the invoice through script or smart form with the help of ABAPer.
    I hope this will help you,
    Regards,
    Murali.

  • Invoice Tax left after create credit memo (Receivable)

    Hi All,
    I have problem after creating Credit Memo(CM) in Receivable. The invoice line become 0 but invoice tax still appear.
    It's caused the tax in CM is 0, even the line value have match value.
    Can anyone help me?
    Best regards,
    Erie

    Anyone help?

  • Report: to see the Invoices with Printing Errors

    Hi.
    Please help us in getting the report: to see the Invoices with Printing Errors
    The problem is that, at first there has been a problem and the invoice was not printed but we did not notice that it was not printed.
    There has to be a report, where we can see the invoices with printing errors.
    Thanks,
    Amar

    Hi,
    You can use the the standard Tcode:VF31.
    Process the record if it has errors the line turns to red.Select the check box and click on the Log(Shift+f6)
    You will be able to see the error messages for the output type:
    Regards,
    Saju.S

  • Sales invoice Smartform printing in dot matrix printer in sucession

    Dear all,
    I am trying to Print Sales invoice on Dot matrix Printer.
    My First Invoice is printed ok, but if i try to print second invoice without manually adjusting the paper the alignment on printer goes haywiered.
    Do we have some option in smartform where we can trigger new page command.
    Regards,
    Gaurav Sood

    Hi Amiya,
    you need to check the paperformat which is used. I'm pretty sure that there is a wrong paperformat selected. The supported paperformats are published in the official documentation of the printer-model.
    ~Florian

  • A/R Invoice, Tax@PLD,

    Hello experts!
    I have two queries. Pls check if a solution can be found.
    1. A/R Downpayment Invoice.
    I have raised a sales order for Rs.10,000/-.
    I received Down Payment of Rs.1000/-. I create Incoming payment.
    In the above transactions "No tax" is applied.
    I create A/R Invoice from sales order.
    I Add 4% vat.
    I select the Total down payment amount.
    Total amount now due is Rs.9000/-.
    The tax is calculated on Rs.9000/- whereas in reality it should calculate
    on Rs.10,000/-.
    2.PLD
    e.g I manufacture a Laptop. Excise is applicable to it.
    I import a mouse.
    I locally purchase a pendrive.
    Now I sell this item to a customer.
    For Laptop Excise+vat is applicale.
    For Mouse vat 12.5% vat is applicable.
    For Pendrive vat 4% is applicable.
    Excise Tax is broken into Basic Excise, eCess and Hcess.
    I want to have all the Tax Amount individually in the PLD (not at Row Level).
    If there are more than 1 item, then I want to have Total sum associated with individual tax codes.
    Edited by: Philip Eller on Jul 7, 2008 9:26 AM

    I have posted the same question to SAP Support regarding the 'Tax Calculation' behaviour in 'Down Payment'.
    Following is the Message which was Posted:
    Message No: 340935
    AR Invoice tax calculated incorrectly.
    The scenario is as follows:
    1. Tax Code by name Exempt with Zero Tax is created.
    2. AR Downpayment Item Invoice for a customer is created with 50% of
    DPM and 50% amount is paid.
    Item001 Qty(1) UnitPrice(1000) Tax(Exempt) Tax Amnt(0) Total(1000)
    3.a AR Invoice is entered with the same information such as
    Item001 Qty(1) UnitPrice(1000) Tax(VAT@4) Tax Amnt(40) Total(1000)
    3.b Total Downpayment button is clicked and the already paid 500 is
    drawn to this Invoice document.
    4. The Tax in AR Invoice is recalculated to INR 20 from INR 40 which is
    not expected.
    The actual requirement is like this.
    1. AR Downpayment Invoice will be created without Taxes.
    2. AR Invoice withbe created with Taxes.
    Even If I use AR Downpayment Request, Tax values are posted to tax
    ledgers and it is shown in all reports.
    I am yet to get reply for this Message.

  • Pdf reader X has problems with small pdf and printer with post script driver

    Hi friends.
    I have installed new Reader X and then i saw that, when i print a very small pdf with about 50 kb and i print it on a Laserjet 4000 printer the printer has problem with the amount of data that reader 10 produces.
    When i install a Postscript driver for the printer my computer makes up to 3.5MB printer data from a 50kb pdf.
    When i install a PCL driver for the printer my computer makes only 350kb from the same 50kb pdf file!!!!
    When i install Reader 9.3 the 50kb file becomes also only 350kb on the printer with post script driver, and i can print without problems also.
    my printer has 8 MB Ram and that should be enough for 3.5MB printer data.
    But when i print the pdf with 1 side only, the printer created a side who is only filled with 50% of the text, then there comes out a second page with the message.....not enough memory in the printer.
    i can not change the postscript driver to a pcl driver cause our ERP System can not handle printer with PCL drivers.
    Can someone help me please.........are there settings in Reader X who can solve my problem ???
    Thank you very much for help!

    put ? after rwcgi60.exe

  • Print additional file when AR Invoice is printed

    Hello,
    Our customer would like to print additional document whenever a AR Invoice is printed.
    That additional document should include some changing information that should be take from the invoice (such as dates, BP name etc), and some information that doesn't change.
    The additional information that should be printed consumes about one A4 page and therefore can not be applied somewhere on the existing document layout.
    Any idea?
    Thanks
    Revital

    Hi ,
    The customer needs to print information that changes and therefore can not use a pre-printed page and print his invoices on its back.
    Also, he needs some info to be taken from the last invoice, like the invoice date or document total.
    For example, if he wanted to add to his invoice additional form on a different page that would state the BP name + invoices' due date + document total + predefined text about discounted items.
    All this information should be printed on additional page since it would be too long to be edited into the regular B1 PLD.
    Is there a way to apply it?
    Thanks
    Revital

  • Box printing in SAP script

    i want to display box in Window in SAP script.. n  in that box i want to habe Amout Rs Printed... please help mi with the same

    Text Elements
    You can define text elements (window texts) for each window. On the Form: Request screen, choose Edit ® Text elements.
    The print program accesses text elements by name, formats them and prints them in the respective window. That is, the program can decide which text elements should be printed in a particular window. It calls these text elements by name to print them. You must therefore change text element names in the print program if you make any changes to text element names in a form.
    In the layout of a text element, you can use only the paragraph and character formats defined in the form.
    Example of a text element in an order confirmation:
    /E ITEM_LINE
    IL &VBDPA-POSNR&,,&VBDPA-MATNR&,,&VBDPA-ARKTX&
    / &'Customerarticlenumber 'VBDPA-IDNKD' '&&'Position
    / 'VBDPA-POSEX&
    This example shows a section of a main window of a form, with an item line of an order confirmation. The /E in the tag column is used to identify the text as a text element, ITEM_LINE is the name of the text element.
    Default Text Element
    At the start of a window, you can define a text element without the /E command in the paragraph format column. This text is always printed at the start of the window. It is not necessary to insert this text explicitly via a print program.
    For more go to this link: Character formats and attributes
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm
    Boxes:
    Use the following code
    /: BOX XPOS 1 MM YPOS 2 MM WIDTH 20 MM HEIGHT 40 MM FRAME 10 TW.
    Box is the command used for printing box in script.
    XPOS - x- axis position
    ypos - y axis position
    http://help.sap.com/saphelp_470/helpdata/en/d1/802ec5454211d189710000e8322d00/content.htm
    Check...
    http://www.revver.com/video/650256/abap-text-elemens
    http://www.revver.com/video/605386/create-a-text-box-from-existing-text
    http://sap.ittoolbox.com/groups/technical-functional/sap-abap/sap-script-printing-1753129
    http://www.revver.com/video/650256/abap-text-elemens
    Reward points if it is useful..

  • Set filename of printed PDF via script

    Hi folks!
    I have a little problem with generating a PDF. First my Workflow:
    I have a InDesign document with 6 pages. This document is merged with a databasefile containing 100 records. After merging it, we have to generate a PDF file. This PDF file is opened within acrobat. Within the document, I'm searching for an ID each record has so I can split the document to 100 files (each with 6 pages) and name it by the ID I found.
    The script within Acrobat is finished and working. I thought, the InDesign script is finished ,too. But I was wrong -.-
    I merged the databasefile with the document and exported it as PDF. But after exporting, we noticed that the script within Acrobat isn't finding the adressheader where the ID is in. The script only noticed the text after that header. The result is, that Acrobat get's always "null" as ID
    If we print the PDF with our PDFprinter, the header could be read by our Acrobat script. I don't know why this is... But now I changed the script to print the files via our PDF printer. Unfortunately I can't set a name for my exported file - do you know if there is a possibility to print PDF's without prompting after each one and with a via script given name?
    Here you can see the old script for InDesign and right after it, the Acrobat sript. Maybe I made some mistake by generating my PDFexport and don't need to use the printer?
    INDESIGN SCRIPT:
      * prompts filebrowser and stores name and path of file in variable
    var sourceDocument = File.openDialog("Bitte Indesign-Dokument auswählen", "*.indd", false);
      * stores only prefix of filename for use as new filename
    var newName = sourceDocument.name.substr(0,  sourceDocument.name.length-5);
      * stores folder where file is stored
    var dbSourceFolder = sourceDocument.parent+"/";
      * prompts for databasefile where generating should begin
    var dbstartfile = File.openDialog("Bitte Start-Datenbankdatei auswählen", "*.txt", false);
      * gets basename of databasefile
    var dbstartfilename = dbstartfile.name.slice(0, dbstartfile.name.search(/_Teil+/));
      * gets number of first databasefile
    var i = dbstartfile.name.slice(dbstartfile.name.search(/_Teil+/)+5).slice(0, -4);
      * generates path name and name of first databasefile to use
    var dbSource = dbstartfile;
       *set PDF preset for generating PDF
    var PDFPreset= app.pdfExportPresets.item("GAG-PDF");
       * stops throwing of alerts
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
    // if databasefile isn't existing message will be thrown
    if( dbSource.exists == false ) {
        // restart of alert throwing
        app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
        alert("Datei " + dbSourceFolder+dbprefix+"_Teil"+i+".txt konnte nicht gefunden werden! \n\rBitte starten Sie den Vorgang erneut und geben Sie die richtige Datenbankdatei an." );
    // else process starts
    else {
        while(  dbSource.exists == true ) {
            // opens source indesign document without showing it
            mergeDocument = app.open(File(sourceDocument), false);
            // sets which databasefile should be used for data merge
            mergeDocument.dataMergeProperties.selectDataSource(File(dbSource));
            // starts merging of indesign document and database file
            mergeDocument.dataMergeProperties.mergeRecords();
            // exports generated document as PDF file
            app.activeDocument.exportFile(ExportFormat.pdfType, File(sourceDocument.parent+"/"+newName+"_Teil"+i+".pdf"), false, PDFPreset);
            // closes opened indesign document
            mergeDocument.close(SaveOptions.no);
            i++;
            // change filename of database file to get next file
            dbSource = File(dbSource.parent+"/"+dbstartfilename+"_Teil"+i+".txt");
    // restart of alert throwing
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
    alert("PDF-Generierung abgeschlossen!");
    ACROBAT SCRIPT:
    * Path where files should be saved
    * Special Characters like spaces should be escaped with \
    * If you want to modify the folder, use following form:
    * "/Driveletter/Foldername/../LastFolderName/"
    * Make sure not to forget the / before and after the location
    var filepath = "/c/pdf_split_test/";
    * Number of expose pages - feel free to change
    var pageType = app.prompt("Bitte geben Sie die gewünschte Seitenzahl der Exposés an.", "");
    alert(pageType);
    * regular expression for search
    var idNumber = /08\d\d\d\d\-\d\d\d\-\d\d\d\d\d-\d\d\d-\d\d/g;
    * if possible this function extracts the searched number as string
    * @param rematch string which should be searched in document
    * @return null if rematch is not found or string if rematch is found
    function ExtractFromDocument(reMatch) {
      try {
             var Out = new Object();
             for (var i = 0; i < 1; i++)
              numWords = this.getPageNumWords(i);
              var PageText = "";
              for (var j = 0; j < 30;j++) {
                  var word = this.getPageNthWord(i,j,false);
                  PageText += word;
              var strMatches = PageText.match(reMatch);
              if (strMatches == null) continue;
          return strMatches;
      } catch(e)
          app.alert("Processing error: "+e)
    * tries to load given filename (extracted number)
    * @param filename string of file which should be checked
    * @param n number to iterate while checking for files
    * @return true if file exists or false if not
    function checkIfFileExists(filename, n) {
        var existingDoc = false;
        try {
            if( n == 0) {
                var checkDoc = app.openDoc(filepath+filename+"-000.pdf");
            } else {
                var checkDoc = app.openDoc(filepath+filename+"-000_"+n+".pdf");
            checkDoc.closeDoc();
            existingDoc = true;
        } catch (e) {
        if( existingDoc == true ) {
            n = n+1;
            n = checkIfFileExists(filename, n);
        return n;
    var pageAmount = this.numPages;
    for( i=0; i<pageAmount; i+pageType ) {
        var filename = ExtractFromDocument(idNumber);
        fileExistence = checkIfFileExists(filename, 0);
        if(fileExistence != 0) {
            this.extractPages({nEnd:(pageType-1), cPath : filepath+filename+"-000_"+fileExistence+".pdf"}); 
        } else {
            this.extractPages({nEnd:(pageType-1), cPath : filepath+filename+"-000.pdf"});
        this.deletePages({nStart:0, nEnd: pageType-1});

    Hi,
    I have a little problem with generating a PDF. First my Workflow:
    I have a InDesign document with 6 pages. This document is merged with a databasefile containing 100 records. After merging it, we have to generate a PDF file. This PDF file is opened within acrobat. Within the document, I'm searching for an ID each record has so I can split the document to 100 files (each with 6 pages) and name it by the ID I found.
    Why you don't export 6-page PDFs directly from InDesign?
    robin
    www.adobescripts.co.uk

  • How we modify print program in script

    hi gurus.
    how we modify print program in script, please tell elaborately.

    Hi ..
    first of all ... u have to check which is the print program for the given layout...
    how u can find out is ... in NACE transaction... for certain o/p type .. there will be configuration done against the layout .. i mean for the particular layout .. a print program wud be assigned.
    another way to find out the print program is thru table TNAPR..
    once u find out the print program.. make sure u have to make changes in the print program .. i  mean once u decide "for the requirement u have to make changes to the print program.
    Reward points if it is useful.
    Thanks,
    Manjunath MS

Maybe you are looking for

  • Pricing condition settings with list cond type

    Hi all, I have a very urgent problem in pricing settings. We are in CRM 4.0 sp6 scenario linked to an ECC 5. In ECC 5 have been set some condition record that provide the field "list cond type" as blank. This are calculated in ECC but not in CRM that

  • How Do I Import A Photoshop CS4 Template into Dreamweaver CS4

    Ok. Here's the deal, my friend and I spent alot of time working in Photoshop to come up with a nice template. He's even done all the coding to animate the buttons for standard, hover over, and click and all that. It's really cool, the buttons slide b

  • Apple Mail crashes when opening emails? HELP!

    So i didn nothing new. woke up in the morning. and when i opened Apple Mail, then tried to open one o fmy emails... It crashes immediatly. Ive tried deleting my accounts and re doing them. nothing. tried a number of things. nothing has helped. i am c

  • In-Call Toolbar

    I was in a video call with someone (both of our online statuses listed as 'Online') and in the call, the toolbar would not disappear from over the video. It is already a nuisance that they have promised and never fixed the mic-muted button always app

  • Flex App not working in IE9

    Friends, We have a Flex browser based app (Flex 3.6 SDK) and it has been running smoothly on IE since last 1 yr. Front-end is Flex, Middle layer Fluorine web services aka .Net, back-end is SQL. One of our customer reported this peculiar problem that