Skip to Content
author's profile photo Former Member
Former Member

Webrfc with Integrated ITS


I migrated Webrfc application from 4.6C to ECC6.0 and after reading sap notes webrfc is not works with Integrated ITS, so now i am planning to move BSP applications. Please can any one tell me that what are the steps i need take to create BSP application to call existing webrfc application. Webrfc application RFC taking some input parameters.

here i am sending webrfc URL


Now i need to create BSP application by calling WWW_GET_EMPLOYEE_INFORMATION by passing param1 parameter.

Please any one give me the solution

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 24, 2007 at 10:09 AM

    create a bsp application and add a page. in the page add the following code.

    page attributes: (set auto check box for all the attributes)

    function	TYPE	STRING	                                                            
    html	TYPE	W3HTMLTAB	Table for ABAP Keyword Documentation
    mime	TYPE	W3MIMETABTYPE	ITS: Table Type for MIME Source
    query_string	TYPE	RRX_T_W3QUERY	Query Strings for WWW Server

    remove all the defaulted code from the layout section.

    code for oninitialization event:

    * event handler for data retrieval
    DATA: result_html TYPE string ,
    i_tabline_length TYPE i .
    CALL FUNCTION function
        query_string = query_string
        html         = html
        mime         = mime.
    i_tabline_length = 255 .
        i_tabline_length = i_tabline_length
        e_string         = result_html
        it_table         = html.
    CALL METHOD response->if_http_entity~set_cdata
        data = result_html.

    save and activate your bsp application and page.

    the url is slightly different. to call your webrfc

    the url would be

    http:// . .com: /sap/bc/bsp/sap/ywebrfc/ default.htm?sap-client=023&function=WWW_GET_EMPLOYEE_INFORMATION&query_string[1]-name=_TEMPLATE&query_string[1]-value=ZIO&query_string[2]-name=_objnr&query_string[2]-value=OR000000100000

    in the above url

    ywebrfc = your bsp application name

    default.htm = bsp page name

    query_string[1]-name = _param1

    query_string[1]-value = param1 (value for the parameter)

    query_string[2]-name = second param name

    check this and let me know how it goes.

    please note that 2004s comes with webrfc service . for more details check oss notes 979467



    Message was edited by:

    Durairaj Athavan Raja

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.