Function module(RFC en) as webservice

Hi
I created a webservice from a functionmodule.
Now while creating a proxy of this webservice i need to specify URL of the same.Can anybody suggest what should be specified,as we already have VI and WSD ...but confused about the actual url for this WS.
Thanks in advance
DhanyaR Nair

i think it is
http://server:port/sap/bc/srt/rfc/<webservicename>
you can check this path in txn SICF
Raja

Similar Messages

  • Defining Dynamic structure in Remote Function module(RFC)

    Team,
    I got a requirement, where I need to create a dynamic structure and dynamic table in the exporting tab of Function module(RFC).
    Say, I have sales request(4 fields) and sales quotation(5 fields).
    Depending on the importing parameter, If it sales request I need to export 4 fields as a structure and if in the importing parameter it is sales quotation then I need to pass 5 fields as a structure.
    Any help please??
    Thanks,
    Sai

    Hi Manu,
    Those are dummy functions.
    Check out
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/047ab790-0201-0010-a9b1-e612f8b71dcd
    (page 14)
    regards,
    Edgar

  • How can call a function module(RFC)in one server to another sever in my rep

    How can call a function module(RFC)in one server to another sever in my report program.
    What i am know whenever rfc enabled immediately radio button checks then only it will come.
    please justify.

    Syntax
    CALL FUNCTION func DESTINATION dest [EXPORTING p1 = a1 p2 = a2 ...]
    [IMPORTING p1 = a1 p2 = a2 ...]
    [CHANGING p1 = a1 p2 = a2 ...]
    [TABLES t1 = itab1 t2 = itab2 ...]
    [EXCEPTIONS [exc1 = n1 exc2 = n2 ...]
    [system_failure = ns [MESSAGE smess]]
    [communication_failure = nc [MESSAGE cmess]]
    [OTHERS = n_others]].
    http://help.sap.com/saphelp_47x200/helpdata/en/22/042537488911d189490000e829fbbd/frameset.htm

  • Documentation on Function Modules,RFC,BAPI

    hi friends,
    I have to give training in these 3 topics(function module,RFC,BAPI) .can u please help me with the documentation part .
    thanku

    hi,
      give your mail id, such i can forward documents to that.
    regards,
    Pavan

  • Pass Values between two Function Modules RFC in Portal

    I need to pass values ​​between 2 FM RFC.
    I have an implicit enhancement in HRMSS_RFC_EP_READ_GENERALDATA RFC function module.
    PERNR LIKE  PSKEY-PERNR
    ENHANCEMENT 1  Z_ESS_EXPORT_PERNR.    "active version
      EXPORT pernr to memory id 'PMK'.
      set parameter id 'PMK' field pernr.
    ENDENHANCEMENT.
    On the other hand an RFC function module that has the code:
            pmk    LIKE PSKEY-PERNR,
            pmk_2  LIKE PSKEY-PERNR.
      get parameter id 'PMK' field pmk.
      IMPORT pmk_2 FROM MEMORY ID 'PMK'.
    When the execution is done in development environment, the modules function at the level of R3, the "get parameter id" works only if the debbuger is classic, otherwise not work. The Import to memory id never works.
    In the environment of quality, r3 do not work any of the 2 sentences. If run from portal (which is as it should be) does not work.
    Thanks if anyone can help me get the problem. Both function modules are executed at the portal.
    Regards
    Edited by: Daynet1840 on Feb 15, 2012 2:02 AM

    When the execution is directly in r3, in development environment or quality, does the set / get parameter id. Export / Import memory id not work.
    But if the FM are called from the portal, does not the set / get parameter id.
    I tried changing the sentence as I indicated harishkumar.dy still not working.
    Madhu: They're in different function groups, one is standard and the other not.
    Regards
    Edited by: Daynet1840 on Feb 15, 2012 3:08 PM
    Edited by: Daynet1840 on Feb 15, 2012 3:11 PM

  • How to set lowercase/uppercase checkbox in function module/RFC

    Hi2All
    I m importing username and id in a RFC. i want this username as it is when we pass it in function module. if we set the check box lowercase/uppercase option when executing function module, it will keep all input as it is (means will not convert all inputs to CAP) .
    So how can i keep this chechboc checked forever for my RFC?
    Bye....!!!

    Hi,
    I don't think that's possible. I cannot able to find any SET/GET parameter assigned to it. If you are calling RFC from some other application, then you need to send your data as capital letters, or if it is custom RFC , then you can code into your code to convert small to capital letters. or if you are using a SAP standard then write wrapper function module.

  • Can i scheddule a function module(rfc)  in background

    hi,
    i want to know how can schedule a function module in background.
    bye
    sreenu.

    Transactional RFC before release 7.0
    1. CALL FUNCTION func IN BACKGROUND TASK
                         [DESTINATION dest]
                         parameter_list
                         [AS SEPARATE UNIT].
    Transactional RFC as of release 7.0
    2. CALL FUNCTION func IN BACKGROUND UNIT
                         parameter_list.

  • Remote function module (RFC)

    Hi
    In one of the issue, remote enabled FM 'RFC_CALCULATE_TAXES_DOC' is called from SAP
    CALL FM 'RFC_CALCULATE_TAXES_DOC' DESTINATION 'ABCD'     (ABCD is other system - sabrix)
    Can anybody tell me the logic (there is no code in FM) , whether FM with this name is there in other system which is called from SAP, (How processing occurs in case of remote FM).
    And how to see what processsing is being done in other system. ?
    And why there is no code in this FM in sap?
    Thanks and Regards
    Manu

    Hi Manu,
    Those are dummy functions.
    Check out
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/047ab790-0201-0010-a9b1-e612f8b71dcd
    (page 14)
    regards,
    Edgar

  • Function modul/RFC -- 1:1 -- Communication Channel

    Hi everybody,
    do I need for every RFC that sends data to XI need exactly ONE entry in SM59?
    I guess: YES!
    Regards Mario

    At first look to the post got confused i thought for every RFC we need 1 entry in sm59 dat is 1:1. If that is the case then answer is no
    If the question is N number of RFCs -> 1 entry in SM59 then YES.
    May be its same with prateek too.
    <b>Cheers,
    *RAJ*
    *REWARD POINTS IF FOUND USEFULL*</b>

  • Program making a RFC call to Function Module not working in background

    Hi All,
    I have an ABAP Program which is used to do a reconciliation check between the R/3 and BI system for Invoice Data. Please find below the details of the program flow:
    1.     Program counts the number of records in the DSO table and aggregates the Net_Value based on the date range (passed as parameters)
    2.     Program calls a Function Module (RFC Call) which counts the number of records in the R/3 table and aggregates the Net_Value for the same date range
    3.     Function Module Passes back the count values and aggregated Net_Value to the program
    4.     Program compares the count and aggregated Net_Value from EDWH and MSP systems and sends an email mentioning whether the counts match or not
    However we are facing an issue.
    Whenever, we execute the program in dialog mode, it works fine and fetches results within 5-6 minutes. However if we schedule the program to run in background (parameters through a variant), it gives no results even after running for over 3-4 hours. We tried figuring it out yesterday but could not come to any conclusion. Since there is a RFC call being to the function module, we were wondering if we need to specify some other parameter as well.
    Thanks & Regards
    Dharmendra

    RFC Call is a procedure for executing remote enables function modules. It is done via the 'Remote Enabled' radio button on the function module's attribute screen.

  • Function Module for a Webservice

    HI,
    I want to make some modifications to the web service "EmployeeBasicDataByEmployeeQueryResponse_In". Is there anyway to identify the corresponding function module which uses this webservice,
    Thanks,
    Viverkanandhan S.

    In SPROXY transaction search for this service then goto implementing class and you will find the code which execute behind this service. Please remember not all ES are based on FM. This particular service call class interface: cl_hr_se_generic_tools to read relevant data.
    Regards,
    Gourav

  • Web Services  from ABAP function modules return values- leading zeros

    I am using several web services from SAP CRM (5.0) that were created from Function modules ( I am assuming that that they are in ABAP).
    I can call the web services fine and they work as expected, but I am seeing a lot of leading zeros in the return values of fields in tables from the Web service.
    The ABAP er’s are telling me that they cannot see the leading zero’s.
    So my question is where these are appended to the values in the whole process. When I execute the Function Module in SAP CRM from transaction SE37 I can see the leading zeros. So I think that this is something that has to be handled by the ABAP er’s and not in the client consuming the web service.
    Are the functions in SAP CRM that can remove leading zeros for fields in a table (that is an export parameter?)
    Jawahar

    Hello Jawahar
    If you run your (RFC-enabled) function modules using the SAP-GUI (i.e. in dialog) then the GUI automatically replaces leading zero when the function module returns any data. However, calling the same function module remotely you will always see these leading zeros.
    These so-called conversion exits are defined as attribute of domains in the ABAP dictionary. If the function module used for the WebService is a standard fm then you have little chances to get rid of the leading zero. Perhaps the WebService has some attribute to suppress conversion exits or activate them when retrieving the data.
    Regards, 
       Uwe

  • Error during generation of the function module..need help urgently

    Hello everyone,
                            m trying to generate data source in BWDevelopment.
    After mapping all the BW fields to Source Object elements I click on Generate DataSource(for UD Connect) so following error comes
    'An error occurred in step 1 during generation of the function module'
    RFC connection is fine, error free and extractor is also fine.
    Where could be the problem?
    Thanks & Regards,
    Priyanka

    Hello everybody,
                             my problem is solved.For the UDConnect, whatever DATA SOURCES you create gets registered in a FUNCTION MODULE which has a capacity of only 99 enties, so to increase it implement the SAP NOTE 876340 - UDC Error available on SERVICE MARKET PLACE.
    This problem occurs with BW version 3.5 level 17 or below.
    Regards,
    Priyanka
    Edited by: Priyanka Joshi on Jun 10, 2008 11:03 AM

  • How do I read this "standard" table in my Function Module?

    I have a remote-enable Function Module (RFC).  I am receiving two tables as part of the parameters.  Table "A" is header information, and Table "B" is detail information.  So for every 1 "A" header record, I may have 1 to many "B" detail records.  I have a field we'll call "vendor_number" that is the common link between the two tables.
    Here's what I want to do:  I want to loop through table "A", and for each record, I want to do a READ on table "B", using the "ref_doc_no" from "A" as my key, to get the position of the first matching record.  I hold onto the value of the table index and then start looping table "B", adding 1 to the saved table index each time to process all of the detail records.
    Here's the problem:  This worked great as an ABAP program.  I had my "B" table declared with "ref_doc_no" as a non-unique key.  But when I ported my code over to the RFC, it told me that the RFC could only deal with standard tables.  I had to remove the "ref_doc_no" key declaration.  So now when I try to activate, I get an error similar to this:
    The declaration for the key field "another_field" is incomplete; however, "another_field" is contained in the key of table "B" and must be filled.
    I don't understand that.  I've not declared any keys for table "B".  I don't understand why it's thinking I need to populate "another_field" (I don't even know what the value would be).  My code to read the table (i.e. the line getting the error) is this:
    Priming read on table (sets the initial sy-tabix index value)
        READ TABLE it_incoming_invoice_line_item "table 'B'
          WITH TABLE KEY ref_doc_no =
                         wa_incoming_invoice_header-ref_doc_no
                    INTO wa_incoming_invoice_line_item.
    Is it possible for me to do some sort of direct read on a table in an RFC?  The only alternative I can think of would be to have to loop through table "B" until I find the first occurrence of a match.  Is that what I need to do?
    Thanks everyone.  Points, as always, awarded for helpful answers.

    Dave,
    1. You can fire SELECTS in an RFC as well, but in your case the data exists in SYSTEM A and the RFC is in System B, so you can't do that. You can fire SELECTS on tables in the same system.
    2. Quick example of two table loops - EKKO (HEADER) EKPO (ITEM).
    LOOP AT EKKO.
    LOOP AT EKPO WHERE EBELN = EKKO-EBELN.
    ENDLOOP.
    ENDLOOP.
    I hope this is clear now.
    Regards,
    Ravi

  • Scheduled function module in background job

    HI all,
    I have created a function module(RFC) & Now I need to schedule it in background job, i have used fm job_open ,job_close  But through there i can only scheduled Reports  so pls gide me how to scheduled fm .
    regards,
    Anuj

    Hi Anuj,
    Check this one:
    Re: can i scheddule a function module(rfc)  in background
    Regards,
    Chandra Sekhar

Maybe you are looking for

  • UIU object in GRC AC CC Functions

    hi to all, I am trying to create SOD rules in GRC AC for a cross system risk One function is in CRM and user access via UIU second function is in R3 ABAP For the first function I need to create a function that checks on not tcodes but objects as UIU

  • I am facing problem in camera from last 1 month

    Dear Sir,   I purchased  I phone 5 whose IMEI no. 01*************72 8. From last 1 month I am facing problem to use this phone,  three times I am submit to service centre they repair the phone and return to me, today I am facing same problem. <Person

  • How to create a  popup windows

    Hi I have seen in Simon Collins application http://apex.oracle.com/pls/apex/f?p=20411:1:888811517916461 a popup windows. Can anyone help me, buil a popup windows like that or is there any tutorial where i can see how its done. Tanks

  • 802.1x secure protocol for Wifi

    At my school, when users first access a webpage from the Wifi network, we are automatically redirected to a webpage where we have to enter a UserID and password. It is at the webpage where we enter the ID and password. Now, is this using the 802.1x m

  • H-Reap PreAuthentication ACL

    Hi. I have few APs working in hreap mode as local switching. I have Guest WLAN and after connection to that WLAN client must accept security regulations. The problem is that on WLC under Security->Web Auth -> Web login page  I put text saying: "Read