BOM Explosion (CS_BOM_EXPL_MAT_V2) - inactive alternative BOM
Hi,
I need to display the alternative BOM entered in the selection screen even if the entered alternative is inactive. i.e. status is inactive. i have used FM - CS_BOM_EXPL_MAT_V2.
Kindly advise.
Regards.
Using Function module CS_BOM_EXPL_MAT_V2
As already has been said, the RNDKZ field is used for rounding. If you fill with '1', it will never round.
Example (the problem I had):
Material A consist of et al. 0.008 piece Material AA.
Material AA consist of 1.0 pice Material AAA,
of 7.0 piece Material AAB,
of 6.0 piece Material AAC,
of 12.0 piece Material AAD.
CASE 1: You fill RNDKZ field with '1':
You get the correct result which is:
You need for producing 1 piece of Material A
0.008 piece Material AA,
0.008 * 1 = 0.008 piece of Material AAA,
0.008 * 7.0 = 0,056 piece of Material AAB,
0.008 * 6.0 = 0,048 piece of Material AAC.
0.008 * 12.0 = 0,096 piece of Material AAD.
CASE 2: You let RNDKZ field blank.
In your user profile for BOM field "Round of" is set to blank (table field TCSPR-AMEKZ, TA S_ALR_87004496).
You get following result (which is wrong)
You need for producing 1 piece of Material A
1 piece Material AA,
1.0 *1.0 = 1.0 piece of Material AAA,
1.0 * 7.0 = 7.0 piece of Material AAB,
1.0 * 6.0 = 6.0 piece of Material AAC.
1.0 * 12.0 = 12.0 piece of Material AAD.
The number of decimals is seen depends as well from how many decimals is set for unit of measurement. In this case the number of decimals for "piece" was set to zero. (TA CUNI).
If you let the field RNDKZ field blank, the user profile field "Round of" (table field TCSPR-AMEKZ) is used.
Similar Messages
-
Hi gurus,
how can i ensure explosion of desired alternative BOM during MRP run? Setting of BOM explosion strategy by production version is not helping. I am using mySAP ECC 6.0
Thanks and regards
AbhikHello Abhik,
You have more options. You can use:
- lot size (defined in BOM header)
- production version (several option you have: lot size, manually assign a PV to a planned order) - it was mentioned by you
- you can use explosion date (OPPP, Logistcs > Production > MRP > Master Data > BOM by date)
MRP 4 (in material master) > 'BOM explosion/dependent requirement' tab > you can set selection method according to your wish.
Details:
http://help.sap.com/saphelp_46c/helpdata/en/f4/7d2b1144af11d182b40000e829fbfe/frameset.htm
BR
Csaba -
BOM Explosion with order finish date
Hi,
In transaction OPPQ it is possible to configure the BOM explosion date used by MRP and creation of a process order (see SAP NOTE 506345).
I suppose this setting is also considered when re-reading master data during release of an order.
The field BESAL can have the following values:
BOM explosion number/order start date
1 Order start date
2 Order finish date
3 BOM explosion number/order start date
4 BOM explosion number/order finish date
What I do not understand is that value 4 also end up in using the order start date when re-reading master data. Here the function module CO_ZF_VALIDATIONDATE_DET is called which contains the following coding:
+ Festwerte Feld BESAL:+*
* ' ' Seriennummer/Eckstarttermin
* 1 Eckstarttermin
* 2 Eckendtermin
* 3 Seriennummer
IF T399D-BESAL <> CHAR2.
* Auflösung mit Starttermin
u2026
ELSE.
* Auflösung mit Endtermin
u2026
ENDIF.
which says only use the Order finish date if BESAL has the value 2. The comment showing the possible values gives me the impression that SAP simply forgot to adapt this coding when splitting the value 3 (prev. only BOM explosion number) into 3 BOM explosion number/order start date and 4 BOM exlosion number/order finish date.
On the other hand the SAP Note mentioned above documents this behaviour.
Does anyone know the reason why value 4 (BOM exlosion number/order finish date) results in using the order start date ?hi,
The defination in OPPQ is only working for the MRP, when the planned order is created.
Then the explosion date will be copied from planned order to production/process order when you convert the planned order.
However, when the production or process order is created manually, or when you do a re-read master data process, then a different BOM explosion date process will be carried out as described in the SAP note 506345, it has explained the behavior clearly base on the different value of paramter:
V_T399D_S-BESAL = initial, 1, 3 or 4
V_T399D_S-BESAL = 2 (Explosion with order finish date)
So there is no problem to have different behavior of planned order and production/process order.
Regards,
Rachel -
No Bom Explosion for Fert material
I try to create a BOM where a A1 material(FERT) is link to 3 raw material, A, B and C. Enter the qty in MD61 independent requirement, after that i tried to run MRP and found out that there is no requirement/PR created for the 3 raw materials, only the A1 has the indep requirement. seems there is not BOM explosion.
After that i try to create B1 material(SEMI) is link to 3 raw materials as well. But the 3 raws material able to show the requirement/PR after the MPR run.
Am i miss out any step in the config for the material type? or may be other steps?Dear ,
MRP will explode BOM for FERT or HALB which has valid BOM , based on the following set up :
1.In MRP4 view of FERT/HALB , keep BOM Selection method -Blank or 1 .If you have Production Version with valid Lot size , Valididt dates (To/From ) , then keep the BOM selection method as 2/3.
In case of Blank , MRP will selt the BOM as per the Qty or BOM lot size ( Valid Lot Size-TO/From -CS02-BOM Header )
In case of 2/3 -System will Check the Production Version Validdity or Lot size , select the PV and explode .
2.In OPPQ-MRP Plant parametrs -Keep BOM Explosion indicator as Blank -BOM explosion method /order start date .
3.Keep MRP Dep.Req filed in MRP4 vewi of FERT /HALB as Blank ( meand you want to plan the dependent ofr FERT/HALB-BOM Compoenet -a,b,c etc )
4.All the material (FERT/RAW/HALB) should have porper MRP1-MRP4 view parameters like MRP Type -PD , Procurement Type E-In house /F-External procured item .
5.All the material should be Block for Procurement in Basic Data1 -X plant status as 01
6.All of them should have Planning File Entry in MDRE/MD20/MDAB
7.Run MRP in MD02-2,1,3,3,2,NETCH
Hope this is clear .Check Point 1 to Point 4 frist and try
Regards
JH -
Hi All,
I see few Alternative BOM has number as '0'. As I understand when we create alternative BOM for an Material by default it will take the Alt. BOM number as 01 for the first time. But here i notice few material has alternate bom number as 0. How it could got created? Even when we create BOM via LSMW also it will pick Alt. BOM as 01.
Am I able to edit those Alt. BOM numbers? or How do we eliminate this in future?
Please throw some lights.
Regards,
MBN.Hi
While creating BOM with T code CS01, in alternate BOM if you give input as 0 for first alternate BOM system starts creating alternative BOM with Alt 0, Alt 1 etc.
Or else if you leave blank that field then system will pick 1 as first alternate bom.
Regards,
Anupam Sharma -
CS11- BOM explosion with status inactive
When a BOM is marked as inactive( at the header level), the BOM explosion using CS11 is not possible. The systems says there is no effective BOM. However I can pull up the same using CS03 and drill down level by level.
Is this standard SAP behaviour? Are there any settings in Customizing that will make the explosion for inactive BOM's using CS11 possible?Alternative to select inactive BOM
BOM status = inactive in BOM header
In OS31
Create a selection ID = 09, selection priority = 1, BOM usage = 1
OS 30
Create a BOm application copy from PP01 let us say ZP01
In which enter the selection ID = 09, what you created before
Remove all the ticks of check BOM
Save
That is all.
In cs11, select the application as ZP01 and you will get the BOM explosion. -
Alternative unit of measure in BOM explosion report
Dear gurus
I want to get the alternative unit of measure along with the base unit of measure during the BOM explosion report in CS11.I tried with the layout but I cant find the same.
How is this possible?
regards
kumar sHi Kumar,
You can develop a Z report. In the standard CS11, the functionality of displaying the alternate UOM is not feasible.
thanks and regards
Muruegsan -
Use of CS_BOM_EXPL_MAT_V2 fro BOM explosion on plant basis
hello ,
I dont have any documentation for this FM and need to use it for BOM explosion on plant basis plz let me knw how to use it?Try something like this :
* Tables "call CS_BOM_EXPL_MAT_V2 "
DATA: BEGIN OF t_stb OCCURS 0.
INCLUDE STRUCTURE stpox.
DATA: END OF t_stb.
DATA: BEGIN OF matcat OCCURS 50.
INCLUDE STRUCTURE cscmat.
DATA: END OF matcat.
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
auskz = ' '
capid = 'PP01'
datuv = sy-datum
emeng = '1.000'
stlan = '1'
stlal = mast-stlal
mtnrv = matnr
mehrs = 'X'
mmory = '1'
stpst = '0'
werks = werks
IMPORTING
topmat = selpool
dstst = dstst_flg
TABLES
stb = stb
matcat = matcat
EXCEPTIONS
material_not_found = 4
no_plant_data = 8
no_bom_found = 12
no_suitable_bom_found = 16.
Hope this helps,
Erwan -
BOM Explosion using Function 'CS_BOM_EXPL_MAT_V2 '
Hi Gurus,
I am working on BOM and exploding the multilevel BOM using function CS_BOM_EXPL_MAT_V2.
I want to know what does 'field-RNDKZ' do in that.
Thanks!Using Function module CS_BOM_EXPL_MAT_V2
As already has been said, the RNDKZ field is used for rounding. If you fill with '1', it will never round.
Example (the problem I had):
Material A consist of et al. 0.008 piece Material AA.
Material AA consist of 1.0 pice Material AAA,
of 7.0 piece Material AAB,
of 6.0 piece Material AAC,
of 12.0 piece Material AAD.
CASE 1: You fill RNDKZ field with '1':
You get the correct result which is:
You need for producing 1 piece of Material A
0.008 piece Material AA,
0.008 * 1 = 0.008 piece of Material AAA,
0.008 * 7.0 = 0,056 piece of Material AAB,
0.008 * 6.0 = 0,048 piece of Material AAC.
0.008 * 12.0 = 0,096 piece of Material AAD.
CASE 2: You let RNDKZ field blank.
In your user profile for BOM field "Round of" is set to blank (table field TCSPR-AMEKZ, TA S_ALR_87004496).
You get following result (which is wrong)
You need for producing 1 piece of Material A
1 piece Material AA,
1.0 *1.0 = 1.0 piece of Material AAA,
1.0 * 7.0 = 7.0 piece of Material AAB,
1.0 * 6.0 = 6.0 piece of Material AAC.
1.0 * 12.0 = 12.0 piece of Material AAD.
The number of decimals is seen depends as well from how many decimals is set for unit of measurement. In this case the number of decimals for "piece" was set to zero. (TA CUNI).
If you let the field RNDKZ field blank, the user profile field "Round of" (table field TCSPR-AMEKZ) is used. -
Hello SAP Gurus,
What is the use of BOM explosion number? after creation how & where to assigne it?
with regards,
dev123.Hi,
If you want to ensure that for a certain production unit, the BOM structure is always exploded with the same date, you can assign a BOM explosion number to the planned order (or for make-to-order production it can be directly assigned to the sales order).
If you do not use the assignment of a BOM explosion number, the planned start date of the planned order is always used as the explosion date for the BOM. The system explodes the particular BOM that is valid on this date.
For multi-level BOM structures, larger time intervals may exist between the explosion dates of the individual assemblies. If BOMs (or alternative BOMs) have been changed in the meantime (for example, exchanging individual components due to new technical drawings, changed production techniques, due to parts to be discontinued etc.) a situation may exist whereby an assembly that is used repeatedly is produced with different BOM structures.
Create BOM Explosion Number:-
1. Starting from the MRP menu, choose Master data --> BOM explosion number -->Edit (MDSP)
The system displays the initial screen for maintaining the BOM explosion number.
2. Choose .
The screen for maintaining the BOM explosion numbers now appears.
3. Choose New entries.
A screen now appears where you can enter new BOM explosion numbers.
4. Enter data as required.
BOM explosion number
The BOM explosion number is the object for which the following data is maintained. It can be entered alphanumerically.
Fixed key date
The fixed key date determines which bill of material is exploded.
Plant
You can also specify a BOM explosion number for a specific plant. Enter the appropriate plant in this case.
Material
You can specify a BOM explosion number for a specific material. Enter the appropriate material in this case.
Status
You can set the BOM explosion number to active or inactive using the status field. Only active BOM explosion numbers are used in the planning run.
Save your entries. -
FM for BOM Explosion (BOM is with model-unit effectivity)
HI Experts,
I am looking for a bom explosion function module that allows me to explode Model-Unit BOMS.
For example, if I have a bom that uses Change Master to control Model-Unit effectivities, I want to able to provide a Model and Unit, and explode the neccessary components at the next level.
Does anyone know such function modules?
Thanks in advance,
CharlieWas able to do it by using the following code:
MTCOM-MATNR = LKL_MATNR.
MTCOM-KENNG = 'MC29M'.
MTCOM-SPRAS = SY-LANGU.
MTCOM-NOVOR = 'X'.
CALL FUNCTION 'MATERIAL_READ'
EXPORTING SCHLUESSEL = MTCOM
IMPORTING RETURN = MTCOR
MATDATEN = MC29M
TABLES SEQMAT01 = DUMMYTAB
EXCEPTIONS MATERIAL_NOT_FOUND = 4
PLANT_NOT_FOUND = 8 .
CALL FUNCTION 'ECM_PROCESSOR_INIT'
EXPORTING
TOPMATNR = LKL_MATNR
E_TECHS = LKL_TECHS
DEFAULT_TECHS = 'X'
FREIG_KALKULATION = 'X'
FREIG_PLANUNG = 'X'
FREIG_FERTIGUNG = 'X'
display = 'X'
no_pop_up = ''
FREIG_EINGABEBEREIT = 'X'
BATCHLAUF = SYST-BATCH
TABLES
VALID_OR_INVALID = CCVAL
PARAMETER = PARAM
OUTPUT_PARAMETER = ECM_SL
EXCEPTIONS
exit_in_dynpro = 4
OTHERS = 0.
Then with this fm to explode bom;
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
aumgb = 'X'
capid = 'PP01'
datuv = sy-datum
ehndl = '1'
emeng = 1 "required qty
mktls = 'X'
mehrs = 'X'
mmory = '0'
mtnrv = 'TEST12345'
stlal = '02' "Alternative
stlan = '1'
SVWVO = 'X'
STKKZ = 'X'
werks = '0001'
VRSVO = 'X'
IMPORTING
topmat = topmat
dstst = dstst
TABLES
stb = stb
matcat = matcat -
No alternative BOM field in STPO
Friends,
I am creating functional specs for BOM explosion. I am following steps,
1. Get BOM number from MAST
2. Get alternative BOMs for above BOM nos from STKO
3. For all above alternatives fetch item details from STPO.
The issue is when I try fetching BOM details, though i fetch details for alternative 1, I can not fetch details for altenatives 2 , 3 and so on. I could not find link in STPO to fetch details for other alternative as alternate BOM field not available in STPO.
Can anyone help on this issue. Thanks in advance.
UmeshDear Umesh,
Instead of picking the values from the tables,check whether this Functional Module can help you.
CS_BOM_EXPL_MAT_V2 (or) CSAP_MAT_BOM_READ
or) CS_BOM_EXPLOSION
Regards
Mangalraj.S -
BOM Explosion for Multiple Process Orders
Hi,
I hope someone can assist me with the following: Is there a report I can run or transaction I can do to have BOM explosion for multiple Process Orders? I would like to input process orders for a week and see the BOM details per PO.
ThanksDear Sukendar,
1.For this requirement you have to go for a Z report and you can give the Functional Spec's to prepare
this report to your ABAP consultant.Prepare the input format,logic of the program and the output format.
In the logic part you can make use of this Functional Modules's CSAP_MAT_BOM_READ or
CSEP_MAT_BOM_READ or CS_BOM_EXPLOSION or CS_BOM_EXPL_MAT_V2 .
2.Using CEWB helps you to identify all the material that's having the BOM,but here the report does not
shows you the level by level by BOM for a FERT.
Check and revert back.
Regards
Mangalraj.S -
BOM explosion while creation of scheduling agreement / PO
Hi all,
Can anyone pls tell me how can i control / make settings for the explosion of BOM, when MM creates a scheduling agreement or a PO ?
Also, if i have multiple alternative BOMs, how can i get the BOMs selected automatically??
Thank you,
ShrenikDear,
Just a BOM is saficient for your senario.
What other requirement are
1. material master with special procurement key in MRP2
2. A valid BOM. i.e. as of the date it should be active, i.e it should be valid for the given date(as per the release date)
3. Material is maintained in that plant.
4. IMG settings - in OS30...PP01 or BEST should have id 01 and the alternative determination in related application area-alternative determination for MRP--> for a plant it should be 01.( where the BOM usage 1 is maintained), check your BOM usage, it may be 3 or 1, both are okay.
All other settins like inforecord etc will help you to reduce your input data, but above settings will help to explode the BOM in PO.
Hope you understood. -
MRP RUN- KIT BOM explosion not working
We setup one layer BOM’s for our maintenance KITs as parent material and components as child material. For example KIT is TS10000-K1 and components are TS10001, TS10002 etc setup as next layer with in the BOM. Both KITS and components are defined as material types ERSA (Spare parts). These one layers BOMs are setup as production BOMs and expected to create purchase requisitions for KITS and components by exploding BOMs during MRP runs. We use purchase requisitions and convert them into POs to procure both KITS and components. We DO NOT USE Panned orders and Production orders.
The safety stocks / reorder point are considered as demand for KITS and components as we do not have any external demand for KITS and components.
MRP run is creating purchase requisitions automatically for both KITS and components as per safety stocks and reorder point defined in MRP Views of Material Master. This is working as expected.
The issue is: KIT BOM’s are not exploding to generate purchase requisitions for the dependent components of KIT BOM. Please suggest the way to resolve this issue.
Split valuation: Also we plan to use split valued KITS with both new and refurbished. So we need BOM explosion for split valued KITS
also (after the 1st issue is resolved).
I verified the following items to make sure the required configuration and data setup is defined correctly.
1) Planning file activated Plant - OMDU
2) Executed MRP run with Total Planning - MDBT and MD02 (single item, multiple levels)
3) BOM explosion for MRP activated- OS23
4) MRP type in MRP1 view- PD and VB (I tried both separately but BOM is not exploding).
5) Procurement type “F” (MRP 2 view) and lot size “EX”
6) Planning strategy in MRP 3 view (tested w/o planning strategy and with strategies 10 and 40. But BOM is not exploded)
7) BOM status and usage (status is active and usage is for production-CS02 and OS20)
8) BOM Validity date (Valid)
9) BOM structure in CS12 (BOM is exploding in CS11)
10) Availability check
11) Selection of BON ID to have BOM usage indicator assign (OS31).
12) No alternate BOMs or production versions or work scheduling view are used.
Please review the above 2 issues and suggest any workable solution. Thanks in advance!
NOTE: I extensively used MRP with multi-level BOM explosion in my earlier projects without any issue. However the above issue is a bit strange why one layer BOM is not exploded in this case.
Regards
SriniHi
Thanks for your response. I reviewed all SAP notes and none of them are applicable to my scenario.
1808396 - BOM changes not considered by MRP: I have not changed BOMs.
1781324 - MD11: Valid BOM alternative is not found. We do not have alternative BOMs.
1791009 - No BOM explosion after changing production version: We am not using production versions.
Our Material KITS are PM spare assemblies set up as BOMs and consists of individual spare parts as components. We are creating purchase requisitions and not planned orders. We are not using PP functionality/Production orders.
MRP is generating purchase requisitions for KITS and components as per ROP and safety stocks. In other words it is working as expected. The issue is BOMs which are parent assemblies are not exploding to the next lower level components.
Please note that I am not getting any error messages when MRP is executed.
Regards
Srini.
Maybe you are looking for
-
Hi, I use SQL Loader to load files into my database running on Suse Linux. The loader is invoked by a Java application. In Oracle 9i my string would be something like sqlldr DATA='opt/test information/sample.dat' PARFILE=/opt/test.par It worked. When
-
Account det. for differents type of fund reservations
Hello dearSirs, I have set the account determination (financial document) for fund reservations in the customizing transaction FMBLEXT: type of value: 81 G/L accounts (financial document): 0030 0031 The problem is that I have different kind of fun
-
Excel is not opening up on Office 2011
Just purchased new Mac Book Pro. Downloaded Microsoft Office 2011. Can not open up Excel, reporting in details Microsoft Error Reporting log version: 2.0 Error Signature: Exception: EXC_CRASH (SIGTRAP) Date/Time: 2013-02-27 21:49:11 +0000 Application
-
BPEL 10.1.2 hub-and-spoke or distributed architecture?
Hi, I'm currently wrestling with the following question:BPEL 10.1.2 hub-and-spoke or distributed architecture? Hi, I'm currently wrestling with the following question: An ESB as per definition of e.g. Forrester should be capable of supporting a distr
-
Static DNS record deleted automatically- Windows 2008 R2 SP1
Hi, I have scoured the Interweb and tried all suggestions to no avail for this one. Here's the scenario: My client has a Windows 2008 R2 SP1 (Windows 2003 domain/forest functional level) server which is a DC and DNS server. The problem is that a DNS