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

Similar Messages

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

  • How to assigne value in sub record type

    Dear below mention record type database,now i want to assigne value in payr_rec type,in this recrocrd type have one column party_id,but how can assigne value int this field ,
    TYPE group_rec_type IS RECORD(
    group_name VARCHAR2(255),
    group_type VARCHAR2(30),
    created_by_module VARCHAR2(150),
    -- Bug 2467872
    mission_statement VARCHAR2(2000),
    application_id NUMBER,
    party_rec PARTY_REC_TYPE := G_MISS_PARTY_REC
    please guide.

    to get the desired default party_rec attribute value, just assign the "sub-record" attribute defaults as desired; PL/SQL will assign a default (non-null) record as the party_rec value using those attribute defaults:
    create or replace package P_Test_It
    as
         type party_rec_type is record (
              dummy varchar2(1) default 'X'
         type group_rec_type is record (
              group_name VARCHAR2(255),
              group_type VARCHAR2(30),
              created_by_module VARCHAR2(150),
              -- Bug 2467872
              mission_statement VARCHAR2(2000),
              application_id NUMBER,
              party_rec PARTY_REC_TYPE
    end;
    set serveroutput on
    declare
         rec p_test_it.group_rec_type;
    begin
         dbms_output.put_line(rec.party_rec.dummy);
    end;
    X
    PL/SQL procedure successfully completed.Hope it helps.
    Gerard

  • 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

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

  • How I tie the formula with conditions type?

    Hi,
    Than create the formula with tcode O3I7:
    1) how I tie the formula with conditions type?
    2) how I tie the conditions type with the formula with Calculation Schema?
    help me, please.
    thanks
    Edited by: celeste ziantoni on Feb 5, 2008 6:45 PM

    Hello,
    Pricing formula is created using transaction VOFM. It is tied to the condition types in Pricing Procedure definition in Alternate Calculation Type column. For Pricing procedure, the menu path is SPRO->Materials Management->Purchasing->Conditions->Define Price Determination Process->Define Calculation Schema.
    Thanks,
    Venu

  • 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

  • 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

  • CIN condition type

    using condition based excise determination.
    for configuring for CESS and HIGHER CESS.
    Tax on Goods Movements - India - Basic Settings - Determination of Excise Duty - Condition-Based Excise Determination - Classify Condition Types
    i have tagged the 2% cess condition type under ECSINVENTP ECS Inventory Percentage condition name
    for the other 1% higher cess condition type, i have no idea which other Condition name i can tagged to, it seems like for the drop down list, there's no condition name for higher cess.
    anyone can help?
    thanks

    hi bijay and all CIN experts,
    in Tax on Goods Movements - India - Basic Settings - Determination of Excise Duty - Condition-Based Excise Determination - Classify Condition Types
    i have already configured the 10% BED and 4% SED condition type under BEDINVENTP(BED Inventory Percentage) and SEDINVENTP(SED Inventory Percentage) respectively.
    read on my 1st post you will know that i have also configured the 2% CESS(based on CVD) condition type under ECSINVENTP(ECS Inventory Percentage) -> can anyone verify whether is ECSINVENTP the correct condition name to be used for the 2% CESS?
    now i am having issue to tag the 1% higher CESS(based on CVD) condition type because there's isn't any possible/matching name in the dropdown list for the 1% higher Cess.
    In your reply, do you mean i need to create a new dropdown condition name for the 1% higherCess? how do i go about creating the new name in the drop down list? i have searched thru SPRO but couldn't find anywhere to maintain the name in the dropdown list.
    OR
    should i create a new condition type to combine the 2% cess + 1% higher cess which will total up to 3% and then tagged to ECSINVENTP(ECS Inventory Percentage)??
    And further down the tax procedure, there's another 3% Customs EDU CESS(based on total duty), should this be configured as well?
    Please advice.
    Thank you.

  • 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

  • CIN conditions types MM

    Hi Friends,
    I want to know the CIN - MM condition types for BED, SED , HE Cess , VAT with their offset.  Kindly give me the standard conditions available in SAP.
    If you have any document on how to config TAXINN in MM point of view Kindly send it to me.
    Munna

    Hi,
    Below given for TAXINN,
    Execute the following steps in the Implementation Guide to configure the tax calculation procedure TAXINN:
    Procurement
    Set up the following Access Sequences in the the IMG under Financial Accounting ® Financial Accounting Global Settings ® Tax on Sales/Purchases ® Basic Settings ® Check Calculation Procedure ® Access Sequences:
    JTAX
    JST1
    Set up the Condition Types for the following conditions in the IMG under Financial Accounting ® Financial Accounting Global Settings ® Tax on Sales/Purchases ® Basic Settings ® Check Calculation Procedure ® Define Condition Types:
    1.     MM Excise Conditions
    JMOP     IN: BED setoff %
    JMOQ     IN: BED setoff Qty
    JAOP     IN: AED setoff %
    JAOQ     IN: AED setoff Qty
    JSOP     IN: SED setoff %
    JSOQ     IN: SED setoff Qty
    JMIP     IN: BED inventory %
    JMIQ     IN: BED inventory Qt
    JAIP     IN AED inventory %
    JAIQ     IN AED inventory Qty
    JSIP     IN SED inventory %
    JSIQ     IN SED inventory Qty
    JMX1     IN: A/P BED setoff
    JAX1     IN: A/P AED setoff
    JSX1     IN: A/P SED setoff
    JMX2     IN: A/P BED inventor
    JAX2     IN: A/P AED inventor
    JSX2     IN: A/P SED inventor
    JECP     IN:A/P e-cess setoff
    JECI     IN: Eces inventory
    JEX1     IN: A/P ecs setoffT
    JEX3     IN: A/P ecs invT
    1.     LST/CST/VAT Conditions
    JIPS     IN Sales tax setoff
    JIPC     IN Central sales tax invoice
    JIPL     IN Local sales tax invoice
    JIP5     A/P RM Deductible
    1.     Service Tax Conditions
    JSRT     A/P Service Tax
    JEC3     A/P ECS for ST
    Define the Tax Procedure according to the settings in the figures below.
    You can do this in the IMG under Financial Accounting ® Financial Accounting Global Settings ® Tax on Sales/Purchases ® Basic Settings ® Check Calculation Procedure ® Define Procedures.
    Set up the following Account Key in the IMG under Financial Accounting ® Financial Accounting Global Settings ® Tax on Sales/Purchases ® Basic Settings ® Check and Change Settings for Tax Processing.
    1.     VS6     Input Tax
    Assign Tax Procedure to the country.
    You can do this in the IMG under Financial Accounting ® Financial Accounting Global Settings ® Tax on Sales/Purchases ® Basic Settings ® Assign Country to Calculation Procedure.
    Regards
    Reward Points if useful

  • 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

  • How to pass values to XML complex type of a Webservice using PL/SQL

    HI,
    I need to call a web service from PL/SQL that has an complex type element. That complex type element has 4 child elements each of integer type.
    I want to pass values for this complex type using SOAP_API.add_parameter but I can't understand how to pass the values.
    <xsd:element name="getBestFit">
              <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element maxOccurs="1" minOccurs="1" name="circleId" type="xsd:string"/>
                        <xsd:element maxOccurs="1" minOccurs="1" name="usage" type="Q1:UsageInfoType"/>
                   </xsd:sequence>
              </xsd:complexType>
         </xsd:element>
    <complexType name="UsageInfoType">
         <sequence>
              <element maxOccurs="1" minOccurs="1" name="a1" type="int"/>
              <element maxOccurs="1" minOccurs="1" name="a2" type="int"/>
              <element maxOccurs="1" minOccurs="1" name="a3" type="int"/>
              <element maxOccurs="1" minOccurs="1" name="a4" type="int"/>
         </sequence>
    </complexType>
    Please help me in getting a solution here.
    Thanks in advance.

    Have you tried doing a google search on "SOAP_API.add_parameter" to see what comes back? I see a lot of hits come back so hopefully one of those will help you. I've never used soap_api as I used utl_http to make WS calls. This required me to build the SOAP message (aka XML of a specific nature) by hand and then pass it to the WS using utl_http. How this approach is done via SOAP_API, I can't say.

  • CIN condition type J1CV and JCDB not appearing in PO history

    The 2 above mentioned condition types are appearing in PO conditions tab.
    however, after GR was posted, the amount from J1CV and JCDB condition types was not showing up in the PO history tab.
    and these 2 condition types did not have their statistic box ticked so by right it should be appearing.
    however there's no problem with other condition types like JCV1, JECV, JEDB...etc
    anyone can advice?

    Hi,
    Condition types J1CV and JCDB are stand for what pricing conditions?
    There may be any causes for above.
    Option-1----- >JCDB (IN Basic customs) is used for Basic Custom duty and this may be added to inventory account of material, so no separate entry in GR document.
    Option-2----- >May be J1CV and JCDB (IN Basic customs) condition types have no value and during PO creation, this condition types may be deleted.
    Option-3----- > Check J1CV and JCDB (IN Basic customs) condition types are there in MM Calculation Schema.
    Regards,
    Biju K

Maybe you are looking for