Retrieve the Purchase Order *TAX* Condition Records

Hi,
Tcode : ME23n
Area  : Item
Tab   : Invoice Tab in Item
On clicking the button <b>taxes</b>  I can see different condition attached in the tax code. These taxes are available in KONH KONP table and the related Axxx table, (in my case A003 table).
My Question is:
2) How to find  Cond.record no. ( KONH-KNUMH) on the basis of EBELn that is PO number. I am able to see Cond.record no. from konv table for all the conditions applied on the item directly, but can not see for tax realted conditions, though on debugging I got the KONH-KNUMH and can see the realted data.
<b>But how to find KONH-KNUMH on the basis of Ebeln</b>
1) KONP table has KBETR but not kwert, so how can i find the <b>Condition Value</b>
Let me know if there is any gaps in my problem statement.

Hi flora
Just get through the sequence .
see the table fields ...
1. From EKKO table take an entry which is having pricing conditions.
Now in the fields list check out for field EKKO-KNUMV(document condition number).
2.Take this condition number and now goto table KONV.
Give the document condition number in the field  KONV-KNUMV and execute .
This will lead to a list of document condition numbers and some other fields .
3.Now check for field KONV-KNUMH ,KONV-KAWRT(quantity) and note the value KONV-KWERT  .
(Remember this is at header level).
This is ur condition record number.
**comments
Now from document condition number we got the condition record number (KNUMH).
4. now since u want the item level tax procedure go to table KONP and give the condition record number and execute .
This will give u a list of details .
Now concentrate on KONV-KAWRT (scale quantity) KONP-KBETR(rate) as this table will store “Pricing  per UNIT “ so product of these two will give u the total pricing tax, for a particular condition type say PR00  .
For that particular condition item .
Check the pricing procedure .
See t-code VK13 and check the pricing procedure .
From me23 check the same PO num select the item and check the pricing conditions applicable .
Select a particular pricing and goto condition->analysis->analysis pricing  ,
Better take help of a SD functional consultant in the process.
regards,
vijay.

Similar Messages

  • Retrieve the Purchase Order Condition Records Table

    Hallo!
    I have found this code right here:
    http://www.sap-basis-abap.com/sapab025.htm
    It is very useful particular for purposes which I need. Please can somebody
    try to fix the error to get it working. There is an internal table missing.
    Regards
    Ilhan
    Retrieve the Purchase Order Condition Records Table
    select * from ekko.
           select * from konv where knumv = ekko-knumv
               "Get all the condition records for the purchase order
           endselect.
    endselect.
    * Get the info record conditions record
    * First declare the record structure for the key
    data: begin of int_konp,
                 txt1(5),
                 lifnr(5),
                 matnr(18),
                 txt2(4),
                 txt3(1),
            end of int_konp.
    clear: konh, konp, int_konp.
    * data for the record key konh-vakey
    int_konp-txt1    = '00000'.
    int_konp-lifnr    = ekko-lifnr+5(5).
    int_konp-matnr = ekpo-matnr(18).
    int_konp-txt2    = 'ALL'.
    int_konp-werks = ekpo-werks.
    int_konp-txt3    = '0'.
    select * from konh where      kschl = 'PB00'            "Conditions (Header)
                                         and datab => p_datum.       "valid from date
          if konh-vakey = int_konp.                                  "Conditions (Item)
                 select single * from konp where knumh = konh-knumh.
                 continue.
          endif.
    endselect.

    Hi flora
    Just get through the sequence .
    see the table fields ...
    1. From EKKO table take an entry which is having pricing conditions.
    Now in the fields list check out for field EKKO-KNUMV(document condition number).
    2.Take this condition number and now goto table KONV.
    Give the document condition number in the field  KONV-KNUMV and execute .
    This will lead to a list of document condition numbers and some other fields .
    3.Now check for field KONV-KNUMH ,KONV-KAWRT(quantity) and note the value KONV-KWERT  .
    (Remember this is at header level).
    This is ur condition record number.
    **comments
    Now from document condition number we got the condition record number (KNUMH).
    4. now since u want the item level tax procedure go to table KONP and give the condition record number and execute .
    This will give u a list of details .
    Now concentrate on KONV-KAWRT (scale quantity) KONP-KBETR(rate) as this table will store “Pricing  per UNIT “ so product of these two will give u the total pricing tax, for a particular condition type say PR00  .
    For that particular condition item .
    Check the pricing procedure .
    See t-code VK13 and check the pricing procedure .
    From me23 check the same PO num select the item and check the pricing conditions applicable .
    Select a particular pricing and goto condition->analysis->analysis pricing  ,
    Better take help of a SD functional consultant in the process.
    regards,
    vijay.

  • Change the Purchase Order : Item - Conditions value

    Hi,
    How to change the Purchase Order : Item - Conditions value.
    In my PO, Item conditions shows the SKTO - Cash Discount value is 0. I want to change the Discount value 10.
    How can i change it??

    Hi,
    Goto the Transaction code MN05 and give the CONDITION TYPE SKTO and change the value
    MN05 is the Transaction code for Purchase order  condition types.
    Please check and revert back if you need more details.
    regards,
    santosh

  • Purchase Order Pricing Condition and Withholding Tax

    Hi
    We have investigated Extended Withholding Tax functionality, which appears to be FI specific.
    The problem is that we want to have the Purchase Order pricing conditions reflect that some amount is being withheld for tax purposes.
    At invoice time, the vendor would invoice for the entire amount (i guess) (ie. 100$) but we would pay the vendor only 80$ and 20$ would go to a withholding tax account...or something like this would happen ...
    I have some pricing config knowledge...but limited
    Can anyone tell me
    a) if this is possible?
    b) any hints on how to go about this?
    Also noticed a 'withholding tax code' field on MEK1 - Create Condition Records. .... which appears as display only depending on how i configure my condition type - haven't figured out how to use this field or what is means...
    Thank-you !!!

    Hi,
    If you are using the standard PO Print then check in M/08 and check for that Condition Type whether Print Indicator is "X"? If it is is Z-Print Program then take help of ABAPer.

  • Block the goods receipt against a purchase order without a record condition

    Dear
    I need to block migo against a po if FRB1 record condition price have price value 0
    I need to block only MIGO not the creation of the purchase order.
    How can I do this ?
    Thanks.

    hi,
    Yeah its placed at the item level of the PO, which states wheather GR is possible for it or not...if we uncheck it GR will not be posted...Check Delivery tab in the PO item details...
    But in your case you have to go on with condition type...
    Regards
    Priyanka.P
    Edited by: Priyanka Paltanwale on Oct 18, 2010 5:10 PM

  • 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.

  • Performing filter for field Tax Code (MWSKZ) in the Purchase Order

    Hello Experts,
    We have to perform a filter for field Tax Code in the purchase order (ME21N / ME22N / ME23N). We've tried to use SH SH_T007A and SSH_T007A with search help exit (e.g. F4_TAXCODE_USER_EXIT) but it is not working. The ABAP programmer has performed a debug and the standard does not check any line code in this function (the ABAP programmer has set a breakpoint into function F4_TAXCODE_USER_EXIT after assigning it for mentioned search helps)... it sounds like this program / search help is not called by standard program of ME2* transactions...
    I've tried to look for some other object and other function called FI_F4_MWSKZ has been found... I've set a breakpoint there and when I open the search help for field tax code into transaction ME21N it works... but as I could see this function FI_F4_MWSKZ is a standard one which we can not change...
    Have you ever had the same problem?
    We are currently in the SAP 4.6C version. I've found lots of OSS notes but only valid for 6.0.
    Maybe someone can help me on that.
    Best regards,
    Nilmar

    hi,
    goto gs01 transaction,give some name to ur step.
    give the table name and field name.
    then u can create a specific value set for that field.
    save.
    now u can use this set to define conditions for ur fields in obbh transaction.

  • How to Retrieve Purchase order TAX value price

    Hi,
    I want to retrieve Purchase order TAX value price from the purchase order is there any function module to retrieve this value.  Or from which table we can retrieve this value using purchase order no.
    Thanks in advance

    Hi Pradeep,
    Have you looked BAPI <b>BAPI_PRICES_CONDITIONS</b>?
    Hope this will help.
    Regards,
    Ferry Lianto

  • User Exit / BAdI to update the pricing conditions of the Purchase Order

    Hello SAPients,
    This is my requirement:
    "Copy the Pricing Conditions from the Shipment Cost Document (VI01 / VI02) to the automatically generated Purchase Order".
    I'm using the enhancement V54U0002 (Function Module EXIT_SAPLV54U_002) to EXPORT  the values of the Pricing Conditions to memory and I have used the enhancement MM06E005 ( FM EXIT_SAPMM06E_006, 007, 012, 013, 014, 016, and 017) to IMPORT the values from memory and store them in TKOMV. But, when the PO is generated the values don't stay, they are always changed with the standard PBXX pricing conditions.
    My question is: Does anyone know the User Exit / BAdI that I can use to change the Pricing Conditions of the Purchase Order?
    <<removed_by_moderator>>
    Thanks!
    Edited by: Vijay Babu Dudla on Jan 14, 2009 11:08 PM

    >
    kartik tarla wrote:
    > check this badi
    > ME_PROCESS_PO_CUST
    >
    > and the following user exit
    > Goto-> include RV61AFZA then search for
    > USEREXIT_PRICING_RULE see if its helpful to u.
    Hello Kartik / SAPients,
    I tried with ME_PROCESS_PO_CUST but didn't work. The system doesn't execute that code. Any other idea would be greatly appreciated.
    Thanks.

  • Changing the Condition type Text in the Purchase Order

    Hi SAP,
    Hi,
    We have a requirement where by we need to change the Description of the condition type text in the Purchase order.
    The condition type is a entered at item level.
    Normally this description comes from the Condition type Definiton i.e., T685T-VTEXT.
    can any one of you suggest a User exit or a method where by we can change this text at PO.
    Has any one of you came across such situation before. if so please provide me with your inputs.
    Thanks
    Best Regards
    ShitalD
    Edited by: Shital Deshpande on Feb 21, 2010 1:07 PM

    Hi,
    I think it is a config setting..Please check with your functioal consultant regarding the same.. I won't suggest to change the standard SAP table T685T but you can keep it as last option .
    From SPRO you can follow the below path
    Sales and Distribution->Basic Functions -> Pricing > Pricing Control -> Define condition types.
    Regards,
    Nagaraj

  • Need to turn off Purchase Info records in the purchase order

    Is there a way to turn off the Purchase Info records from appearing in the purchase orders? or atleast not update the Info records?

    Kevin,
    Please follow the below path in SPRO:
    Material management-----Purchasing---environment Data-----Define default values for buyers
    Here Remove the Info Record Update
    Regards,
    Manish

  • Add Z conditions in the Purchase Order

    Hi Gurus,
    We have created a Z condition in the RM0000 pricing procedure and we have addded a requirement and Formula for the same.
    If the requirement matches, then Formula is executed for assigning value in this condition. Now, when I try to create Purchase Orders using transaction ME59n, it works fine. Condition is added in the purchase orders that match the requirement.
    Now, when I try to create the purchase order through a background job, condition is not getting added in it. I debugged the background job, and requirement is satisfied for the Purchase Order.
    Can anyone help me in this issue.
    Thanks in Advance,
    Amit Rai

    I have scheduled a job using transaction SM36, that runs the program RM06BB30 (transaction ME59n) in the background.
    Regards,
    Amit

  • To block the Purchase orders with the help of Quality info record.

    Dear All,
    I have one requirement and it is as follows.
    In Quality Info Record we have a tab called Release in that there are two sections one is Release quantity and the other is Block.
    Now my client requirement here is : consider an example suppose he enters 100 in the quantity field,upto 100 the system must allow him to do Purchase Order after the 100 system must show an error that quantity is blocked and Purchase order cannot be created.
    The purchase order should only create when he changes the quantity from 100 to the higher quantity.
    Is this possible?
    if so kindly tell me what are the  normal settings and configuration settings to be done.
    as the client doesnot want to change it manually.
    Kindly guide me in this regard.
    Regards,
    santosh.

    Dear Santosh,
    E.g. lets say Release Qty. = 100.
    now, if the material received from vendor is OK, you want to continue with that vendor, and if material is rejected,no further material will be rceived.
    as, your client do not wants to do it manually,
    in q-info record, above "release qty" there is "Release qty. active"tick. so, create Z function module which will only reset the "QINF FREI_MGKZ" field, and assign it into Follow-up action for Usage decision for acceptance. it will be better to create new UD code.
    at the end, if Material is Ok, after UD, it will remove "Release qty. active" tick and you can continue with that vendor.  and if UD is rejected, system is not going to allow for PO, as release qty was 100.
    regards,
    Amol

  • Is there any function module to get the purchase order conditions from EONP

    Hi,
    I want to get the EONP and EONH table details for the purchase orders with the help of function module. Can anyone tell me any function module name which would give me those details.
    Thanks,
    Atanu

    Hi
    Check with BAPI function module BAPI_PO_GETDETAIL and BAPI_PO_GETDETAIL1.
    Regards
    Srilaxmi

  • Email of the Purchase Order to the User

    Hi,
    Currently, I am able to send the email of the purchase order to the vendor mail address, which is mentioned on general data tab of the vendor master.
    In addition, the requirement is that the purchase order also to be emailed to the User, who has created it.
    I have added the VU in NACE settings for application EF, output type NEU. The payment medium I have used is 5 (external send).
    However, when I try to add the VU and the user name to the vendor master partner details tab, the system is not taking in.
    Please let me know how can I email the purchase order to user.
    Thanks in advance for your time.
    Thanks,
    Ravi

    Hi,
    1) Add the user email address also in the vendor master.
    2) Verify all settings in condition records.
    3) Check tcode sost for any waiting send requests.
    Regards,
    BK

Maybe you are looking for