Costing run for a material with alternative BOM
Hi Friends,
My requirement is to have product costing for a material with 3 different BOMs, in CK11N i can change the alternative BOM number to have costing run for 3 differesnt boms, but in ck24 how to proceed, My client requirement is such that the standard price should be the average price of the costing run from 3 different boms, and they are not interested in manual price change in MR21
Regards,
Arun Kumar R V
Hi Arun,
You can have a Standard cost estimate based on only one of the alternative BOM and Routing. This alternative is selected based on the business ie., whichever alternative is generally used in production frequently. This will be the std cost and whenever you do the production using the other alternatives, the difference in cost will be captured as Variance.
There is no option of having average or cost estimate for each alternative at the same time.
There is absolutely no use in maintaining price in MR21 for an in house produced material, since during Prod Order process the planned costs will be arrived at based on the quantity structure of BOM & Route only.
Thanks & Regards,
Vijaya Bhaskar A
Edited by: Vijaya Bhaskar A on Jan 7, 2009 8:57 AM
Similar Messages
-
Costing run for the material in Physical distribution Plant
Hi experts,
There's a material both creates in productoin plant 1000 & physical distribution plant 1999. (same material number)
However, BOM & routing only create in prodution plant 1000.
How do we copy BOM & routing (in prodution plant) for the material creates in Physical distribution Plant and excute costing run for it? (we need to excute costing run every month, so standard cost for the material in productoin plant 1000 & physical distribution plant 1999 needs to be the same every month.)
Thanks in advance.HI AO
1. There is no standard feature to copy the BOM/Routing from Plant 1 to 2...
While creating in PLant 2, you can give the reference of Plant 1.. Or you can use some BAPIs to do the same
2. If you want same std cost in Plant 2 as in Plant 1, then easier way would be to create a Special Procurement Key and assign the same in Material master - Costing View of Plant 2 (1999)
Follow the steps below
1. Go to OMD9
2. Click on New entries: Enter your Plant = Plant 2 (receiver plant) "SP Pr Type" = Z1 and Proc Type = F;
3. Under Special Procurement Secrion
Enter U as special procurement and Plant 1 in the Plant Field (Transferring plant)
4. Save this entry, and in Mat Master of Plant 2, specify Z1 as Special proc key in Costing view (NOT MRP VIEW)
5. Run CK11N in Plant 2... and release from CK24
Regards
Ajay M -
MRP run for header material with bom usage-3
Dear All,
We have header material with bom usage-3.We maintain the stock at child components only ,not at header
I have created the planned independent requirement for header material.I have created a sales order but sales order is not shown in md04.
What can be the further setting I am missing for mrp run of above scenario.
with regards,
pradeepDear ,
Couple of checks points for you :
1.Check the material master Sales Org Veie-Item Categoery .As you have mentioned Item Categoery -TAQ which is not relevent for requirement planning throgh schedule line category -CT ( CT means there will not be any inventory or good movement and requirement will not be passed for MRP ) .Only CP -line item categoery does requirement passing through MRP and it will show u in MD04. So the summery is if you want to generate an MTO order for the same FG material , you should matian the Sales Line item categoery as MTO in sales Org View and it will pop up in VA01 whiel logging Sales Order .
Generally , TAQ item categoery are used in Project Billing or Delivery .ok and they will not be having any availabilit check so it KP ( no check ) .
But for MTO order , you should have availablty chek 02/01 in MRP3 view and also MTO Sales Item categoery .
Based on the above information logg an sales order , release credit chek in VKM3, SAVE and check in MD04.
Create PIR in MD61 and Run MRP on the both cases .I have tested its working .but noit with TAQ item categoery ok
2.Why do you need to create Sales Order for dependent Item-Y because it will be in X-BOM item ? Make sure that Y- should have Sales Item categoery in material master -MM02-Sales Org View as NORM item .If you really want to create sale sorder for this item , it should TAN or NORM .
3.Other PIR detail is fine .
Try and revert back
Regards
JH -
Costing Run for Configurable Material
Hi,
When I try to run costing run CK40N for KMAT material, I am geting information "No materials selected" for the 'selection' flow-step.
Below is the Error description.
No materials selected
Message no. CK277
Diagnosis
Due to the costing variant used, no materials could be selected for the cost estimate.
System Response
No materials were selected.
Procedure
1. First, check that the materials you want to cost exist.
2. Then go into Customizing and check the costing variant, the reference variant, and the transfer control. If the plant changes, a suitable transfer strategy must be entered in the transfer control belonging to the reference variant.
Thanks in Advance,
Shivahi Shiva,
It is not possible to do the cost calculation for configurable materials in CK40N or CK11N.
To do the product costing it is mainly required the BOM and Routing, but in case of configurable materials the BOM and Routing are not fixed(here Super BOM/Super Routing are used with valid object dependencies which may result in "n" number of material variants)
To do the costing for configurable material you can use t code - CU50 (configuration simulation)
Here in CU50 you can select the characteristics values which ultimately selects the valid BOM and Routing required for variant production and do the costing and check.
Please check
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/7e/cb857b43a311d189ee0000e81ddfac/content.htm
Pavan
Edited by: Pavanakumar on Jun 29, 2009 4:34 PM -
Cost Run for Raw Material taking Standard Price instead of Moving Price
Hi all,
We ran a material costimate with normal components FG>SFG>RM. The RM price Control is set to
V (Moving Average Price) and for SFG & FG it is S(Std. Price). After we run CK11N, the price for
RM in Material Master changes as per Moving Price. We found that the RM Component is
costed based on Standard Price and not on the previous cost run Moving Average Price. After
certain period, if we again do cost run, the sytem is again picking up the standard price for costing
not the revised Moving Price. We have checked the Valuation Variant in the Costing Variant, where the strategy given is 1. Moving Average Price 2. Standard Price. We also tried to change the
sequence as 1. Price as per Purchase Info Record 2. Moving Average Price and 3. Standard Price and
also 1. Standard Price and 2. Moving Average Price. Our requirement is when we run the cost estimate the raw material has to pick the price of previous moving price stored in the Material Master. Kindly tell us where to set the indicator.
Thanks,
SadashivanHi Srikanth,
Problem solved. I checked the sequence in Valuation Variant and modified in Valuation Variant for Plant which I have not set previously and now the system is working correctly.
Thanks,
Sadashivan -
Extractor 0CO_PC_PCP_03: diferent costing runs for the same material
Hi, experts.
We are extracting data with 0CO_PC_PCP_03 extractor, but some materials do not return any record.
If we use CO standard transactions, we can get the values for all materials, but with the extractor just few materials are returned.
We are filtering the extractor with the costing run name and costing run date, but some materials are not extracted.
This is occurring for a specific month only. We have extracted data for other months / costing runs and the same materials appears in CO transaction and in extractor result. The different thing with this problematic month is that there are other costing runs of the same type (costing variant), for a higher date.
It seems like the extractor just can extract the last costing run for a material / month. Any idea?
Thanks,
Henrique TeodoroHello,
I have an update in my findings. Few days ago, R/3 user ran a new costing run for a set of materials, using the same costing variant / costing version used one year ago. And now, when I extract the costing run created one year ago, materials present in recently run set don´t appear anymore. I ran this same costing run weeks ago and the material are ok. After the new costing run with the same costing variant / costing version, they are gone from extraction.
Seems like this extraction just can return the last costing variant / costing version for each material. Or maybe the table key that stores this data are costing variant / costing version, instead of costing run / costing run date.
Anybody have any knowledge or experience on this?
Thanks,
Henrique -
Costing run for materials with special procurement key
Hello,
Since moving to ECC6, the costing run for materials with special procurement keys is not pulling the marked price from the materials the special procurement keys point to. Only the released prices are pulled.
Example:
Material A, plant A has a future price (costing 2 tab) of 100 and a current price of 99
Material A, plant B has special procurement key Z1 (costing 1 tab) which pulls the costing from Material A, plant A
In our old system (46c) the costing run for Material A, plant B would pull 100.
In ECC6, the costing run for Material A, plant B pulls 99
Anyone that can push me in the right direction?Hi,
Based on the info provided thus far, the result that you notice in ECC 6.0 is right as it is picking the current standard price based on your setup.
Now why it is picking the future price in 4.6c, well for that you will have to do a detail check as in which variant is being used etc. I would suggest you to work with your CO personnel on this. Do a costing run for this particular material via CK11n using the variant which you mentioned & see the results.
Or if you can upload the screenshots (picasaweb or some other portal) of the valuation variant you're using in 4.6c, along with Acctng view 1 & 2, costing view 1 & 2 details of the material it would help to have a better understanding.
Regards,
Vivek -
Costing Run for all Hub Plants
I just want to understand from you regarding your Monthly Costing Run for all Plants.Actually we have Plant 5000 (Ruwais) which is our Manufacturing Plant having BOM.
We have two other Plants 7000 ( Shanghai ) and 7100 ( Singapore ) these are our Hub Plants not Manufacturing Plants and having no BOMs.
When we run our Monthly Costing Run for Plant 5000 using TCode (CK40N), its completes smoothly without any error.
We have to create a material cost estimate in monthly basis using TCode (KKPAN) before we execute cost estimate for both Plants 7000 & 7100.
We see these runs at the months end as very time consuming and we are not manage on time set for such update in SAP as part of the month end procedure.Hello Yasir,
In our system I see that PC01 and PC02 are the same for cross plant costing:
1 - Future Cost Estimate - valid for fiscal year
2 - Current Cost Estimate - no age restriction
3 - Previous Cost estimate - no age restriction
If your system is set this way, then for cross plant costing, it does not make a difference which one you use.
If all plants are in one company code then the currency should be the same in all, so P rate should not be an issue.
Take one part number: What period and FY is your current cost estimate? What are the validity dates?
go to CK11n, input the part number; <b>hub plant</b> number and create cost estimate.
On the Tab "QTY STRUCT." you should see only Special procurement data, the plant number should be the mfg plant.
Look at the Costing Structure. Top level should be the part in hub plant.
The first level below should be the part in the mfg plant.
theTosts should be the same and I would expect it to be the same as the current cost estimate. (Pay attention to the currency)
If the first level from the mfg plant is not the same as the current cost estimate, you will need to figure out where that cost estimate is coming from.
If you would like to send screen shots of your cost estimate screens, give me your e-mail and I will contact you with pictures of what I expect to see.
Althea -
Reg: Creation of BOM along with Alternative BOM
Hi Experts,
I have written the below code for creating BOM along with Alternative BOM, I'm getting the following error.
W BAPI1080 028
Error/warning when checking the structure of the BOM group with ID=
A BAPI1080 002
Basic data for (BOM) group available twice
A BAPI 001
No instance of object type BOMGroup has been created. External reference:
W BAPI1080 028
Error/warning when checking the structure of the BOM group with ID=
A BAPI1080 002
Basic data for (BOM) group available twice
A BAPI 001
No instance of object type BOMGroup has been created. External reference:
Please find the piece of code below.
SORT it_bom01 BY matnr idnrk posnr ASCENDING.
LOOP AT it_bom01 INTO wa_bom01.
AT NEW matnr.
CLEAR:
it_bomgroup[],
wa_bomgroup,
it_variants[],
wa_variants,
it_items[],
wa_items,
it_matrel[],
wa_matrel,
it_itemas[],
wa_itemas,
it_return.
ENDAT.
* Material BoM Group Header Data
wa_bomgroup-bom_group_identification = 'IDENTIFICATION'.
wa_bomgroup-object_type = 'BGR'.
wa_bomgroup-object_id = 'ID'.
wa_bomgroup-bom_usage = wa_bom01-stlan.
wa_bomgroup-ltxt_lang = sy-langu.
wa_bomgroup-technical_type = ' '.
* wa_bomgroup-bom_text = .
wa_bomgroup-created_in_plant = wa_bom01-werks.
APPEND wa_bomgroup TO it_bomgroup.
* Header Details of the different variants
wa_variants-bom_group_identification = 'IDENTIFICATION'.
wa_variants-object_type = 'BOM'.
wa_variants-object_id = 'ID'.
wa_variants-alternative_bom = wa_bom01-stlal.
wa_variants-bom_status = wa_bom01-stlst.
wa_variants-base_qty = wa_bom01-bmeng.
wa_variants-valid_from_date = wa_bom01-datuv.
wa_variants-alt_text = wa_bom01-alt_text.
wa_variants-function = 'NEW'.
APPEND wa_variants TO it_variants.
* Details of the items of the variants
wa_items-bom_group_identification = 'IDENTIFICATION'.
wa_items-object_type = 'ITM'.
wa_items-object_id = 'ID'.
wa_items-item_no = wa_bom01-posnr.
wa_items-item_cat = wa_bom01-postp.
wa_items-component = wa_bom01-idnrk.
wa_items-comp_qty = wa_bom01-menge.
wa_items-valid_from_date = wa_bom01-datuv.
APPEND wa_items TO it_items.
* Details of the materials of the different variants
CLEAR it_matrel.
wa_matrel-bom_group_identification = 'IDENTIFICATION'.
wa_matrel-material = wa_bom01-matnr.
wa_matrel-plant = wa_bom01-werks.
wa_matrel-bom_usage = wa_bom01-stlan.
wa_matrel-alternative_bom = wa_bom01-stlal.
APPEND wa_matrel TO it_matrel.
* Linking items to the corresponding variants
CLEAR it_itemas.
wa_itemas-bom_group_identification = 'IDENTIFICATION'.
wa_itemas-sub_object_type = 'ITM'.
wa_itemas-sub_object_id = 'ID'.
wa_itemas-super_object_type = 'BOM'.
wa_itemas-super_object_id = wa_bom01-matnr.
wa_itemas-valid_from_date = wa_bom01-datuv.
wa_itemas-function = 'NEW'.
APPEND wa_itemas TO it_itemas.
AT END OF matnr.
CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
EXPORTING
all_error = 'X'
TABLES
bomgroup = it_bomgroup
variants = it_variants
items = it_items
materialrelations = it_matrel
itemassignments = it_itemas
return = it_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
LOOP AT it_return.
WRITE:/ it_return-type, it_return-id, it_return-number,
it_return-message.
ENDLOOP.
ENDAT.
ENDLOOP.
Thanks and Regards,
Abdur RafiqueHi Sree,
I used your code, I removed the levels because, i have only one level 'the lineitems'. Please find the modified code below. I'm not able to create the BOM, it throws an error as "BOM is recursive". I checked the header and item contents before passing to FM, it is correct.
Please help me with the solution.
REPORT zbom_sdn.
TYPE-POOLS: truxs.
DATA: bom_header LIKE cad_bicsk,
bom_item TYPE TABLE OF cad_bom_item WITH HEADER LINE,
bom_sub_item TYPE TABLE OF cssubitem WITH HEADER LINE,
dms_class_data TYPE TABLE OF cls_charac WITH HEADER LINE,
sap_field_data TYPE TABLE OF rfcdmsdata WITH HEADER LINE,
e_return LIKE cad_return-value,
e_message LIKE message-msgtx,
e_message_len LIKE cad_return-message_len.
DATA v_item TYPE i.
TYPES : BEGIN OF ty_data,
matnr TYPE cad_bicsk-matnr," Material
werks TYPE csap_mbom-werks," Plant
stlan TYPE csap_mbom-stlan," BOM Usage
datuv TYPE csap_mbom-datuv," Valid From
* posnr TYPE stpo_api03-item_no," Item Number
idnrk TYPE stpo_api03-component," BOM Component
postp TYPE stpo_api03-item_categ," Item category
menge TYPE cad_bom_item-menge," Quantity
bmeng TYPE stko_api01-base_quan," Base Qty
stlst TYPE stko_api01-bom_status," BOM Status
stlal TYPE csap_mbom-stlal," Alternative BOM
alt_text TYPE stko_api01-alt_text," Alternative BOM text
END OF ty_data.
DATA : it_data TYPE TABLE OF ty_data ,
wa_data TYPE ty_data.
DATA: wa_raw TYPE truxs_t_text_data.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
PARAMETER : p_file TYPE rlgrap-filename OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b2.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
program_name = syst-repid
dynpro_number = syst-dynnr
CHANGING
file_name = p_file.
START-OF-SELECTION.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
* I_FIELD_SEPERATOR =
i_line_header = 'X'
i_tab_raw_data = wa_raw " Work Table
i_filename = p_file
TABLES
i_tab_converted_data = it_data[] " Actual Table
EXCEPTIONS
conversion_failed = 1
OTHERS = 2 .
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CLEAR: bom_header, bom_item, bom_sub_item.
REFRESH: bom_item, bom_sub_item.
DATA : v_lineitem TYPE sposn VALUE '0000',
v_slineitem TYPE sposn VALUE '0'.
LOOP AT it_data INTO wa_data.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = wa_data-matnr
IMPORTING
output = wa_data-matnr.
* fill BOM header
CLEAR bom_header.
bom_header-matnr = wa_data-matnr. "'000000000200000016'.
bom_header-stlal = wa_data-stlal. " Alternative Bom
bom_header-werks = wa_data-werks. "'1000'.
bom_header-stlan = wa_data-stlan. "'3'.
bom_header-bmeng = wa_data-bmeng.
bom_header-cadkz = 'X'.
bom_header-stktx = wa_data-alt_text.
* bom_header-ztext = wa_data-text.
bom_header-datuv = wa_data-datuv."'01.10.2010'.
* fill item
v_lineitem = v_lineitem + 10.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_lineitem
IMPORTING
output = v_lineitem.
* bom_item-upskz = 'X'. " If We hav the Sub items Enable it.
bom_item-idnrk = wa_data-matnr. "'000000000200000017'.
bom_item-posnr = v_lineitem.
bom_item-postp = wa_data-postp."'L'.
bom_item-menge = wa_data-menge. "'1'.
* bom_item-fmeng = wa_data-fqty.
APPEND bom_item.
CLEAR: bom_item.
AT END OF matnr.
CALL FUNCTION 'CAD_CREATE_BOM_WITH_SUB_ITEMS'
EXPORTING
i_bom_header = bom_header
i_auto_posnr = ''
IMPORTING
e_return = e_return
e_message = e_message
e_message_len = e_message_len
e_bom_header = bom_header
TABLES
bom_item = bom_item
bom_sub_item = bom_sub_item
dms_class_data = dms_class_data
sap_field_data = sap_field_data
EXCEPTIONS
OTHERS = 1.
REFRESH bom_item.
WRITE : e_message.
ENDAT.
CLEAR wa_data.
ENDLOOP.
Thanks and Regards,
Abdur Rafique -
Costing run activity one materieal is value double another materieal corec
Dear gurus,
we run costing run in 20 materieal code insted of 20 materieal one materieal is showing double value remaining materieal is showing perfect.
we chacked BOM and routing in workcenter which is same for all materieal codes,
please replay as soon as posible i want release materieal cost.
Thank you!
Regards,
Pradheep.Hi,
see product cost estimates is calculated using cnsumption qty mention in BOM multiplied by the price maintained in the material master + std direct activity qty mentioned in workcenter/routing and indirect activities related cost center multiplied by the activity rate maintained in KP26.
Now i am amazed that how could be BOM / ROUTING can be same for all the material, if this is the case means all the material and its cost will come as same if there is no difference in indirect activity qty and rate.
So plz check the BOM Components there might be double std qty entered for the consumption else there would be the line repetion for the qty. U can also check for the direct activity qty and activity calculation formula.
Regards / Ashok verma -
Hi friend,
I have 5 different finished materials each having 2 same co-products. i could do the costing run for the finished materials, but how to the costing run and standard cost estimate ( i.e ck11n and ck40n) for the 2 co-products. the co-products does not have BOM and routing.
Regards,
Arun kumar R VHi
Sub Co-Product will be costed based on 'Apportionment and Source structure' which is maintained in Main Co-product material master.
For example material 'A' has two co-products 'B' and 'C'.
BOM and Routing will be maintained for material 'A' only.
(BOM will contains 'Rawmaterials as well as co-products')
In Material Master of 'A' we have to maintain how to apportion this Qty structure of A to B and C also.For which we required source structure which is need to create in IMG.
Regards,
Velmurugan S -
Creation of Material Master for a material with Material Type NLAG
Hello Sirs,
I have to create a material which will be consumed directly. I would use the
material type NLAG (Non stock material). If I create a material with this material type, will it contain an Accounting view where in I can maintain the price of the
material? If it contains an Accounting view, which type of Price control should be
used (Moving average or Standard)? Further, can we maintain an info record for
a material with material type NLAG?How the price updation happens?
Regards
YogaHi Madhu,
Thanks for your reply. But, I have one more doubt. For non stock materials, we
will specify the cost centre and G/L account at the time of creation of Purchase order. Then, do we have to specify the valuation class at the time of creation of
Material Master since there is no automatic account determination?
Regards
Yoga -
Serial Number creation for a material with stock type
Hi,
I am not able to create the serial number for a material which should have valuation type, plant and storage location using the function module ITOB_SERIALNO_CREATE_SINGLE.
There is no export or changing parametre for this function module for Valuation type(EQBS-LBBSA),
Plant(EQBS-B_WERK) and
Storage Location(EQBS-B_LAGER)
Can any one suggest me the BAPI or function module to create a serial number for a material with valudation type, plant and storage location rather tan going for BDC to transaction code IQ01.
(Note: We can create the serial number with valuation type manually using the transaction code "IQ01" for agiven material.)
For suitable answers would be rewarded.
Regards
Badari
Edited by: badari Narayana on Feb 10, 2008 5:20 PMI have the solution below.
- Don't change Serial no. profile
- Goods issue all stock with mvt 201 or 261 into temporary cost object and note your text.
- Change Serial no. profile in material master
- Goods receipt all stock (You may ref. material doc.) and you need to input serial number for all materials.
Hope this solution can help you.
Edited by: Saiyaman on Dec 9, 2009 5:33 PM -
What are the possible cost objects for raw material consumption postings
what are the possible cost objects for raw material consumption postings. i want to know whether it can be work order(maintenance order).
For example, you are confirming a process order and issuing raw materials to the process order, the system in the background creates the consumption posting and will by default use the process order as a cost object.
Similarly, when you are issuing materials to a work order, you will use MB1A and with movement type 261 and the system prompts you to enter the order number. If you are using movement type 201, then the system prompts you to enter the cost center and so on.
Thanks,
Madhav Nanduri -
Problem with an enter inventory count for a material with serial number
Hi all,
I must post an Enter inventory count with the transaction MI04 for a material with serial number that it has more 250,000 of serial number, but the system give an error message of dump.
Are there any alternatives to post the inventory document?
Thanks.
Best regards,
Gaetanoyou can't but uplaod using LSMW rather entering manually otherwise you need coremod
Maybe you are looking for
-
Set up Trip Number by Company Code, not Personnel Area
Hi Gurus, I'm implementing Travel Management Module and I am totally new. There are more than 400 Personnel Areas in the system so I'm just wondering whether it is possible to set up trip number rage by Company Code rather than Personnel Areas. Anyon
-
Invoice and Invoice amount in FI/CO When enter check number
Hi All, I have a requirement like this. We have custom t-code ZF04 ( FAST CASH ) to post payments to customer accounts. In this t-code, we have one field for Check#. When they enter Check# number and click on 'SEARCH' icon i need to display list
-
i bought an ipod touch and i got itunes downloaded on my computer but can't get it to connect to ipod because it is locked it was locked when i bought it how can i get it unlocked?
-
All - Is there a good doc or an URL that I can review to start looking at this ? Thanks much ! Madhu
-
SIP - H.323 CPU Overload
Hello. I work for a VOIP operator company which primarily uses Cisco VOIP routers (AS5300/AS5400 series) for TDM and VOIP trunks (H323/SIP). Recently we started using SIP in between our internal routers and we have noticed a huge spike in CPU Interru