on 04-22-2016 6:23 AM
Hi,
I am very new to VC and my client has a quite simple requirement. They have a urea product in various bag size and the quantity of the BOM is depend on the bag size selection in the sales order. Say when customer select 25kg bag then BOM quantity for Urea will be 26.2 kg, when customer select 50 kg bag then BOM quantity for Urea will be 50.7 kg, etc.
I have created characteristics for bag size, component quantity and reference BOM qty (STPO-MENGE) characteristics. Component quantity is a simple reading table from VC, system determines the correct component, however when I did the simulation system gives me in the wrong format.
Example :
When I select 50kg bag, the component quantity is 50.7kg, but when I displayed the result it becomes 0.507 in the BOM component. Its the same when I select 25kg bag, the component quantity is 26.2kg, but when I displayed the result it becomes 0.262 in the BOM component. It looks like always divided by 100. When I double click the line item it gives me 0.010 in the BOM quantity.
I have checked both characteristics and both of them have the same attributes.
Please see my attached file for more detail and the object dependency syntax.
Thank you
Rgds,
Hendrik
Hello,
What is the unit of measure and base quantity defined in BOM?
Compare the object dependency $SELF.STPO_MENGE which other components if any variable condition are there probability calculated by a procedure.
Best Regards,
R.Brahmankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Hendrik,
try to write a procedure to be like this one
$self.VC_BOM_QTY = MDATA $self.VC_BOM_QTY * 5
- ($self.VC_BOM_QTY) it's the characteristic which will hold the quantity of the material in BOM
- (MDATA) a standard syntax which tell the system to change the value in the master data field which
already add to the reference characteristic STPO-MENGE.
- ($self.VC_BOM_QTY * 5) in this case i got the amount of the BOM and multiplied by 5 to set it as a new value.
for example : if the amount in the super BOM is 2 using this procedure it will be X5 so it will be equal 10.
then you have to assign this procedure to the BOM item which you want to change it's QTY.
if you need any extra clarification by screenshots tell me
if this solution solved / help you in the issue ... it will be appreciated to mark this answer as (Correct answer or helpful answer)
Best Regards,
Mohamed Salah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
VC_BOM_QTY
is just a reference characteristic to STPO-MENGE.
Also if you need extra clarification for the MDATA command please check the below link
Reference Characteristics in Dependencies - Variant Configuration (LO-VC) - SAP Library
Hi Mohamed,
Thank you for your reply, it's really helpful indeed.
I am actually have another question related to BOM quantity. My client has a business requirement to make the entire BOM on the fly during sales order entry. For example they enter 5 characteristics value and each characteristic refer to a particular component in the BOM.
They requirement is simple, we want to transfer whatever user entry in the sales order as a bom quantity.
Characteristics 1 = 50.20 then this value become BOM quantity for raw material 1
Characteristics 2 = 40 then this value become BOM quantity for raw material 2
Thank you
Dear
Create One Dummy Characterstic X .Maintain this characterstic Equal to urea qty .
then use this characterstic X for BOM to display final result.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hendrik,
Please change the base qty from 0.01 to 1kg in bom for material 79. 100% you will get what is required.
Always go and check in costing. That will be better.
Rgds
Maddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.