Calling BSP Iview from a BSP Iview

How to call another BSP Iview from a BSP Iview ?
Is it the same like we call BSP Iview from a Controller ?
My problem is ..Intially i had only one Iview called from the controller. It was working fine.
I've added some includes in the View and while activating, i got the error msg
+Internal error Occured during runtime generation of the class CLOLkshdksjhfk ....+_
+(Dump id : GENBRANCHOFFSET_LIMIT_REACHED)+_
I found from the forum that, instead of calling all things in a single Iview, we can split that into different Iviews.I did the same. and the error had gone.
My Q is ...
I Have built code for tray (maximize and minimize). It works fine if the controller has One Iview and its not working if the controller has 3 iviews.
How to sort it ? If i call the other 2 Iview s from the parent one, will the prob solved ?
Thanks and Regards,
Kanal.

Hi,
Please check this weblog by Brian McKellar. You will surely find a way to avoid the error you mentionned.
[/people/brian.mckellar/blog/2005/04/25/bsp-programming-gen-branchoffset-limit-reached|/people/brian.mckellar/blog/2005/04/25/bsp-programming-gen-branchoffset-limit-reached]
Regards,
Tanguy

Similar Messages

  • How can i call a zreport from my bsp page.

    Hi friends,
    How can i call a zreport from my bsp page.
    Moosa

    Hi Friend,
    These are the codings  to be wirtten in BSP for transferring values to the REPORT
    DATA:wf_date TYPE ztable-ID.
          data:seltab type standard table of rsparams,
           wa_seltab like line of seltab,
         event TYPE REF TO if_htmlb_data.
    DATA:p_value TYPE REF TO CL_HTMLB_INPUTFIELD.
    event = cl_htmlb_manager=>get_event( runtime->server->request ).
    p_requ ?= CL_HTMLB_MANAGER=>GET_DATA(
                                            request  = runtime->server->request
                                            name     = 'inputField'
                                            id       = 'i1'
    if p_requ is not initial.
      wf_date = p_requ->value.
    endif.
    clear wa_seltab.
    if wf_date is not initial.
      wa_seltab-selname = 'P_REQU'.
      wa_seltab-kind = 'P'.
      wa_seltab-option = 'EQ'.
      wa_seltab-low = wf_date.
      append wa_seltab to seltab.
    endif.
    submit *ZSAMPLEAP1* with selection-table seltab AND RETURN  .(ZSAMPLEAP1 refers to the report name and AND RETURN for coming back to the BSP page after the completion of its operation in Report )
    IMPORT int_name TO int_name FROM MEMORY ID '*zid*'.(For importing the obtained value from Report)
    In Report
    REPORT  ZSAMPLEAP1.
    SELECT-OPTIONS: p_requ FOR ztable-id  NO INTERVALS.
    SELECT SINGLE name from ztable into int_name WHERE id = p_requ-low.
    WRITE:int_name.
        EXPORT int_name TO MEMORY  ID 'zsharmila'.
    With Regards,
    SHARMILA BRINDHA.M

  • How to call a xmlform from KM doc iview

    hi all ,
    can any one explain how to call the xmlform from KM document iview . and my document is in content management ->document ->folder ->app.xml.

    Hi,
    If you want to look at XML form like the are designed in your form builder you need to work with a navigation iview to the folder that contains you XML forms. You need to set the layout of the navigation iview to Newsbrowser or NewsExplorer or a derived layout.
    From here the form is renderer as a form.
    If you only want to show this one form I would suggest to open it in this last view in the described navigation iview and use the url in for example an url iview. This will be the quickest.
    Kind,
    Frederik

  • Calling function modules from a BSP page

    Hi all
    How do we call function modules from a BSP page.
    regards,
    Paul

    Ok, You want to construct the URL pointing to a BW report and want to execute the same when a button is clicked right? if yes here is the answer.
    for constructing the BW query URL
    http://<bwserver>:<port>/sap/bw/BEx?sap-language=ENCMD=LDOC&infocube=<cube anme>&query=<query name>&var_name_1=<variable name1>&var_value_ext_1=<variable value 1>&var_name_2=<variable name2>&var_value_ext_2=<variable value 2>
    (for more info on how to pass parameters to BW query URL refer to the BW web designer reference manual which can be found at http://services.sap.com/bw)
    and for executing this from a button use onclientclick property of htmlb:button along with window.open
    <htmlb:button id ="BWQ"
                  onClientClick = "javascript:window.open("<%= BW_URL %>" );"/>
    Hope this is clear.
    Regards
    Raja

  • Calling a WebService from a BSP

    Hi,
    I have to call a web service published in another web server from a BSP (SAP WAS 620). I know how to use the WAS as client and I also know how to create the XML. The problem is that I dont know if there is some technique or function module or something like this to create the SOAP message to send to the webservice publisher (something to automate the process).
    Also If someone has some code to share it will be welcome...
    Thanks
    Ariel
    Message was edited by: Ariel Ferreiro

    The following is the code example.  We just put all of our input parameters on the request URL.  The response body then contains the results which we parse out.  This is very similar to the HTTP interface to SAP's own content and cache server.  This example happens to be a SMS Message Provider in Eastern Eurpoe.
    data:  client    type ref to if_http_client,
             url       type string.
    ****Build the Sending URL
      concatenate
        page_srv-send_url
        `&Message=`
        message
        `&Class=`
        class
        `&Number=`
        sms_number
        `&Priority=`
        priority
        `&Project=`
        page_srv-project_name
        `&Sendingnumber=`
        page_srv-sending_number
        into url.
    ****Create the HTTP client
      call method cl_http_client=>create_by_url
        exporting
          url    = url
          ssl_id = page_srv-ssl_id
        importing
          client = client
        exceptions
          others = 1.
    ****Set the Request type to GET
      client->request->set_header_field( name  = '~request_method'
                                 value = 'GET' ).               "#EC *
    ****Make the call
      client->send( ).
    ****Receive the Response Object
      call method client->receive
        exceptions
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3
          others                     = 4.
    ****Get the response content in Character format
      p_content = client->response->get_cdata( ).
      data: result_string type string,
            id_string     type string,
            junk          type string.
    ****Pull out the Result and the ID
      split p_content at `&` into result_string id_string.
      if result_string cs `Result`.
        split result_string at `=` into junk status.
      else.
        raise unknown_error.
      endif.
    Hope this helps.

  • How to Call standard iView from WebDynpro custom iView

    Hello all Experts
    I want to know whether there is any way to call (navigate to) standard iView from my cutom WebDynpro iview or not?
    If yes please tell me how to code it.
    (Points will be awarded for helpful answers)

    Hi Vinod,
    read this document (from pages 7 ).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62</a>
    In addition lok at these links: (Navigation Between Web Dynpro Applications in the Portal)
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm">http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm</a>
    It may be helpful for you.
    Best regards,
    Gianluca Barile

  • How to call BSP pages from a BSP application of another package

    Hi,
    I have a BSP application in one package and I want to call pages from another BSP application in a different package.
    Is it possible? How it would have to do it?
    Thanks in advance
    Regards

    Hi,
    You cannot call a page fragment in a seperate window or seperately in the same window...
    Page fragment is used only for including a fragment in your page....
    It is not a seperate page..!
    To call a page fragment, you have to  use the include directive...
    eg :
    <%@include file="Carrier_report_logo.htm" %>
    Hope this helps.
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.
    Message was edited by:
            Tatvagna Shah

  • Calling multiple BSP pages from parent BSP page

    Hi ,
    I have created 2 BSP pages and i want to call the 2nd BSP page from the 1st BSP page depending upon the user's company code. Please help me on this .
    I would really appreciate you quick response on this.
    Regards,
    Sanjeev

    Hi,
    Do you want to have both pages displayed at the same time?
    What about a popup or (i)frames?
    If not, what about navigation to the second page if a certain value is filled in:
    if var eq 'value'.
    navigation->goto_page('page2.htm' ).
    endif.
    Eddy
    Discover the new S(D)N search plugin for Internet Explorer 7 AND Firefox 2 in this <a href="/people/eddy.declercq/blog/2006/11/13/the-beloved-in-sweet-harmony log</a>

  • Calling of WS from standard MDM iView

    Hi all,
    I am having standard MDM iViews on the portal which are used to fetch data from MDM repository.
    Now i want to call a WS using the data filled on the standard MDM iView.
    Is there any way to call a WS from portal iView.
    Aur u can suggest any other way to call the WS.
    Thanks in advance.
    Regards ,
    Shruti.

    hi shruti...
    try these links.....
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9d6132b0-0801-0010-86a1-d7308895761a
    Consuming WebService in Visual Composer-1
    http://help.sap.com/saphelp_nw04/helpdata/en/82/6a0e7bbe744276bf393654b9b576ed/frameset.htm
    Regards,
    Sudheer

  • Calling Web Service from a BSP

    Has anyone successfully called one of the Google search engine web services from <b><u>6.20</u></b>? Or any external, non-R/3 web service for that matter? When I run test connection on a RFC destination type G (HTTP connection to External Server), it returns ICM_HTTP_CONNECTION_FAILED message. I am using api.google.com for Target Host and /search/beta2/ for Path Prefix; all other fields are blank/default. I was able to setup the RFC destination for type H (HTTP connection to R/3 system) correctly and run the sample ABAP web service client program (from SAP Help which calls STFC_CONNECTION).
    Any help will be appreciated.
    Thanks, Pradeep

    Does your company use an Internet Proxy?  Have you setup the global or RFC specific proxy settings?
    This is what we had to do.  We were calling a psedo webservice in 620 via HTTP Client methods and we had to setup the Proxy settings. 
    See the following weblog for details:
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    But keep in mind that even if you are able to make the connection that the WebService will most likely require a SOAP response and request.  There are some ways to do this in 620, but it is a lot of development on your part and it is not forward compatible with 640.  In 640 you can generate Proxy Classes - which makes calling external webservices very easy.

  • Call print function from ABAP/BSP

    Hi all,
    I've an holiday map that is called from portal as a bsp, it open in a new window without the functions "file", etc.. an window only with the top bar (minimize, maximize and close), then, if I press CTRL-P it opens print functionality, how can I call it from a buttom in the BSP !?!?
    Thanks all for the help,
    Best Regards,
    Pedro Rodrigues.

    Hello Pedro,
    the problem here is, that the Internet Explorer provides this image with a given size for the Windows Pinting environment. The easiest way to go is surely to have image wich can fit on the paper, or many printers support "scaling". You should find this on the print dialog >> preferences >> paper / quality >> advanced. /* E.g. oure HPLJ 4050 printer supports this */
    I hope it helps.
    Regards,
    Dezso

  • Calling an Portal Webdynpro iView from another Webdynpro iView - Error

    Hi,
    I have modified the DefaultFramework Page by adding an Alert iView (based on WebDynpro) and assigned this modified framework page to all users. It works fine.
    The Alert iView on the Left hand side (right above the Detailed Navigation) consists of links to different WebDynpro iViews in the same Portal.
    I have used LinkToAction UI element, on event of click
    i am executing this piece of code.
    onActionClick (com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent)
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/folders/X.Iview", WDPortalNavigationMode.SHOW_INPLACE, (String)null, (String)null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS, "Called iView Name", (String)null, (String)null);
    I have picked up the iView name from the Portal(exact PCD location).
    It is not working. Once in a while it worked. But now it is not loading at all.
    Please let me know your thoughts on the same.
    Thanks
    Senthil

    Hi,
    Got it solved. User has authorization to execute the page.Their roles were not added in Permission list of that Page.
    Added the roles. Now it works fine.
    Thanks
    Senthil

  • Unable to call Internet Service from EP IAC iview

    Hi.
    I'm trying to call a r/3 transaction with ITS from portal iview. I wan't to hide menu and toolbar, so I've created an Internet Service in SICF/SE80 with several parameters (webgui_simple_toolbar, ...). The service is activated and published. When I run it, Internet Explorer send me a 403 error.
    I've tried to create an iac iview and links the service to it, but system return same problem.
    ITS is ok, because I can run r/3 transaction from EP whithout any problem.
    Any idea?
    Thanks a lot!

    Hi Edgar.
    Service doesn't run from R/3 system. I've used ITS parameters "TRANSACTION", "WEBGUI", "WEBGUI_SIMPLE_TOOLBAR" and "GENERATEDYNPRO".
    R/3 can't run the service and give a 403 error.
    Service is actived and published, using SICF and SE80 transactions. Finally, I've run SIAC_PUBLISH_ALL_INTERNAL and all is good.
    When service runs on R/3 system, I will build IAC iView on EP.
    Any idea?
    Thanks a lot.
    Regards

  • EREC-BSP-How to call a bsp application from another bsp application

    Hi Experts,
    In E-Rec one of my bsp application zapp_e_ext calling another standard bsp application hrrcf_searchhlp when user click on search help button.
    i made a zcopy (zhrrcf_serchhlp) of std application hrrcf_searchhlp,and did some changes,
    now the problem is how to replace the std application with zapplication so that zapplication should be called in place of std application when user click on search button.
    Cheers,
    Amod

    try exec()ing the cad program with the name of the file as a command line parameter...
    Runtime.getRuntime().exec("CADProg.exe Test.prt");
    i have no clue if this will work but it seems like it's worth a try.

  • Call portal service from page or iview

    Hello All,
    I have an portal applction(PAR) which is returning a value suppose 'X'.
    Now my requirement is to call this portal service from page.
    How may i do this?
    Regards.
    Punit
    Edited by: Punit Singh on Feb 25, 2011 9:30 PM

    Hi
    You can call the IPortalService API as in this [thread|how to call a portal service;
    Regards
    johann

Maybe you are looking for