Delivered Function Module to perform UOM conversions??

Hi Gurus,
Is there any SAP delivered function module that I can use to perform any UOM conversions at all. For eg, Gallons to liters etc.
Appreciate your inputs.
Thanks,
Reddy

Dinesh and Anil,
Thanks for your inputs. I ended up using UNIT_CONVERSION_SIMPLE. It met my requirement.
Regards,
Reddy

Similar Messages

  • ABAP Function Module to perform validation

    Hi Developers,
    I'm am trying to create a function module to be later used by a Web Dynpro application. The function module should be structured as followed:
    Importing
    USER_ID : User ID to be searched that is entered by user.
    TENANT: Tenant ID that is to be searched, also entered by user.
    Changing
    EXIST: A flag that will return the values Y or N based on a return from the function module.
    The function module must be able to access a specified Oracle database table and perform a check on the table with the provided import values. If the combination exists, it should return a Y. If the combination does not exist it should return an N. Assumption is that tenant and userid fields exist in this table in addition to two other. User ID is the primary key.
    Regards,
    JD

    Hi,
    For getting data from oracle the following threads may help you;
    Access external Oracle database with ABAP
    Accessing an external Oracle database from ABAP
    You can get more threads by [Searching|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_library&adv=true] the Forum.
    Regards
    Karthik D

  • Function Module to retrive conversion exit function module names based on conversion routine

    Hi All,
    Can you people help me out in finding a function module, which takes conversion routine name as input and gives all the conversion exit function modules as output.
    Thanks and Regards,
    Shivaraj Naik.

    Curious, I looked for the way SAP do the job in SE11, and they also use the CONCATENATE option...
    From Include LSD11F01 Form OBJ_GOTO
    *       Objektspezifische Navigationsziele
    *      --> GOTOID   Kennung für Navigationsziele
    *      --> DDNAME   Dictonary-Name
    form obj_goto using  gotoid type gotoid
                         ddname.
      case gotoid.
        when 'CNVE'.   "Konvertierungsexit zu Domäne
          data: wb_request type ref to cl_wb_request.
          data: fb_name like tfdir-funcname
                            value 'CONVERSION_EXIT_'.
          concatenate fb_name ddname '*' into fb_name.
          condense fb_name.
    * Request für Infosystem erzeugen
          class cl_wb_infosystem definition load.
          call method cl_wb_infosystem=>create_request
            exporting
              p_object_type        = 'FF'
              p_object_name        = fb_name
              p_operation          = swbm_c_op_search
              p_suppress_selection = 'X'
              p_show_as_popup      = 'X'
            importing
              p_wb_request         = wb_request
            exceptions
              action_cancelled     = 1
              execute_in_batch     = 2
              error_occured        = 3.
    Regards,
    Raymond

  • SAP Function Module Converting Stock UoM to the Billing UoM of the material

    Hi Guys,
    I'm looking for an SAP Function Module that can handle the automatic conversion of a material's Stock Unit of Measure into its Billing Unit of Measure.
    Any idea? 
    Thank you in advance.
    -allex

    Hi,
         Check this Function module
    OIU_QCI_CALC_BILLING_QUANTTIES
    Regards
    Bala Krishna

  • Function module for Time zone conversion.

    Hi SDN,
    Can any one tell is there any FM for conversion of time from GMT to CET or any other time zone
    Regards,
    Rahul

    Try these function modules
    STU3_ALERTS_CONV_LOCAL_2_UTC   Converts local time to a given timezone
    STU3_ALERTS_CONV_UTC_2_LOCAL   Converts local time to a given timezone
    TZ_LOCATION_TIMEZONE                     Time zones: Determine time zone for a location                                                                          (land, region)

  • Function Module to perform authorization and connect test for given RFC

    Hello Experts,
    I am working on request, which requires checking the RFC status.ie whether both Connection Test and Authorization test is OK for a given RFC.
    Please help me in finding the function module for the above request.
    Thanks in advance!!!!!!!
    Thanks,
    Karthik

    Hi Karthik,
    For connection test you can use RFC_PING as said by Thomas, for checking authorization using Uname/PWD etc use RFC_LOGIN.
    My Bad - You cannot use RFC_LOGIN, you can try with RFC_LOGIN_INFO and check the parameter "RFC_LOGIN_COMPLETE".
    Regards,
    Chen
    Edited by: Chen K V on Jun 3, 2011 2:16 PM
    Edited by: Chen K V on Jun 3, 2011 2:23 PM

  • Functional module to  perform the following T.code

    hi experts,
    give the function module for the Tcodes ME21N, MIGO,MIRO,VL01N,VA01,XD01,FK01
    G.Ganesh Kumar

    Hi Gopinath,
      If you want to the function module go to that transaction and go to menu system->status in that select the program name.
    Then go to se38 give the program name and click on display, then click on Display Object List Icon which will be beside Where Used List icon, then you will get all the function modules related to that program.
    Thanks & Regards
    Haritha.

  • Function module for date format conversion

    hi ,
    Can someone plzz tell me if there is a SAP standard function module that can convert date of any format to date of a particular format .
    Thanks
    Sheetal

    Hi,
    Data: V_date(10) type c.
    v_date = 'yyyy/mm/dd'.   " your format.
    write : v_date using edit mask '__/__/____'   " this will conver the format
    If you want the user specfic format, then use the below code
    Data: Date1 type Sy-datym,
             Date2(10) type c.
    date1 = Sy-datum
    Write: Date1 to Date2.
    Write:/ Date2.  " This Date2 will have the user Specif format
    Regards
    Sudheer

  • Function module for decimal notation conversion

    Hi
    Is there a function module to convert any decimal notation to the
    1,234,567.890 , and if there is , then a sample code will be very useful
    Thank you

    Hi,
    Please try FM C14N_NUMERIC_FORMAT.
    or try this.
    data: c(100) type c.
    data: length type i.
    data: offset type i.
    c = '1223,54'.
    length = strlen( c ).
    offset = length - 3.
    translate c+offset(1) using ',.'.
    write:/ c.
    Regards,
    Ferry Lianto

  • Changing delivered class/function module.

    Hello All,
    Can I change delivered ABAP class "CL_HRMSS_RECRUITING_WF" (add functionality to a method "CREATENBOBJECT"). Also can I change a delivered function module "HRWPC_EREC_CREATE_EREC_OBJECT" .
    My original problem.
    I am trying to pass the my object (with few attributes read from tables) using CREATENBOBJECT as a parameter to the function module "HRWPC_EREC_CREATE_EREC_OBJECT" (CREATENBOBJECT calls HRWPC_EREC_CREATE_EREC_OBJECT).
    The "CREATENBOBJECT" is called as an activity in the workflow (personnel requisition workflow).
    Kind regards.
    Srinivas

    Hi Srinivas,
    Using SE24 to copy CL_HRMSS_RECRUITING_WF  to say  Z_CL_HRMSS_RECRUITING_WF
    Copy Class:
    Path:
    1> Goto SE24
    2> Type in CL_HRMSS_RECRUITING_WF  in screen field  Object Type
    Menu path
    3> Object Type/More Functions/Copy. Here you mention your class name (ex: Z_CL_HRMSS_RECRUITING_WF)
    Copy FM:
    Path
    1> SE37
    2> Type in HRWPC_EREC_CREATE_EREC_OBJECT in screen field 'Function Module'
    Menu Path
    3> Goto Function Module/ Other Functions /Copy. TYpe in your FM say Z_HRWPC_EREC_CREATE_EREC_OBJECT
    I hope this solves your problem of copying. Herewith make your changes with these new objects.
    Please reward points if it has satisfied your requirement.
    AKJ

  • Conversion Function module for Volume

    hi,
      Is there any standard function module to do the conversion of VOLUME.
    for example : if i have source volume in one unit & i want it in another unit.
    regards,
    srikanth,Intelligroup.

    If it is a straight conversion and you do not need to use the conversion factors tied to a material then you can do something like this.
    report zrich_0001.
    parameters: p_qtyi type p decimals 2,
                p_uomi type t006a-msehi,
                p_uomo type t006a-msehi,
                p_qtyo type p decimals 2.
    at selection-screen.
      call function 'UNIT_CONVERSION_SIMPLE'
        exporting
          input                      = p_qtyi
    *   NO_TYPE_CHECK              = 'X'
    *   ROUND_SIGN                 = ' '
         unit_in                    = p_uomi
         unit_out                   = p_uomo
      importing
    *   ADD_CONST                  =
    *   DECIMALS                   =
    *   DENOMINATOR                =
    *   NUMERATOR                  =
         output                     = p_qtyo
    * EXCEPTIONS
    *   CONVERSION_NOT_FOUND       = 1
    *   DIVISION_BY_ZERO           = 2
    *   INPUT_INVALID              = 3
    *   OUTPUT_INVALID             = 4
    *   OVERFLOW                   = 5
    *   TYPE_INVALID               = 6
    *   UNITS_MISSING              = 7
    *   UNIT_IN_NOT_FOUND          = 8
    *   UNIT_OUT_NOT_FOUND         = 9
    *   OTHERS                     = 10
      if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    Regards,
    Rich Heilman

  • Function module for conversion from dollar to indian currency

    what is the standard function module used for the conversion of one type of currency to other?

    try this CONVERT_TO_LOCAL_CURRENCY.
    Otherwise go to se37 and search for ConvertCurrency

  • Deactivate authorization checks in BSP or function modules?

    Hi all
    I have a BSP application that seems to use a standard function module that performs an unwanted authorization check on object M_MATE_VKO (Material check on sales organization)
    I know it is possible to globally deactivate authorization checks in certain SAP transactions (SU24)
    Does anyone know if there is a similar functionality for BSP applications or function modules? Any suggestions on how to deactivate such authorization checks in BSP applications?
    Regards
    Mike

    > I will also check with my developer if this function module has any return codes etc that can be useful for a custom authorization check. However, I thought these checks were all done within the function module and that it will only return a true/false authorization, sort of... and I am not sure it's a good idea to override all standard authorization checks in this function module
    Sometimes you can handle the messages, but your developer will be able to help you decide whether that is a good idea or not.
    Globally deactivating the object for the whole system is most likely not a good idea, as you seem not to want to grant it because you need it somewhere else...
    Deactivating all checks for the function module is probably not wise either, as I would think that it applies to the whole function group. Developers can do such things sometimes, but often it results in all end users being able to do the same.
    I know that proposal indicators can be set for function modules, but have not tried check indicators. Again, I suspect that it would apply to the whole function group.
    I would think that a carefull choice of function module and consulting with your functional guru about config which will not interfer with other requirements is the best route to take.
    I like threads like this. If I bump into a specific solution I will remember it. Try using the search here at SDN on the names of some of the FM's which you are considering - someone might already have solved it...
    Cheers,
    Julius

  • MF60: Function module for the same

    Hello All,
    There is the 'create replenishment proposals in the MF60 transaction.
    What is the table which contains details of the missing quantity, quantity staged and requirement date?
    Meaning, which table is updated after one runs through this transaction?
    I tried using the F1 help on the fields in the transaction, but in vain.
    Also, if there is any function module which performs the same function as the 'create replenishment proposals', the way the button does?
    Thanks

    Hi,
    You can also try with MGW1_CHANGE_BOM and CS_CL_S_BOM_CHANGE   
    Regards,
    Ram
    Message was edited by:
            Ram Mohan Naidu Thammineni

  • Function Modules for Report Display of Nodes/Hierarchys in BW/SEM?

    Has anyone done this? have any suggestions?
    Thanks.

    Hi Tom,
    Typically the standard solution within SEM-BCS is to use a virtual InfoCube for reporting on transactional data. 
    The virtual InfoCube has been assigned a service, namely the SAP delivered function module RSSEM_CONSOLIDATION_INFOPROV, which applies the necessary SEM-BCS logic such as hierarchy and edge information to the data coming from the transactional cube.
    Let me know if this helpful or you need more help.
    Regards,
    Mani.

Maybe you are looking for

  • Error while loading data into persisted column

    Hi All, I have a table and i am trying to load some test data into it such as Insert Into [Test] values(000,'abc') Below is my table structure CREATE TABLE [Test] [Id] [int] NOT NULL, [Desc] [varchar](256) NOT NULL, [IdFormal] AS CONVERT(varchar(5),[

  • Error in BAPI_ENTRYSHEET_CREATE

    Hi, I am uploading data through BAPI_ENTRYSHEET_CREATE to create service entry sheet. we have tested the same through se37 and from there it is working fine. but when test the same throgh program it is giving the SES number but in return it is saying

  • Latest patch cluster idated march 14 nstalled on solaris10

    I installed the latest patch cluster on my solaris10 system and afterwards the Solaris Management console would not work. I kept getting the error that the server was not running. I followed the limited trouble-shooting guidelines for stopping and st

  • Why do my ebooks not work anymore after resetting my computer?

    i formated my computer, since then my ebooks cannot be opened. The error that shows is: E_lic_already_fulfilled_by_another_user i only have one Adobe-ID and my Digital Edition is authorized with it. i contacted my ebook provider and they say they can

  • One album will not sort by date

    I have 5000 or so photos that I've spent weeks organizing and rating. I set up smart albums with rules to include only specific keyword identified pictures then combed thru all the pictures asssigning keywords (e.g. Spouse, Scenery, Wildlife, People.