Remote enabled FunctionModule to convert Timestamps

Hello,
I need your help. I am searching for an SAP-FunctionModule that convert Timestamps from UTC to other time zones. The FunctionModule should be remote enabled and SAP standard (similar to FunctionModule = “TZ_GLOBAL_TO_LOCAL”).
Perhaps you can help me.

Hi Sam,
thank you very much for your answer. But we don´t like to build up a custom Z-function. We need a SAP-Standard remote enabled functionality (BAPI or Function).
I there really no standard functionality.
Holger

Similar Messages

  • 2.....how to convert normal function module into remote enabled function mo

    Hi...
    2.....how to convert normal function module into remote enabled function module?
    thanks and regards,
    k.swaminath.

    Hi,
    In the attributes tab select radio button as  remote enabled instead of normal..
    u can call the remote enabled fm as...
    CALL FUNCTION <Function module> destination <destination name>
    Regards,
    Nagaraj

  • Remote enabled Function module for a simple report program

    Hi Experts ,
    I have to convert a Simple list report program to a remote enabled function module, so that it can be used from the online applications.
    One option that comes to my mind is to create some import parameters for all the selection screen fields and then the result will be fetched in the export tables in function module. and call that report program using call transaction or submit program.
    I Dont know whether this is a best solution or not, can you please help me with your suggestions?
    Regards,
    Ashish Shah

    Hi,
    You can use the SUBMIT statment in the Function module , then in the report program you need to EXPORT the Result to the list then use the IMPORT option in the function moduel then pass the data to the TABLE parameters so that the data will be avilable in the table parameters
    Regards
    Sudheer

  • Remote Enabled RFC for Reading SMTP Adress out of ADR6

    Hi,
    just searching for a Remote Enabled Funtion which is able to return the SMTP Adress out of Table ADR6 for a given business Partner ID. (which needs also to be converted to ADDRNUMBER via BUT000 / BUT020 to match the Key Field of ADR6)
    Any hints for me ?
    Thanks
    Marco

    Marco,
    Use the following sequence of BAPI's:
    Call: BAPI_BUPA_ADDRESSES_GET,
    Then call:
    BAPI_BUPA_ADDRESS_GETDETAIL
    This will allow you to get the e-mail address for a given partner id.  You can write a wrapper bapi, to consoldiate the two steps into one process if needed.
    Take care,
    Stephen

  • Difference between BAPI Function Module and Remote Enable Function Module

    Dear Experts,
        I want to know the main difference between BAPI Function Module and Remote Enable Function Module ?
    One main difference that I know is BAPI FM are declared in Methods of Business Object  ie BAPI are methods of BOR where as Remote Enabled FM are not. What are other differences? Is it possible to convert a Remote Enable FM to BAPI FM .
    regards
    Manish

    Hello,
    Did u create any ZBAPI?
    The Procdure for Creating the Customer BAPI is Create a Remote Enabled Function module and then goto the tcode BAPI.
    Once u go in to that just take the Project tab and enter the details.
    by this way u can create a Customer BAPI.
    With Regards,
    Sumodh.P

  • Remote-Enabled Method (wrt ABAP Objects)

    Hi All,
    Adhering to ABAP Objects, in my project, i am creating instance methods or static methods instead of Function modules.
    now i have a requirement, where some functionality needs to be invoked on another server using an RFC destination.
    if i create a function module,
    1)i can tick the radio button "Remote-Enabled Module" under the Attributes of function module and
    2)i can invoke it as
    CALL FUNCTION 'ZMY_FM' DESTINATION 'RFCDESTNAME'
         EXPORTING
         IMPORTING
    in such cases is it mandatorily required to create an FM like above, or can i avoid it by writing an equivalent instance method or static method
    if we replace the FM with a method, then
    1)how can i make the method rfc enabled, and
    2)what is the syntax of providing the rfc destination name while invoking method.
    Is there any other concept provided in ABAP Objects, that is recommended instead of "Remote-Enabled Function Modules"
    thanks in advance,
    Madhu_1980

    Hello Madhu
    If you look at the properties of any global class you will find that the DropDown list for "Category" contains item:
    30 = Proxy Class for Remote Interface
    For me this sounds like that there might be something in the pipeline of SAP to provide RFC-enabled methods. However, if and when this becomes true is probably unknown.
    Regards
      Uwe

  • Difference between BAPI and remote enabled function module

    Hi!
    what is the difference between remote enabled function module and
    BAPI.
    How do we use remote enabled function module .
    thanks
    Amit

    Please search the forum before asking basic questions.

  • What would be the effect of %_RFC in a custom remote enabled FM.

    Hi,
    I have a requirement where there already exists a customized Remote enabled function module which contains the code for retreiving the production order number range based on the selection criteria(workcenter,plant)  as follows:
    CALL FUNCTION 'ZPRODORD_WORKCENTER' %_RFC
         EXPORTING
           COLLECTIVE_ORDER = COLLECTIVE_ORDER
           I_ARBPL = I_ARBPL
           I_WERKS = I_WERKS
         IMPORTING
           RETURN = RETURN
         TABLES
           ORDER_NUMBER_RANGE = ORDER_NUMBER_RANGE
           ORDER_HEADER = ORDER_HEADER
    This function is used in an INCLUDE program.Here I would like to know the significance of %_RFC.Im not able to locate the actual program where this include is used using the where used list to find  out the value which may be passed during debugging as this may be called from another server.
    Edited by: Vineela S on Oct 1, 2011 7:22 PM

    Hi Naimesh,
    Thanks for your reply.
    But here if I check the function group in which the RFC is defined im able to find the following Includes:
    *   System-defined Include-files.                                 *
      INCLUDE LZPRODORDRFCTOP.                   " Global Data
      INCLUDE LZPRODORDRFCUXX.                   " Function Modules
    *   User-defined Include-files (if necessary).                    *
    *  INCLUDE LZPRODORDRFCF...                   " Subprograms
    * INCLUDE LZPRODORDRFCO...                   " PBO-Modules
    * INCLUDE LZPRODORDRFCI...                   " PAI-Modules
    INCLUDE LZPRODORDRFCF01.
    But in not able locate the include  LZPRODORDRFCV07 which i have mentioned above.
    I would also like to know what would happen if the %_RFC is removed.Would the addition of %_RFC affect the performance of the program in any manner.
    Im not able to execute the program myself as it is linked with another server.
    Regards,
    Vineela.

  • How to make function module remote enabled?

    I am trying to make the RSCRMBW_GET_CELL_DATA_BAPI function remote-enabled by choosing remote-enabled in the attributes tab in the function builder. When I try to activate the function, I get an error telling me that Reference parameters are not allowed with RFC. In order to get around this, I set each of the import parameters to pass value. This time, I get an error for Generic types not allowed in RFC. I change the I_NO_TEXTS type from C to CHAR50. Finally, I get an error for Type RSCRM_BAPI6111CD_LARGE_T is unknown. I am able to see this type in both the RSCRM type pool (to which the 'unknown' type belongs) and CL_RSCRMBW_BAPI>GET_CELL_DATA_V2 method (which calls the function). However the function builder still tells me that the Type RSCRM_BAPI6111CD_LARGE_T is unknown.

    Hi,
    You need do this in a work around way. My suggestion is you need to create wrapper function module (RFC enabled) with same paramters of fm RSCRMBW_GET_CELL_DATA_BAPI and inside this function module pass these parameters and call  fm RSCRMBW_GET_CELL_DATA_BAPI, then there is no need to change fm RSCRMBW_GET_CELL_DATA_BAPI

  • Message handling in remote enabled function module .

    Hello experts ,
    I am creating a remote enabled function module which must return a warning message based on certain condition . Inorder to meet the requirement  I have added this line in the Fm's source code :
    " Message Wxx(message class) with a ."
    But when I am trying to use it , the above given message is dispalyed as an error message . Could you please let me know where am I going wrong . TIA.
    Regards,
    Prakrita Kapoor.

    Hi Prakrita,
    Try building below code within the RFC after you have added return structure in your RFC parameters.
      IF sy-subrc NE 0.
        CLEAR message.
        message-msgty = 'E'.
        message-msgid = 'ZMI'.
        message-msgno = '001'.
        message-msgv1 =  ID.
      PERFORM return_message USING message
                                   CHANGING return.
      Endif.
      form return_message USING    VALUE(P_MESSAGE)   LIKE MESSAGE
                                   CHANGING P_RETURN  LIKE BAPIRETURN.
      CHECK NOT MESSAGE IS INITIAL.
      CALL FUNCTION 'BALW_BAPIRETURN_GET'
           EXPORTING
                TYPE       = P_MESSAGE-MSGTY
                CL         = P_MESSAGE-MSGID
                NUMBER     = P_MESSAGE-MSGNO
                PAR1       = P_MESSAGE-MSGV1
                PAR2       = P_MESSAGE-MSGV2
                PAR3       = P_MESSAGE-MSGV3
                PAR4       = P_MESSAGE-MSGV4
           IMPORTING
                BAPIRETURN = P_RETURN
           EXCEPTIONS
                OTHERS     = 1.
    endform.

  • DD_DOMA_GET  - remote enable?

    While importing any RFC from R3 to IR getting error -> The function module "DD_DOMA_GET" not released for 'remote' calls.
    I got solution from forum.
    1. Is FM DD_DOMA_GET remote enabled.Please change the DD_DOMA_GET to remote-enable.
    2. Then Try to import the IDOCs in your Integration
    Repository.
    3.Please also have a look in note 718320
    It was not clear if both (step1-developer key/change FM, step 3-apply OSS notes) are required? For step 3 basis help is required, hence confirming thanks.

    Hi,,
    <i>Symptom
    When you work with the MetadDataInterface (referred to below as the mdi), you receive different results depending on the R/3 back end from which the information is extracted.
    You also notice a difference in performance.
    Other terms
    MetaDataInterface, mdi, Adaptive RFC, access to R/3 back end
    Reason and Prerequisites
    Among other things, the Java API MetaDataInterface allows you to access R/3 data types from a Java environment. A prerequisite for receiving o the complete type information is that the necessary function modules in the back end are remote-enabled.
    Increasing demands on the mdi resulted firstly in function modules in the back-end system being remote-enabled or in the creation of new modules. For earlier releases, these function modules were created or changed in Support Packages. Therefore, they do not always exist in these releases.
    This may lead to different results, for example, if you use mdi in the context of Adaptive RFCs. This may also result in a loss of performance.
    Solution
    If you have not already done so by importing the relevant Support Package, you should make the DD_DOMA_GET module remote-enabled.
    You should also refer to the related note with regard to the new modules.</i>
    Regards
    Bhavesh

  • Standard Remote-Enabled Function Module to display data.

    Good afternoon,
    Is there any Standard Remote-Enabled Function Module which can be used to display a list of material, supplier or stocks data?
    First time, I was trying to use FM link to BW Extractor as MDEX_MATERIAL_MD for Material Attributes, but these kind of FM are not Remote-Enabled and not released.
    My second solution is to find a Standard Remote-Enabled Function Module which can be used to display a list of material, supplier or stocks data, but I haven't it yet.
    May someone help me in this?
    Thanks in advance for your answers.
    Best regards,
    Paul d'ORIGNY

    Hi,
    Suppose you want to read data from the vbrk table in ECC through a function module, then you can define the function module as "remote-enabled"(attribute tab in se37-processing type). You can try the following code out:
    FUNCTION Z_EM_INVOICE.
    *""Local Interface:*
    *"  IMPORTING
    *"     VALUE(I_FKDAT) TYPE  FKDAT OPTIONAL
    *"  TABLES
    *"      E_VBRK STRUCTURE  VBRK
    *select * from vbrk into table*
    e_vbrk where fkdat = i_fkdat.
    ENDFUNCTION.
    From BI you can call the function odule as follows:Supposing that you are calling the function module in the start routine of a dso:
    data : v_dest_system TYPE char255.
    data: l_vbrk type table of vbrk.
    v_dest_system = 'DRDCLNT010'
    CALL FUNCTION 'Z_EM_INVOICE''
    destination v_dest_system
    EXPORTING
    i_fkdat = <passing variable>
    e_vbrk = l_vbrk.
    Regards,
    Anjana.

  • Remote-Enabled Function Modul G/L Accounts

    Hi!
    I am looking for remote-enabled function moduls (or BAPIs) to create and change G/L Accounts. There are two function moduls which seems perfect (GL_ACCOUNT_INSERT and GL_ACCOUNT_UPDATE) but these two are not remote-enabled.
    Does anyone know some alternatives that i missed?
    Thanks in advance,
    Frank!

    Hi.
    Look at this function module
    BAPI_ACC_GL_POSTING_POST

  • How to develop an Remote Enabled Function Module

    Hi All,
    I'm totally new to ABAP. I have a requirement to create a Remote Enabled Function Module, which I can use to call from an external program like Java using JCo.
    The functionality of the Remote Function is to write some data into certain fields of the tables AFPO and JEST.
    Can someone please guide me, how to do the above described task. Is there any code snippets available, that would be really gr8.
    Thanks & Best Regards,
    Chandrasekhar.

    you shuld have import parameters like this
    i_aufnr tpye afpo-aufnr.
    i_posnr tpye afpo-posnr.
    i_matnr tpye afpo-matnr.
    i_wemng tpye afpo-wemng.
    i_ltrmi tpye afpo-ltrmi.
    i_meins tpye afpo-meins.
    i_dwerk tpye afpo-dwerk.
    i_objnp tpye afpo-objnp.
    i_stat type jest-stat.
    in exceptions
    enter_key_data.
    assume all the fields are mandatory.
    types: begin of t_ekpo,
          aufnr like ekpo-aufnr,
          posnr like ekpo-posnr,
          matnr like ekpo-matnr,
          wemng like ekpo-wemng,
          ltrmi like ekpo-ltrmi,
          meins like ekpo-meins,
          dwerk like ekpo-dwerk,
          objnp like ekpo-objnp, "for Status update
          end of t_ekpo.
    types: begin of t_jest,
           objnr like jest-objnr,
           stat  like jest-stat,
           end of t_jest
    data: x_ekpo type t_ekpo,
          x_jest type t_jest.
    **need to validate before sending it to EKPO.
    if not i_aufnr is initial
         and not i_posnr is initial
         and not i_objnp is initial
         and not i_stat is initial.
    X_ekpo-aufnr = i_aufnr.
    X_ekpo-posnr = i_posnr.
    X_ekpo-matnr = i_matnr.
    X_ekpo-wemng = i_wemng.
    X_ekpo-ltrmi = i_ltrmi.
    X_ekpo-meins = i_meins.
    X_ekpo-dwerk = i_dwerk.
    x_ekpo-objnp = i_objnp.
    modify EKPO from X_ekpo .
    if sy-subrc = 0.
    commit work.
    endif.
    x_jest-objnr = i_objnp.
    x_jest-stat = i_stat.
    modify JEst from X_jest .
    if sy-subrc = 0.
    commit work.
    endif.
    else.
    raise exception enter_key_data.
    endif.
    please let me know if you need any validation on those.
    regards
    vijay
    Message was edited by: Vijay Babu Dudla

  • How to Create a Remotely Enabled Function Module

    Hi All,
    How to Create a Remotely Enabled Function Module.
    I Want to Create a FM Using Sample Data , This for Practice
    What Fields can i give in the Import and Export Parameters.
    Please Give me one Example
    Can Any one Give me the Steps to do this.
    Regards
    Vamsi

    Hi Vamsi,
    Lets do simple example where you will first create a RFC in one server (say A) and create normal program in othere server (say B). Finally you will call the RFC in A from B.
    Do the following steps for creating RFC in server A.
    1. log on to server A
    2. go to se37
    3. Edit -> function groups-> create function group and give the function group name (say ZGRP).
    4. create a FM ( say Z_TEST_RFC) in se37 providing the function group which is created just now.
    5. go to attribute tab -> choose remote-enabled module from processing type.
    so that your FM will become RFC.
    6. provide the import parameter in import tab.
    we will provide only two import parameters.
    - parameter name : P_NUM1, typing: TYPE, associated type : I & <b>check the pass value</b> (all the parameters of RFC must pass by value).
    - parameter name : P_NUM2, typing: TYPE, associated type : I & <b>check the pass value</b>
    7. provide the export parameter in export tab.
    parameter name : P_SUM, typing: TYPE, associated type : I & <b>check the pass value</b>
    8. write the given simple code in source code tab.
    FUNCTION Z_TEST_RFC.
    P_TOT = P_NUM1 + P_NUM2.
    ENDFUNCTION.
    Do the following steps for creating ABAP program which will call the RFC in server B.
    1. se38 - > creat a program.
    2. write the given simple code.
    data tot type i.
    call function 'Z_TEST_RFC' destination '<b>XXXXXX</b>'
      exporting
        p_num1 = 10
        p_num2 = 15
      importing
        p_tot = tot.
    write tot.
    please note that <b>XXXXXX</b> is RFC connection which is avialable in <b>sm59</b> transaction in server A.
    -go to sm59 - > abap connection (list of RFC connection configurations are avialable). choose server B connection and replace it of <b>XXXXXX</b> in the code.
    finally you can execute the normal abap program that will call the RFC and display the result.
    Regards,
    Sukhee

Maybe you are looking for

  • Posting balance is not cleared (period 01/2007 A) - showing as ERROR

    Hi SDN's, When am doing simulation for posting, showing error as "Posting balance is not cleared (period 01/2007 A)". Plz need your valuable suggestions to solve my issue. Thanks for your timings, Kind regards, Saisree.S

  • Set a tabular field value using getElementById().value

    Hi I have tried everything and now I hope some of you can help me.!!! I have made a tabular report based on a query: and I want to copy the value of one field into another field on the same record when clicking on a edit-link field I have made. SELEC

  • Синий экран смерти после установки Intel RST на Lenovo V580c [Win 8.1 x64]

    Доброго времени суток, проблема следующая: Синий экран смерти после установки Intel RST на Lenovo V580c [Win 8.1 x64] На ноутбуке установлена свежая чистая MSDN Windows 8.1 x64 Professional, лицензионная, активированная ключём. Установлены абсолютно

  • WAAS WAE Alarm 'mstore_key_retrieval'

    Hello, I am supporting an environment that has 30+ remote WAEs deployed with a CM at the HQ. All remote WAE's Versions = Cisco Wide Area Application Services (universal-k9) Software Release 4.2.3b (build b4 Oct  4 2010) HQ's CM version = Cisco Wide A

  • My games wont work

    I brought Call of Duty 2 for the Mac. It's a Mac DVD game. I can get the files to copy to my application but when I click on the game icon the computer asked me for the original CD. The CD is in the computer, and it's a legit game that I paid for. I