Monday, September 23, 2013

SAP Enhancement of backflush .

用途:对指定的MRP Controller的物料,在反冲时,不应用报废率,而只使用标准的数量去反冲消耗。
Class :ZCL_IM_CL_PP_CONF_GMVT
Methoed IF_EX_WORKORDER_GOODSMVT~BACKFLUSH
code:

method IF_EX_WORKORDER_GOODSMVT~BACKFLUSH.
  data:zMSEG type IMSEG,
       zausch type DECIMALS 4,
       zdispo type dispo.

  TYPES:
    BEGIN OF LTY_STPO,
      AUSCH TYPE STPO-AUSCH,
      DATUV TYPE STPO-DATUV,
    END OF LTY_STPO.
  DATA:
        LT_STPO TYPE STANDARD TABLE OF LTY_STPO,
        LS_STPO TYPE LTY_STPO.

* call :1244666 disable the scrap rate for confiramtion for plant 8900
  "I_ORDER_HEADER-stlnr.AUSCH scrap
  if I_ORDER_HEADER-WERKS '8900'.
    loop at CT_COMPONENTS into zmseg.
      SELECT SINGLE dispo into zdispo from marc where matnr zmseg-MATNR and dispo in ('713','714','715','T04','T06','T08','T11','T22').
      if zdispo is NOT INITIAL.
       SELECT SINGLE AUSCH INTO zausch FROM RESB WHERE RSNUM zmseg-RSNUM AND MATNR zmseg-MATNR.
         zausch +  zausch / 100.
        zmseg-erfmg zmseg-erfmg / zausch .
        clear:zausch.
        MODIFY CT_COMPONENTS from zmseg TRANSPORTING erfmg.
        endif.
        clear:zdispo.

      endloop.
    endif.
endmethod.

CO13取消确认时物料未被撤回

检查COGI。
可能是因为数据被某人锁定,使得过账不能进行,而后进入了COGI。

Yield Of Operation for Next Operation

Yield Of Operation for Next Operation
Original URL:http://www.erpgreat.com/production/yield-of-operation-for-next-operation.htm

How to set yield of operation as Operation qty for next Operation?

 
We are experiencing the following problem:
 
In our Production Orders we have a number of Operations and if we release an Operation, WM automatically creates a Transfer Order (WM Material Staging) to provide the shop floor with the necessary materials/components required to execute that Operation.
Now the first Operation can be for say 100 EA.
 
In the Production Order confirmation, there is always some amount of scrap in our case, so the first Operation could be confirmed as having 80 EA of Yield and 20 EA of Scrap (we do not have/work with Rework).
 
Now we want the quantity to produce AND the WM Material Staging quantity for the next/second Operation to be for the Yield quantity of the previous Operation, in this case 80 EA.
 
However, SAP does not adjust the Operation quantity of the second Operation ( CO03 -> Operation overview/F5 -> double click on second Operation -> tab Qties/Activities -> field Operation Qty – AFVGD-MGVRG ) to the Yield quantity confirmed in the first Operation ( CO03 -> Operation overview/F5 -> double click on first Operation -> tab Qties/Activities -> field Confirmed Yield – AFVGD-LMNGA) and consequently too much components (20 EA) are provided with the WM Material Staging for the second Operation.
 
How can we configure SAP to set the Yield of the previous Operation as the Operation quantity for the next Operation? I tried OPK4 but could not find a parameter with which we can control this.
 
Might it be we need a user exit for this (for instance CONFPP01/EXIT_SAPLCORF_101)?
 
Solution:
 
Do the following steps:
 
In the customizing of the Production Scheduling Profile (OPKP);
 
The indicator "Adjust Quantities in Order to Actual Values" (V_TCO43-FLG_QUAN_A) must be ticked.


Wednesday, August 21, 2013

ME2O Test SAP


User interface:



Field--
   Components Provided: the component we provided to vendor for assemble .
   Assembly: the product was assembled by vendor .

 With Reqts from SC requisns : It will display all requirement from PR(must assigned to a vendor)/PO  (exclude planned order)
 W.Ext Receipts from Requisns It will display the qty that other vendor will delivery to this subcontract vendor From PRs
 With Ext.Receipts from POs It will display the qty that other vendor will delivery to this subcontract vendor from POs.


Result:


Friday, August 16, 2013

Notification can't be complete due status OSSO

   When we trying to complete a quality notification,system given an error message:
    Error:Outstanding task exist .

The cause is,sometimes ,when we delete a task with status OSSO,the system didn't update status of notification head data.

Correction:
you need write a ABAP program to delete this items with delete flag(True delete,before is fake).
we create a program named :ZQM25_DEL01

Once you delete this abnormal task or items ,you still need insert a new notification task or item task ,and change it status to "complete",then SAP will change the status of head of notification(IW52), save and enter this notification again,and delete this useless task and save .Now ,you can normally complete your notification .

Define supply area and create link to storage location

TC : PK05

IMG: Logistics execution - > Warehouse Management -> Interfaces -> Define Production .






CT04 CL02 类、特性设置的测试结果。


Material : A58995A0055
CLASS TYPE 001 ,CLASS NAME: Z_SEMIFG_LCS
CHAR: Z_CUSTOMS_GRP_SEMIFG


Ct04 建的值可以在物料主数据中选择。
但一旦用CL02 OVERWIRTE后,则再不能直接用CT04直接维护,否则在物料主数据中无法选择于
如果用CT04维护,也可以通过OVERWIRTE VALUE中的UPDATE去获取值。





选中需COPY的,再COPY就可以看到了。



结论,如果一个特性用在不同的类中,且其特性值可以共用,则不要使用CL02中的OVERWRITE VALUE,否则,可以使用。