Collect cost against sales order / sales order item
Dear All
Is it possible to collect costs against sales order or sales order item.
The cost is no.of hours the employee booked time against sales order / sales order item.
Regards
Deepu Pillai
Hi,
Yes. The Sales Order Item can be made cost object to collect the cost. But your requirement is to charge the customer for the no of hours employee worked on that sales order. Through condition type, you can book the expenditure and invoice the customer accordingly. It is purely SD area.
Trust this helps much!
Cheers!
Similar Messages
-
Belated costs during a make-to-order/sales order controlling process
Hello Experts,
We implemented a make-to-order process where we collect actual costs of a repackaging process. The cost object of that process order is the sales order item (VBP, Vertriebsbelegposition). So far that cost collection works absolutely fine and the actual costs are collected in the conditions of the sales order item.
Unfortunately it can be the case that after billing the sales order item, operations debits the process order with an activity (e.g. quality analysis). After using transaction KO88 the balance of the process order is posted to the sales order item even if it has been already billed. But when I open the sales order with TA VA02 the conditions of these sales order item are already grey and not editable anymore. And therefore it is not possible to actualize the price and the extra costs of the belated positing of operations.
Do you know any possibilty to creat a second bill of the same sales order item to collect the additional costs?
BR
MikeHi,
Finance person would need to create a JV to knock off those costs. The same wont be possible through SD route again.
Regards,
Amit -
Free Goods - Not showing in sales order as subsequent item
Dear Gurus,
I have created a Free Goods procedure determination and maintained it at Customer/ Material level in VBN01.
The procedure is inclusive as follow:
For every 100 units purchased, the customer gets 10 units free
However at sales order level there is no indication at all that the Free Goods are being triggered.
When I check the pricing procedure, the condition record NA00 that I have used doesn't show-up.
There is no subsequent item in the sales order under the main item showing the Free-Goods discount.
Could you please help me go through the customizing process to correct the error?
Many thanks for your help
ChrisHi,
FYI
Free goods can be configured in SAP by following two methods.
(1) Manually
(2) Automatically
Manually: By specifying higher level item category for a line item we can determine free goods as a free of charge
items during sales order processing.
Automatically: System proposes free of goods automatically in the sales order. In automatic free goods
configuration system follows two methods.
(1) Exclusive
(2) Inclusive
Exclusive: System configures free goods in exclusive option like free goods quantity is going to be excluded in
order quantity. Ex: For 10 items 1 item is free. Then system configures free goods as 10 + 1.
Inclusive: System configures free goods in inclusive option like free goods quantity is going to be included in order
quantity. Ex: For 10 items 1 item is free. Then system configures free goods as 9 + 1.
NOTE: In exclusive method other items also can be given as a free of charge items for order item.
Configuration steps: INCLUSIVE
SAP follows condition technique to configure free goods automatically.
Maintain pricing procedure
Path:
IMG
Sales and distribution
Basic functions
Free goods
Condition technique for free goods
Maintain pricing procedures
Choose free goods procedure NA0001 and select it
Click on copy icon on application tool bar and rename it Ex: SRI001
Condition type is NA00 and Access sequence also NA00
Save it and Exit
Activate free goods determination
Path:
IMG
Sales and distribution
Basic functions
Free goods
Condition technique for free goods
Activate free goods determination
Go to new entries
Specify our sales area, document pricing procedure, customer pricing procedure and specify our free goods
procedure Ex: SRI001
Save and Exit
Control free goods pricing
Path:
IMG
Sales and distribution
Basic functions
Free goods
Control free goods pricing
Control pricing for free goods item category
Choose item category TAN from position button
Specify the pricing as X = Pricing standard
Choose item category TANN from position button
Specify pricing as B = Pricing for free goods (100% discount)
Save and Exit
Maintain condition type for 100% discount
Path:
IMG
Sales and distribution
Basic functions
Free goods
Control free goods pricing
Maintain condition type for 100% discount
Check whether condition type R100 is available or not (R100 = is 100% discount)
Exit
Maintain pricing procedure for pricing
Path:
IMG
Sales and distribution
Basic functions
Free goods
Control free goods pricing
Maintain pricing procedure for pricing
Choose our pricing procedure form position button and select it
Click on control data icon under dialog structure
Include condition type R100 between the steps of discounts.
Specify requirement = 55 and Routine No: 28 (100% discount) in Alt. CBV.
Save and Exit
Requirement 55: The Routine No. 55 is assigned to condition type R100. If the user wants to look both revenues
and sales deductions for the free items since the product that we are going to give as a free of charge item can be
sold separately in the same sales order. Then the item category of free goods TANN has the pricing value as B.
Then the system calculates value of the free goods as 100% discount as we discussed above the same material [that
is going to be given as a free of charge item]. Some times the same item is going to be given as a normal item.
Then system calculates price for normal item and system should not calculate price for same item [free of charge
item]. So as to perform this calculation we have to assign Requirement/Routine 55 is to assign condition type
R100.
Alt CBV = 28: [100% Discount] Condition type R100 should be taken as a ZERO value. The formula 28
calculates condition type R100 value as a ZERO.
Set Transfer of cost to Main item: [Copy control]: Transaction code: VTFL
Copy control is a concept by which the system copies the data from source document to target document.
Path:
IMG
Sales and Distribution
Basic functions
Pricing
Free goods
Control free goods pricing
Set transfer of cost to main item [copy control]
Choose Billing type F2 Delivery document type LF from position button
Select it and click on itemicon under dialog structure
Choose item category Ex: TAN
Click on details icon
Click on display or change icon
Choose item category as TAN again
Select it and click on details icon
Check cumulative cost
Save and Exit
Cumulative cost controls whether the cost value (VPRS) is to be copied from relevant sub items into main items.
Sub items cost are not relevant for billing.
Maintain copying control: Transaction code: VTAA
Path:
IMG
Sales and Distribution
Basic functions
Free goods
Control free goods pricing
Maintain copying control
We maintain copy control at item level category for free goods. In this field we can control whether the
free goods should also be transferred when we copy from one document to another document.
Choose source document type as QT and target document type as OR from position button
Select it and click on item control button under dialog structure
Choose AGN item category from position button
Click on display or change button
Again click on AGN
Click on details icon
Check Re u2013 explode structure/Free goods
Save and Exit
This indicator controls whether the free goods are copied from source document to target document or redetermined
again.
Maintain condition records for Free goods [INCLUSIVE]: Transaction code: VBN1
Path:
Logistics
Sales and Distribution
Master data
Conditions
Free goods
VBN1 u2013 Create
Specify condition type NA00
Click on key combination
Specify all the data
Choose inclusive by clicking the INCLUSIVE/EXCLUSIVE push button
Specify the Material No., Minimum order quantity (Ex: 10), Specify [from] the free goods quantity (Ex:
10), Unit of measure u201CEAu201D (Each), Free goods (are free goods) as u201C1u201D.
Calculation procedure: We can specify the Routines for calculation procedure as 1 or 2 or 3
1 = Pro u2013 Rata (Proportionate): Ex: If the customer places order for 100 cases of material u201CXu201D, then customer
receives 20 cases of same material as free. That means, the business can say that buy 100 and get 20. If the
customer orders for 162 cases, then system automatically grants 32 cases as a free of cost (162x20/100 = 32 Cases).
2 = Unit of reference: When customer orders for 100 cases of material u201CXu201D, then the customer receives an
additional 20 cases as a free of goods. That means business can say that buy 100 get 20 free by granting 200 free
for every full of 100 cases. The customer places order for 162, then system automatically grants only 20 cases
(100x20/100=20).
3 = Whole unit: When a customer places order for 100 cases of material u201CXu201D, then the customer receives additional
20 cases of material u201CXu201D as a free of goods item. The business can say that buy 100 and get 20 free of charge items.
If the customer orders for increment of 100 that means 200 (100 + 100) items, then he gets 40. If he placed the
order for 101 u2013 199 items he gets only ZERO.
Save and Exit
Condition record for EXCLUSIVE: Transaction code: VBN1
Path:
Logistics
Sales and Distribution
Master data
Conditions free goods
Specify the discount type u201CNA00u201D
Click on key combination
Click on Choose inclusive by clicking the INCLUSIVE/EXCLUSIVE push button
Specify the sales organization, distribution channel
Specify customer number and validity periods, material, minimum quantity, order quantity, unit of
measure, calculation procedure, free goods (3)
Specify additional material free goods (if other goods is going to be given as a free of charge item.
Save and Exit
Go to VA01 and raise the sales order for INCLUSIVE and EXCLUSIVE.
See the Free Goods effect.
Condition type NRAB = Free goods: Requirement = 59, Alt CBV = 29: [only for INCLUSIVE purpose]
Requirement 59: We have to assign requirement 59 to the condition type NRAB. If the customer buys 100 cases
of product u201CXu201D, then he receives 10 cases of the product free. If the user would not like the additional line item in
the sales order for free goods rather than the discount of the 10 cases is represent in the same line item as other 90
cases. If the free goods discount should not apply on credit for returns that do not make reference in the previous
document.
Alt CBV 29: The condition type NRAB is to be assigned with 29 formula to support inclusive free goods
agreement where the user would have to apply the discount to the order item rather than having a sub item
generated for the free quantity.
Ex: The customer orders for 100 cases of product u201CXu201D, 10 cases are free instead of having a free sub item generated
b the system to represent the free 10 cases, the user would like to have a discount applied to the 100 cases line item
equal to the value of the 10 cases.
NOTE: Free goods can only be configured on document category type u201CCu201D (OR). That means we cannot configure
free goods on Inquiry and Quotation.
Header Conditions
SAP has delivered two kinds of condition types: (1) Header conditions
(2) Item conditions
Header conditions: The value of the header condition applies to the whole items in the sales document.
Header conditions do not have any access sequence.
So that, value of the header conditions should be maintained manually.
Ex: HA00, HB00
Configuration settings:
Include condition types HA00, HB00 in V/08 in between the discount condition types.
Go to VA01 and raise the sales order
Select line item and go to Go to button
Header Conditions
Include condition type HA00 HB00 with values [HA00 is percentage discount and HB00 is absolute
discount]
If HA00 = 1%, then system applies 1% on base value on all items in the sales order.
If HB00 = 100/- Rupees, then system applies 100/- Rupees proportionately to all items in the sales order. If sales
order has two items, then system applies 50/- Rupees to each item.
Click on activate button
Go to item condition screen
Check how system applied header conditions for line items
NOTE: Make sure that sales order contains more than one item.
Condition Scales
We can maintain scales for each and every condition type. So that we can determine pricing conditions values
depending upon the range of the order quantity.
Ex: If you maintain condition record for PR00 for material one as a 100/- Rs. For 1 material, then we can maintain
scales for this material like below:
From Quantity Price
1 u2013 10 1000
11 u2013 20 999
21 u2013 30 998
31 u2013 40 997
Configuration settings:
Go to VK11
Maintain condition record for PR00
Select line item and click on scales icon on the application tool bar
Maintain scales and scale rates accordingly
Save and Exit
Go to VA01 and raise the sales order
Enter the order quantity according to the scale and see the scale effect
Regards,
Siva -
Production Order and Internal Order for each item of the sales order
Hi
I am developing Make To Order Report where I have to display the MTO Line Items and non MTO Line Items. For non MTO Line Items I have to display Internal order with Planned and Actual Costs and also Production Order with Planned and Actual Costs. Could anybody tell how to get the Internal order no and production order with Planned and Actual costs for each line item for a sales order.
Thanks
NagaHi,
You can get the Production orders, Planned orders, Internal orders generated for Sales order item from AFPO table (use fields KDAUF-Sales order number & KDPOS-Sales order item). Then to identify the order type use order category (AUTYP) from table AUFK.
Once you have the Production/internal order, you can ge the cost from COSS and COSP table. Use the object number from AUFK to get the cost entries from COSS & COSP.
You can use the following sample code as reference.
Hope this is helps.. (Don't forget to mark it... )
Form GET_COSTS *
Get the material cost, labour hours and the labour cost for the *
sales order material. *
There are no interface parameters to be passed to this subroutine. *
FORM GET_COSTS.
DATA V_OBJNR LIKE AUFK-OBJNR.
DATA v_menge LIKE vbap-kwmeng.
SELECT SINGLE OBJNR
INTO V_OBJNR
FROM AUFK
WHERE AUFNR EQ AFPO-AUFNR.
SELECT * FROM COSS
WHERE OBJNR EQ V_OBJNR
AND WRTTP IN ('01', '04'). " p_wrttp. "Labour Cost ( Plan, Actual)
PERFORM GET_VALUES_FROM_COSS.
ENDSELECT.
SELECT * FROM COSP
WHERE OBJNR EQ V_OBJNR
AND WRTTP IN ('01', '04') " p_wrttp
AND KSTAR NE '0000510033'. " EQ p_kstar2. "Material Cost
PERFORM GET_VALUE_FROM_COSP.
ENDSELECT.
Get the unit cost of the production order by dividing the production
cost by the order quantity. The result will be multiplied by the
GL posting qunatity (Delivery quantity) to get the production cost
for the quantity being deluivered.
IF NOT AFPO-PSMNG IS INITIAL.
OUT_REC-LABOUR_HOURS_ACT = OUT_REC-LABOUR_HOURS_ACT / AFPO-PSMNG.
OUT_REC-ADDNL_LABOUR_HOURS_ACT =
OUT_REC-ADDNL_LABOUR_HOURS_ACT / AFPO-PSMNG.
OUT_REC-LABOUR_HOURS_PLN = OUT_REC-LABOUR_HOURS_PLN / AFPO-PSMNG.
OUT_REC-ADDNL_LABOUR_HOURS_PLN =
OUT_REC-ADDNL_LABOUR_HOURS_PLN / AFPO-PSMNG.
OUT_REC-LABOUR_COST_ACT = OUT_REC-LABOUR_COST_ACT / AFPO-PSMNG.
OUT_REC-ADDNL_LABOUR_COST_ACT =
OUT_REC-ADDNL_LABOUR_COST_ACT / AFPO-PSMNG.
OUT_REC-LABOUR_COST_PLN = OUT_REC-LABOUR_COST_PLN / AFPO-PSMNG.
OUT_REC-ADDNL_LABOUR_COST_PLN =
OUT_REC-ADDNL_LABOUR_COST_PLN / AFPO-PSMNG.
OUT_REC-MATERIAL_COST_ACT = OUT_REC-MATERIAL_COST_ACT / AFPO-PSMNG.
OUT_REC-ADDNL_MATERIAL_COST_ACT =
OUT_REC-ADDNL_MATERIAL_COST_ACT / AFPO-PSMNG.
OUT_REC-MATERIAL_COST_PLN = OUT_REC-MATERIAL_COST_PLN / AFPO-PSMNG.
OUT_REC-ADDNL_MATERIAL_COST_PLN =
OUT_REC-ADDNL_MATERIAL_COST_PLN / AFPO-PSMNG.
ENDIF.
Multiply the calculated Unit Production costs with the GL quantity to
get the actual production cost of the quantity delivered.
Calculation for Labour Hours
OUT_REC-LABOUR_HOURS_ACT = OUT_REC-LABOUR_HOURS_ACT *
OUT_REC-QUANTITY.
OUT_REC-ADDNL_LABOUR_HOURS_ACT = OUT_REC-ADDNL_LABOUR_HOURS_ACT *
OUT_REC-QUANTITY.
OUT_REC-LABOUR_HOURS_PLN = OUT_REC-LABOUR_HOURS_PLN *
OUT_REC-QUANTITY.
OUT_REC-ADDNL_LABOUR_HOURS_PLN = OUT_REC-ADDNL_LABOUR_HOURS_PLN *
OUT_REC-QUANTITY.
Calculation for Material Cost
OUT_REC-MATERIAL_COST_ACT = OUT_REC-MATERIAL_COST_ACT *
OUT_REC-QUANTITY.
OUT_REC-ADDNL_MATERIAL_COST_ACT =
OUT_REC-ADDNL_MATERIAL_COST_ACT * OUT_REC-QUANTITY.
OUT_REC-MATERIAL_COST_PLN = OUT_REC-MATERIAL_COST_PLN *
OUT_REC-QUANTITY.
OUT_REC-ADDNL_MATERIAL_COST_PLN =
OUT_REC-ADDNL_MATERIAL_COST_PLN * OUT_REC-QUANTITY.
Calculation for Labour cost
OUT_REC-LABOUR_COST_ACT = OUT_REC-LABOUR_COST_ACT *
OUT_REC-QUANTITY.
OUT_REC-ADDNL_LABOUR_COST_ACT = OUT_REC-ADDNL_LABOUR_COST_ACT *
OUT_REC-QUANTITY.
OUT_REC-LABOUR_COST_PLN = OUT_REC-LABOUR_COST_PLN *
OUT_REC-QUANTITY.
OUT_REC-ADDNL_LABOUR_COST_PLN = OUT_REC-ADDNL_LABOUR_COST_PLN *
OUT_REC-QUANTITY.
Get the planned material cost from the total of the planned cost of
the component materials in the production order confirmations.
SELECT BWART MENGE MATNR SHKZG FROM AUFM
INTO (AUFM-BWART, AUFM-MENGE, AUFM-MATNR, AUFM-SHKZG)
WHERE AUFNR EQ AFPO-AUFNR.
CHECK AUFM-BWART NE '101'.
READ TABLE I_MBEW WITH KEY MATNR = AUFM-MATNR
BWKEY = AFPO-DWERK.
IF SY-SUBRC NE 0.
SELECT MATNR BWKEY ZPLPR LPLPR PEINH
FROM MBEW
INTO I_MBEW
WHERE MATNR EQ AUFM-MATNR
AND BWKEY EQ AFPO-DWERK.
APPEND I_MBEW.
ENDSELECT.
ENDIF.
IF SY-SUBRC EQ 0.
IF I_MBEW-ZPLPR NE 0.
IF AUFM-SHKZG EQ 'H'.
OUT_REC-PLANNED_MATERIAL_COST =
OUT_REC-PLANNED_MATERIAL_COST +
( I_MBEW-ZPLPR * AUFM-MENGE / I_MBEW-PEINH ).
ELSE.
OUT_REC-PLANNED_MATERIAL_COST =
OUT_REC-PLANNED_MATERIAL_COST -
( I_MBEW-ZPLPR * AUFM-MENGE / I_MBEW-PEINH ).
ENDIF.
ELSEIF I_MBEW-LPLPR NE 0.
IF AUFM-SHKZG EQ 'H'.
OUT_REC-CURRENT_MATERIAL_COST =
OUT_REC-CURRENT_MATERIAL_COST +
( I_MBEW-LPLPR * AUFM-MENGE / I_MBEW-PEINH ).
ELSE.
OUT_REC-CURRENT_MATERIAL_COST =
OUT_REC-CURRENT_MATERIAL_COST -
( I_MBEW-LPLPR * AUFM-MENGE / I_MBEW-PEINH ).
ENDIF.
ENDIF.
ENDIF.
ENDSELECT.
Get the Future material cost per Unit by deviding the calculated
Future material cost above with the goods reciept quantity to, then
multiply the unit cost with the GL quantity to get the Future material
Cost for the Quantity delivered. (Quantity in the entery from GLPCA
Table).
IF NOT AFPO-WEMNG IS INITIAL.
OUT_REC-PLANNED_MATERIAL_COST =
OUT_REC-PLANNED_MATERIAL_COST / AFPO-WEMNG * OUT_REC-QUANTITY.
OUT_REC-CURRENT_MATERIAL_COST =
OUT_REC-CURRENT_MATERIAL_COST / AFPO-WEMNG * OUT_REC-QUANTITY.
ENDIF.
ENDFORM. " GET_COSTS
Form GET_VALUE_FROM_COSP *
Get the Material cost from COSP table. *
There are no interface parameters to be passed to this subroutine. *
FORM GET_VALUE_FROM_COSP.
FIELD-SYMBOLS: <FS> TYPE ANY.
DATA: V_COMPONENT TYPE I.
Cummulate the posting values of all the 16 period buckets as to get
total production order cost. This is to handle the aprtial posting of
prodction order values in diffrent periods.
V_COMPONENT = 15.
DO 16 TIMES.
ADD 1 TO V_COMPONENT.
ASSIGN COMPONENT V_COMPONENT OF STRUCTURE COSP TO <FS>.
IF COSP-WRTTP EQ '04' AND COSP-KSTAR EQ P_KSTAR2.
ADD <FS> TO OUT_REC-MATERIAL_COST_ACT.
ELSEIF COSP-WRTTP EQ '04'.
ADD <FS> TO OUT_REC-ADDNL_MATERIAL_COST_ACT.
ELSEIF COSP-WRTTP EQ '01' AND COSP-KSTAR EQ P_KSTAR2.
ADD <FS> TO OUT_REC-MATERIAL_COST_PLN.
ELSEIF COSP-WRTTP EQ '01'.
ADD <FS> TO OUT_REC-ADDNL_MATERIAL_COST_PLN.
ENDIF.
ENDDO.
ENDFORM. " GET_VALUE_FROM_COSP
Form GET_VALUES_FROM_COSS *
Get the Labour cost and Labour hours from the COSS table. *
There are no interface parameters to be passed to this subroutine. *
FORM GET_VALUES_FROM_COSS.
FIELD-SYMBOLS: <FS1> TYPE ANY,
<FS2> TYPE ANY.
DATA: V_COMPONENT1 TYPE I,
V_COMPONENT2 TYPE I.
Cummulate the posting values of all the 16 period buckets as to get
total production order cost. This is to handle the aprtial posting of
prodction order values in diffrent periods.
V_COMPONENT1 = 15.
V_COMPONENT2 = 111.
DO 16 TIMES.
ADD 1 TO: V_COMPONENT1, V_COMPONENT2.
ASSIGN COMPONENT V_COMPONENT1 OF STRUCTURE COSS TO <FS1>.
ASSIGN COMPONENT V_COMPONENT2 OF STRUCTURE COSS TO <FS2>.
IF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ P_KSTAR1.
ADD <FS1> TO OUT_REC-LABOUR_COST_ACT.
ADD <FS2> TO OUT_REC-LABOUR_HOURS_ACT.
ELSEIF COSS-WRTTP EQ '04'.
ADD <FS1> TO OUT_REC-ADDNL_LABOUR_COST_ACT.
ADD <FS2> TO OUT_REC-ADDNL_LABOUR_HOURS_ACT.
ELSEIF COSS-WRTTP EQ '01' AND COSS-KSTAR EQ P_KSTAR1.
ADD <FS1> TO OUT_REC-LABOUR_COST_PLN.
ADD <FS2> TO OUT_REC-LABOUR_HOURS_PLN.
ELSEIF COSS-WRTTP EQ '01'.
ADD <FS1> TO OUT_REC-ADDNL_LABOUR_COST_PLN.
ADD <FS2> TO OUT_REC-ADDNL_LABOUR_HOURS_PLN.
ENDIF.
ENDDO.
ENDFORM. " GET_VALUES_FROM_COSS -
Sales order cost objective vs OKB9 Internal order cost object.
Hi All,
we facing an issue with sales order cost objective vs OKB9 cost object.
For IC PO service material, we assigned account assignment category 4.Reasonis Service material was not showing on G\R account.
The G\L account 7898788, we assigned to Service Item (material type DIEN) , for G\Cost 7898788 cost element is assigned in OKB9. Combination business + order 3478787.
Now conflict with sales order cost objective vs OKB9 internal order cost object.
While posting intercompany IR posting system thronging below error messageu2026
Enter only one true account assignment
Message no. KI249
Diagnosis
You made assignments to several objects in CO (cost center, order, project etc.). 2 of these have been created as true objects.
System Response
You are allowed only one account assignment for each cost-relevant account
How to resolve this issue.. Do I make any config changes in the system to overcome this issue?
Or any sub account to assin in VKOA config for internal orderu2026
Regards,
AdiHi Waman,
Thanks for your inputs.
Issue : IR failed to post for wax Sales Order -> ICPO - Error: Enter only one true account assignmentu2019.
Background:
Original setup in Test system & Productionu2013 account determination for servive (DIEN) account assignment category u20184u2019 was linked to G/L Account 34444444, As part of project orange u2019, account determination was linked to account u201889710100u2019.
Account u20188970100u2019 34444444 was replaced with 8970100 ,is not linked to any cost center & always post with reference to IC Sales Order as per config in OKB9 based on company code (US99) + cost element (89701100) + business area (9yyy). This caused a conflict while posting IR, system could not determine exact order for posting financial value.
Conflict: Actual Sales Order 34789343 is linked to PO via account assignment category & IC dummy sales order (8014331) is determine via config setting. Two cost objects cannot be linked to one IR G/L account booking.
Regards,
Adi -
Preli cost compo struc of production orders to sales orders -Non valuated
Hi experts
We use Non valuated sales order cost/settlement and assembly order processing. So production order is created from sales order and prel cost estimate is created in the production order. Now we notice that the cost component struc in production order is not copied into sales order. Only the EK02 is copied with total cost.
How to bring cost compo struc from production order to sales order ?
This may be a special cost estimate with costing and Is it possible to bring cost compo struc to copa record type A or F.
I know standard cost compo mapping in copa but I could not see the costing variant used in production order in copa master data configuration.
regards
KTIf the sales order is not a cost object, you cannot cost in it, and you can therefor also not see the cost component split.
When you sell the material, you can pull through the cost component to PA, via the material master using the COPA valuation strategy. However, only the info for the material in the sales doc line item.
You don't link to a costing variant, you link using the above valuation strategy and the costing key. The costing variant sits inside the costing key. -
Cost centre field in sales order account assignment screen
Hello all,
I am unable to find the settings for cost center field in sales order account assignment tab screen along with profit center and internal order. kindly let me know the path to select cost center.
Thanks in advance
RajuThe Cost Center Determination settings is in OVF3 - but there are some cases where the Cost Center must be exceptionally changed.
If the document category for order type in IMG VOV8 is defined to be "I" which belong to order type FD - Deliv.Free of Charge, then the field cost center is active for input during transaction VA01.
Alternatively, you can specify an order reason and assign a cost center to an order reason.
However the standard SAP works only at the header level though, so it would not work if cost center is needed on the line item.
The cost center are assign for such business transactions as :
- Free deliveries
- Returns
- Deliveries of advertising materials
You can also make cost center allocation dependent on the order reason, for example:
Order reason: Damage in transit
Order reason: Free sample
Both the IMG settings are done in transaction OVF3, either with/without the order reason. -
Sales order doc and item fields in customer line item report(FBL5N)
Hi All,
We have some billing documents and the accounting docs are created as well. However, in the FBL5N report, we are not able to display the sales order doc and item info even though the columns are avaliable in the layout.
Anyone can help?
Thanks,
TeoHiya,
You said you had the Order/Sales Doc field on the layout already.
Have you ever been able to view the Order? All I can view is the Billing Doc, and I would think that is logical, since the Order is not the immediately prceeding document for the Accounting Doc. The Accounting Doc is created off the Billing Doc and that is what is updated in BSEG. The Sales Order is not updated in BSEG (I haven't seen that happen).
In the event of a GR into stock posting, the Product Cost Collector or PO is the immediately preceeding document and hence updated in BSEG.
Cheers. -
Several cost centers in one sales order
The situation is.
Weu2019ve got the task to find solution how to create sales order document with several cost centers.
Now we use order reason to assign cost center in sales order.
We use only one order reason in one document and it means one cost center in one sales order document.
But we need to have opportunity to choose several cost centers. We mean assign different cost center for each item.
For example sales order items:
Material 1: Electricity u2013 X1 (cost center u2013 Y1);
Material 2: Gas u2013 X2 (cost center u2013 Y2 );
Material 3: Petrol u2013 X3 (cost center u2013 Y3);
u2026
Material n: Services u2013 Xn (cost center - Yn).
The document sequence :Quotation (VA21) -> SALES order (VA01) -> Billing (VF01)
Could you give me the recommendation or advice for this task?
Many thanks.HI,
The Cost Center Determination settings is in OVF3, the standard works only at the header level though, so it would not work if cost center is needed on the line item.
For this case I suggest to try from CO view:
A material is linked to a profit center. From this profit center you can determine a cost center using txn OKB9
In combination with the material's account assignment field and account determination customizing, an alternate revenue account can be determined for this material. ("Normal" revenue accounts are to be used in combination with CO-PA).
If this account is a cost element with category type "1" you need the entries in OKB9.
Hope this help!
Regards! -
Sales order with some items rejected.
Dear SD experts,
We have one scenario where in an order of multiple items, some items get rejected...not deleted... this happening but the overall order value doesnt change.
We are keen to have the overall order value to be after taking into consideration only those 'non-rejected' items, i.e. the reduced order value. Currently it shows considering ALL the items. Is there any setting for this anywhere?
Thanks in advance for your support.
Regards,
TariqIf an item is rejected and if the value still flows in the sales order then you have to check the spro settings
TCode OVAG where you can define whether the system can consider the value or not by maintaining X or Y in the field Statistical value.
This is menu path
img-sd-sales-sales documents-sales document item----define reason for rejection
Against the reason which you are choosing in sales order, blank should be maintained
Dont have the values X or Y
This will 100% satisfy your requirement
If blank maintained then the rejected value and deleted items values will change while saving
Regards
Raja -
Migrate Open items - Sales orders/ purchase orders and unbilled deliveries
Hello All
Can you please tell me the best practice to migrate open sales orders, purchase orders and deliveries due for billing at Cutover to the new system?
Also how can the historical data be migrated? What all comes under historical data?
Many Thanks
CMThe way the sales order data is migrated is largely dependent on the number of orders you are intending to migrate. 'Best practice' would suggest you do the following:
1) Do not migrate any completed orders (they should be kept as 'read only' in the legacy system)
2) Get the business to close as many orders as possible before the cutover
3) Stop entry of any new orders during the cutover the period - hold them back and enter them directly into SAP.
Once you have a manageable numebr of orders to migrate you really have two options:
Upload the basic order into SAP (we have usually done this from a spreadsheet using ALE or some similar tool). The basic data is confirmed to order type, order number, order date, customer number, material code and quantity. Any data in addition to this is then added manually to the system by the users e.g. pricing info (this is really important as pricing data is really difficult to map). To do this you will need to have sequenced this correctly e.g. ensuring that the data and config for both the materials and customers are all already in the system before you load the orders.
The second option would be to load them all completely manually - which is why I said at the beginning that really, the best approach is determined by the quantity of orders you need to migrate.
I am sure other people will have used other methods but these two are the ones we usually use.
(edit) P.S. you must remember that 'open' sales orders are any orders that are not yet billed so even if an order is delivered in your legacy system if it has not been invoiced you MAY need to migrate it. But as I metioned at the beginning - it would really be better to complete that order (i.e. bill it) before you close the legacy system so that it does not need to be migrated.
========
For deliveries - again, there is no simple fix for this. Because the migration of a delivery demands the migration of an open sales order, the best approach is probably to load the sales order basic data, get the users to complete the sales orders (as described above) and then run the delivery due lists or manually and individually deliver each sales order item.
You cannot migrate ONLY the deliveries, you need to migrate the preceeding order(s) as well. But, again, if you take the approach of closing as many as possible in the legacy system, it will be much easier than migrating them.
Edited by: charlieclown on Jun 25, 2009 4:19 PM -
Delivery document - sales order - no stock items
Hello,
when we create a delivery document out of a sales order, we face the problem that certain material items in the sales order with no stock will be copied to the delivery document. Other materials that have no stock will not be copied into the delivery document.
Where in SAP can I do the customizing for that situation?
Thanks
Anne> when we create a delivery document out of a sales order, we face the problem that certain material items in the sales order with no stock will be copied to the delivery document. Other materials that have no stock will not be copied into the delivery document.
> Where in SAP can I do the customizing for that situation?
Generally when Availability check is active system should not copy the Material which are not available. I can think this may be because of following reason
1.. Check your configuration of the Item Category using 0VLP. There is stock determination rule fields, i dont have access to SAP so not sure but please check whether there is any setting.
2. check in copy control VTLA for the item category whether you have maintained the following:-
Order requirements-->101
Item data-->101
Update document flow-->X
Pos./neg.quantity-->+
And if these seems ok, Then you have to check the routines in the copy controls.
Thanks,
Raja -
Closing sales order containing cancelled item
Hello,
This is the scenario. You create a sales order containing 3 items and add the order. One of the items then gets cancelled (in item master data). You then try and close or cancel the order. A red line error message is displayed saying 'Item cancelled' with the item code after it. Is there a way of closing a sales order which contains a cancelled item? I have tried removing the item from the order but am unable to update it afterwards - it shows the same error.
Many thanks,
KateHello Kate,
A precaution is always needed when you cancel any items. You need run a simple query such as:
SELECT * FROM RDR1 T0 WHERE T0.ItemCode = '[%0\]' to check any Sales Orders contain this code.
Thanks,
Gordon -
Creation of sales order from idoc; items referencing to different contracts
Hi All,
My requirement is to create sales order from an idoc.
IF a sale order contains multiple items , then the order should be created with contract referenced
-at the So item level, the valid contract found for each material is different
hence am not able to use the following bapis
BAPI_SALESORDER_CREATEFROMDAT2 is not triggering the copy controls.
BAPI_SALESDOCUMENT_COPY i can give only one reference document
Please help
Thanks
DeepaHi Deepa,
Following link can help you for creating sales order with reference
http://msdn.microsoft.com/en-us/library/cc185190.aspx
http://www.sap-img.com/fu036.htm
Award points if useful
Thanks,
Ravee.. -
How I can get the Billing Type for the sales order and its items
How I can get the Billing Type for the sales order and its items. I mean from which SAP tables and how?
Hi,
You need to use two tables.
First use VBFA. Enter the sales order number in the field Predecessar and the value M in SubCt field. This will give all the billing document number for the sales order items.
Then use the billing document numbers in table VBRK, where in you can get the billing document type.
Regards,
Maybe you are looking for
-
ITunes 9.0.3 and 1/2 Star Rating
I recently upgraded from a G4 PowerBook running OS 10.4.11 to a used MacBook Pro with 10.6.2 but with iTunes 8.0 installed. I've since upgraded to iTunes 9.0.3 which connects without a flaw to my iTunes music folder, kept on a wireless external hard
-
How do I fix yellow spots on face and background with Premiere Pro/After Effects CS4?
Hi, I have the CS4 version of pretty much all Adobe products. I have to color correct and edit a video that was shot during a seminar inside a conference room with an average digital camera. The camera zoomed in a lot on the subject when he was tal
-
MDX - How to group results to calculate the average
Hi, I have the following MDX query which selects total unique visits per day between a range of my choosing: WITH MEMBER [Measures].[MyAvg] AS Round( AVG( EXCEPT([Dim Date].[Day Of Week].Members, {[Dim Date].[Day Of Week].[All].&[1],[Dim Date].[Day O
-
Settings that I need to change so no restrictions on reader enabled forms
Hi, I have a reader enabled form that needs to be filled in with a digital signature that needs to be added with a submit button to email to client however I don't want the restrictions. Just wondering what the settings are that I need to change so i
-
Can anyone help me embed an rss feed
I am trying to embed an rss feed. Any help available?