cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion Factors from Object Dependencies in batch management

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

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.

Former Member
0 Kudos

Dear RK,

can You please let me know for which process you got this issue and how you over come ?

Regards,

Praveen.

Former Member
0 Kudos

SEND ME YOU EMAIL I WILL SEND YOU ENTIRE PROCESS STEPS SO THAT IT WILL HELP YOU

Former Member
0 Kudos

Dear RK,

            subbu.itcindia@gmail.com is my e-mail id.

Thanks,

Praveen.

Former Member
0 Kudos

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

0 Kudos

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.

Former Member
0 Kudos

just give me a couple of days i will prepare a complete document and will send you

Former Member
0 Kudos

just give me a couple of days i will prepare a complete document and will send you

Former Member
0 Kudos

please check mail i send dcuments

Former Member
0 Kudos

please check mail i send dcuments

Former Member
0 Kudos

please check mail i send dcuments

sjeevan
Active Contributor
0 Kudos

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.

former_member210771
Participant
0 Kudos

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

Former Member
0 Kudos

Dear RK.

Can you please send me the document as i am working on a similar senario My mail id is

arunsap00@gmail.com

Thanks in Advance

Regards

Arun

0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

HI DORIAN,

THANKS TO YOU ALSO BECAUSE OF YOU I CHANGE MY DEPENDANCY LOGIC. GREAT HELP.

Ritz
Active Contributor
0 Kudos

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

Former Member
0 Kudos

dear Ritesh,

thanks for the reply.  please have a look on assignment and let me know where i am wrong

Ritz
Active Contributor
0 Kudos

Hi RK,

Its also seems perfect as procedure is with status 1 released and as its realeased its syntax must be correct.

Ritesh

Former Member
0 Kudos

IF INSTEAD OF 3 DECIMAL PLACE IF I TAKE 5 DECIMAL WILL IT WORK AS INSTRUCT BY SWETHA ?

Former Member
0 Kudos

Hello RK,

Please ensure that the conversion factor found has a maximum of 3 places after the decimal point if it exceeds more than that consider other procedure for rounding off.

regards

Former Member
0 Kudos

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,

Former Member
0 Kudos

hi swetha,

i am not getting your point

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.

Ritz
Active Contributor
0 Kudos

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)

  1. You enter the receipt in any unit of measure. The system automatically goes to the batch classification.
  2. 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.

  1. The system checks whether the conversion factors exceed the permitted number of decimal places in the product units.
  2. If the permitted number of decimal places is exceeded, you can correct this manually or the system can round off the number until all the product units have the correct number of decimal places.

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.

Former Member
0 Kudos

can i see this values in any tables so that i can develop a Z report for users

Ritz
Active Contributor
0 Kudos

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

Former Member
0 Kudos
Former Member
0 Kudos

i am getting above message after i save material master.

is this affecting to my procedure ?

Ritz
Active Contributor
0 Kudos

RK,

as the characterstics you are using are mandatory characterstic , thats why you are getting this message.

It will not affect the generation of value.

One more question , in which transaction you are assigning values to this characterstic ? and how you are checking result?

Thanks

Ritesh

Former Member
0 Kudos

same question i supposed to ask you.

please help

Ritz
Active Contributor
0 Kudos

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

Former Member
0 Kudos

DARLING GREAT

I HAVE MADE SOME CHANGES IN MY SCENARIO AND TRY IT ONCE AGAIN AS PER YOUR INSTRUCTIONS. I AVOID PUTTIG VALUES IN MM01 /MM02. IT WORKS.

THANKS TO ALL