Change the Condition type to Value Field Assignment in KE4I

Hi All,
I have a requirement where a condition type which has been assigned to a Value Field needs to be changed/re-assigned to a different value field.
There are already some postings into the current value field.
How can I handle these postings once I change the assignment in KE4I.
Please help me.
Thanks in advance,
erp.warrior.

Hi
Once you change in KE4I - It would impact only the subsequent postings... Historical postings wont be impacted...
If you want to impact them as well - Follow one of these 2 approaches
a. Then reverse the billing documents which have posted to this Value Field.... Change KE4I and post them again...
b. Do a KE21N upload i.e. a -ve amount on the Old value field and a +ve amount on the new value field
Regards
Ajay M

Similar Messages

  • Can we change the data type of a field based on the value of the field

    HI Gurus,
    My Requirement is as below -- Could you please guide me
    in the Printable Adobe form -- for ex - as usual for dates fields in the Object Pallette the object type is a date/time field  and for quantity/currency fields corresponding fields are taken
    now in case the either the date, quantity or currency is initial in place of displaying 0.00 or empty date we need to display N/A (Not Applicable)
    for this I would like to change the data type of the field
    to put it simply --
    we need to change the data type of date field from DATE&TIME to Char type to hold N/A or  Quantity field to Char field to hold N/A
    how can we realize this in SAP adobe forms
    Thanks in Advace
    Ramchander Rao.K

    Hello Ramchander,
         You cannot change the data type of the field at run time in Adobe forms because the type of field you choose at the time of design level is associated with the data type itself.
    If you want to achieve your requirement, then your main idea should be to set the data type as CHARACTER itself while designing the field in the adobe form itself. CHAR field will comfortably hold the value of Calculation/amount field, Currency field, Amount, Date, Time HHMMSS, Unit Accuracy, Currency key, Floating point number, Numeric text, Client, Language and many other data types.
    After designing the field as TEXT field in Adobe form you have two options.
    Option 1:
    Select the Date field initially as type TEXT field or CHAR field in Adobe forms.
    Suppose the name of the field is TEXTFIELD1, then write the Javascript code on this field in Initialize event as below.
    if ( this.rawvalue == null )
         this.rawvalue = "N/A";
    If the field is not blank, then it will show the date. Else it will show "N/A".
    Option 2:
    Select the Date field initially as type TEXT field or CHAR field in Adobe forms. Do the formatting part in ABAP itself. It will increase the performance. Avoid Javascript as much as possible.
    Suppose you have a DATE variable l_dats of type DATS. Then take another variable l_date of type CHAR. Then write the below ABAP code.
    MOVE l_dats TO l_date.
    IF l_date IS INITIAL.
         l_date = 'N/A'.
    ENDIF.
    Bind the l_date to the TEXT field in the form.
    Even in this case, if the field is not blank, then it will show the date. Else it will show "N/A".
    But I will suggest you to use Option 2 of keeping the AMOUNT, QUANTITY, DATE, TIME fields etc as CHAR or TEXT fields in Adobe form and do the required formatting in ABAP itself.

  • Change the condition type based on sales document type

    Dear ALL,
    I have created a condition Zxxx which is a fixed calculation type for the documents created by the upload from external tool to SAP.  I created this condition because external tool is using a 15 place decimal which SAP doesn't allow and if the normal condition type Zyyy is used SAP calculates once in SAP and there are rounding issues.  What the Zxxx condition type does is accept whatever value is sent up from external tool to SAP, regardless of the quantity.  The problem is that whenever they create a credit with reference, in SAP and they want to do a partial credit, the Zxxx doesn't take the partial quantity into consideration and doesn't change the value. 
    Is there a way to force SAP to change the condition type from Zxxx to Zyyy based on sales document type without recalculating the whole document because that would again, cause rounding issues.  We would need to have the calculation done only on quantities changed in the credit memo request .
    please advice me. your inputs are highly appreciated.
    TIA
    KOGI

    Dear ALL,
    someone please help me with this issue. your inputs are higly helpful.
    TIA
    KOGI

  • Condition types and value fields

    hi Gurus,
    Can anybody please explain me what is condidion type and value field and the purpose of these two in costing??
    Regards,
    S.Sumana

    Dear Sumana,
    Condition types and Value field conjuction is used in Profitability Analysis.
    Condition type is an element in pricing procedure. For e.g price of the product consist of several things like base price, discount, tax, etc. so each compenent is called condition type.
    Value fields are grouping of cost elements for e.g. you have created a cost element Sales revenue then all revenue cost elements which consist of revenue.
    Condtion type Base Price is revenue which is mapped to value field Sales revenue. So as soon as the billing document is created value field is updated.
    For more information on Profitability analysis please read the documentation provide in www.help.sap.com
    Regards,
    Chintan Joshi.

  • FM for changing the condition type values in Purchase order

    Hi All,
    Is there any FM which will update the condition types in Purchase Order other than BAPI_PO_CHANGE.
    Please suggest.
    Thanks in Advance
    Regards
    Hari

    Hi
    Try this function module
    FM RV_CHECK_CONDITION_VALUE
    Regards
    Hareesh Menon

  • Activation error while changing the data type of a field of a table

    hi friends,
    i am facing one problem while changing a data type of a field of a table.
    i just created one table(Yqm32) .i have assigned charcter data type to one field(ztotal_count) .now i want to change this charcter data type to numeric data type.
      while changing to NUMC data type activation error is comming as below.
    Table is not yet classified                           
    Field ZTOTAL_COUNT: Type change                       
      ALTER TABLE is not possible                         
    Structure change at field level (convert table YQM32) 
    Check on table YQM32 resulted in errors   
    Table YQM32 could not be activated                       
    (E- Structure change at field level (convert table YQM32)
    plz suggest.i need to change the data type from char to numc.
    Thanks & Regards

    Hi Pabitra......
    From the SE11 change the table as u wanted and then from menubar select
    UTILITIES--> DATABASE UTILITY
    It will open database utility
    there u select the Activate and adjust database button.
    then the database table will get adjusted.
    just try it once.........
    Suresh......

  • 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

  • Changing the Condition type Name in VA03 transaction

    Dear Peers,
                         I want to change/update the condition type name in VA03 transation....is this possible through 'BAPI_SALESORDER_CHANGE' or is there any else method do change/update the condition type name in VA03 transaction.
    Regards,
    Harish Kasyap.

    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

  • Same condition type different value fields

    same condition type is used for
    1. sale of product
      2.scrap sales
       3.spares sales
    condition typr (pr00) should be assigned to three diff value fields
    (revenue ,scrap revenue &spares revenue) ,because they should not be summed up (need separate value)

    Hi,
    Can u sum up what is ur exact question/problem?

  • How to change the data  type of a field in an internal table dynamically ?

    I have an internal table :
    Data: Begin of itab_data occurs 0,
    field1 type i,
    field2 type p decimals 2,
    end of itab_data.
    My requirement is to decide the number of decimals of "field2" dynamically .
    ie. based on the input in selection-screen , the declaration has to change .How can this be done ?
    Hope the question is clear..
    Its urgent. Please help me.
    Thanks in advance .
    Shankar

    I dont think you can change it dynamically...but as per your requirement ...why dont you define the variable with maximum decimal length and depending on the parameter(from your selection-screen) use the WRITE command to populate it with the specified decimals.
    Example
    begin of itab
    field2 type p decimals 5.
    end of itab.
    write itab-field2 to lfield decimals p_dec.
    Message was edited by: Anurag Bankley

  • 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

  • Change the Data Type of a Standard Required Field

    Hello Experts,
    Need to know if is it possible to change the data type of a standard field. The field is marked as a required field.
    For example: If a standard field is an Object Picker and I would like to change it to a string field. Is it possible? How can I do it?!
    Many thanks,
    Igor Nakamura

    Hi Igor,
    Since you cannot hide a required field, what you can do is move the standard required field to someplace less noticable (like the bottom of the page) and then use a validation script to set it to some benign value.
    -Howie

  • Fm to change the condition value in sales order pricing

    Hi Friends,
    I need a FM to change the Pricing value that is auto calculated in the sales order. It needs to be overwritten. BAPI_SALESORDER_CHANGE I don't think will do it. It can be used only to update the condition type and the condition amount but not the condition value.
    Can someone please help me. I've been stuck with this for quite sometime.
    Thanks,
    Dikshitha G

    Try these BAPI's
    BAPI_LISTING_CONDITIONS,
    BAPI_AGREEMENTS
    Regards,
    Rajasekhar Reddy.

  • Pricing procedure  change the condition value

    Hi,
    My pricing procedure determines the Tax in %basis.Now i have a rewuirement wherein i should be able to enter the amount in AMOUNT COLOUMN in condition tab. This value should be the condition Value for the condition type.
    Now my pricing procedure doesnt allow me to make any changes and the condition type is greyed out. how can i calulate the tax in amount instead of % and be able to enter the value manually?
    Thanks,
    Challa

    Hi Challa,
    Price can be maintained either on percentage basis or on amount basis.
    So you have to make changes in condition type to convert it from percentage to amount.
    Go to IMG u2013 sales and distribution u2013 master data u2013 basic function u2013 pricing u2013 pricing control u2013 define condition type.
    Select maintain condition type from the options.
    Now select your condition type and click on detail.
    Change the calculation type from A (percentage) to B (Fixed amount) and save it.
    Now go to VK11 and maintain the new condition record for that condition type.
    Now create the sales order and go to condition tab and check out the pricing it will be amount.
    Please do this method if you find any difficulty then tell us.
    Regards
    Raj.

  • Changing the Condition value in Quatation only and not in Order

    Hi Gurus,
    We have a Requirement from Client in which the Client should be Able to change the condition Value PR00 in the Quotation and not in Sales order......can someone please let me know how's that possible?
    Because if we try to make Changes in Condition Type in V/06 it will also allow changes in Sales Order....

    Hi
    You can use user-exit USEREXIT_PRICING_PREPARE_TKOMP in the include MV45AFZZ.
    IF VBAK-AUART = (Your quotation type)
    LOOP AT XKOMV.
    IF XKOMV-KSCHL = 'PR00'.
    SELECT * FROM T685A INTO TABLE I_T685A WHERE KSCHL = 'PR00'.
    READ TABLE I_T685A WITH KEY KSCHL = XKOMV-KSCHL.
    I_T685A-KMANU = 'C'.
    MODIFY I_T685A INDEX SY-TABIX.
    MODIFY T685A FROM TABLE I_T685A.
    REFRESH I_T685A.
    ENDIF.
    ENDLOOP.
    like this discuss with your abapper and build the logic
    regards
    Prashanth

Maybe you are looking for

  • Why when I am converting a word doc into a PDF are some of the pages moving around. It appears to be

    Why when I am converting a 50 page word doc into a PDF using Acrobat XI Pro the pages are moving around. It appears to be happening in the places where the previous page is not a complete full page, just a half page. It is moving these pages up into

  • ANNOUNCE: JRockit 5.0 R25.2 aka "5.0 SP2" available

    JRockit 5.0 R25.2 is now available from our download site, see links below. Some highlights: - J2SE 5.0 Update 3 - Expanded support matrix (Windows x64, Red Hat 4.0) - 64-bit JVM for Intel EM64T/AMD64 fully supported on Linux - Documentation update,

  • Join Between Dimension & Fact Table

    Hi all, Here is my scenerio: There are two tables, one dimension table and one fact table. Normally, they will be joined with a key, says Date_ID. However, these two tables do not have the same key. Question comes, can I create derived columns in bot

  • Want to know about User exit in detail

    Hi ALL, I M NEW TO sap ABAP. I WANT TO KNOW ABOUT USER EXIT IN DETAIL. PLS DO THE NEEDFUL . If there are eny document regarding this pls mail to this id [email protected] thanks and regards Nandha

  • EssCell formula in Excel

    Icreated a data retrieval sheet for a report in Excel using the EssCell command, but the calculation is extremely slow. Has anyone had this issue before?Should I rather NOT use EssCell?