on 12-22-2009 6:12 AM
Hi All,
We are working out bacth specific unit opf measurement in steel industry.
The base unit of measure in Tonne. The batch specific UOM is Pieces.
We want system to calculate the batch speific UOM from the production order quantity which is tonnes.
For this we have defined following charactsristics in class which is assigned to materilals,
1. PIECES- Number of pieces in batch
2. SECTIONWEIGHT- This is the fixed value for every material the unit is KG/M i.e. Kilogarm per meter
3. Z_LENGTH- Length of the material which is order specific
4. WEIGHT- Batch weight which is nothing but the production order quantity in Tonnes.
We are defining the following formula to calculate the number of pieces in object dependancy in 'Procedure',
$SELF.'PIECES'=$SELF.'WEIGHT'1000$SELF.'Z_LENGTH'/$SELF.'SECTIONWEIGHT'.
While consistency check that is whether the formula is correct or not, system throwing me an error, 'Syntax error in simple action/procedure'
Kindly help to resolve this and also give input to handle the above scenario.
SmanS
Dear,
Write Dependency as shown below,
$set_default($self,pieces,($self,weight1000(($Self.z_lenght/$self.sectionweight))
Regards,
Dhaval
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear,
Have you created your Variant Function using CU65?
Also have you created your Characteristic Value Assignment to match the Characteristics being used in your Characteristic Object Dependency and that you have Written ABAP Code in an ABAP Function Module from CU65.
Please refer this link,
If you are using the IS-Mill then use the standard Characteristic
$self.sap_millca_quantity =($self.sap_millca_factor * $self.SAP_MILLCA_LENGTH)
Regards,
R.Brahmankar
Dhaval,
Thank you.
I correcetd the error with your solution.
The syntax error has been resolved.
Could you please guide me further for resolving the main issue.
Let me explain you the scenario in details.
Client manufactures stell angle.
The base UOM is Tonnes.
It is having following dimensions,
Width, Thikness, height, Length.
We have created material codes with the combination of width, thikness & height.
Length would be part of classification as one of the characteristics.
Beside length the other characteristics are PIECES, Z_LENGTH & SECTIONWEIGHT.
My requirement is whenever the production order is created for specific quantity, say 5 tonnes, the pieces should be calculated automatically in the batch classification.
Also after GR when the batch comes into stock, it should get updated if the batch quantity in tonnes changes throughout the logistics chain.
How to incorporate this as it is hampering the process a lot.
I feel you could help me to solve this.
SmanS
User | Count |
---|---|
95 | |
11 | |
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.