How to retrieve UoM-conversion Numerator and Denominator with 5 digits?

Hi,
in pricing i am using condition base formula to fill the condition amount and condition base value.
Condition amount might be a price per UoM which is different from the order uom.
konv-kbetr konv-waers / konv-kpein konv-kmein (e.g. 1.200 USD / 1 LB )
Thus i also convert my base quantity to konv-kmein.
Using UNIT_CONVERSION_SIMPLE i retrieve the used DENOMINATOR and NUMERATOR which i want to pass over to
KONV-KUMNE and KONV-KUMZA.
Problem is that KONV-KUMNE and KONV-KUMZA are DEC5_0, while the Conversion factors defined in customizing (T006-ZAEHL and T006-NENNR) have 10 decimals, and these are the values passed back by UNIT_CONVERSION_SIMPLE.
Standard pricing somehow manages to derive 5 digits denominator and numerator even if the conversion is customized using larger numbers.
Anyone an idea how to do that??
Thanks for any help! Kind Regards,
Guido
Edited by: Guido76 on May 25, 2010 3:42 PM

Hi,
in pricing i am using condition base formula to fill the condition amount and condition base value.
Condition amount might be a price per UoM which is different from the order uom.
konv-kbetr konv-waers / konv-kpein konv-kmein (e.g. 1.200 USD / 1 LB )
Thus i also convert my base quantity to konv-kmein.
Using UNIT_CONVERSION_SIMPLE i retrieve the used DENOMINATOR and NUMERATOR which i want to pass over to
KONV-KUMNE and KONV-KUMZA.
Problem is that KONV-KUMNE and KONV-KUMZA are DEC5_0, while the Conversion factors defined in customizing (T006-ZAEHL and T006-NENNR) have 10 decimals, and these are the values passed back by UNIT_CONVERSION_SIMPLE.
Standard pricing somehow manages to derive 5 digits denominator and numerator even if the conversion is customized using larger numbers.
Anyone an idea how to do that??
Thanks for any help! Kind Regards,
Guido
Edited by: Guido76 on May 25, 2010 3:42 PM

Similar Messages

  • Numerator and Denominator for converting of condition type incorrect

    Hi.
         i create credit memo request which refers from invoice. When i have entered condition type, i found that condition value of its is incorrect because the numerator and denominator do not equalize with conversion factor in tab Sale A of item. However, the numerator and denominator affect the condition base value.
       I think that it is error from standard system, but i don't know where the point of it is. Please suggest me.
    PS. The materials in invoice is material variant of which conversion factor in sale order is instead from user exit.
    Best Regrads.,
    Autsnee P.

    Hello
       As a process you have done well. But I suspect there could be an error at " condition value ". Because when you use the division function we have to CLEARLY specity the UNIT and DEPENDANT DECIMAL.  To give you an example
            Example:1 " Procurement order ".
               If a procurement amount = say <1 Million.
              Business say to 20% of amount to be distributed to Inventory Dept. Here you have to declare a division condtion. with BASE UNIT and decimal unit.
               By nature system trys to compare with the previous available data.            
             I hope I answered your question. It was nice answering your question. Feel free to reach SDN if you have any questions. What are the action item at Intregatrion scenario.
    Thanks in advance for your co-operation
    Ashok Babu
    Enterprise Business process Architect
    SAP XI Senior Consultant

  • How to retrieve the Conversation ID in ABAP

    Does anyone know how to retrieve a conversation ID in ABAP?
    You can retrieve the reference ID from SXMSPMAST but how do you retrieve the conversation ID?
    Table names? FM?
    ABAP not Java or UDF
    All suggestions welcome.
    Regards,
    Nay

    As I said in my question, I am not asking for how to retrieve the conversation ID in a UDF. Please read my question....
    I am asking, given a specific message ID, how can I retrieve the conversation id for that message ID on the ABAP stack - e.g. with a function module, what table names etc.
    thanks, Nay

  • How to retrieve the procedure value and pass the value to a form field

    How to retrieve the procedure value and pass the value to a form field?

    Set property for the field and the value is the actual procedure/function.
    Cheers

  • Does anyone know how to retrieve lost mailbox folders and their contents in mail?

    Does anyone know how to retrieve lost mailbox folders and their contents in mail?

    It might be that you selected "Delete sent mail after a mont (or a week, or whatever)" in Mail Preferences. iCloud account is IMAP, so it won't keep mail in your HD. I have that problem.

  • Can anyone tell me how to retrieve all reserved identifiers and keywords in

    can anyone tell me how to retrieve all reserved identifiers and keywords in oracle ???
    i want to know the syntax of query ??

    yes i do , but now i faced problem of JDBC
    thanx for the help , i am able to retrieve the keywords
    actually i want to retrieve the words in java thought JDBC
    my code is
    try ..//
    Vector  keywords =new Vector();
    String sql4=("select * from   V$RESERVED_WORDS");
    ResultSet rs7=stmt6.executeQuery(sql4);
    //  System.out.println("1");
    while(rs7.next())
    keywords.addElement(rs.getString("KEYWORD"));
    ;catch //This is giving following exception
    java.sql.SQLException: Invalid column name

  • How can we get Dynamic columns and data with RTF Templates in BI Publisher

    How can we get Dynamic columns and data with RTf Templates.
    My requirement is :
    create table xxinv_item_pei_taginfo(item_id number,
    Organization_id number,
    item varchar2(4000),
    record_type varchar2(4000),
    record_value CLOB,
    State varchar2(4000));
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'USES','fever','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'HOW TO USE','one tablet daily','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'SIDE EFFECTS','XYZ','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'DRUG INTERACTION','ABC','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'OVERDOSE','Go and see doctor','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'NOTES','Take after meal','TX');
    select * from xxinv_item_pei_taginfo;
    Item id Org Id Item Record_type Record_value State
    493991     224     1265-D30     USES     fever     TX
    493991     224     1265-D30     HOW TO USE     one tablet daily     TX
    493991     224     1265-D30     SIDE EFFECTS     XYZ     TX
    493991     224     1265-D30     DRUG INTERACTION     ABC     TX
    493991     224     1265-D30     OVERDOSE      Go and see doctor     TX
    493991     224     1265-D30     NOTES     Take after meal     TX
    Above is my data
    I have to fetch the record_type from a lookup where I can have any of the record type, sometime USES, HOW TO USE, SIDE EFFECTS and sometimes some other set of record types
    In my report I have to get these record typpes as field name dynamically whichever is available in that lookup and record values against them.
    its a BI Publisher report.
    please suggest

    if you have data in db then you can create xml with needed structure
    and so you can create bip report
    do you have errors or .... ?

  • How do i manage multiple users and devices with one apple id without everything showing up on every device?

    how do i manage multiple users and devices with one apple id without everything showing up on every device?

    How to use multiple iPhone, iPad, or iPod devices with one computer

  • How shall I use my IMac and MacBookPro, with synchronized files

    Hi, how shall I use my IMac and MacBookPro, with synchronized files? I used to work at home and office with those to machines and finally always have different version of my documents. Is there any dispositive that I should use, where all my files are moving with me? os there is something to synchronized the computers using WiFi or bluetooth?

    The following has instructions: OS X Mavericks: Share your Internet connection

  • I have purchased an Apple TV from a friend. How do I replace his username and password with mine?

    I have purchase an Apple TV from a friend.  How do I replace his username and password with mine.

    Sign out and sign in with your own Apple ID.

  • How do you overlap PDF's and finish with one PDF file? Need help ASAP

    how do you overlap PDF's and finish with one PDF file?
    Need help ASAP

    I'm not sure if you can do that with CreatePDF.  Try it; you got one free use when you sign up with Acrobat.com
    If not, you will have to use Adobe Acrobat; there is a full-use 30 days trial.

  • How to get slideshow to Pause and restart with auto play enabled? all slideshow do not restart!

    How to get slideshow to Pause and restart with auto play enabled? Happening in all slideshow do not restart once one photo is selected

    I agree cwclark, I was going to ask the exact same thing, and yes, the only way to 'restart' the auto play is to reload the page which is frustrating to say the least. Every other site I've seen with this kind of 'auto-play' slide show still auto-plays even after clicking the 'next' or 'previous' buttons. Adobe, you need to get a fix for this ASAP

  • How to retrieve sharepoint list data and show it on excel-addin using C#

    Hi,
    we have a sharepoint list where all students are present. we wanted to get the data from the list and show it via excel addin (VSTO) (something like save,retrieve buutons) . we have some more business logic which need to be performed before the data is retrieved
    . once data is shown on excel , user modifies it and update/save the record back to sharepoint.
    can you please give some samples and suggest any links to start with development.
    Thanks
    chaitu

    Hi chaituatp,
    For this requirement, I would suggest you to get familiar with how to create VSTO applications, and how SharePoint object model works. Here are some sample code about this:
    How to: Retrieve List Items using JavaScript:
    http://msdn.microsoft.com/en-us/library/hh185007(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/ee534956(v=office.14).aspx
    VSTO application show data in datagridview:
    http://stackoverflow.com/questions/16926275/simple-example-of-vsto-excel-using-a-worksheet-as-a-datasource
    Thanks,
    Qiao
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Qiao Wei
    TechNet Community Support

  • How to calculate UOM conversion rate

    Hi All,
    Whether there is any Standard API available to calculate the UOM Conversion rate.
    There can be interclass intraclass or standard conversion.
    Please help.
    Thanks,
    Arun

    Hi,
    If the Business no longer uses the 500 pcs conversion, one could Inactivate the conversion and define a new one.
    If Business wants to have a choice of using 500 or 450 pcs, then a new Case UOM needs to be defined.
    I hope this helps.
    Regards
    Adarsh Krishna

  • How to retrieve all users in the portal with UME API

    Hi everybody,
    I would like to know how to retrieve all the users from a portal, which uses LDAP as a source (there are users created in the portal as well)
    My code snippet is :
    IUserFactory userFactory = UMFactory.getUserFactory();
    UserSearchFilter searchFilter = userFactory.getUserSearchFilter();
    searchFilter.setDisplayName("*", ISearchAttribute.LIKE_OPERATOR, false);
    ISearchResult searchResult = userFactory.searchUsers(searchFilter);
    My problem is that with the code above, only the users created in the portal are displayed, and no LDAP users.
    Does someone know how to retrieve all the users whatever is the source?
    Regards
    Renaud

    prakash's code should work.
    however, mine code below doesn't user a search filter. it retrieves everyuser including users like indexadmin etc. Note:
    result.next().toString();
    returns a weird uniqueID used in the portal world.
    getUniqueName()
    gives your the usernames (sAMAccountName in Microsoft AD) people use to logon to the portal.
    try {
      IUserFactory uf = UMFactory.getUserFactory();
      ISearchResult result = uf.getUniqueIDs();
      while (result.hasNext()) {
        String uniqueid = result.next().toString();
        IUser user = uf.getUser(uniqueid);
        String userid = user.getUniqueName();
    } catch(Exception e) {
      //systemout

Maybe you are looking for