Skip to Content
author's profile photo Former Member
Former Member

converting units into KG

Hi,

my weight field has chances of getting units CS,DOZ etc.

but finnally i need to convert it into KG. what ever be the units it should convert it into KG. if KG exists it should not do anything.

plz tell me its vry urgent.

Kumar

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2005 at 04:52 AM

    Hi kumar,

    you can do the same in update rule using routine. Check the box "Unit calculation in routine" and using ABAP code just convert your required units.

    If you got your ans. don't forget to assign me the points.

    Regards,

    Jayant

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2005 at 04:53 AM

    Hi kumar,

    u can do that in the transfer rules .

    Just map the transfer rules and put that field as a constant that is map that field as constant ( " KG " )

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2005 at 04:57 AM

    Hi,

    You can use UNIT_CONVERSION_SIMPLE in update rule.

    For better picture take a look on the update rules of the fields (Gross weight in kilograms,Net weight in kilograms) in the info cube 0SD_C03. you have to look for this in update rules 2LIS_13_VDITM.

    With rgds,

    Anil Kumar Sharma .P

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.