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

Similar Messages

  • Function module to delete script and forms

    CAn anybody pls tell me whether ther is ny function module
    to delete SAPSCRIPT and SMARTFORMS
    Thanks .

    Hello,
    You cannot transport the deletion of a single language of a Sapscript form.
    Please also see SAP note 3355 about it. The deletion of a form is only transported,
    if the complete form was deleted in all languages and all clients.
    But what you can try to do is to run the function module DELETE_FORM
    via the single test of transaction SE37. But in this case you have to
    delete this form in all systems.
    Regards,
    David

  • How to check for a function module with its description and functionality

    Hi all,
    How to check for a function module,with its description and its functionality,in detail how can I know the purpose of a particular function module,how to search for a function module which suits my requirement .

    Hi,
    You can search a FM of your requirement by putting in the Key words and searching for a FM. Like * KEYWORD * and then pressing F4.
    Say for example you need to search something regarding converstion.
    Search for * CONVERT * and press F4.
    If there is something specfic like converting date to something you can give
    DATE * CONVERT *
    OR
    CONVERT * DATE *  and press F4.
    Once you narrow down your search you will have a Function module documentation inside the Function module. Please note that all the FMs willl not have documentation.
    Regards,
    Pramod

  • Call function module in backgrouns task and in update task

    Hi Gurus,Pls crear me on the " <b>Call function module in backgrouns task and in update task</b>".
    how it works and waht is the link with LUW  releated to these .
    also heard that commit work statement aslo linked with this.
    Pls clarfiy me with expalnation of code.

    Hi sridhar,
    the explanation already given is correct and good. Small add-on:
    All functions called during one LUW with addition IN UPDATE TASK are stored together with their actual parameters in a temporary memory area. The moment a COMMIT WORK is issued, the functions are released to be executed by a so-called update task which is running in the background. This explains why functions called in update task never return anything, no SY-SUBRC and no export or table parameters If a function called in update task raises an exception or runs into an error the calling user will get an express message informing about this. Also, all database updates done by this update process are rolled back to keep consistency.
    This proceeding helps to keep database tables consistent and allows the user to keep on doing his work before all database updates are complete. You may have seen messages like "material will be changed" after saving. If you open the same material immediately, you'll get a message "object locked by...<yourself>". This means the update task is still running.
    Regards,
    Clemens

  • Function Module to get BEGIN and END date of a month?

    Hello everybody,
    Is there any function module to get BEGIN and END date of a month
    GIVEN EITHER THE CURRENT SYSTEM DATE or MONTH?
    Regards,
    Sanghamitra.A.

    hi
         CALL FUNCTION 'PA03_PERIODDATES_GET'
            EXPORTING
              f_abkrs               = p_abkrs1
            IMPORTING
              f_permo               = wf_permo
              f_current_begda       = wf_begda
              f_current_endda       = wf_endda
            CHANGING
              f_current_period      = wf_pabrp
              f_current_year        = wf_pabrj
            EXCEPTIONS
              pcr_does_not_exist    = 1
              abkrs_does_not_exist  = 2
              period_does_not_exist = 3
              OTHERS                = 4.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    this is the function module to get the first date and last date of a particular month
    if u have any doubts ask
    regads
    karthik
    reward points if useful

  • RFC enabled function module to insert , update and delete data in a ZTABLE

    friends..
    Is there any standatd RFC enabled function module to insert , update and delete data in a custom database-table (Ztable)?
    if not how can we create it? plz give me the details steps..
    what are the import, export parameters and how to code and process it.. (for example: suppose fields in the table is Emp_Id, Name, Address. I need to develop a RFM which does the 3 tasks, insert update delete in the same RFM)
    Thanks and Regards

    create a f.n mod in se37 and make it rfc enabled.  ur import parameters are Emp_Id, Name, Address and TASK and u can have an export parameter like result which gives the status of the update. based on task u can insert using keyword INSERT....and update using UPDATE or MODIFY and delete using DELETE. these keyword are not compelte with syntax but need to refer the SAP documentation.

  • What are function modules used in alv,and its explanation

    what are function modules used in alv,and its explanation

    hi..
    The important function modules are
    Reuse_alv_fieldcatalog_merge
    Reuse_alv_list_display
    Reuse_alv_events_get
    Reuse_alv_grid_display
    Reuse_alv_commentary_write.
    <b>REUSE_ALV_FIELDCATALOG_MERGE</b>
          This function module is used to populate a field catalog which is essential to display the data in ALV.
          If the output data is from a single dictionary table and all the columns are selected, then we need not exclusively create the field catalog. Its enough to mention the table name as a parameter (I_structure_name) in the REUSE_ALV_LIST_DISPLAY. But in other cases we need to create it.
    Note : Fieldcatalog can be filled manually also by filling up all the required details into the internal table     
    The important parameters are:
       1. Export:
            a. I_program_name     : report id
            b. I_internal_tabname     : the internal output table     
            c. I_inclname     : include or the report name where all  
                                                 the dynamic forms are handled.
        2. Changing
           ct_fieldcat     :    an internal table with the type 
                                      SLIS_T_FIELDCAT_ALV which is declared in the
                                      type pool SLIS.
    <b>REUSE_ALV_LIST_DISPLAY</b>
    This is the function module which prints the data.
    The important parameters are:
    1. Export:
          I_callback_program            : report id
          I_bypassing_buffer             : ‘X’
          I_buffer_active                    : ‘ ‘
          I_callback_pf_status_set     : routine where a user can set
                                                             his own pf status or change the
                                                             functionality of the existing pf status.
          I_callback_user_command : routine where the function codes are
                                                               handled.
          I_structure name     : name of the dictionary table
          Is_Layout          : structure to set the layout of the report
          It_fieldcat          : internal table with the list of all fields and their
                                                 attributes which are to be printed (this table
                                                 can be populated automatically by the function
                                                 REUSE_ALV_FIELDCATALOG_MERGE
          It_events          : internal table with a list of all possible events
                                                 of ALV and their corresponding form names.
    2.  Tables:
         a. t_outtab     : internal table with the data to be output
    <b>REUSE_ALV_EVENTS_GET: </b>
          Returns table of possible events for a a list type
    1. Import:
          Et_Events      :
          The event table is returned with all possible CALLBACK events for the specified list type (column ‘NAME’). For events to be processed by the Callback, their ‘FORM’ field must be filled. If the field is initialized, the event is ignored. The entry can be read from the event table, the field ‘FORM’ filled and the entry modified using constants from the type pool SLIS.
    2. Export:
        I_list_type:
              0 = simple list REUSE_ALV_LIST_DISPLAY
              1 = hierarchical-sequential list                                           
                    REUSE_ALV_HIERSEQ_LIST_DISPLAY
              2 = simple block list                                                        REUSE_ALV_BLOCK_LIST_APPEND
              3 = hierarchical-sequential block list
                    REUSE_ALV_BLOCK_LIST_HS_APPEND
    <b>REUSE_ALV_GRID_DISPLAY</b>
      A new function from 4.6 version, to display the results in grid rather than a
      preview.
      Parameters : same as reuse_alv_list_display
    <b>REUSE_ALV_COMMENTARY_WRITE</b>
    This is used in the Top-of-page event  to print the headings and other
    comments for the list.
    It_list_commentary : Internal table with the headings of the type
                                             slis_t_listheader.
        This internal table has three fields:
        Typ : ‘H’ - header, ‘S’ - selection, ‘A’ - action
        Key : only when typ is ‘S’.
        Info : the text to be printed
    <b>plz reward pts if helpful.</b>
    regards
    vijay.

  • Function modules related to header and item GUID

    Hi,
    Please tell me the function modules related to header and item GUID.
    Thanq
    brahmaji

    You will need to be clearer about what you want to do. Try searching for function modules with names like "GUID". Also try searching forums first.
    Cheers
    Graham Robbo

  • Function module to derive start and end dates from fiscal year and period.

    Hi,
    I want to know a function module to derive start and end dates from fiscal year and period.
    ie: If I have say fiscal year '2010' and period '07', then the start date of this period would be '01.10.2010'.
    Thanks.
    Moderator Messge: Basic Date questions are not allowed.
    Edited by: kishan P on Oct 18, 2010 4:45 PM

    Hi,
    This is one of my exit that display the calmonth (offset -12). Usefull when I have to retrieve in a KF a complete rolling year depending one calmonth.
    S_VMUCMN is my selection variable
    S_TXTCMN_M12 is my text variable calmonth-12
    S_TXTCMN_M0 is my text variable for selected calmonth.
    WHEN 'S_TXTCMN_M12'.
        IF i_step = '2'.
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'S_VMUCMN'.
            CLEAR l_s_range.
            " First day of the selected month
            CONCATENATE loc_var_range-low '01' INTO l_calday.
            CALL FUNCTION 'YFRBW_FUM_CAL_DATE_IN_INTERVAL'
              EXPORTING
                date      = l_calday
                months    = 12
                signum    = '-'
              IMPORTING
                calc_date = l_calday.
            l_s_range-low = l_calday+0(6).
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
            EXIT.
          ENDLOOP.
        ENDIF.
    Thus, in KF header you have to put the two text variable to display the complete period.
    Hope it helps,

  • Performance and Load testing for Agentry applications in SMP2.3

    Hello Experts,
    We have a requirement to carry out the Performance and Load testing for our SAP Work Manager application (SMP2.3).
    Please guide me if ATE (Agentry Test environment) /  Jmeter / or any other testing tool can be utilized for the same.
    Would be great if you could provide me the steps / references for the same.
    Thanks,
    Abhishek

    Hi Abhishek,
    Please refer this document Agentry - Assets for Admins & Architects. It has very good content which explains about performance testing and performance tuning.
    Rgrds,
    Jitendra

  • Function Module to know the Acc doc no for a Material document.

    Dear Friends,
    What is the Function Module to know the Acc doc no for a Material document? Please help. Thanks in advance.
    Regards,
    RAMAN

    Hi Raman,
    I am not sure about your requirement,
    But i remember when i required the same like you i went to vrpma table to get the account document,
    I just did like a blind fold,
    as my company does all the billing accounts in the same month, my search criteria was blind.
    Also try with MKPF-XBLNR with the VBRK-XBLNR and get VBRK-VBELN
    from there goto BSEG.
    Thansk & regards,
    Dileep .C

  • [svn:osmf:] 10437: Add support and unit tests for parsing VAST documents ( inline or wrapper).

    Revision: 10437
    Author:   [email protected]
    Date:     2009-09-20 13:31:16 -0700 (Sun, 20 Sep 2009)
    Log Message:
    Add support and unit tests for parsing VAST documents (inline or wrapper).   All elements are covered with the exception of Video.
    Modified Paths:
        osmf/trunk/libs/VAST/.flexLibProperties
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTAdPackageBase.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTDocument.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTInlineAd.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTWrapperAd.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/parser/VASTParser.as
        osmf/trunk/libs/VASTTest/org/openvideoplayer/vast/parser/TestVASTParser.as
    Added Paths:
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTAdBase.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTCompanionAd.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTNonLinearAd.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTTrackingEvent.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTTrackingEventType.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTUrl.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTVideoClick.as

    Your problem sounds similar to this one, except that they're using software raid rather than just pure LVM. If you're using an initrd, you may not have the appropriate modules installed. If you're not using an initrd, then the kernel probably needs LVM support compiled in (not as a module) and could be solved by fixing that. I have never used the ck-patchset, but this should give you an additional data point.
    Also comment=systemd.automount will be deprecated soon as I understand it; if you have a need for automounting, x-systemd.automount should be used instead.

  • Connection test for connectors(SAP R3 system) fail

    Hi,
    I got an EP system and connected to one existing R/3 system.For the same i have defined it in system landscape of EP.System administration ---> system configuration ---> system landscape.In property editor i have deined all the min required properties.
    Application Host       172.16.3.68     
    Gateway Host            172.16.3.68
    Gateway Service        sapgw00
    Logical System Name    ISCCLNT100
    Remote Host Type       3
    SAP Client            100
    SAP System ID (SID)    ISC
    SAP System Number      00
    Server Port            3200
    System Type            SAP_R3
    Trace Mode             1
    The system intially works fine.But when
    1)There are more users it gives connection error.
    2)If there are not much users then also After some time it automatically shows connection error.
    Then when I do Connection Test for Connectors,it shows "X" failed.
    What I usally try to do,I restart the SQL server.
    But this method does not work.I have to restart the EP.Then again the system works fine.
    I think there are something wrong input in the property value of SAP R3 object setting.
    Hey folks can u please help me in sorting out this problem?Why such connection error happens again and again?

    Hi Rajeev,
    Thanks for your answer.Actaully I have miss interpreted the problem.Sorry Problem is not with in the SAP R3.
    Connection problem is like this::
    I have defined a system EPSQL(system alias for MS SQL sever DB)  for my EP instance
    To connect to database.
    The connection tests to the alias is ok.
    But as more and more users try connecting to the db the connection test fails.
    Restarting the SQL server doesn’t help.
    I have to restart the EP instance to get over the problem
    I think there are something wrong input in the property value of object setting.or,EP maintains some timeout or max user info...
    Do u have any solution?

  • Error during connection test for Content Producers in FPN

    Hi,
    I have a question regarding connection test for content producers in FPN. Please let me explain the scenario,
    The portal server (PS1) is in the network domain say "XYZ.com" and we are accessing the portal from different domain say "ABC.com" via browser. We need to configure another portal (PS2) which is in the network domain say "mno.XYZ.com" with PS1 using FPN. We have imported the certificates of portal PS1 (consumer) in PS2 (producer) portal server and done the required trust configurations using VA in PS2 portal server.
    Then we created a new content producer object for the PS2 portal (producer) in PS1 portal. But when we did the "Connection Tests" it gets failed with the following error message,
    "Could not retrieve the WSDL file; the handshake URL may not exist or may be invalid".
    Can any one please tell me why this error message is coming. Is it due to any network connection issue?
    Thanks,
    Gokul.

    Hi Ginger,
    somehow, yes :-) I deployed the iFlow for customer master replication. After creating a customer the trace looked different and terminated at the reverse proxy. So the simple connect somehow is not able to do the same...
    Cheers
    Florian

  • [svn] 2540: add bugs folder and asc test for bug #ASC-2839

    Revision: 2540
    Author: [email protected]
    Date: 2008-07-21 10:38:41 -0700 (Mon, 21 Jul 2008)
    Log Message:
    add bugs folder and asc test for bug #ASC-2839
    Ticket Links:
    http://bugs.adobe.com/jira/browse/ASC-2839
    Added Paths:
    flex/sdk/trunk/modules/asc/test/bugs/
    flex/sdk/trunk/modules/asc/test/bugs/ASC-2839.as

Maybe you are looking for

  • I'm looking for an app that will allow me to upload my contracts and forms to my iPad, fill in a customer's personal information, sign them, save them and email them.

    I'm looking for an app that will allow me to upload my contracts and forms to my iPad, fill in a customer's personal information, sign them, save them and email them.  I looked at easySign, Filemaker, FM Touch, Sign Docs, Zosh, Exzact, Mi-Co

  • Email interferen​ce with Outlook calendar

    Having just replaced my Treo with a Blackberry Tour, I'm new to both the Blackberry and this forum.  If I'm posting to the wrong forum, or if my question has been answered before, please point me in the right direction. One of the first things I did

  • Do INSERT if value do not exist

    Hi. I am trying to create sql that does the following: if db1..names.cpr not in db1..people.cpr then: INSERT INTO db1..People(cpr,type) VALUES (db1..names.cpr,1) * type should have the default value 1 Can anybody give me an idear on how to do that. B

  • I have problem with seller

    Hi I have problem with seller. My son poured milk on my Mac and when I went to apple branch in Spokane maintenance they told me i must paid $ 750. I told them that I have comprehensive ensure a and they told me it did not include the fluid and breaka

  • Issue while making confirmations in SRM.

    Hi Gurus, Can any one suggest me a solution for this problem. This is SRM version 4.0 . The user has raised a Shopping cart in SRM with 4 line items and it  got appoved and created a PO sucessfully in the SAP R/3 system. Now the user has changed the