Want to chnage the logic for ck40n bom valuation mixed costing ?

Dear Gurus,
In ck40n transaction,material bom valuation is depnding on mixed ratio.
My requirement is to change the logic,Iam debugging the ck40n transaction for costing,but iam unable to getting the right position to change the logic for mixed costing (average).
Thanks in advance,
CR

In solution 1, I had a procurement alternative and mixing ration in plant 200 and a special procurement type for costing in plant 210.
Before calculating the mixed costing in plant 200 I had to eliminate the spec.proc.type for costing in plant 210 otherwise, the calculation got into a loop.
Without the spc.proc.type in plant 210, I got a correct mixed costing in plant 200.
Then I enter the spec.proc. type for costing again in plant 210 and calculate the cost price. This copies the mixed costing from plant 200. So far, OK.
But as soon as I save this cost estimate in plant 210, the reports in CK11N or CK13N get incorrect for the first calculation made for plant 0210 while costing in plant 0200 is overwritten by this result. Now the report gets into a loop and you can drill down endlessly.

Similar Messages

  • Want to change logic for  ck40n bom valuation for mixed costing ?

    Dear Gurus,
    In ck40n transaction,material bom valuation is depnding on mixed ratio.
    My requirement is to change the logic,Iam debugging the ck40n transaction for costing,but iam unable to getting the right position to change the logic for mixed costing (average).
    Thanks in advance,
    CR

    In solution 1, I had a procurement alternative and mixing ration in plant 200 and a special procurement type for costing in plant 210.
    Before calculating the mixed costing in plant 200 I had to eliminate the spec.proc.type for costing in plant 210 otherwise, the calculation got into a loop.
    Without the spc.proc.type in plant 210, I got a correct mixed costing in plant 200.
    Then I enter the spec.proc. type for costing again in plant 210 and calculate the cost price. This copies the mixed costing from plant 200. So far, OK.
    But as soon as I save this cost estimate in plant 210, the reports in CK11N or CK13N get incorrect for the first calculation made for plant 0210 while costing in plant 0200 is overwritten by this result. Now the report gets into a loop and you can drill down endlessly.

  • Need the Logic for this Prg issue Pls

    Hi Friends,
    i have an urgent requirement..
    i am develop the report that is :
    Based on Selction Critirea kunnr(knvv-kunnr)
    i want Delete the
             Internet mail (SMTP) address FROM ADR6-MTP_ADDR
    AND Teletex number FROM ADR4-TTX_NUMBER..
    USING TABLES ARE KNVV , ADR6 AND ADR4.
    please how to Write the LOGIC For this Program .
    help me.. it is an urgent.. anyone.
    regards,

    Hi Alchermi,
    thanks for your reply soon.
    based on selction kunnr .. i want deete the ADR4-TTX_NUMBER..and ADR6-SMTP_ADDR From these 2 tables
    for these 2 fields..
    kunnr from knvv, selection field..
    below fields want be DELETED..
    ttx-number from adr4,
    smtp_addr from adr6.
    it is an urgent. help me .
    regards,

  • Can anyone please give me the logic for this....

    I have a database table and in it i have a field department code. now, that department code might have '00' or '   ' (blank) or anyother value. now i want to add up all the currency amounts with department code '00'  and '  ' (blank) which have same company code and currency type. I called all the entries with '00' into one internal table and enrties with '  ' (blank) to other internal table.
    can anyone give me the logic for adding all the entries at a time.
    thanks in advance.....

    HI Srinivas
    i have a solution for this question.
    Use At control break statement for this.
    Loop the internal table.
    Use at Event AT LAST. In that use SUM Statement. U will get sum of all the numeric fields.
    Or else u can use ON CHANGE OF Currency type
    then find the total amount by adding previouse value with ur current value.
    Like itab1-amount = total + itab1-amount.
    Appent this into ur internal or write it into ur report.
    Reward me if its useful.
    Regards
    Ravi

  • I need to add the logic for posting key,

    I need to add the logic for posting key, if posting key = 50 then amount is credit (add negative sign in amount field).
    I creadted this scenario in mapping, We wanted to make sure that the negative sign was placed in the amount field if the posting key was = 50.  So it seems we are good.  We will just need to test.
    How i can test this case?
    Please do needful.
    Thanks in advance.

    Hi,
    You need to use an IfElse node function in your mapping in which the input should be the posting key from the source structure.
    You need to check in the IfElse statement whether the posting key=50, if it is true, then use concat node function to concat the negative sign("-") along with the original value to be passed to the amount field on the target side. Else, if the condition is false(i.e posting key!=50), then simply pass the value to the amount field as it is without adding the negative sign.
    After the mapping is done, go to the test tab and then insert the values in the source fields and then execute from the lower left button showing start transformation.  You need to test with the value of posting key=50 once and with the value not equal to 50 once.In the first case, the output amount field should have the negative sign, which should not be present in the second case.
    You will find your target structure in the righter half of your screen. That's it mate
    Thanks
    Biswajit

  • What is the logic for 2LIS_17_I3HDR to pick a order as completed on time?

    Hi, Experts:
    I am working on PM using 2LIS_17_I3HDR to load data. In 2LIS_17_I3HDR, there is a field called "orders completed on-time". I am wondering what is the logic for 2LIS_17_I3HDR to identify if an order was completed on time. I would assume it compares some kind of completion/finish date with a planed/schduled comletion/finish date. Would someone please tell me what fields in what table or in transaction IW39 DOES does 2LIS_17_I3HDR  use for this?
    Many thanks!
    Jenny

    Hi, Ram:
    Thank you for the reply!
    The key figure is ZHLAFIH_TGERL (Number of On-time Closed Orders). I saw some SAP programs refering to its component type "DZHLAFIH_TE" too.
    Thanks,
    Jenny
    Edited by: Jenny Chen on Dec 2, 2009 7:53 PM
    Edited by: Jenny Chen on Dec 2, 2009 7:55 PM

  • In po,every time i want to add the message for print out.

    in po,every time i want to add the message for print out.
    is there any permanent solution for above issues ?

    Hi,
    1) use transaction nace
    2)Select application EF  and go to condition records
    3) o/p type is neu , select the same and double click on it .
    4) select paricular condition table.
    5) maintain condition records , means for particular combination NEU should appear automatically in PO print.

  • I don't want to submit a #@$%^& question! I just want to search the forum for answered questions.

    I don't want to submit a #@$%^& question!
    I just want to search the forum for answered questions.
    Why is Apple such a freaking control freak?
    Hey Apple—quit fixing s**t that isn't broken!

    You could use google.  If you want to only search these discussions forums use the following syntax in a google search:
    whatever you are searching for site:discussions.apple.com
    Update:
    Why is this questio/discussion in Cinema Displays when it should have been in Using Apple Support Communities?

  • I want to bye the ansurrance for my ipadmini

    i want to buy the ansurrance for my ipadmini what can i do??

    What insurance?  If in the USA you can buy AppleCare+, which includes an accidental damage claim feature, but otherwise is just an extended warranty.  AppleCare+ does not cover loss or theft.  Also, AppleCare+ must be purchased at the same time as the device, or you can add it within 30days but only after taking your device to Apple for an inspection first.
    Regular AppleCare (in countries where AppleCare+ is not available) is an extended warranty - it is NOT insurance.
    If you want full coverage insurance - accidental damage AND loss and theft protection, you will need to find a private company offering it.  Apple offers nothing like that themselves.

  • I'm using Premiere Elements 11, which automatically opens in a project window for HD. I want to reset the default for SD. How can I reset the defaul for opening a project?

    I'm using Premiere Elements 11, which automatically opens in a project window for HD. I want to reset the default for SD. How can I reset the default for opening a project?

    scottypet
    For Premiere Elements 11 and 12, you cannot change its default project preset from NTSC AVCHD Full HD1080i30 or its PAL counterpart PAL AVCHD Full HD1080i25 to something else.
    For each project, you can set the project preset manually if you do not want the program to take over setting the project preset based
    on the properties of the first drag to the Timeline.
    To set the project preset manually, open the project to the Expert workspace, go to File Menu/New/Project and Change Settings.
    In the Change Settings area, change the project preset. Before you exit that area, be sure to have a check mark next to "Force Selected Project Setting on This Project" in the new project dialog.
    Then you import your source media, using the appropriate Add Media choice.
    ATR Premiere Elements Troubleshooting: PE11: Accuracy of Automatic Project Preset (New Project Dialog) Setting
    If you want a version of Premiere Elements that uses the default project preset of NTSC DV Standard or its PAL counterpart PAL DV Standard, then you need to look to a version of Premiere Elements earlier than 11.
    Please let me know if you have any further questions on this or need clarification.
    Thank you.
    ATR

  • How 2 Set the logic for report 2 run 1st of everymonth......

    Hi Experts,
    i ve developd a HR-ABAP report in that Some part of code will Mon-Fri, Excluding Public holidays and sat & sundays...( i.e no public holidays and no sat & sundays)
       and some part of should Run on 1st of everymonth.... but 2 parts of code should be in same report..
    How can set the logic to run the report respective times....
    Thanks in Advance....
    sudeer.

    you can code this but need some good expertise on fm's  , date handling techniques and subroutine call coding.
    1.
    to make the code run only on 1st of every month
    capture the rundate of ur prog .. take value of  sy-datum
    ex.. 01.xx.yyyy
    or date std will be yyyymmdd so check for dd = 01 ..
    so per logic first two chars show that its first of any month in any year ..
    if yes
    execute the logic for the first of every month ..
    endif.
    2.
    where the code needs to be run on mon-fri and not on public holidays / sun / sat ..
    first fetch the day based on date .. like mon or tue or wed .. except sat and sun..
    second check whether if m-t-w-th-fr if any of them is  a holiday or not
    u need to check the date in the calender list like tholi thoc and .. to check whether that is a holiday or not ..
    coming to sat and sundays .. u need to check the day for date using function modules and build the logic ...
    br,
    vijay..

  • I am trying to decide what gig i need. I want to use the Ipad for my books for college.

    I need to know what gig to get... I want to use the ipad for my college textbooks to take them to class on it. How many etextbooks would the ipad hold?

    Caveat to the above: books that have a lot of pictures or graphics can be quite large; many megabytes. If you can find out from your college program what books you'll need, check to see if 1) they're available; many textbook publishers have yet to provide textbooks as e-books and 2) if they are available (from one of the e-book providers; you can use Kindle, Nook and Google books on your iPad in addition to Apple's iBooks) how large they are. Then you can add the sizes up, figure out what else you might want on your iPad (movies, for instance, take up a lot of space) and determine what capacity you'll need. When it doubt, buy more capacity than you think you'll need; an iPad can't be expanded later if you run short.
    Regards.

  • I want to clear the values for the controls

    Hi all,
            After Adding Process, i want to clear the values for the controls in the form.
    Any one help me.

    If you use 2005, you can use the Formdata Event and catch the FORM_DATA_ADD event... In there you can clear the data

  • I want to enter the password for a secure WIFI network on several iphones.  If I do this, can the end users somehow extract the ip address and password for the wifi network from the iphone and use it from a pc (at home, for example)?

    I want to enter the password for a secured wifi network on several iphones.  If I do this, is it possible for the end users to somehow extract the ip address and password information and use it from a pc/laptop/other mobile device.  For security reasons, I don't want them to be able to to this.
    Please advise,
    Thanks.

    If you look at the top left of your screen you will either see a 3G (or 4G if you have AT&T) or you will see the wi-fi symbol.  If you don't see the wi-fi symbol you are connecting to Gmail through your cellular data plan, not via wi-fi.
    To answer your question, it doesn't happen often but when it does the steps I mentioned above will normally resolve it.  Hopefully you won't have any further problem with this.

  • HT4623 Recently I want to upgrade the IOS for my iphone 4 with my friend's help. Unfortunately, we are unable to do it. Don't understand why?

    Recently I wanted to upgrade the IOS for my iphone 4 following the guidelines closely with my friend's help. Unfortunately, we are unable to do so. I felt disappointed as I am looking forward to installing Apps, WeChat, Whats App, etc. I have bought it 2 years ago. I have read the FAQ, mine is the same as many other complaints as in the Settings-General, no "Software Update" appear but we have follow step by step but failed to do so.
    My friend suggested me to visit Apple Store in Kuala Lumpur, Malaysia. I just wonder if this problem can be solved.  Kindly advise.
    Thanking you in advance.
    Regards/Michelle Gee

    You are following the wrong guidelines. The Software Update option was not introduced until a later version. You need to connect to iTunes to update if you currently have iOS 4 or earlier.
    https://sites.google.com/site/appleclubfhs/support/advice-and-articles/updating- ios#itunes

Maybe you are looking for

  • How do you make itunes your default media player?

    On itunes 7, I have been looking everywhere for the setting that changes itunes to your default media player but I cannot find it. Can anyone please assist me since I do not know what I am doing. Sorry if i'm reposting.

  • Proxy messages not processed in PI 7.1 pipeline coming from local client

    Dear experts, We have recently installed a PI7.1 system with two clients: 200 - Integration Server 250 - Local Integration Engine Now, when we send proxy messages from the 250 client to the 200 client, the messages are not processed in the integratio

  • Help with Corelated sub-query

    I am trying to improve this query? Is there a better way to write the query and get the same results. I hate the fact that I am querying a table 3 times. Select statement WITH t1 AS      (SELECT 101 AS ID            , 1 AS a            , NULL AS b   

  • Database Connector Error: "Function_NOT_Supported"

    In SAP Best Practice  Purchasing module  Inventory Dashboard,  Turnover Report am updating my data source location to ERP server . Its data source  is Function module ZINVENTORY_GETFIVETURNOVER when i update this function module it pops me error    D

  • ITunes smart playlists MISSING!!

    This is so annoying!! My recetly added playlist (and also all other smart playlists) disappeared on both my iPad 2 and iPhone 4S all of a sudden when I synchronized them. I have tried unchecking the live update button of the playlist and then synchro