Tax field table  in purchase order

Hi,
What is the table  of the tax details that appear in the  invoice tab of t-code ME23N.
Thanks in Advance.
Regard
Sam.

this may help u...
TABLES:ekko,ekpo,t001,marc.
DATA:rkomk LIKE komk,
     rkomp LIKE komp.
DATA:kalsm TYPE t005-kalsm.
DATA:pc_komv LIKE komv OCCURS 0 WITH HEADER LINE.
DATA : taxcom TYPE taxcom.
  CALL FUNCTION 'REFRESH_TAX_TABLES'
    EXCEPTIONS
      OTHERS = 1.
  SELECT SINGLE * FROM ekko
         WHERE ebeln = w_ebeln.    "<-----PO number
  SELECT SINGLE * FROM ekpo
          WHERE ebeln = ekko-ebeln   "<-----PO number
            AND ebelp = w_ebelp .     "<-----PO item
  taxcom-bukrs = ekpo-bukrs.
  taxcom-budat = ekko-bedat.
  taxcom-waers = ekko-waers.
  taxcom-kposn = ekpo-ebelp.
  taxcom-mwskz = ekpo-mwskz.
  taxcom-txjcd = ekpo-txjcd.
  taxcom-shkzg = 'H'.
  taxcom-xmwst = 'X'.
  IF ekko-bstyp EQ 'F'.
    taxcom-wrbtr = ekpo-netwr.
  ELSE.
    taxcom-wrbtr = ekpo-zwert.
  ENDIF.
  taxcom-lifnr = ekko-lifnr.
  taxcom-land1 = ekko-lands.                     
  taxcom-ekorg = ekko-ekorg.
  taxcom-hwaer = ekko-waers.
  taxcom-llief = ekko-llief.
  taxcom-bldat = ekko-bedat.
  taxcom-matnr = ekpo-matnr.      
  taxcom-werks = ekpo-werks.
  taxcom-bwtar = ekpo-bwtar.
  taxcom-matkl = ekpo-matkl.
  taxcom-meins = ekpo-meins.
  IF ekko-bstyp EQ 'F'.
    taxcom-mglme = ekpo-menge.
  ELSE.
    IF ekko-bstyp EQ 'K' AND ekpo-abmng GT 0.
      taxcom-mglme = ekpo-abmng.
    ELSE.
      taxcom-mglme = ekpo-ktmng.
    ENDIF.
  ENDIF.
  IF taxcom-mglme EQ 0.
    taxcom-mglme = 1000.
  ENDIF.
  taxcom-mtart = ekpo-mtart.
  IF NOT ekko-llief IS INITIAL.
    taxcom-lifnr = ekko-llief.
  ENDIF.
  CALL FUNCTION 'CALCULATE_TAX_ITEM'
    EXPORTING
      i_taxcom     = taxcom
      display_only = 'X'
      dialog       = ' '
    IMPORTING
      e_taxcom     = taxcom
*    nav_anteil   = hwert
  TABLES
     t_xkomv      = pc_komv    "Tax Table
  EXCEPTIONS
      OTHERS       = 01.

Similar Messages

  • Tax value stored table in purchase order

    Hi ,
    i want to extract tax values of tax code from the Purchase order . 
    So plz tell me the tables where i can extract the tax values for a particular Purchase order at item level.
    Regards
    Kishore

    hi
    TAX TABLES
    for excise check table J_1IEXCHDR for header
    J_1IEXCDTL for item excise
    The Table name used to find the Tax Values are
    KOMV: Pricing Communications-Condition Record
    KONV: Conditions (Transaction Data)
    From the above tables you can refer the fields below.
    KAWRT
    KBETR
    Fetch the corresponding records based on the field
    KNTYP
    regards
    kunal

  • Reg:Tax Table In Purchase Order

    Hi All,
         In the Purchase Order Line Item Level We will Give Tax I.e In the Invoice tab We have our required tax codes the the taxes button will enable when we click taxes all the taxes will come my question is coils anybody say in which table all the tax details for a Purchase Order is Stored? i have checked the table KONV
    only the Header Conditions is Stored in that table.could you please help me?

    Hi Vijetasap,
       i have tried that function module it doesn't return the values thats y i asked the table name, i have attached the code for my reference just correct me where am wrong?
    LOOP AT I_EKPO.
        clear taxcom.
        CLEAR : I_KOMV.
        REFRESH : I_KOMV.
        SELECT SINGLE *
           INTO t001
           FROM t001
          WHERE bukrs = ekko-bukrs .
        taxcom-bukrs = i_ekpo-bukrs.
        taxcom-budat = ekko-bedat.
        taxcom-waers = ekko-waers.
        taxcom-kposn = i_ekpo-ebelp.
        taxcom-mwskz = i_ekpo-mwskz.
        taxcom-txjcd = i_ekpo-txjcd.
        taxcom-shkzg = 'H'.
        taxcom-xmwst = 'X'.
          IF I_EKPO-MTART = 'HAWA'.
            taxcom-wrbtr = i_ekpo-kzwi6.
          ELSEIF I_EKPO-MTART = 'ROH'.
            taxcom-wrbtr = i_ekpo-kzwi4.
          ENDIF.
        ELSE.
          taxcom-wrbtr = i_ekpo-zwert.
        ENDIF.
        taxcom-lifnr = ekko-lifnr.
        taxcom-land1 = ekko-lands.
        taxcom-ekorg = ekko-ekorg.
        taxcom-hwaer = t001-waers.
        taxcom-llief = ekko-llief.
        taxcom-bldat = ekko-bedat.
        taxcom-matnr = i_ekpo-ematn.
        taxcom-werks = i_ekpo-werks.
        taxcom-bwtar = i_ekpo-bwtar.
        taxcom-matkl = i_ekpo-matkl.
        taxcom-meins = i_ekpo-meins.
        taxcom-ebeln = i_ekpo-ebeln.
        taxcom-ebelp = i_ekpo-ebelp.
        IF ekko-bstyp EQ bstyp-best.
          taxcom-mglme = i_ekpo-menge.
        ELSE.
          IF ekko-bstyp EQ bstyp-kont AND i_ekpo-abmng GT 0.
            taxcom-mglme = i_ekpo-abmng.
          ELSE.
            taxcom-mglme = i_ekpo-ktmng.
          ENDIF.
        ENDIF.
        IF taxcom-mglme EQ 0.
          taxcom-mglme = 1000.
        ENDIF.
        taxcom-mtart = i_ekpo-mtart.
        IF NOT TAXCOM-mwskz IS INITIAL.
          CALL FUNCTION 'CALCULATE_TAX_ITEM'
          EXPORTING
      ANZAHLUNG                 = ' '
       DIALOG                    = ' '
       DISPLAY_ONLY              = ' '
       INKLUSIVE                 = ' '
       I_ANWTYP                  = ' '
       I_DMBTR                   = '0'
       I_MWSTS                   = '0'
              I_TAXCOM                  = taxcom
       PRUEFEN                   = ' '
       RESET                     = ' '
          IMPORTING
       E_NAVFW                   =
              E_TAXCOM                   = taxcom
       E_XSTVR                   =
       NAV_ANTEIL                =
          TABLES
              T_XKOMV                    =  i_komv
          EXCEPTIONS
                 MWSKZ_NOT_DEFINED          = 1
                MWSKZ_NOT_FOUND             = 2
                MWSKZ_NOT_VALID             = 3
                  STEUERBETRAG_FALSCH       = 4
                  COUNTRY_NOT_FOUND         = 5
                 OTHERS                     = 6
    .Note: Am not given Full Code but this is the part where am getting the tax values.

  • Can u tell me the tables for field Cross company Purchase Order.

    Can u tell me the tables for field Cross company Purchase Order.

    check below link...
    http://help.sap.com/bp_bblibrary/500/Documentation/J53_BPP_EN_DE.doc

  • Automatic Flow of Tax Code in the purchase order (Service)

    Dears,
    My purpose is to populate the Tax Code automatically in the Service Purchase order (Account assignment U and Item Category D). The tax code in the purchase order is required for ERS.
    If i maintain the tax code in the info record for a material, then the tax code is getting automatically flown from the Info record to the purchase order.
    However, if I maintain the tax code in the info record for a service, then the tax code is not getting automatically flown from the Info record to the purchase order. Is there any other settings to be maintained to populate the tax code for the service purchase order?
    Thanks & Regards,
    Ramesha

    Hi,
    The tax code in PO is at item level for stock material.
    In your case you cant make it default as inforecord field is at service level(You cant make it default for every service specifications you create at item detail level)
    Check the field info record in your service PO.
    Regards,
    Deepak.

  • Excise duty, tax, ECS values in Purchase order - Reg

    Hello friends,
    Please let me know  from which table having  Excise duty ,Ecs and  Tax value of a purchase order can be retrieved.
    Thanks & Regards,
    Hari Prasath.S

    At the Time of Po KONV is the Tabel
    After GRN       J_1IEXCHDR (Header Data) Excise Invice
                          J_1IEXCDTL (Line Item) of Excise invoice
    Regards
    Biswajit

  • Modify and add new field in standard Purchase Order script

    Hi All,
           I have some problem with Modify and add some new fields in Standard Purchase Order script. From ME22n transaction code it display PO detail. In <b>item detail</b> with <b>condition</b> tab all data will display in Currently PO script output.
           But I want to display ME22n->Item Detail->Invoice->Taxes Data. how to display this data in standard PO script. All data are fetch from <b>Structure</b> like ( KOMV,KOMVD..etc) then How it can be Display?
    Waiting for Replay.
    Himanshu Patel.

    Work with an Abaper.Tell your requirement [ addition of a field] and ask him to include this field by using the functionality " Field Exit".

  • How to make Field mandtory in purchase order?

    Dear GURUS,
    I want to make Tracking no field mandatory in purchase order for particular Purchase Group?
    Also po not allow more than 2 quantity for above case?
    pls guide me how can configure this?
    Regrds
    pravin.

    yes you have to give the table and field name. say example. Input parameters: material (MATNR) = MSEG TABLE
                                                                                    pLANT(WERKS) = MSEG TABLE
    Output
    1. Material
    2. Plant
    3. Storage Location
    4. Movement type
    5. Posting date
    6. Material descriptiion
    for above you have give field name and table and give the logic how to fetch the data.

  • No Update FMIOI and KBLP tables with purchase order

    Hello,
    We have un serious problem : No Update FMIOI and KBLP tables with purchase order
    System :  SAP ERP 6.0 /7.0 - EHP 4
    Note 965633 was read.
    1) First case: The purchase order 4510000673 does not reduce the funds reservation.
    Purchase order 4510000673 should consume the funds reservation 1200000193 because all post of the PO charge the funds reservation 1200000193.But the consumption history of the funds reservation 1200000193 donu2019t show this consumption.
    In table FMIOI, we do not have lines with amount type 0200 (reduction) but whe have the lines with the post of PO with amount type (0100).  The Purchase order 4510000673 should consume the funds reservation 1200000193.
    In table KBLP, the fields are :
    Total amount (LC) - HWGES  = 53.409,40
    Amount used u2013 WTABB = 0,00
    Reduction amount u2013 HWABB = 0,00
    Open amount u2013 CWTFREE =    53.409,40
    Reduced amount u2013 WTABG = 0,00
    Reduced amount u2013HWABG = 0,00
    To solve the problem, we executed the transactions : FM4N et FMN5 and the program RFFMRC20 but no result.
    2) Second case : Delete a item of a purchase order does not release the budget
    The single item of the purchase order 4510000597 is deleted but in the display of consumption History of the funds reservation 1200000137, the amount of the purchase order is not to zero.
    To solve the problem, we executed the transactions : FM4N et FMN5 and the program RFFMRC20 but no result.
    Somebody already had a similar problem ?
    Thank you
    Fabian

    Hello Fabian
    There are two known notes dealing with missing update on reference Earmarked Funds, I am listing them for future references:
    1376800  Earmarked funds: Incorrect open amount         
    1438487  RFFMRC20: Missing KBLE records are ignored     
    These notes correct some errors within the Standard.
    However, in your scenario, problem has to do with an incorrect execution of a Commit work inside a customer user-exit. After elimination of this commit work, new Po's are working correctly.
    Remaining task is the correction of old PO's. Manual correction via small changes with ME22N (for instance, adding a '.' to the line item text/s) will force the correct update and fix your database
    If you agree, we can close this thread (?)
    Kind regards
    Mar

  • Tolerance table BBP_PDTOL - Purchase Order Item relation

    Dear Experts,
    Would anybody be able to describe field relationship between
    Purchase Order Item and tolerance table BBP_PDTOL.
    CRMD_ORDERADM_I-GUID  -   BBP_PDTOL-GUID relation is not work.
    Sincerely yours, Sergey.

    The document header/item relation with a depending object, such as tolerance, is through a third table, CRMD_LINK. So,
    CRMD_ORDERADM_I-GUID <=> CRMD_LINK-GUID_HI
    CRMD_LINK-GUID_SET <=> BBP_PDTOL-SET_GUID

  • Table for purchase order status

    Hello friends,
    There's a tab STATUS in purchase order (tcoe ME21N).
    I can't find a table which contains theses statuses.
    Anybody knows what's the table for purchase orders status ??
    Regards,
    Bahia

    Hi
    PO status is stored in Structure not in the table.
    Please use the List displays to get the information like ME2N,ME2L, ME2M, ME2K etc
    You can also get the information from the table EKKO, EKPO, EKET,EKBE
    Hope it helps
    thanks/karthik

  • If we can increase the length of the Short Text field in a purchase order?

    Hi Experts,
    Please suggest if we can increase the length of the Short Text field in a purchase order?
    If yes, How? and what will be the impact?
    Thanks
    Gavar

    Dear Arpit,
    You can use PO Text field for long description of the material.
    Regards,
    Manish Jain

  • Tables for purchase order history

    what r  the tables for purchase order history.
    thanks in advance

    Hi Srinivas,
    Check out the link for detail PP module and tables.
    http://www.sap-img.com/sap-pp.htm
    Hope this helps.
    Manish

  • Making a field mandatory in purchase order wrt account assignment

    Hi,
       I want to make a field mandatory in purchase order wrt a patricular account assignment category.Can any one of u help me?

    Hi
    Using a BAdi  you can acheive this.
    Create a New Field selction key with Order Acknowledgement as mandatory field
    The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis.
    Typical applications for this BAdI include:
    Processing of own objects
    Processing of additional data on standard objects
    Implementation of additional checks and derivations
    Change of data in standard fields
    Change in field selection
    Use one of the the methods
    Field selection At item level method FIELDSELECTION_ITEM_REFKEYS
    Special rules at item level method FIELDSELECTION_ITEM
    This method enables you to change the display properties of fields at item level by supplementing or swapping the field selection reference key. You can thus restrict the processing options for certain groups of users, for example.
    The following parameters are available:
    IM_ITEM
    This import parameter contains the item data of the outline agreement.
    The interface reference is of the category IF_PURCHASE_OUT_ITEM.
    CH_KEY0 to CH_KEY6
    These change parameters contain the field selection reference keys.
    Please go through the BAdi Document tation for more details
    Please take hepl of ABAP er in implementing the BAdi
    Thanks & Regards
    Kishore

  • Vendor field on SRM Purchase Order

    Hi.
    Please can someone elaborate and explain why my preferred supplier that I have entered onto my Cart does not copy through to the Vendor field on SRM Purchase Order please? At this moment, the Preferred Vendor field is incorrectly populated whereas previously, only the Vendor field was populated. We have the ECS activated.
    Thank you.
    Pooja!

    Hi
    Prefered vendor - if you manually added a vendor - This partner function no. 39.
    check your BBP_PD whether you have prefered vendor or fixed vendor in partner head.
    Fixed vendor -partner function is 19 like contract ...etc
    check these details or your approver might be changed your source of supply if he has access to modify the cart.
    BR
    Muthu

Maybe you are looking for

  • I have a real big problem

    on my mother in laws (refurb 20-inch white intel iMac) when I try to sync her original 4 GB iPhone which was just upgraded to 2.0 software, and I select the photos tab to select which photos I want to sync from iPhoto, iTunes crashes! GONE POOF, and

  • How to setup built-in VPN server on Mountain Lion

    Anyone have information on configuring the built-in VPN server in OS X Mountain Lion ?

  • Oracle 8.1.5 and Discoverer 3.1

    I installed Oracle 8.1.5 on NT. When I tried to install Discoverer 3.1 in the same oracle home, I got message, "The location specified ,"D:\Oracle\\Ora81\", is already used as an Oracle home for 'Oracle 815 production'. It cannot be used as an Oracle

  • Where can i download iPhoto 9.5

    where can i download iPhoto 9.5 The apple downloader says that I have iPhoto installed but I need the old version

  • How to backout my Function module?

    Hi All, if I have transported my inbound function module to production system, but when my code has influence on data in the production system, I want to backout my inbound function module and I don't what to delete my code, what should I do? Many th