on 2012 May 05 7:42 AM
hi all,
i have create following dependency to calculate weight of a plate
000010 $self.plate_weight1 = $self.plate_width1*$self.plate_length1*
000020 $self.plate_thickness1*$self.steel_density/1000000
but i am not seeing any auto calculation after putting values in respective characteristic.
i have a class BATCHUOM_OD1 with following characteristics
PLATE_WIDTH1
PLATE_LENGTH1
STEEL_DENSITY1
PLATE_THICKNESS1
PLATE_WEIGHT1
I have put dependency for plate_weight1 as per above
please advise where i am wrong.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
DEAR ALL
I AM CLOSING THIS THREAD BUT HONESTLY I THANKFUL TO ALL WHO HELP ME A LOT TO DO IN STEEL PLANT BATCH ISSUE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad I could be of help, RK. I am working on a similar process and would appreciate if you could send me your document, as well. Based on your testing, could you share the do's and dont's of using batch specific units with object dependencies? My id is doriangray661@gmail.com.
Thanks
Dear RK,
I am working on a similar process and would appreciate if you could send me your document, as well to the mail ID : spsubbu@gmail.com.
Thanks in advance.
BR,
Subbu.
R K, instead sending them emails individually, why don't to make a document in SCN itself, with some screen-shots?
http://scn.sap.com/doc-create!input.jspa?container=2110&containerType=14&documentID=&tags=&subject=
It will be useful for anyone who's looking for similar kind of scenario. Also you will get points for contributing to the community.
By the way, you need to mark the helpful answers, people who answered your questions took their time and put effort to help you out.
Hi,
please also send me document on chinsap66@gmail.com , thanks in advance
creating docuement on SDN is better Idea by Jeevan so that it will be usefull for all the user in future too.
Also , being thankfull to guys who send you so many reply, you should allot them points, just a suggestion.
Thanks
Chin
Dear RK.
Can you please send me the document as i am working on a similar senario My mail id is
Thanks in Advance
Regards
Arun
Hello,
I am encountering exactly the same situation. I have defined the characteristic values and the object dependancy procedure. However when I put the length, breadth and thickness in the characteristic values during GR, the weight is not calculated automatically. Appreciate if you can sent the document to me too on palekarketan@rediffmail.com.
Thanks in advance.
Regards,
Ketan
Hi RK
Maintain the dependency (procedure) you have defined, in PLATE_THICKNESS1 instead of PLATE_WEIGHT1. When you do the GR in MIGO, the value for weight in PLATE_WEIGHT1 will be automatically updated after you enter the thickness value in characteristic PLATE_THICKNESS1 (and the values for other dimensions).
Tried out the scenario and it worked just fine.Let me know once you test it.
Rgds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi RK,
from your post it looks perfect, only thing is please check syntax of dependency it may have some spaceing error or may be the procedure is locked or not released.
also you havent mention where you have attached this procedure ? have you attached it to characterstic PLATE_WEIGHT1?
please check and come back with findings.
Thanks
Ritesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You assign characteristics values to the batch in the classification, for example, length, width, thickness, density. The system determines all conversion factors.
In the object dependencies, you have to ensure that the conversion factor found has a maximum of 3 places after the decimal point and can be expressed as a 5-figure numerator/denominator ratio.
The system does this by using the object dependency described to calculate an intermediate result from the batch characteristics entered. The intermediate result can then be rounded by another procedure.
Kindly go through the link below:
http://help.sap.com/saphelp_46c/helpdata/en/7f/c23c0bddf411d285e20000e82013e8/content.htm
Hope the information is helpful.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi RK,
See the highlighted , portion from SAP help below, and also see the example at the end, it will give you idea how system is calculating weight. May be you need to write a another procedure for rounding of resulting characterstic.
Activities (Courtesy help.sap.com)
In the object dependencies, you have to ensure that the conversion factor found has a maximum of 3 places after the decimal point and can be expressed as a 5-figure numerator/denominator ratio.
The system does this by using the object dependency described to calculate an intermediate result from the batch characteristics entered. The intermediate result can then be rounded by another procedure.
25,000 kg are ordered. The price is set per KG. In this case, the price in the purchase order should be entered in KV (actual weight) to balance the differences between the theoretical weight in inventory management and the actual weight.
The quantity specified in the shipping documents is 24,000 KG. This quantity is entered. The dimensions are then specified in the batch. This results in a conversion factor of 2,342.641 KG/PC. This amounts to a quantity with decimal places (10.245), which is not allowed. The quantity is therefore manually reset to 10.0. This results in a quantity of 23,426.41 KG in stockkeeping units. So that differences do not arise in Invoice Verification, you can manually change the purchase order price quantity to 24,000.
well yes there are tables in which you can find these values but question is why to do so as SAP have this feature for calculating it using procedure.
please try to check , everything once again , including type of characterstic , data format, decimial places , etc and i am sure there must be some thing missing which is preventing the generation of this value.
Thanks
Ritesh
i assume you are assigning this value while doing GR ( MIGO) for the material.
please specify in which transaction you are assigning this value , if you are doing it in MM01 or MM02 while creating or changing material, i doubt it will not work, as dependency will not trigger for calulating the weight of resultant characterstic, thast why ask .
try it in MSC1N or MIGO where batch is getting created.
check n reply
Thanks
Ritesh
User | Count |
---|---|
115 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.