Cost estimate less than zero

hi
i have a scenario
where i get the free of cost material form customer
i add the conversion,the scarp generated m
if i use the scrap generated as credit the cost estimate is negative
but i should bcz this is a sfg and it fits into aonther FG and the customer do concder the scrap generated credit during pricing
but at the sfg level the cost estimate is negative.how to do this .

maintain the Activity rates "zero" in KP26 for respective Cost center and Activity type.
Material cost comes from Material master.....there we need to have zero price
and try to run the CK11N, you have the chance to get the zero cost estimated.
No idea how it works....do some R & D in DEV
Thanks

Similar Messages

  • Cost estimate less tna zero

    hi
    i have a scenario
    where i get the free of cost material form customer
    i add the conversion,the scarp generated m
    if i use the scrap generated as credit the cost estimate is negative
    but i should bcz this is a sfg and it fits into aonther FG and the customer do concder the scrap generated credit during pricing
    but at the sfg level the cost estimate is negative.how to do this .

    Find it very hard to interpret the nature of issue you facing. If you can elaborate with more details or better still upload screenshots to some portal & paste the link here, will be helpful to understand. Also did you discuss this with your CO consultant?

  • How to report only quantities less than zero on a calculated field

    I do not understand why my text will not work when it comes to reporting only 'Missing POs' less than zero, I assume it is because I am using 'int' on some fields?
    Any advice?
    SELECT
    t0.father as 'Parent Code',
    t2.itemname as 'Parent Description',
    t2.frgnname as 'Parent Status',
    t0.code as 'Child Code',
    t1.itemname as 'Child Description',
    t1.frgnname as 'Child Status',
    t0.comment as 'Master',
    cast(t3.onhand as int) as 'Child Uncommitted Stock',
    cast(t3.iscommited as int) as 'Child Committed Stock',
    (cast(t3.onhand as int) - cast(t3.iscommited as int)) as 'Child Free Stock',
    cast(t3.onorder as int) as 'Purchase Orders',
    (cast(t3.onhand as int) - cast(t3.iscommited as int)) + cast(t3.onorder as int) as 'Missing POs'
    FROM
    itt1 t0
    inner join oitm t1 on t0.code = t1.itemcode
    inner join oitm t2 on t0.father = t2.itemcode
    LEFT JOIN OITW T3 ON T3.WHSCODE = T0.Warehouse AND T3.ItemCode = T0.Code
    Where T3.WHSCODE Like '[%0]%' and 'Missing POs' < 0
    ORDER BY
    'Missing POs' asc, t0.father, t0.code
    Many thanks,
    Robin (I will be awarding points on all my outstanding questions shorlty - management time pressure at mo!)

    Try this:
    SELECT
    t0.father as 'Parent Code',
    t2.itemname as 'Parent Description',
    t2.frgnname as 'Parent Status',
    t0.code as 'Child Code',
    t1.itemname as 'Child Description',
    t1.frgnname as 'Child Status',
    t0.comment as 'Master',
    cast(t3.onhand as int) as 'Child Uncommitted Stock',
    cast(t3.iscommited as int) as 'Child Committed Stock',
    (cast(t3.onhand as int) - cast(t3.iscommited as int)) as 'Child Free Stock',
    cast(t3.onorder as int) as 'Purchase Orders',
    (cast(t3.onhand as int) - cast(t3.iscommited as int))
      + cast(t3.onorder as int) as 'Missing POs'
    FROM
    itt1 t0
    inner join oitm t1 on t0.code = t1.itemcode
    inner join oitm t2 on t0.father = t2.itemcode
    LEFT JOIN OITW T3 ON T3.WHSCODE = T0.Warehouse AND T3.ItemCode = T0.Code
    Where T3.WHSCODE Like '%0%' and (cast(t3.onhand as int) - cast(t3.iscommited as int))
      + cast(t3.onorder as int) < 0
    ORDER BY
    (cast(t3.onhand as int) - cast(t3.iscommited as int))
      + cast(t3.onorder as int),t0.father, t0.code

  • Java.sql.SQLException: Invalid precision value. Cannot be less than zero

    Hi,
    In my portlet application have several jsf tables which bind to several oracle tables. I have tested the portlet in pluto and tried to deploy it on liferay. However, I get an exception stating:
    java.sql.SQLException: Invalid precision value. Cann
    ot be less than zero
    What could this exception mean? Has anyone else encountered this?
    Marc
    P.S. The trace is shown below:
    Feb 6, 2007 12:34:56 AM org.apache.catalina.core.ApplicationDispatcher invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.RuntimeException: java.sql.SQLException: Invalid precision value. Cann
    ot be less than zero
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(Cach
    edRowSetDataProvider.java:343)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(Ca
    chedRowSetDataProvider.java:300)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount(Cache
    dRowSetDataProvider.java:624)
    at com.sun.rave.web.ui.component.TableRowGroup.getRowKeys(TableRowGroup.
    java:806)
    at com.sun.rave.web.ui.component.TableRowGroup.getFilteredRowKeys(TableR
    owGroup.java:429)
    at com.sun.rave.web.ui.component.TableRowGroup.getRowCount(TableRowGroup
    .java:749)
    at com.sun.rave.web.ui.component.Table.getRowCount(Table.java:307)
    at com.sun.rave.web.ui.renderer.TableRenderer.renderTitle(TableRenderer.
    java:400)
    at com.sun.rave.web.ui.renderer.TableRenderer.encodeBegin(TableRenderer.
    java:123)
    at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.jav
    a:683)

    I've dug deeper into this problem and am able reproduce the error in the Pluto server. To reproduce this error, I modified my Oracle jdbc driver from the JSC embedded driver (smoracle.jar) to the Oracle native driver (ojdbc14.jar). Now, I am getting the exception in my Sun Application Server:
    What is the difference between ojdbc14.jar and smoracle.jar that could cause this problem? What can I do so that I can fix this problem for ojdbc14.jar?
    Thanks,
    Marc
    P.S.
    The problem is with the clob column (DOR_NOTE_TX). The stack trace is:
    [#|2007-02-06T09:00:53.663-0800|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=16;|
    Reader executing query ps=0 SELECT DOR_NOTE_DT, DOR_NOTE_TX FROM DOR.DOR_NOTE_DATA WHERE DOR_NOTE_CD='SECURITY' AND TO_CHAR(DOR_Note_Dt, 'mm/dd/yyyy') = '02/05/2007'
    No Params|#]
    [#|2007-02-06T09:00:53.679-0800|WARNING|sun-appserver-pe8.2|javax.enterprise.system.stream.err|_ThreadID=16;|
    java.sql.SQLException: Invalid precision value. Cannot be less than zero
    Message was edited by:
    marcnikko

  • Umbraco CMS - startindex cannot be less than zero error is showing instead of 404 error page

    I am running into an issue with an Umbraco website.
    If I miskey the URL on a top level page, e.g. mysite.com/wrongpage I get an asp error.
    If I miskey it on a subpage, even if the top level page is incorrect too, I get my correct 404 error e.g. mysite.com/wrongpage/wrongpage2
    At this point I'm trying to find out whether it's a bug in Umbraco 4.11.10 or if this error is caused by something obvious. I'm completely stuck and not particularly technical (I'm not a developer).
    If anyone could help explain what this error means, and/or if there's any way to correct or bypass it I would really appreciate the help.
    The full contents of the error are: 
    Server Error in '/' Application.
    StartIndex cannot be less than zero.
    Parameter name: startIndex
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
    Parameter name: startIndex
    Source Error: 
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace: 
    [ArgumentOutOfRangeException: StartIndex cannot be less than zero.
    Parameter name: startIndex]
    System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +10698829
    System.String.Substring(Int32 startIndex) +12
    AutoFolders.NotFoundHandler.Execute(String url) +538
    Umbraco.Web.Routing.LookupByNotFoundHandlers.HandlePageNotFound(PublishedContentRequest docRequest) +1148
    Umbraco.Web.Routing.LookupByNotFoundHandlers.TrySetDocument(PublishedContentRequest docRequest) +10
    Umbraco.Web.Routing.PublishedContentRequestBuilder.<LookupDocument1>b__1e(IPublishedContentLookup lookup) +15
    System.Linq.Enumerable.Any(IEnumerable`1 source, Func`2 predicate) +146
    Umbraco.Web.Routing.PublishedContentRequestBuilder.LookupDocument1() +198
    Umbraco.Web.Routing.PublishedContentRequestBuilder.LookupDocument() +195
    Umbraco.Web.Routing.PublishedContentRequest.ProcessRequest(HttpContextBase httpContext, UmbracoContext umbracoContext, Action`1 onSuccess) +139
    Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) +339
    Umbraco.Web.UmbracoModule.<Init>b__7(Object sender, EventArgs e) +80
    System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

    Hi Aaronb9,
    Since the issue regards ASP.NET and website deployment. I suggestion you post the question in the ASP.NET forums at
    http://forums.asp.net/. It is appropriate and more experts will assist you.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Change font colour to red if value less than zero

    Please forgive as I am not sure if this should go to the SQL or Application Thread..
    My questions is regarding SQL in Application Express
    I want to display my field (ADJ (INCL GST) in a red colour if its value is less than zero
    here is SQL code
    select "TW_BILL_ADJ_DATA"."CUSTOMER" as "CUSTOMER",
    "TW_BILL_ADJ_DATA"."ORIGINATER" as "ORIGINATOR",
    CASE WHEN (CREDITDEBIT) = 'Credit' THEN (0 - ADJUSTMENT_INCL_GST) ELSE ADJUSTMENT_INCL_GST END "ADJ (INCL GST)"
    from TW_BILL_ADJ_DATA

    Thankyou for the example above, after much searching I have also found another way to perform the same task
    select     "BILL_DATA"."BILLING_CODE",
    CASE WHEN (CREDITDEBIT) = 'Credit' then
              '<span style="color:Red;">'
              || TO_CHAR (0 - "ADJUSTMENT_INCL_GST", 'FML999G999G999G999G990D00')|| '</span>'
                             else
              '<span style="color:Green;">'
              || TO_CHAR ( "ADJUSTMENT_INCL_GST", 'FML999G999G999G999G990D00')|| '</span>'
                             end "Adj (incl GST)"
    from TW_TABLE
    -----------------------------------------------------------------------------------

  • E2136 ySubscriptXOffset is less than zero -11

    Hallo,
    Every (or mostly) italic fonts generated by the FDK give the the
    following error code from the MS Fontvalidator.
    E2136 ySubscriptXOffset is less than zero -11
    Is this a real problem?
    Andreas

    We believe this is a bug inthe Font Validator, and have reported it to Microsoft. There are perfectly good reasons to have automatic subscript to shift stuff to the left with an italic font.
    T

  • Control account balance isn't less than zero

    Dear buddies:
    I wanna control  that account balance isn't less than zero when entering G/L document. I remember there is a warnning message for bank account, but I forgot how to configurate it!
    Please you help me, thanks!
       sherky

    Hello
    Not sure what customizing you refer to but you can do this control trough a validation at complete document level.
    Regards
    Javier

  • FG Valuation basis - Std Cost estimate or Net sale value whichever is less

    Dear SAP Experts,
    Query 1 -
    Valuation of  Finished goods is done on basis of standard cost estimate (CK24) or Net sale value whichever is less 
    *Net sale value u2013 Net sales ( Sales value  minus Sales deductions)
    Eg : Std cost estimate gives FG price as $100, whereas Net sale value price of FG $80,
          now the client wants FG values should be at $80
    Is there any standard way,  wherein SAP can capture whichever is less i.e standard cost estimate vs Net Sale Value
    Pl let us know the options and which options would be ideal for query 1
    Query 2 u2013 Can we use CRK1 and MR21 to manually change FG price whenever Net sale value is less than std cost estmate price?
    u2022     In case the market value is less than the std cost estimate (CK11n) ,then Is this the approach to manually value FG price using  CRK1 & MR21. 
    u2022     What could be the impacts if we follow this approach
    For Eg: Impact on prev months WIP, Scrap, stock returns etc
    u2022     We simulated CRK1 & MR21 and MR21 entries are posted successfully, however following below warning is the message is showed when CRK1 is executed
                 Note u2013 Material Ledger is not active
    Warning Message
    Deleting current standard cost estimates can cause inconsistencies. Your comments please
    Message no. CK669
    Diagnosis
    u2022     If you delete a current standard cost estimate, the fields for the cost estimate are set to zero in the material master record. If you use the material ledger, the standard prices in the material ledger master data are also deleted when you delete the current standard cost estimate. The material master record for the material thus does no longer contains a current standard price from a standard cost estimate.
    u2022     If you delete an active standard cost estimate, you can no longer determine scrap, work in process and variations for previous periods.
    u2022     In certain countries, it is a legal requirement to maintain records of standard pricing. Therefore, you should check whether you are obliged by law to keep records of your standard cost estimates. Please also contact the relevant accounting and inventory management departments.

    Dear,
    Query 1;
    The FG or SFG will be valuated at Standard Cost there is no provision to enter Net sale value
    Query 2:
    Do not user CKR1 to delete Cost Estimate because it can bring lot of Descripenceies in CO, SAP do not recommend the same.
    You can run the revaluation at the month end or revise your activity rates so that you standard price will be change accordingly and your inventory will be re valuated.
    Hope it is clear, it not then please revert.
    Br,Vivek

  • Cost estimate component qty is zero

    Dear experts,
    I have one Raw material is assigned to many finished products,
    When I try to calculate the cost estimates for the finished items,
    The calculated qty for my raw material appears for some finished items and some is not appear (zero).
    And I checked the BOM but everything is OK
    If you have any idea please help me
    Thanks in advance

    thank you sir for answering me,
    for my Raw Material (assume X) and for SF with good cost estimate  (assume G) ans for bad SF cost estimate (assume B),
    G BOM base unit is 10 000 L
    X qty in G BOM is 1.210 KG
    B BOM base unit is 10 000 L
    X qty in B BOM is 1.210 KG
    the costing lot size qty is 1000
    so, for G item the req, qty from X is ((1.210 KG / 10 000) * 1000 = 0.121) and it is appearing,
    and for B item the req qty form X is ((1.210 KG / 10 000) * 1000 = 0.121) and it is not appearing

  • Need to add leading zeros to the field if field length is less than 6

    Actually the field length is 16.
    But for some manual entries it is comming as 4 chars.
    so if field length is less than 6 then it should be replaced by leading zeros.
    Moderator message: very basic, please (re)search yourself before asking, @all: please do not reply to basic questions, points removed.
    locked by: Thomas Zloch on Sep 9, 2010 11:43 AM

    Hi Ravi,
    Do it in 2 steps.
    1. check the length of your entry by strlen function and get the length.
    2. If the output is less than 6 call the FM CONVERSION_EXIT_ALPHA_INPUT to get leading zero
    Regards,
    anirban

  • Warning Message  in Sales Order when Sales price  less than Cost Price

    HI
    Generally when we raise a sales order if Sales price is less than that of Cost price , System will provide us a warning message inside the sales order screen.  Now , this is not coming.  Is there any settings in the configuration to get this warnin message. Please help us on the above
    Regards
    Anis

    There is no configuration is available for this from functional side.
    Try with User Exit MV45AFZZ , for this Co ordinate with your ABAPer.
    Regards,
    Ramesh

  • Message when sales price is less than cost price

    Hai Guys,
    Is there any standard configuration in SAP which makes the system give a warning when the Sales price is less than the cost. I have seen this feature in some IDES systems, but I am unable to get that feature in my current project. Can somebody help me in thsi regard?
    Regards,
    Maheshwaran. I

    Hi,
    Yes you can also achieve this by doing just some modifications in your pricing procedure :
    Please maintain these settings in VPRS :
    subtotal as B
    requirement 4
    and alternate calculation type as 5
    Then whenever VPRS will be greater than Nett value, system will throw warning message. Please try and revert with feedback.
    Thanks,
    Raja

  • Messege states "selling price is less than cost price"

    Hello,
    Please assist how do we configure for the messege "_selling price is less than cost price_" as warning, information or error in Standard SAP.

    Dear Adarsh,
    We did same in my client, we have done incompletion log(customized) when price is less than cost/intercompany price,
    we have done in user exit save document, check the price and cost and puts incompletion log, ad give new t.code to release or remove incompletion log.if you want error message can also do, check with abaper to work out on konp/konv and userexit on prepare pricing.
    let me know if any questions.

  • If less than replace with no value or zero

    I'm trying to use the diadem calculator to create the equivalent of a 'if less than 4.0 replace with no value or 0' for the complete cell count of a named channel . Either create a new channel for the result or replace the old values
    thanks
    AdeK 

    Hi Adek,
    Twigeater is absolutely right, as always, and he's pointed you to the most recent and syntax-friendly option available in DIAdem 11.0 and later.
    If you are using an older version of DIAdem, or if you're manipulating very large channels, I'd recommend using the old "FormulaCalc()" function, which is faster for numeric channels and has a boolean construction that automatically resolves to 0 or 1, corresponding nicely to what you want.  Here's the code:
    R1 = 0.2L1 = CNo("Noise data/Noise_1")Call FormulaCalc("Ch(L1):= (Ch(L1)>R1)")Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

Maybe you are looking for