Doubt in remote enabled module

hi all
i am creating a fn. module (rfc).when i activate the fn. module it shows an error (report/program statement missing or program type is include). my fn group is inactive how to active that ... is the problem is because of fn group....please help in this regard
thanks
lokesh

hi
you are function group is inactive..
1. se37-put in your function module- click change.
2. click on function module- check - extenden program check.
It will display 2 fatal exceptions. These exceptions are the 2 include files of the function group.
one is the include file with all the collections of function modules. (this has further include file)
The other one is the top file with all global data declarations. (this has further include file)
3. double click on each of the includes, and in turn double click on the include files inside them. AND ACTIVATE ALL OF THEM ONE BY ONE.
4. the include files below will give a warning- still activate them any way.
then
5. click back till you return to the function module screen.
7. check, save and activate- and the eror is gone.
hope it was helpful..

Similar Messages

  • Remote enable module - exceptions issue

    Hello all,
    I have a function module.
    I choosed to make it RFC :  Remote enable module.
    Then I got the message During RFC/update, no exception classes can be used, when I try to check it.
    So I commented all parts regarding exceptions, deleted the Exceptions part .
    And I still receive the same message
    I don't know what else to do... Does anybody has an advice ?
    Thank you !!!

    Hello Ariana
    Most likely there is an exception class defined in the signature of your function module.
    Remove the exception class and replace it with a standard exception and then the compilation error should disappear.
    However, RFC-enabled fm's should not raise any exception because otherwise the RFC connection will dump. Instead, return the errors as messages in a RETURN parameter (of table type BAPIRETTAB) like it is done in BAPIs.
    Regards
      Uwe

  • Remote Enabled Module option for FI_ITEMS_DISPLAY

    Hi,
    We need to Enable the Remote Enable option for function module
    FI_ITEMS_DISPLAY to access the third party system.
    Please suggest wheather we can enable the remote enable option but in
    this function module refernce parameters are used.
    please suggest.

    Hi,
    purpose of this FM is to display ALV with some data which are passed to this function module and therefore it is meaningless to make this FM remote enabled. It is not clear what exactly is your issue. Can You explain it in more detail?
    If you want to get items data from third party system and than to display them in SAP, you do not need to change this FM to remote enabled. You just need to get data from external system before calling this FM for displaying data and pass these data to FM FI_ITEMS_DISPLAY.
    If you want do display ALV in third party system, it is not possible.
    In general, it is possible to make a customer function module which will be remote enabled and will be used as a "wrapper" and call this FM instead of the original one.
    Regards,
    Adrian

  • Connector name inside Remote enabled module

    Hi
    I have a remote enabled function module which can be called from any system.
    But the problem is that I need to have to connector name inside the FM code through which the call has made.
    Is it possible?
    For eg. We may call the FM from a system like
    CALL 'MY_REMOTE_MODULE'
    DESTINATION 'connector_name'
    EXPORTING
    IMPORTING
    Can I have the name of the connector(connector_name in above code) inside the FM code without explicitly passing it in exporting parameter?
    Thanks
    Ankur

    Not sure if there is another way next to passing it as an additional parameter. Why is this simple solution not an option for you?
    Thomas

  • Read revision Level of material with remote enabled module

    Hi all,
    I want to know, if it's possible to read the latest revision level or the revision level of a specific date of an material via a function module wich is remote call enabled?
    I have found the function modul:
    REVISION_LEVEL_SELECT
    this does exactly what i need, but it is not enabled for a remote call. Is there any other function modul I can call remotely to get the revision level?
    Thanks for any help
    best regards
    Matthias Brück.

    yes, thats right and exactly my problem. I have testet this internal FM via transaction se37 and got exactly what I need.
    So, I'm looking for an FM wich I can invoke remotely and returns the Revision Level of the material.
    But, thanks for your hint!

  • 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

  • Can we call Remote Endable Module  from another Remote Enabled Moduel

    Hii experts...
    I have a problem regarding Remote Enabled Module Function Module....
    Actually i want to call the standard BAPI 'BAPI_GL_GETGLACCBALANCE' into the BAPI which i hve created...
    is it possible???
    or can anyone tell me if it is not possible then what is the alternative for this..???

    'Remote enabled' means that you can also call the function remotely. The 'Remote enabled' characterstic implies some restrictions for the FMs interface, i.e. parameters can not be passed by reference because the remote system has no access to the memory of the called systems where the referenced data are located.
    Remote call means only a restriction for the remote call, not for any direct call.
    Regards,
    Clemens

  • 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

  • REMOTE FUNCTION MODULES

    hi all,
             i want to know how to create remote function modules. how to give the import and export parameters. i want the link of how to create the function modules.
    bye
    suresh

    Hi Suresh,
    Goto transaction
    SM37 -> Create your function module as Z_FUNCTION.
    Assign a function group ( if function group is not there then create a function group as SE37 -> GOTO -> Function Group -> Create Function Group)
    On attribute tab, you will see three radio buttons.
    Select 'Remote enabled module'
    Select :Import tab.
    Enter i_MATNR 
    Type  MATNR
    Select : Export tab
    Enter  : e_mara
    TYPE     MARA
    Select : Source Code
    Enter :
    SELECT SINGLE * FROM MARA INTO e_mara FOR MATNR = i_MATNR.
    Save your module.
    Activate it.
    Test using F8.
    You can call this function in your program as
    CALL FUNCTION 'Z_FUNCTION' DESTINATION destination_name.
    Hope this will help.
    Please award few points if it resolves your issue.
    Thanks and Warm Regards.
    Pras Durafe

  • What is the exact syntax for calling remote function module.

    Hi to all
    1.....what is the exact syntax for calling remote function module.?
    Thanks and regards,
    k.swaminath reddy

    hi
    good
    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 & check the pass value (all the parameters of RFC must pass by value).
    - parameter name : P_NUM2, typing: TYPE, associated type : I & check the pass value
    7. provide the export parameter in export tab.
    parameter name : P_SUM, typing: TYPE, associated type : I & check the pass value
    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 'XXXXXX'
    exporting
    p_num1 = 10
    p_num2 = 15
    importing
    p_tot = tot.
    write tot.
    please note that XXXXXX is RFC connection which is avialable in sm59 transaction in server A.
    -go to sm59 - > abap connection (list of RFC connection configurations are avialable). choose server B connection and replace it of XXXXXX in the code.
    finally you can execute the normal abap program that will call the RFC and display the result.
    reward point if helpful.
    thanks
    mrutyun^

  • 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.

  • 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.

  • 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

Maybe you are looking for

  • Trying to find netflix app

    I have been trying to reinstall the Netflix app onto my ipad but can not find it in the App Store. I have also tried to connect direct from the website but had no luck either. I had deleted the original app as the site was not working properly and it

  • I am new to this I am trying to do something very simple.  I need to change the background color to

    I need to change the background color of a photo to white and then shrink the head of a photo for a passport and make the picture output a 2x2. Can someone help.  Thx

  • Monitor won't wake from sleep since 10.4.8 update

    Since upgrading to 10.4.8 my display (Dell 2405FPW) wouldn't wake up from sleep mode (overnight only) and I'd just get a black screen (although it sounded like the CPU was powering up and working fine) ... but after visiting some Apple discussions I'

  • How can I reset/wipe/delete all my wiki content?

    I would like to start my Wiki again from emply blank content without having to reinstall the entire lion server.

  • Re-format options.

    hi experts, am using jdev11.1.1.5.0 using adfbc. I didnt know, what is real use? of Reformat options. my sounds somewhat basically, whatever, i want knew exact use. please rectify it.