Sunday, May 18, 2014

Cost Distribution in the Case of Order Split


​Cost Distribution in the Case of Order Split 

Use

If an order is split, costs of the parent order already incurred must be transferred proportionally to the child order. This is achieved using a by-product that is an individually valuated material subject to a batch management requirement.
For this by-product, the goods receipt posting of the parent order is valuated with the proportional planned costs up to the time of the order split. As a result, the parent order is credited accordingly and at the time of the goods issue of the by-product to the child order, the latter is debited with the same costs.

Integration

The order split is integrated into Accounting.

Prerequisites

You have created an individually valuated material that is subject to batch management:
●  You have set the indicator for batch management requirement in the work scheduling data of the material master record.
●  You have entered CH (batches) for the availability check in the MRP data of the material master record.
●  You have specified individual batch valuation (Autom. Batch) as the valuation category in the accounting data of the material master record (see Batch Management documentation Split Valuation with Batches).

Features

The by-product is assigned to the split operation of the parent order as a component. For the by-product, the split quantity is specified as a negative quantity (see Co- and By-Products and Co- and By-Products: Prerequisites).
If the order is split and a child order is created, a reservation is automatically created for the by-product with a valuated batch. The system uses the movement type 531 (receipt, by-product) for this purpose.
The system automatically assigns the by-product to the first operation of the child order as a stock component with a requirement quantity that corresponds to the split quantity and the batch that was generated at the time of the reservation.
To determine the proportional costs for the by-product in the parent order, the planned costs of all previous operations are determined and distributed according to the relationship of split quantity to operation quantity of the split order.
Example

Operation
Op. qty
Costs
10
10 pc
100 EUR
20
10 pc
200 EUR
30
10 pc
300 EUR
40
10 pc
400 EUR

Total costs: 1000 EUR
An order split occurs at operation 30 with the split quantity of 4 pc.
The value for the by-product is determined as follows:
Costs (operation 10) + costs (operation 20) * split quantity/operation quantity = (100 EUR + 200 EUR) * 4 pc/10 pc = 120 EUR
Overheads and process costs are not assigned to an individual operation. These are calculated during the determination of the value of the by-product on the basis of the planned costs assigned to the previous operations.
Detailed Statement of Costs
You can calculate the value of the by-product if you display the detailed statement in the production order via Goto Costs Display Detailed Statement (Itemization)and choose the layout ISAP06 Operations (Grouped).
Total the planned costs of the operations prior to the order split (include any overheads and process costs for these) and multiply the planned costs by the factor from split quantity/operation quantity.
Order Split at First Operation
A special situation is the order split at the first operation. Prior to the first operation, no costs will have been incurred. The by-product is therefore valuated with the value 0. To enable the planned costs to nevertheless be determined without errors, in this case the BOM item of the by-product is set to "not relevant to costing" on the detail screen of the BOM item.
Business Add-In BADI_MAN_ORDER_SPLIT_VAL
The price of a by-product can also be specified or changed via the BAdI BADI_MAN_ORDER_SPLIT_VAL.
●  You can use the SET_PRICE method to specify a price instead of performing the calculation described above.
●  You can use the SET_PRICE_AFTER_CALCULATION method to change the calculated price, thus taking a lower product quality into account, for example. You can also prevent the order status LSPL (locked through splitting) here, by specifying a price in the event of a faulty price determination (e.g. the price is zero even though the first operation was not split).
 


ABAP: how to find logical database from table name.



Go to transaction <b>SE36</b>

Click <b>Extras -> Table usage</b>

Supply the Table name and hit enter.

A Display Logical Database will be shown on a pop-up windows.

SLDB: logical database manager.


Note: 1961265 Not all characteristic results found




In the new upgraded system(EHP5) , once the first char. result of inspection lot is null, it can cause no results return from Logical database PGQ.  Thus in case, all program related to obtain the result from LDB PGQ will get nothing. This is cause by SAP program error.

Before correction, this part is blank.


SAP Low performance of MB24/MB25

How to create a production cost collector(PCC)

basic data required:
BOM
ROUTING
PRODUCTION VERSION
MAINTAIN TABLE(sm30) ZCO25TZUKZ


​then.​

CK

​11N Creat material cost estimate with quantity structure. (Cost variant ZPC1)
Ck94 Change Mixing Ratios
 Sample case : 8000/AA3489400DC actual qty -100
zco25_t106 automatic assignment of PKOSA to cost object hierarchy .
kkf6n create cost collector

Solution of split OB.

三个方案,
1、依据库存地点去决定不同的shipping point。SPRO- MM -Purchase order - Set up stock transport order - Set up stock transfer between storage location- setup storage  location dependent shipping point determination - assign shipping points according to storage location.
2、依据WM NUMBER去split OB.  spro- LE- shipping - Deliveries - define split criteria for deliveries.
选择 determine delivery split per warehouse number.
3、通过ABAP去编写ROUTINE.