Wrong updation of value fields

hello,
In a sales return invoice, the cost is getting updated in value field cost of free goods rather than value field cost .
Please guide me in this .
Thanks

Hi Muscan
What is the condition type in SD Pricing procedure for Cost during sale return? (Check your Sales Order - Pricing tab)
See assignment of that cond type to val field in KE4I
Regards
Ajay M

Similar Messages

  • COPA -update new value field

    Hi All,
    We have 3 revenue value fields and created new value field to capture total revenues for all 3 revenue value fields.
    only new sales orders total revenue value field is populated with revenues.how can we update old sales orders revenue value field information with total value field?
    Revenue A + Revenue B + Revenue C= Total revenue
    Thanks,
    Anusha

    Hi Anu
    KE4S is one option
    Another one is to do KE21n.. but that will be cumbersome.
    You can develop a custom program using Bapi to upload the values automatically
    Last option is to add those values in report manually or using key figure scheme ker1
    Br. Ajay M

  • COPA document generated , but value field 'Revenue' was missing.

    Hi COPA-Experts:
    I got a problem when tranferring 'Billing document to COPA'.
    COPA document was generated but some value fields missing, like 'Revenue'
    i checked it by T-code 'KE4ST'(simulate), everything is OK in that session.
    then I checked the pricing procedure, the price condition type was assigned by 'KE4I'
    Cost element was also checked , revenue account have a CE category '11',
    ULINE
    when i changed 'account assignment group' in Material Master,
    (by VKOA, another G/L account assigned to account assignment group )
    everything was OK  both in COPA and simulating.
    so i guess,  account assignment group(material) is revelant to COPA value fields?
    how did it do that?

    Resolved.
    Other one had written some code in user exit (SMOD "COPA0002"),
    update some value fields by account assignment group for material.
    then the user exit was assigned in KE4U.
    so , that's the answer

  • COPA value field not updated in KE24

    In VF03, I can see condition type ZV02 (discount), amount 10 USD, condition class: A(Discount) calculation type (quantity), account key Z02, in Ke4I, I already assigned ZV02 to value field VV101, but in KE24 line item, VV101 is empty, Why VV101 is empty, how to resolve, thanks

    Thanks all, but all above solutions doesn't work, our CMOD only have copa00001 and copa00002, it regarding the characterstic derivation, but i'm talking value field, KEKF, no error, KE4S actual run, but result same
    what's wrong with COPA, in KE24, I can see revenue, stock value, quantity,  value field updated, but discount is not.
    accounting document is posted, discount GL 30000010 has posting. why PA empty?

  • Value filed wrong update....

    Hi Gurus,
    I have 2 gl accounts 100(cec 11) and 102(cec12).
    In  SD I have A,B,C,D Condition types
    For below two condition types assigned ZZZ ACCT CAT The GL is 100
    A=+/-(v/06 sign)
    B=+
    NO +/_ ARE ASSIGND IN KE4I? NEED ANY SYMBOL?
    And assigned to VALUE FILED (VVFRE) Revenue Value field(KE4I)
    A and B u2013Condition types
    For below condition type assigned XXX ACCT CAT The GL is 200
    D=-
    Mapped Under deductions in Value field VVFRO(Under deductions)
    D-Condition type
    When I saw in the billing document
    The condition type A(POSITIVE VALUE ) is adding in the Condition type D and showing under Deductions(actually that is revenue part).
    eX-A IS +100,D is -10 in value field showing 110(deductions value fied)
    Please tell me where I am doing wrong and how can I do configuration?
    Any one doubt IF WE CHANGE ANY VALUE FIELED AGAINST CONDITION TYPE, THE OLD DATE WILL SHOW UNDER NEW VALUE FIELD OT NOT?
    Plese give me advice......
    Thanks,
    Chandu

    Are you sure your router is WRT54G-RG(see the bottom) ?
    What firmware did you download/upgrade ?
    Did you reset the router and try the correct firmware update/upgrade ?

  • Value Field in COPA doesn't updated in Pricing Procedure

    Dear SAP Experts,
    I have a problem about Value Field in COPA.
    Why the Value Field in COPA that have been assigned to Transfer of Billing Document for Statistical Condition Type doesn't updated in Pricing Procedure (SD) when Billing Posting?
    Any suggestion will be appreciated.
    Thank You
    Regards,
    Kursteilnehmer

    HI
    in pricing procedure SD consultant are creating the pricing condition rules wher these keys are purley belongs to revenue keys .the conditions wich are taken consideration these are all belongs to finding profit margin.
    coming to CO-PA the main objective of copa is analysig the profitability of particular segment .wher as in  CO-PA the most happend flow from sd saide . so wat ever conditions are taking in pricing procedure its compulsary add co-pa valu fields .to take the reports.
    even though in FI-SD interface levele this pricing is taking greater place to flow the values with the help accounting keys.
    coming to stastical condistion co-pa is real cost object

  • Mass updating a multi-valued field- to append the new value

    I have a question on multi-valued fields:
    I have store table with 5 multi-valued fields, say MLB, soccer, college FTBL, college Basketball, etc. 
    A store can have 4 MLBs, 2 soccer teams, and so on. 
    Say, there is a new MLB that came out called Mexico MLB team. 
    A user wanted to add this to 30 stores using a mass update.  But remember the 30 stores can have totally different sets of values in the multi-valued fields.
    How can I add this new value while still preserving the MLB team’s values of each store record?
    Does MDM not support this feature?
    I am using SAP MDM SP6
    An answer would be highly appreciated.
    Thanks
    Savi

    Savi,
    I assume you are defined these fields as multi-value lookup and linked to main table. In general, you can not because it will mess up and overwrite your multi-value entries for all of your 30 store records.
    Here is something in MDM come in handy. It is following the same concept but design your model a little differently. If you model your multi-value fields into qualified lookup table, it will be easier and optimized to handle.
    You can select all 30 records and mass-update with adding the new MLB entry into your Q-lookup table. Once you save, this mass-update action will respect all your diversity of each individual records with the new value added.
    Hope this helps
    If this answers your question, please kindly reward the points.
    Regards
    Dawei

  • How to update the Customer field value of PO Item under the Delivery Address Tab?

    Hi Friends,
         i tried to update the Customer field Using Bapi_PO_change.I passed the PO Order no,POADDRDELIVERY data with Item no,Adrees no,Customer no.But i am getting no data changed message from return table.I attached the screen shots.So please suggest me the helpful information for resoving this issue.
    Thanks,
    Dinesh

    Thank you friends,
                My Problem was resolved.In my case i have passed the customer value in BAPI_PO_CHANGE POITEM Table with updated customer value.
    Thanks,
    Dinesh

  • How do I update the value of a hidden field?

    Jsp has hidden field. The value of the hidden field is set.
    <%= RequestCtx.getSessionInfoAsHiddenParam() %>
    <INPUT type ="HIDDEN" name=billtoContactPartyId" Value="<%=billtoContactPartyId %>">
    Based on some logic I've added to the jsp. I want to update the value of the hidden field. This does not work. How do I update the value?
    windowForm.elements['billtoContactPartyId'].value = windowForm.elements['defaultcontactPartyId'].value;

    Hi,
    If you create a function to return wwctx_api.get_user you could
    call this inside an update trigger, you could put in an
    exception to return USER if there is an error, this would then
    work for users connected directly and users using Portal.
    Regards Michael
    e.g.
    CREATE OR REPLACE FUNCTION F_PORTAL_USER RETURN VARCHAR2 IS
         vRet VARCHAR2(50) := wwctx_api.get_user;
    BEGIN
         RETURN(vRet);
    EXCEPTION
         WHEN OTHERS THEN
              RETURN (USER);
    END F_PORTAL_USER;

  • Using "Update All Mapped Fields" with multi-value attributes

    Is it possible to update a value in a multi-value attribute through the import manager?  It appears that if a source value is different then it just gets added as another value to the record.
    For example, a product has an attribute of speed which is measured in revolutions/minute. Some products can be rated at two speeds (i.e. 1800/3600).
    I created a numeric attribute for speed and enable only nominal rating and selected multi-valued.
    In import manager, I set "/" as multi delimiter for source field.  This created two entries in destination attribute, 1800 and 3600. 
    However, if on subsequent imports the speed values changes for this record (i.e. 1200 and 1800) then I will now have 1200, 1800, and 3600 as values for this record.
    Would the proper solution be to create two individual numeric attributes that are single valued (i.e. Speed1 and Speed2)?

    Hi Aaron,
    in your example it would make sense to use two different attributes called "Speed1" and "Speed2". Using the multi value option, MDM allows you to store a list of values into a single field. This list is more or less unlimited, you can add as many values as you like. A change of an existing value is not possible. The reason is that Import Manager does not know, which value you've changed! So it simply adds the "new" record (which is the 1200 in your example) to your value list. This is the intended behaviour of the "update all mapped fields option". If you really want to replace the values, you can check if the "Replace" option is useable for you. But note, that the replace will replace the complete existing record with the incoming new one. This means if the product you want to import with the replace option is smaller than the existing one (maybe it does not contain values for all segments), you'll loose data in MDM.
    BR Michael

  • KINAK field in Table KONV not getting updated with value W

    Hi,
    I have a PO where I am deleting a line item.
    After I delet line item the field KINAK in table KONV gets updated with value W.
    But I am getting instance where in some cases the field KINAK is not getting updated.
    The result is deleted line item is getting populated in PO output also.
    Regards
    Nandiini

    KINAK is updated only when a Condition is inactive ! So when a item is deleted the condition becomes inactive and gets updated with 'W' which means statistical(not to be counted)
    A     Condition exclusion item
    K     Inactive due to calculation basis/shipping material type
    L     Condition exclusion header or inactive at header level
    M     Inactive due to manual entry
    T     Inactive at header level
    W     The document item is statistical
    X     Inactive via formulae of incorrect
    X     Inactive via formulae of incorrect
    Y     Inactive because of subsequent price

  • Value field does not updated in COPA Billing

        Hi,
    We are facing one issue in COPA.
    We are created one Condition type ABC, this condition type we have selected the check box for Accruals in control data 2 ,then we are created one Account key 123 , in pricing procedure we have assigned this one ABC condition type to accrual account key 123.Then Vkoa setting in TAble one customer/mat/ acckey combination we have assign one g/l like transfer cost with (11 cost element) in provision for accrual column.
    COPA side setting as been done :
    step 1: user defined value field like NMR and this value field is assign in ke4i with respective condition type ABC  value filedNMR.
    We are generated the billing document.in a/c document is below entry.
    Customer a/c dr 10
    Trasnfer Cost a/c dr 1
       To Cost on sales a/c 11-
    Above one 1 rs in coming in condition records in billing document.But In COpa document  my revunue is 10 rs with value filed, NMR  value filed  amount "1" is not updated.
    Note :above condition type ABC  we are not selecting the statistical check box  in Pricing procedure
    Please give me suggestion.
    Regards
    Reddyrrreddr

    Hi Reddy
    As far as I understand, any GL Account maintained in VKOA under provision column will not flow to COPA, be it B/S 8754 or P/L 4567.
    The GL mapped under G/L Account column would essentially flow to COPA. Therefore in your case, values posted to GL 1234 should flow to NMR Value field through SD Condition type ABC.
    I dont have access to system so can you check below options:
    1) Once you had done KOFK, did you create the cycle from scratch to evaluate the results. If so and if its still not working, can you please share with us the output of the KEAT and / or KE4ST report for the billing document, posted to accounts.
    2) Also check in the pricing procedure, if you set an account key under accruals column, then in VKOA, you need not have to mention seperate GL under Provision Column. Just maintain the GL account under "G/L account" column for each Account keys (4 records with KOFI & KOFK)
    3) If above also doesnt help, test if removing the check from Accruals in the ABC Condition type configurations really helps, in which case you may need to maintain GL under provision column.
    Will explore more options and will revert back hopefully by tuesday.
    Hope it helps
    Regards

  • How to update the value inside a field symbol ?

    ASSIGN COMPONENT 'MENGE' OF STRUCTURE <fs_line> TO <fs_field>.
    <fs_field> = itab_stpo-menge.
    COLLECT <fs_line> INTO <fs_table>.
    .processing some code......
    ASSIGN COMPONENT 'MENGE' OF STRUCTURE <fs_line> TO  <fs_field>.
    <fs_field> = ( itab_stpo-menge * itab_plpo-vgw03 ).
    COLLECT <fs_line> INTO <fs_table>.
    Hi, guys,
    May i know is there a way to update the value in inside a field symbol?
    I feel hard to figure out the way to solve this situation. Kindly give me some help or perhaos tell me other altenative way to do it also can.
    Thanks in advance.
    Edited by: Jiansi Lim on Apr 25, 2008 8:09 PM

    hi check this...
    For a structured data object s, you can use the statement
    ASSIGN COMPONENT comp OF STRUCTURE s TO FS.
    Here the comp is the component name or its index number in the structure.
    Find the following sample code -
    DATA: BEGIN OF LINE,
    COL1 TYPE I VALUE '11',
    COL2 TYPE I VALUE '22',
    COL3 TYPE I VALUE '33',
    END OF LINE.
    DATA COMP(5) VALUE 'COL3'.
    FIELD-SYMBOLS: <F1>, <F2>, <F3>.
    ASSIGN LINE TO <F1>.
    ASSIGN COMP TO <F2>.
    DO 3 TIMES.
    ASSIGN COMPONENT SY-INDEX OF STRUCTURE <F1> TO <F3>.
    WRITE <F3>.
    ENDDO.
    ASSIGN COMPONENT <F2> OF STRUCTURE <F1> TO <F3>.
    WRITE / <F3>.
    The output is:
    11 22 33
    33
    I need to update one field in Internal table
    regards,
    venkat

  • Freight value field not updating in COPA

    Dear All,
    The customer with account assignment group CA, Freight revenue is not updating in COPA.Where as Customer with out account assignment group CA,then freight revenue is updating in COPA.
    I checked all settings such assigmnet of SD condition types to COPA value field and all, every thing is fine.Even customer with other account assignment groups  is working fine.
    Plz suggest.
    Thanks,
    Ram

    Hi Ram,
    This looks like a KEDR derivation issue. Please check the condition tab in the derivation rule for account assignment group CA. If this does not help then please check if you clear the Freight value field in exit COPA0001 (Trans-SMOD).
    Regards,
    Abhisek

  • Dynamically Update a number field by summing of page item values.

    Hi,
    I'm trying to update a number field on an apex page by summing up the values of multiple page items. I've tried to follow this tutorial http://st-curriculum.oracle.com/obe/db/apex/r40/apexdynactions/apexdynactions_ll.htm , especially the "Create a Set Value Dynamic Action Using PL/SQL" part.
    In the tutorial example they return an page item value P3_SAL multiplied by a multiplier they've determined by another page item's case. What I want to do is much simpler in that I just want to add up multiple page item values and then display them in a number field at the bottom of the page.
    so the code I tried to use based on the tutorial is in the tab: Home >Application Builder>Application 103>Page 3>Edit Dynamic Action>Create / Edit Action
    Set Type: PL/SQL Function Body
    PL/SQL Function Body:
    BEGIN
    return :P3_ITEM1+P3_ITEM2+P3_ITEM3;
    END;
    Page Items to Submit: P3_ITEM1,P3_ITEM2,P3_ITEM3
    But it gives me an error that I need to declare the identifiers, yet it works if I only use one item and I can perform any arithmetic.
    ie.
    BEGIN
    return :P3_ITEM1+1000;
    END;
    Any help would be appreciated.

    PL/SQL Function Body:
    BEGIN
    return :P3_ITEM1+P3_ITEM2+P3_ITEM3;
    END;
    Page Items to Submit: P3_ITEM1,P3_ITEM2,P3_ITEM3
    But it gives me an error that I need to declare the identifiers, yet it works if I only use one item and I can perform any arithmetic.In your code is missing the ":" for the items P3_ITEM2 and P3_ITEM3.
    Try this:
    BEGIN
    return :P3_ITEM1+:P3_ITEM2+:P3_ITEM3;
    END;

Maybe you are looking for

  • Is there any BAPI or function module  to delete entries from a table (VBAK)

    Hi Everybody, this is my first thread in SDN... my problem follows... A report is be created that selects all sales orders created by e-Sales that are more than 20 minutes old and still have a delivery block: tables: VBAK     sales document: header d

  • Field profit segement is a reqd. field for G/L account

    Hi Everybody, I know its a very simple thread but functionality would be different When i am doing GR in MIGO system gives an error message "Field profit segement is a reqd. field for G/L account XXXXXX". I know field status needs to be change but do

  • Determine Clicked Area in Graphic in WAD

    Hi All, I have a web template and a graphic in it. The graphic shows N bars. The user would like to be able to navigate to another web template by clicking on one of the bars. Is it possible determine the location of the bar the user has clicked on?

  • Internal table fields

    Hi, I have two internal tables.itab1 and itab2. The sturcture of both the tables are as: begin of itab1 kunnr name1 end of itab1. begin of itab2 ort01 name1 land1 end of itab2. now, i have data in both the tables using select statement. Requiement is

  • Order Interface Example

    Hello, I need an example on how to insert data into the oe_headers_interface and oe_lines_interface for order insert and cancellation, does anyone has this examples and show them to me so I can use them in a procedure. Do I need to also populate de P