Table to be used to fetch conditon value of a condition type

Hi Friends
              I need to do some enhancements to a report where in I have to add a new column which adds up the netvalue of the invoice ( netwr) with the condition value of a tax condition ( octori ). To fetch the condition value of this conditon which is the appropriate table to be used ? Usually KONV is used but this is leading to slow performance. Is there any alternative table ? Can KONP be used ?
Regards
Mahesh

Hi
Pl find below tables related to pricing
KOMK,KOMV,KOMP
KONV Conditions for Transaction Data
KONP Conditions for Items
KOND Conditions (Data)
KONH Conditions (Header)
KONM Conditions
T684 Condition Exclusion Groups
T684G Condition Exclusion Groups: Condition Types
T684S Condition Exclusion: Procedure Assignment
T689 Download Profile for the Conditions
T689K Reference: Download Profile - Pricing Procedures
Axxx- condition record tabel
eg: A304- is table for condition record for material with release status
A305, a306,a074
A000 Condition Table for Pricing
I have not checked any of them. Dont know whether it will help you.
regards

Similar Messages

  • Function module to change the value for pricing condition type

    Hello experts,
    I want to change the value for pricing condition type for an item in the transaction CRMD_ORDER.
    I used many function modules but none are working.
    Please kindly suggest a function module that will change the value for a condition type .
    I have used the following function module but its not working, please correct the coding if anything needs to be changed or added. Please help me .
    Thank you.
    CLEAR PRCD_COND.
         SELECT SINGLE * FROM PRCD_COND WHERE KPOSN = WA_ORDERADM_I-GUID AND
                                              KSCHL = COND_TY.
      IF SY-SUBRC = 0.
    *    MOVE-CORRESPONDING PRCD_COND TO L_COND_CHG.
    *    CLEAR L_COND_CHG-KBETR.
        L_COND_CHG-STUNR = PRCD_COND-STUNR.
        L_COND_CHG-KBETR = COND_PRC.
    *    L_COND_CHG-KSCHL = COND_TY.
        INSERT L_COND_CHG INTO TABLE T_COND_CHG.
    L_HEAD_GUID = CRMD_ORDERADM_H-GUID.
    L_ITEM_GUID = WA_ORDERADM_I-GUID.
    INSERT L_HEAD_GUID INTO TABLE HEAD_GUID.
    INSERT L_ITEM_GUID INTO TABLE ITEM_GUID.
        CALL FUNCTION 'CRM_ORDER_READ'
         EXPORTING
           IT_HEADER_GUID                    = HEAD_GUID
           IT_ITEM_GUID                      = ITEM_GUID
         IMPORTING
           ET_ORDERADM_H                     = LT_ORDERADM_H
           ET_ORDERADM_I                     = LT_ORDERADM_I
           ET_PRIDOC                         = IT_PRIDOC_RD
           ET_DOC_FLOW                       = T_DOC_FLOW
    *     CHANGING
    *       CV_LOG_HANDLE                     =
    *     EXCEPTIONS
    *       DOCUMENT_NOT_FOUND                = 1
    *       ERROR_OCCURRED                    = 2
    *       DOCUMENT_LOCKED                   = 3
    *       NO_CHANGE_AUTHORITY               = 4
    *       NO_DISPLAY_AUTHORITY              = 5
    *       NO_CHANGE_ALLOWED                 = 6
    *       OTHERS                            = 7
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRI_COND.
    INSERT L_PRI_COND INTO TABLE PRI_COND.
    LOOP AT IT_PRIDOC_RD INTO LS_PRIDOC_RD.
    MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRIDOC_CHG.
    L_PRIDOC_CHG-PRIC_COND = PRI_COND.
    L_PRIDOC_CHG-REF_GUID = LS_PRIDOC_RD-GUID.
    L_PRIDOC_CHG-COND_CHANGE = T_COND_CHG.
    INSERT L_PRIDOC_CHG INTO TABLE PRIDOC_CHG.
    ENDLOOP.
    LOOP AT LT_ORDERADM_H INTO LS_ORDERADM_H .
    MOVE-CORRESPONDING LS_ORDERADM_H TO L_HEADER.
    INSERT L_HEADER INTO TABLE HEADER.
    ENDLOOP.
    LOOP AT LT_ORDERADM_I INTO LS_ORDERADM_I.
    MOVE-CORRESPONDING LS_ORDERADM_I TO L_ITEM.
    INSERT L_ITEM INTO TABLE ITEM.
    ENDLOOP.
    L_FIELD-FIELDNAME = 'STUNR'.
    INSERT L_FIELD INTO TABLE FIELD.
    L_FIELD-FIELDNAME = 'KBETR'.
    L_FIELD-CHANGEABLE = 'X'.
    INSERT L_FIELD INTO TABLE FIELD.
    L_INPUT-FIELD_NAMES = FIELD.
    L_INPUT-REF_KIND = 'E'.
    L_INPUT-REF_GUID = LS_PRIDOC_RD-GUID.
    L_INPUT-OBJECTNAME = 'PRIDOC'.
    INSERT L_INPUT INTO TABLE INPUT.
        CALL FUNCTION 'CRM_ORDER_MAINTAIN'
         EXPORTING
           IT_PRIDOC                     = PRIDOC_CHG
         IMPORTING
           ET_EXCEPTION                  = EXCEPT
         CHANGING
           CT_INPUT_FIELDS               = INPUT.
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    REFRESH EXCEPT.
    CALL FUNCTION 'CRM_ORDER_SAVE'
      EXPORTING
        IT_OBJECTS_TO_SAVE         = HEAD_GUID
    *   IV_UPDATE_TASK_LOCAL       = FALSE
    *   IV_SAVE_FRAME_LOG          = FALSE
    *   IV_NO_BDOC_SEND            = FALSE
    *   IT_ACTIVE_SWITCH           =
    IMPORTING
       ET_SAVED_OBJECTS           = SAVED
       ET_EXCEPTION               = EXCEPT
       ET_OBJECTS_NOT_SAVED       = UNSAVED
    * CHANGING
    *   CV_LOG_HANDLE              =
    * EXCEPTIONS
    *   DOCUMENT_NOT_SAVED         = 1
    *   OTHERS                     = 2
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    COMMIT WORK AND WAIT.

    Hi,,
    To be able to call a function module in an update work process, you must flag it in the Function Builder. When you create the function module, set the Process Type attribute to Update with immediate start
    Alternatively u can use this function module.
    CRM_STATUS_DATA_SAVE_DB
    BAPI_CUSTOMERCRM_CHANGE (If u wish to use a bapi for this).
    Also , Let me know what error you got when implementing other function module.Does the function module didnt return any error but still the value is not changed for pricing condition type?

  • Change the Condition base value in a Condition type.

    Hi Experts,
    I have a problem because I need to change the condition base value for a condition type. This condition base is calculated as a result of other condition types in the list of pricing Elements. I would need to change the base in order to solve the problem.
    Thank you and best regards.

    Hi Alberto
    if i get it correctly , this is your scenario
    condition 1--- price x
    condition 1--- price Y
    condition 1--- price z
    now you want a fourth conddition with base value total of the above 3
    if so , you maybe define all the above 3 as statistical ,
    in another row , create a total of the above 3,
    assign a sub total this ,
    create new conditon type and in its alt base value , give the formalue for the sub total
    for eg 5 for sub toal 1, 6 for sub total 2
    and then you would get the right base value
    Hope this helps
    Thanks
    Akasha

  • Hide values for certain condition types in Quotation Saleorder and Invoice

    Hi All,
    I have written code to hide values for certain condition types in LV69AFZZ,
    this works fine in the ITEM LEVEL.
    But for the same condition types, I could not hide the values in the HEADER LEVEL.
    Unless I hide it at header level also, this is useless.
    Please guide me how to do it.
    Thanks & Regards
    Pradeep

    Hi,
    We have been using FORM USEREXIT_FIELD_MODIFICATION of LV69AFZz for item level & FORM USEREXIT_FIELD_MODIFIC_KOPF of LV69AFZZ for hiding heade level conditions.
    I hope this helps,
    Regards
    Raju chiutale.

  • Condition value of Tax condition type gets added to Total Value in Contract

    Hi All,
    I'm currently investigating an issue where there are 2 line items in an SAP Sales Contract. There is a human error in the second line where the billing end date is less than billing start date in the billing plan.  Consequently, the second line has null Outgoing target value.
    However, the header Total value in the Contract  gets wrongly calculated as Basic condition value of 1st line  + Condition value of tax condition type of line one due to this.   When I modify the billing end date for the second line item to be a date greater than the billing start date, the above problem disappears and the total value of the contract does not include the tax component.
    For eg.
    Normal Error free  Contract
    Total Value at Header =   700.00 EUR
                       Material          Outgoing Target val
    Item 0010    MAT1               450.00                          ( 450 + 50 (tax )  )
    Item 0020    MAT2               150.00   
    Contract with billing plan error in second line
    Total value at Header =   550.00 EUR 
                            MAterial       Outgoing target val          
    Item 0010         MAT1             450.00                    ( 450 + 50 (tax ) )
    Item 0020         MAT2              0.00         
    Any inputs would be most welcome.
    Regards,
    Venkatesh.
    Edited by: Venkatesh Gopalarathnam on Jan 24, 2012 9:48 AM

    No, i didn't.
    Actually, i enter condition type and amount in sales order manually.
    At that time my program which i modified at 'Define And Assign Pricing Procedures' in IMG should be run. 
    But the result of running is different from my purpose.
    To change Condition value of condition type in sales order, are there any solution?

  • Passing values/results between condition type by using the formula

    Hi,
    I'm having one condition type (A), that is determining a result percentage based on Condition Table A. Based on the percentege determined in Condition Table A, I would like to set a custom field value in the Kondition record structure (KOMP) so that value will be considered within condition type B and accessing condition table B.
    So far the only way to set values that I could find was within the Requirement formula associated with condition type B. Are there any other options? And how can I acces the percentage that Condition Type A determined? I looked into all kinds of global tables, but could not find anything.
    Thanks a lot for your help!
    Doreen

    Shivanand,
    There's no need to post that much code when you could create a very short test case that demonstrates only the problem you are having.
    You're using &NAME. notation on something that isn't a page or application item. You can't reference PL/SQL variables that way (or any other way) outside the PL/SQL scope. For your situation, you could create a page item named P55_DOCID and assign it a value in the PL/SQL process (:P55_DOCID := DOCID;), then reference &P55_DOCID. in HTML areas like the success message.
    Scott

  • Monthly purchase value,depending on condition type used.

    Can we search for PO,depending on condition type used in the PO.eg. we are using a condition ZENT for entry tax and
    the requirement is to search the po containing that ZENT condition.In dynamic selection mode there is condition group in
    purchase order detail,but it is not selecting the required PO.please guide.

    Hi,
    This requirement is not possible in std SAP Report.
    You need to develop a Z report with the help of ABAPers.
    Give proper logic for them for creating this req.
    Regards,
    Rahul

  • Value from a condition  type not to inventorize

    Hi friends,
    I have a Pricing procedure for Cross company stock transfers.
    Supplying plant put some margin on the material price and will supply it.
    Now My question is how to avoid the value of the margin getting inventorized(adding to the material price) in the receiving plant
    As iam using Std price for this FERT material in the receiving plant , it is trying to inventorize.
    I have assigned an Account key and accrual key , for this margin condition type in my pricing procedure.
    many thanks
    krishna

    Hi Manish,
    If you dont want it to add to your inventory make that condition stastical in pricing
    Put stastical check box tick
    Hope this will help you
    BR
    Diwakar
    reward if useful

  • To search for Who(USER) who maintained value for a Condition Type(Pr00)

    Hi Team,
    Do we have a table where in i can search for the Userwho maintained Pricing record for base value of a material..
    I have the Material and i want to check who created this Condition Base Value Record ..And ask him to maintain it correctly again..
    Thanks n hope an early response.
    Suman

    Dear Suman,
    Please go to VK13 transaction enter your condition type then go to menu  Environment ->Changes --> Click on Changes Report now system will take you to the Change documents for conditions screen here you give the selection data the execute system will give the output regarding changes details with the User details.
    I hope it will help you,
    Regards,
    Murali.

  • How to Fatch value of CIN  condition Type in PO

    Hi All,
             I have fatched  data for MM condition type From KONV but now i also want to fatch data of Condition Type ( CIN ) of PO , which related to Tax Code and appears in invoice tab of PO item details.
             Please show me the way...
    Thanks
    Amit

    Use FM CALCULATE_TAX_ITEM
    Refer below thread
    CALCULATE_TAX_ITEM how to use it

  • Table to link FI document number, line item and pricing condition type

    Hi,
      I am looking for tables to link the FI document number, line item and PO pricing condition type.
      Appreciate any help on this.
    Thanks.

    For any PO in ME23n in which Goods receipt has happened, you can check in the itemdetails->Po history tab in ME23n.
    Here you will find the material document number. Just click on the material document, it will take you to anpther screen here you will find a button for FI document.
    Click that button for FI document. In PO history istelf you can see the Condition types.
    Hope this helps.

  • Planned Values Tab in Condition Type

    Hi Everybody ,
    As a part of the standard Sales promotion Solution in COPA , the Planned Value tab in the Condition Type for a Sales Deal needs to be available. Tcode VB21 for a Condition type & then click the Magnifier lens...in which the planned values tab should be available. Can anyone tell me how to activate the tab. Its not available in our Dev client.
    Thanks
    Cheers
    Kartik

    Dear SAP Gurus
    My problem stated more clearly:
    The value under PBXX in PO appears during service entry.
    The value added to PBXX condition type is not appering during service entry.
    PL. help.
    Regards
    Veronica

  • No Value in VPRS Condition type

    Dear Experts
    While preparing a sales order , i am getting zero value against the cond type VPRS.It was working fine until recently this problem has started coming.In the Conditions details , it shows Incative-Inactive via formula of incorrect.
    the accounting view in the material master is also maintained.
    Your immediate comments for the same are required.

    Ensure that "Moving avarage price" or the "Standard price" is maintained in the Material master data in "Accounting 1".
    Specify the "Price control" in the MATERIAL MASTER as "V" if you want that system should take the "Moving avarage price" or specify "S" if you want that "Standard price " to be taken.
    In the Pricing procedure(V/08), Subtotal should be "B" and Requirement should be "4" for the VPRS condition type.
    Activate, the "Determine cost" check box in the Item category for Sales (VOV7).
    In the condition type VPRS, ensure that it has "Condition category" G.

  • Error in quantity/value determination in condition type P101

    Dear experts ,
    I am getting bthe following message in the condition type analysis in PO for the condition type P101 . I want to  know from where does the sysytem pick th value of the said condition in PO . Further , I observe that the system in NOT picking up the MAP/ SP of the material . It takes some other value . In some cases even if the MAP exists the system picks the value as "0.00 " for the said condition type in PO .
    Please guide
    Regards
    Anis

    Dear Experts ,
    P101 condition type is not picking the MAP value in PO . It sometimes takes 0.00 or some other value other than MAP . Please tell me what could be wrong ?
    Regards
    Anis

  • Which master data table to be used to get attribute value

    Hi all,
    I am writing  routine in update rule to get data for one master data attribute of master data 0customer.
    But I am cofused in choosing master data table to get data.
    There are two master data table in master data tab of  0customer characteristics.
    1. View of MstrDtaTbls  :-  /BI0/MCUSTOMER
    2. Master data tab          :-  /BI0/PCUSTOMER
    Suggest me which one to take .
    Although I have tried with 2 one and it is working fine.

    Hi,
    If the attribute is not time-dependent please use  /BI0/PCUSTOMER, else use /BIC/QRCOSTCTR.
    Just remember P table and Q table.
    Regards,
    Frank

Maybe you are looking for

  • Can't get latest 1.1.3 update

    It says I have to buy it. I've never had to buy an update for my first gen ipod, fourth gen ipod, nano, ipod mini or - until now - my ipod touch. What's up with that!? Oh, and why do I have to pay more because I'm in the UK???

  • How to do Padding (LeftPad and RightPad) in BPEL

    hi, how to do Padding inside BPEL while doing transformation. My requirement is to padLeft(substring(0,element1().indexOf(".")),7,'0') . kindly tell me how to achieve this. thanks Siva

  • Simple dataguard on SE

    Hi. I have set up a simple dataguard solution for one of our veritas cluster systems. We are running 10.2.0.4 on Rhel 4 x86-64. Logs are shipped using rsync to standby node. PL/SQL and DBMS_JOBS ensures scheduled log switching and crontab jobs ensure

  • Custom Web Apps

    Hi all, I have a requirement like this. I have a Category of Blogs and Blog posts So lets say category of blog needs following fields Title Publish Lets assume blog posts will have the following field sets Title Category ( a list of categories from c

  • Error Every Time I Close Safari

    Safari has been working great on my PC. I mean pretty much perfectly. I'd be extremely happy, EXCEPT, every time I close the program, it is followed immediately by this annoying little popup error: "Safari.exe - Application Error The instruction at "