Friday, February 13, 2009

Automat. WIP/results analysis" is not allowed (ORD ...

This from forum SDN but i found the same message when calculate WIP.

I'm confirming a Production Order with quantity less than the Order quantity and then perform a GR for the confirmed quantity. Now if I perform a WIP calculation using KKAX will the system show me a WIP for the difference quantity? or should there be a difference in the confirmed quantity and the GR quantity?

When I try to perform a WIP Calculation for an Order after posting a GR for a lesser quantity than the Order quantity, then system throws an error, ""Automat. WIP/results analysis" is not allowed (ORD xxxx). What could be the reason?

Solution :

U can able to do the WIP of an production order on the below condition :
1.If the order has the status REL (released), the system can calculate work in process.
2.Once the order receives the status DLV (Delivered) or TECO (Technically completed), the work in process calculated in a previous period is canceled

Please check the order status.
Secondly , Check the follwoing
1.Product Cost by Order, default rule PP1 (Production Material Full Settlement) must be entered as the default value for the order type. in OPL8
2.Product Cost Controlling under Cost Object Controlling Product Cost by Order -->Period-End Closing --> Work in Process:
Define Results Analysis Keys
Define Results Analysis Versions
Define Valuation Method (Actual Costs)
Define Line IDs
Define Assignment
Define Cost Elements for WIP Calculation
Define Update
Define Posting Rules for the Settlement of WIP

Jia

Sunday, January 11, 2009

SAP Tcode fagl_fc_val

I have short dump when loading variant in tcode Fagl_fc_val.
Message is
Exception condition "CURRENCY_EMPTY" raised.

Solving
Please check your company code table in T001 (Se16), make sure all of currency fields not blank.

Sunday, December 21, 2008

How to Calculate the difference between two dates and times

Hi Guys,

Pls, can someone help me urgently.

I need to calculate the difference between 2 dates and times.
eg. GR Date - 10.01.2008; GR Time - 16:20:44 and
UD Date - 15.01.2008; UD Time - 20:01:49
Difference = 5 days, 3 hours, 41 minutes.

Is there any function module that I can use to get this difference?

I do have one (SD_DATETIME_DIFFERENCE) which calculates the days and hours, but now the client also wants the minutes included.

Thanks!

********************************************************************

Use this FM /SDF/CMO_DATETIME_DIFFERENCE.
use fm L_TO_TIME_DIFF
Pls Try to use Class "CL_ABAP_TSTMP"

from : http://sap.ittoolbox.com/groups/technical-functional/sap-dev/

Google