WIP Positive value - REM

Hi Gurus,
Can anybody throw lite on this issue ?
In a repetitive manufacturing environment please provide examples of the circumstances under which WIP may be reported from the SAP system as a positive value when all manufacturing has been completed.
regards
Ram

Hi
Can you explain you complete scenario and factors forcing to show WIP as +ve after completion of the manufacture?
Thx Krishna

Similar Messages

  • Get positive values from sql

    I have balance column and i need to pick only positive values from sql query.
    Balance
    200
    -20
    -220
    100
    Expected
    Balance
    200
    100

    Hi Frank,
    Sorry i think i am not clear.
    below is my function get_total.
    one billing_key is nothing but one billing period-each period has 6 programkeys.
    by following function i will get 6 records by passing 6 programkeys and one biling key
    now i need to get over all balance of all periods per program. condition is i need to take only +ve amounts from the below function and sum it up
    expected out. i am just giving an example of output.
    actual
    programkey get_total
    a 100
    a -50
    a -50
    b 200
    c 300
    c -200
    d -100
    d -25
    d 400
    e 500
    e -10
    f 600
    f -200
    we are taking only +ve amounts from the above.
    How can i write a procedure or script to acheive program_key and balance as below.
    programkey balance
    a 100
    b 200
    c 300
    d 400
    e 500
    f 600
    create or replace FUNCTION GET_TOTAL (p_bill_key IN varchar2,
    p_prog_key IN varchar2) RETURN NUMBER AS
    l_total NUMBER;
    l_dum_bill NUMBER;
    p_count NUMBER:=0;
    BEGIN
    BEGIN
    SELECT count(*) into p_count
    FROM billing_adjust b where b.billing_key = p_bill_key ;
    if p_count < 1 then
    SELECT NVL(surch_amount,0) + NVL(adjust_amount,0)
    INTO l_total
    FROM mv_billing a, mv_prog_surch b
    WHERE a.billing_key = b.billing_key and
    a.billing_key = p_bill_key and
    b.program_key = p_prog_key;
    return l_total ;
    end if;
    SELECT NVL(surch_amount,0) + NVL(adjust_amount,0)
    INTO l_total
    FROM billing_adjust b, prog_surch_adjust c
    WHERE b.billing_adjust_key = c.billing_adjust_key and
    b.billing_key = p_bill_key and
    c.program_key = p_prog_key;
    return l_total;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    null;
    End;
    RETURN 0;
    END GET_TOTAL;
    This is what i have started writing to acheive expected output need help on this.
    Create or replace function balance(p_company_id) return number as
    v_total_due number:=0;
    v_total number:=0;
    CURSOR p_idn IS
    SELECT PROGRAM_KEY,PROGRAM_NAME FROM MV_PROGRAM_DICT where CURRENT_YN = 'Y' order by PROGRAM_NAME_ID;
    cursor p_billkey_idn is
    select biling_key from billing where company_id=p_company_id;
    Begin
    for v_idn in p_idn loop
    for v_billkey in p_billkey loop
    SELECT sum(get_total(v_billkey.billing_key,v_idn.program_key)) into balance
    FROM dual
    WHERE get_total(v_billkey.billing_key,v_idn.program_key)>0;
    END LOOP;
    END loop;

  • TDS Amount on Vendor Advance Shows positive value in *QUERY* for TDS Report

    Hi Everybody,
    I have made a query for List of TDS Report with Vendor informations as required by my client. In which the value of TDS on Vendor Advance Payment appears as positive value instaead of negative value. Please suggest how to rectify.
    Thanks,
    Paul

    Dear,
    If you have cleared the advance in F-54, then this will reverse the tax amount. That could be the reason for tax amount in debit.

  • Issue with Report to get Position value for each Class ID.

    Hello Experts,
    m working on a report where I want Position values as on date.
    for an entered date report should give position value(Amount for transaction) for each class Id.
    I m trying using the exit variable but could not reach the output.
    For date I created an exit variable which shoud return the latest position for each class Id.
    Now this exit variable is "ready for Input" . when I debug my code it takes i_step =3 and i_vanm= " " after i_step = 1 and i_vnam = "<variablename>"
    how do I go about to get the solution.
    Guide me to come up with desired output.
    Thanks in Adv.
    Bhavna.

    Hello Experts,
    m working on a report where I want Position values as on date.
    for an entered date report should give position value(Amount for transaction) for each class Id.
    I m trying using the exit variable but could not reach the output.
    For date I created an exit variable which shoud return the latest position for each class Id.
    Now this exit variable is "ready for Input" . when I debug my code it takes i_step =3 and i_vanm= " " after i_step = 1 and i_vnam = "<variablename>"
    how do I go about to get the solution.
    Guide me to come up with desired output.
    Thanks in Adv.
    Bhavna.

  • Positive Value with Zero Stock

    hi Experts
    I noticed while doing a stock audit report that I had a positive value of £35.00 for a item code where the stock level was zero.   How can I get the amount down to zero too?  Stock Revaluation won't work because there is no stock and any in/out stock transaction simply result in outstanding amount of £35.00. 
    We are using FIFO for value .   I would also be interested to know how I can query other items with this issue?
    thanks
    Geoff
    Edited by: Geoff Lord on Jul 8, 2011 5:26 PM

    Hi Goeff.......
    If the stock of the item is zero and still it shows the item cost then this means nothing.
    It does not affect anything in system.
    The moment you book GRN the purchase value will be overrite on it. It only shows for display as last price......
    You can try a purchase in demo DB and then run the Audit report you can find the difference.......
    Regards,
    Rahul

  • Display only positive values for a particular Keyfigure

    Hi..
    (Sorry, I accidentally posted this also in Datawarehousing forum, actually it related to BeX forum).
    For a particular column(keyfigure) in my report, the user wants to display only positive values.
    I used the formula from the one of the forums
    (Keyfig > 0)* Keyfig.
    This displays only positive values in the column as required. But, the result for this column is also affected. As the result is negative, it shows, zero in the result for this column.
    Is there a way in which the result will not be affected by the formula?
    I went into the properties of the particular keyfigure and chose Calculate Result as -> Summation.
    It throws out the following error message
    'Calculating result as...' was not executed
    Message no. BRAIN141
    Diagnosis
    The function 'Calculate Results as ...' could not be used in all
    instances.
    The recalculation of a result cell always occurs based on the set of
    detailed cells subordinated to this cell. This is the most detailed
    level of the drilldown. Therefore it is not posible to recalculate in
    hierarchical lists. The calculation of a results cell is not performed
    if a cell or column with an expand symbol is assigned beneath it.
    Otherwise the newly calculated result is changed every time one of its
    lower-level nodes is expanded. This is not supported for technical
    reasons and would also only confuse users.
    Note, however, that calculating with "Suppress Results" is always
    executed because the restriction described above does not apply in this
    case.
    NOTE:
    The query shows the keyfigure values for a selected title, for profit center and territory hierarchies.
    Any suggestions would be greatly appreciated.
    Thanks,
    Sai.

    Hi Deepu,
    Thanks for the reply. I tried with ur formula.
    LEAF(keyfig) gives all values "zero" for that particular column including the result.
    NOT LEAF(keyfig) gives all values "one" for that particular column including the result.
    So, ur formula gives the same values as of the present column values.
    I tried condition, but it's not working...it says the following errors...
    There is a condit. on Title, results row suppress. active on Profit Center    
    (conditional                                                                               
    Message no. BRAIN144                                                                               
    Diagnosis                                                                               
    Characteristic Title has an output condition and the 'Suppress Results    
        Cells' property is active for Profit Center. This generally leads to an   
        incomprehensible output list.                                                                               
    System response                                                                               
    As soon as an output condition is defined for a characteristic (here      
        Title), the system calculates the corresponding result cells and applies  
        the output condition. If a result cell of this type is later deleted by   
        the condition, all the lower-level detail and result cells in its         
        drilldown are suppressed. Because the result cell is suppressed the       
        Title rows are then omitted from Profit Center.                                                                               
    In extreme cases this can lead to an entirely empty list being            
         displayed, although the single rows or columns would be displayed if the  
         condition were deactivated.                                                                               
    Procedure                                                                               
    Check the query settings, especially results row suppression and the      
         output conditions.                                                                               
    Procedure for System Administration                                                                               
    You can deactivate this message Brain 144 with transaction RSRT1.                                                                               
    There is a condit. on Profit Center, results row suppress. active on        
    Territory as in SPL (conditional                                                                               
    Message no. BRAIN144                                                                               
    Diagnosis                                                                               
    Characteristic Profit Center has an output condition and the 'Suppress  
        Results Cells' property is active for Territory as in SPL. This         
        generally leads to an incomprehensible output list.                                                                               
    System response                                                                               
    As soon as an output condition is defined for a characteristic (here    
        Profit Center), the system calculates the corresponding result cells and
        applies the output condition. If a result cell of this type is later    
        deleted by the condition, all the lower-level detail and result cells in
        its drilldown are suppressed. Because the result cell is suppressed the 
        Profit Center rows are then omitted from Territory as in SPL.                                                                               
    In extreme cases this can lead to an entirely empty list being            
         displayed, although the single rows or columns would be displayed if the  
         condition were deactivated.                                                                               
    Procedure                                                                               
    Check the query settings, especially results row suppression and the      
         output conditions.                                                                               
    Procedure for System Administration                                                                               
    You can deactivate this message Brain 144 with transaction RSRT1.
    Thank you very much.
    Regards,
    Sai.

  • Negative  values in red and Positive values in black CONDITIONAL FORMATTING

    Hi ... Everyone
    I have to show Negative values in red and Positive values in black in one of my report.
    i tried these conditions
    1. <?if:GAIN<0.00?><?attribute@inlines:color;'red'?><?end if?>
    but it shows negative values only in red ,positive values in black are missing
    2. <?if:GAIN<0.00?><?attribute@incontext:color;'red'?><?end if?><?if:GAIN>0.00?><?attribute@incontext:color;'black'?><?end if?>
    This gives the exact result what i wanted ...but the problem is i have five tables in my report ... so the above condition only allow changes in ONE TABLE ONLY. :(
    Plzzzz anyone who can help me to sort out my problem or else SUGGEST ANOTHER WORKING CONDITION
    Regards
    Subham Mittal

    Subham,
    This should not be difficult and moreover the BI Publisher Desktop installation comes with a set of examples:
    Start -> Programs -> BI Publisher Desktop -> Samples -> RTF Templates -> Advanced -> Conditional
    There you can find two templates with the exact same situation like yours, highlighting either the foreground color or background color.
    regards
    Jorge

  • Positive Value only Display or Edit Pattern

    Hello, could someone please explain how I can prevent a negative result in a calculation field? i.e., a result less than zero. In other words, how can I ensure that users only enter positive values in a numeric field, and that the subsequent simple "subtract" calculation will also remain positive?
    Harry

    THANKS NASSIA, this works for disallowing negatives by force, however it gives me script failed alert.
    Would you know how to suppress "Script Failed" alerts, such as this:
    Script failed (language is formcalc; context is
    xfa[0].form[0].form1[0].SF_CalculationTable[0].acview[1])
    script=(ac[1] / tr[1]) * 100
    Error: arithmetic over/underflow.
    . (+ 25 more...)
    These seem to be only happening because the field is not yet populated, (except with zeros). How do I suppress this error, because the form works fine.

  • Why Illustrator change entered size and position values?

    Hy All!
    Illustrator 5.5 always change my entered size or position values.
    (For example: I type 10mm, hit enter, and 10 changed to 10,231mm.)
    I checked again and again, but I have no any enabled snap function.
    I have Illustrator CS6 too, what works fine (but much slower).
    Checked all my setting about 5 times, still didn't find the solution...
    Thank you for your tips!
    (MBP 17", C2D 2,5GHz, 4Gb RAM, Mac OS X 10.6.8.)

    The measurement you type in defines the frame of your shape. The new measurement you see includes the width of the stroke.
    Under your Illustrator preferences, if you uncheck "use preview bounds", it will leave your measurements as you typed them, but it will not include the width of any stroke that is aligned to center or outside of your box.

  • Displaying a positive value in form

    I have got a table tblshipping which has got two col named as send_qty,received_qty from where i calculate the quantity.
    the thing is some times in the calculation i get a negative value and some times positive i want always the positive value should be displayed to end user
    SQL>select sum(send_qty) - sum(received_qty) from tblshiping where matid='1';
    i will get say some thing (-5)
    in the fom i want to display this (-5) as (5) ....can any1 help me out how this is possible.....
    I know changing the order in the query it can be done but again for some condition it will display negative value which i dont it to display

    Use ABS
    SELECT ABS(SUM(SEND_QTY)-SUM(RECEIVED_QTY)) ...

  • Cubeset to only return positive values?

    Yet another cube formula question... In Excel 2010, no powerpivot or olap pivottable extensions, this is a pure Excel project.
    I am building various cubeset, cubemember, and cubevalue formulas to validate an ETL process.
    Question:
    I need to create a cubeset that only returns the members of a cube that have positive values for a specific measure. This cubeset will then be one of several cubesets that gets fed into a cubevalue formula that would otherwise exceed the 255 char limit.
    I can create a cubeset for the overall measure:
    =CUBESET("MyCube","[Measures].[RetailPrice]")
    but haven't found the right syntax for limiting results to only those that have positive values, I think it would be something like:
    =CUBESET("MyCube","FILTER[Measures].[RetailPrice],[Measures].[RetailPrice]>0")
    This syntax actually doesn't return an error, so maybe it is valid syntax... but when I wrap it in a simple cubevalue statement,
    =CUBEVALUE("MyCube", A2)       where A2 is the Cubeset above, or if I also add date range and other filters,
    I get a #Value error, indicating that "the tuple is invalid" per
    http://office.microsoft.com/en-in/excel-help/cubevalue-function-HA010342391.aspx?CTT=5&origin=HA010342384
    I'm still a newbie with the cubeformula syntax and MDX, so I appreciate any suggestions!

    Hi Rohit-
    The cube has a net value of 1220 for the measure I'm trying to calculate (when I don't filter on > or < zero).
    I tried my formula both ways (looking for just positive, and just negative values) and while both work in the standalone cubeset formula, neither return a value when I use it in a cubevalue formula.
    My suspicion, other than a syntax error, is that this may have something to do with me trying to filter on the measure value(s), instead of a dimension- which I think must be possible, but again maybe not with this syntax.
    Let's assume that we had a total of 1280 in retail price, but due to a few returns, we have a few records that show value of -60. If we were looking at profitability, the 1220 is what matters. If we are looking at "dollars exchanged" as a variable expense
    driver of some other measure, then we'd actually want the absolute value of retail price (1280+60 = 1340). I hadn't been able to get the MDX ABS to work, so this was my attempt to grab the positive and negative numbers separately, and then add them to get
    the equivalent of ABS.
    In this case, slicers aren't a desirable option due to how the report is being constructed (I've used slicers in other reports with cubeformulas, but with Excel 2010 I have to have an extra pivot table to get the slicer value, which then has to get fed into my
    cubeform and I'm back at step 1, getting it to work in the cubeformula syntax)
    Thanks!

  • WIP Cumulative value(Material Ledger)

    Hi,
    We have executed the material ledger acutal cost WIP Transaction Code --  COMLWIPDISP. This t.code is reflecting the WIP Cumulative value which is inclusion of WIP Price difference. Cany anybody let me know how this value is calculating and in which t.code. In which table or function module we can see the WIP price difference value and cumulative value.
    Regards,
    Shree J

    Hi SJ,
    The below example will help you to understand your query:
    SFG product standard cost is 90 ( as per the BOM materials).
    Production/Process order is created, released and Raw material are issued to this Production/Process order. The status of this Order is not yet changed to TECO/CNF due to there are still some more operations has to be carriedout. So assume at this stage total cost is 100.
    When you run your month activities like WIP/Variance/Settlement Calculation and also CKMLCP (Actual Costing Run).
    After the month end activities, if you execute COMLWIPDISP, system will display Cummulative WIP value as 100 and difference 10.
    Thanks and Regards,
    ADI

  • Error ! Specify positive values only

    Dear Gurus,
    Error : Specify positive values only
    Message no. 00126
    Is it possible to create Negative value in PO line at item level? through condition type or any other method?
    But, Over all PO at header level will be positive. I dont want to go through Return PO option
    Please advice
    Thanks
    RS

    Hi,
    Why the value to be negative. I think you cant enter negative value for a material. Kindly explain me your scenario.
    Regards,
    Prasath

  • How to display positive value with a trailing plus sign

    I want to display positive value with a trailing plus sign and negative value with a trailing minus sign. How can I do it? Is there any character in custom format for this? I don't want to convert number to text and use case statement because I need two decimal places and thousands separator.

    Okay, try this...
    You will need to do a "UNION ALL" of three queries, one for positive values, one for zero values, and one for negative values.
    In the "negative values" query, do the following:
    1) Add a filter on the measure for values "less than 0"
    (This will ensure all values are negative.)
    2) In the Data Format tab, select "Custom" and type in #,##0.00-
    (This will add the trailing negative sign.)
    3) In the Edit Formula tab, add the absolute value function, ABS(insert measure here)
    (This will take get rid of the default leading negative sign.)
    For the "positive values" query, modify the above as follows:
    1) Change the filter to "greater than 0"
    2) In the Data format, change the custom format to #,##0.00+
    Step 3 is not needed since all values are positive.
    For the "zero values" query, just add a filter "equal to zero."

  • How to get only positive value from 0DEB_CRE_LC

    Hi to all,
    I am doing ageing for AR.(0FI_AR_4)
    In DSO or CUBE i need to diaply only positive value for 0DEB_CRE_LC accodring to every customer customer.
    only NET DEBIT VALUE should display.
    example1:
                                  0CREDIT_LC     0DEBIT_LC      0DEB_CRE_LC
    CUSTOMER1      100                      0.00                   100 -
    CUSTOMER1      0.00                200                   200
    CUSTOMER1      0.00                200                   200
                                                                                 total of 0DEB_CRE_LC =  300                    "  only this value should be displayed at DSO or CUBE
    example2:
                                0CREDIT_LC     0DEBIT_LC      0DEB_CRE_LC
    CUSTOMER2        100                       0                      100-
    CUSTOMER2        0                          0                      0
    CUSTOMER2       0                            0                     0
                                                                               total of 0DEB_CRE_LC =  100-                       " this value should be filter out at DSO or CUBE
    example3:
                              0CREDIT_LC     0DEBIT_LC      0DEB_CRE_LC
    CUSTOMER3      200                                           200-         
    CUSTOMER3     0                           100               100
                                                                            toatl  0f 0DEB_CRE_LC = 100-                       " this value should be filter out at DSO or CUBE level
    So when i total at 0DEB_CRE_LC at DSO or CUBE level  only example1 value should displayed and example2 and example3 sould be filter out at DSO or CUBE level.
    please can any one tell me the logic, what should i do to achieve this result.
    I shall be thankful to you for this.
    Regards
    Pavneet Rana
    Edited by: pavneet rana on Feb 3, 2011 4:14 PM
    Edited by: pavneet rana on Feb 3, 2011 4:18 PM
    Edited by: pavneet rana on Feb 3, 2011 4:20 PM

    Thanks for reply,
    i have created start routine between 0fi_ar_4 to DSO.
    and used your code.
    but still data at DSO is coming incorrect.
           CREDIT                    DEBIT              0DEB_CRE_LC
    C1   694,724.4               0.00     694,724.46-
    C1       675,000.0              0.00     675,000.00-
    C1        0.00                    864,333.00     864,333.00
                                                                TOTAL =   505,391.46-  for 0DEB_CRE_LC
    but i create end routine at DSO .
               CREDIT      DEBIT          0DEB_CRE_LC
    C1       0                  100               100
    C1       0                      50             50
                                                 TOTAL = 150 for 0DEB_CRE_LC
    but all credit amount for all customer is 0 and not include in 0DEB_CRE_LC, so still result is incorrect.
    Please give me some solution , so i can achieve result.
    I think this can be done by Routine itself.
    i have writen routine like that.
    DATA: WA LIKE LINE OF RESULT_PACKAGE.
    DATA: l_v_customer type /BI0/OICUSTOMER.
    DATA: l_v_total TYPE /BI0/OIDEB_CRE_LC.
        Sort RESULT_PACKAGE by CUSTOMER .
        l_v_total = 0.
         loop at RESULT_PACKAGE INTO WA.
        if sy-tabix = 1.
         l_v_customer = WA-CUSTOMER.
    endif.
    if l_v_customer = WA-CUSTOMER.
    l_v_total = l_v_total + wa-DEB_CRE_LC.
    else.
    if l_v_total LT '0'.
            Delete RESULT_PACKAGE where CUSTOMER = wa-CUSTOMER.
          endif.
    l_v_customer = wA-CUSTOMER.
    l_v_total = wa-DEB_CRE_LC.
    endif.
          endloop.
    please rectified is in correct.
    I shall be thankful to you for this.
    Regards
    Pavneet Rana
    Edited by: pavneet rana on Feb 4, 2011 10:32 AM

Maybe you are looking for

  • Parsing a XML file using Jdom-Problem.

    Hi all, I am reposting it as I was told to format the code and send it again. I am trying to parse a xml file using a jdom java code.This code works fine if I remove xmlns attribute in the root element. (I get the expected result) .If the "xmlns" att

  • Document Splitting Error when using "Difference Posting" field in F-28/F-32

    We use the "difference postings" field to post unapplied cash when we receive customer payments.  We can normally post this without issue, but occassionally we get the "Balancing field "Profit Center" in line item 002 not filled" message.  This only

  • Glitch with Numbers in Mountain Lion

    I upgraded to Mountain Lion and the latest Numbers version and notice a glitch in an existing spreadsheet. I have a column that, before the upgrade, displayed the day, then on the next line the date in M/D/YY format. Like this: Thursday 7/26/12 I had

  • Photoshop CS3 has no Print Option under Windows 7 64 bit

    Owing to a severe power problem with my old desktop I have had to buy a new desktop PC, which has Windows 7 64 bit installed. My previous desktop has Windows XP. I have successfully installed CS3 and have been able to open and manipulate images but w

  • Install of Personal 8i or 9i on XP Home

    Is it possible to install 8i Personal edition on a machine running Windows XP edition? If not, is it possible to install 9i personal edition on the same machine? In the documentation for 9i seems to refer to XP Pro.... Thanks - John Anderson