Calling a BSP application with MVC and send one start value

Hi,
I developed a BSP application with BSP. The application has a start page with one input field. The user gives a number and click the send button. The controller creates the modeler and gives the userinput as start parameter for the data search. After the data are read/found, the controller calls a view to show the data.
This is very easy and does work.
I have to call this simply application from another one: the caller application sends the start value.
I don't know, if is better to send the start value in the URL or not. I tried it, but the controller cannot read it.
How can I call the controller with a start value?
Thank you!
Bye
Patrizia

Hi ,
what you need to do is
1) for the "Send" button attach a java script.
<htmlb:button id="myButton" text="Submit ...." onClick="sendRequestWrapper()"/>
this javascript should take the inputfrom the field,
then in the javascript create the URL.
function sendReqeustWrapper(){
sendRequest(InputField);
function sendRequest(InputField)
var URL;
URL  = window.location.protocol + "//" ;
URL += window.location.host ;
<b>Note: its only Example link,</b>
URL += "/sap/bc/bsp/sap/<BSPApplication>/controller.do";
URL +="?InputFieldName=";
URL +=InputFieldValue;
<b>then use</b>
Your URL will look like:
http://ld0507.wdf.sap.corp:50007/sap/bc/bsp/sap/<bsp appl>/controller.do?InputFieldName=XXXXX
window.open(URL,"_self","");
so once this URL is triggered  you need to goto the respective controller and handle the input. You can see the reply from Mr. Akshaya Rao .
regards,
Vijaya Kumar M.
Message was edited by: Vijaya Kumar

Similar Messages

  • Adding a tab on opportunities and call custom  bsp application

    Hi All,
             I want to add a tab "Visit Reports" in accounts,opportunities,contacts applications and on clicking this tab it should call a bsp application.I followed the
    steps given in the following  blog
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1646. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    1.This blog gives steps to create a tab and call bsp in accounts application,I could create a tab but it is not calling any bsp application?
    2.When I followed the same steps to create a tab in opportunities ,it dint work.In the application set of opportunities what should be given in "parent structure"?For accounts I have given BUP_MAIN.
    3.Do we have to write anything in the process event,to call bsp?If so can u give me the steps.
                        Please suggest,it's urgent.
    Regards,
    Ruby Chacko.

    Hi Raj,
              I have done customisisation of application set also,but it still doesnt work.
    I have given application set-comp_bupa ,structure name,mac,structure type-dependent structure,parent type-bup_main.My read method is as follows:
    method if_crm_bsp_model_access_il~read.
        data :
          lv_account type bu_partner,
          lv_submi   type crmt_object_id,
          lv_guid    type crmt_object_guid,
          ls_screen_structure type zcrmt_bsp_acc_aett,
          lt_screen_structure type table of zcrmt_bsp_acc_aett.
         CALL METHOD CL_BSP_RUNTIME=>IF_BSP_RUNTIME~CONSTRUCT_BSP_URL
    EXPORTING
    IN_APPLICATION = 'z_timerecord'
    IN_PAGE = 'input.htm'
    IMPORTING
    OUT_ABS_URL = ls_screen_structure-url .
        case iv_screen_structure_name.
          when 'ZCRMT_BSP_ACC_AETT'.
            read table it_object_key index 1 into lv_account.
            concatenate
              ls_screen_structure-url 'P_KUNNR%3d' lv_account
              ';P_AUF%3d;P_ANG%3dX'
             into ls_screen_structure-url.
        endcase.
        insert ls_screen_structure into table lt_screen_structure.
        et_screen_structure = lt_screen_structure.
      endmethod.
    If there is any mistake in the read method please reply.I have followed the same steps ,given in that blog. ( Modify method is empty implemented.)
    Please give me guidance.
    Best Regards,
    Ruby.

  • Calling a BSP application on a Web-Dynpro screen

    Hi all,
    We have a requirement as below:
    In the SAP Standard Web-Dynpro screen we have a Tab-strip control, where there are 2 tabs.
    We need to enhance the tab-strip control and add a new tab. On the same tab we need to call a BSP application.
    It meas when we select the tab we should be able to see a specific BSP Application there.
    How can this be made possible?
    One way that I can think of is by creating the Service calls... However, I am not sure how can the service call can be created and used to call a BSP App to be displayed on the screen.
    Waiting for your replies.
    Regards,
    Kunjal Patel

    Hi Thomas,
    Thanks for the reply. It was quite helpful in analyzing the available options for the development.
    Now, with the further analysis from your inputs, following are the findings:
    1. BSP is a Stateful BSP.
    2. Yes, We are using this web-dynpro in the portal. How can we go about with the alternative way suggested by you about the iView? As i have very limited knowledge about the Portal hence a little more help from you will be helpful.
    Is it like we can provide a button on the screen and then when a user clicks the button the result is a new window of the browser with the given portal link?
    Please suggest.
    Regards,
    Kunjal Patel

  • Calling a BSP application from universal worklist

    Hi All,
    I want to call a BSP application, when a workitem is clicked in Universal Worklist(Enterprise Portal)
    I have configured the Task Type in SWFVISU transaction, with Visualization type BSP standard & in visualization parameter i entered,
    APPLICATION = zgelrbsp0001
    PAGE_ID = leso.htm
    When I click on the workitem my test BSP application is called. Buy my requirement is not call a static dynamic application, when the workflow is called the workflow container has a URL
    http://dev01.abc.gov.sg:8000/sap/bc/bsp/sap/hap_document/document_port_wf.htm/
    this URL will change. But I don't know how to configure to call the URL in container. Please let me know how to achieve this.
    Regards,
    H.K.Hayath Basha.

    Hi Raja,
    Thanks for the reply.
    I said wrongly in my earlier mai, my URL is static, but the parameter appl_id  will have different value.
    http://dev01.abc.gov.sg:8000/sap/bc/bsp/sap/hap_document/document_port_wf.htm/?appl_id=1234
    What I have done is similar to the one which you have said, copied the standard BSP and modified, I pass WORKITEM ID to the BSP application, BSP application reads the workflow container for appl_id and sets that value to the BSP application attribute.
    There should be a better way to do this.
    Regards,
    H.K.Hayath Basha.

  • How to call custom BSP application (copied from standard)

    Hi,
    I came across 1 interesting link in SDN.
    [Enhancement procedure of BSP application HRRCF_RECRUITER in eRecruitment]
    My requirement is also similar.
    I need to copy the HRRCF_TRM_SRCH application.
    I know how to make the changes for the logic (like copying the standard controller & iterator class etc.)
    But I donu2019t know how to call the custom BSP application.
    One requirement is, I need to call a BSP application, in which there are only UI(user interface/screen) changes .
    That is, if there are only changes made to hitlist_cand.bsp page . And no changes made to hitlist_cand.do page.
    Eg: Removing one button from screen.
    Second requirement is, I need to call a BSP application in which there are logic changes also.
    (I know how to  change the standard controller class to custom class)
    Eg: Changing logic of button.
    We tried renaming the application name from standard to custom one (with Namespace=SAP itself, though it gave a warning) in the table T77RCF_LOG_APPL .
    Then we used this name to configure the start page link. But still the execution control is going to standard page & not to custom BSP application.
    How will I know which BSP application(Appl A), is calling the BSP application (Appl B) in which I want to make changes ?
    The starting application is HRRCF_START_INT.
    Would really appreciate solutions posted.
    Thanks,
    Nisha Vengal.

    Hi Nisha,
    I think you have an issue to call custom BSP.
    -     Ignore the warning message (in the table T77RCF_LOG_APPL) as it is just a warning message. I did not touch start page link at all.
    -     Additionally you need to make (I had to made) an entry in table u2018V77RCF_SMG_NAVIu2019.
    Let me know, if you need anything else.
    ...Naddy

  • Calling a BSP application in ABAP webdynpro

    Hi Friends,
    Is there any chance that i can call a BSP application from WEBDYNPRO.
    regards
    Nalinikanth.

    Hi Yashpal/ Pankaj,
    I have one question regarding this.
    The usage of the UI element link "link to URL" is pretty much understandable to call a stanalone application.
    Whereas the usage of suspend and resume plugs, how does it work for BSP applications? For two WD components we can connect the plugs and it works.
    As I do not know about BSP, does it have in/out plugs like WD components?
    If so how to create the navigation link for this.
    Please explain.
    Sankar.

  • How to call a BSP Application inside Webdynpro for  ABAP

    Is there any way to call a BSP application inside the webdynpro ABAP application..
    The Input screen will be the BSP page and when the user click the action it have to trigger some data in BSP and in turn it have to collaborate the manipulated data in webdynpro and shows the output in webdynpro or in BSP..

    pls refer to http://help.sap.com/saphelp_nw70/helpdata/EN/30/1b62799d786445a72ad85acb4fd55b/content.htm
    and check if it helps u

  • Calling a BSP application from another

    Hello,
        I have not a lot experince in bsp's programming.
        I am trying to call a bsp applicattion from another one. Do you know how can I do it?.
        Thanks in advance.  Javier.

    hi Javier,
    For questions on BSP programming,you should post your questions on the bSP forum.
    For your question,it depends on how you want to call your BSP application.
    Do you want to navigate from one BSP page to other or you want some link which leads to the other BSP application.?
    You can find sufficient help on the help.sap.com
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm</a>
    For more details, you can search SDN itself.
    IF you have more queries,your'e welcome.
    Regards,
    Siddhartha

  • Anyone know how to gernerate CRUD applications with flex and coldfusion?

    Anyone know how to gernerate CRUD applications with flex and
    coldfusion? I am working with a remote coldsfusion installation
    with MS SQL and I don't have RDS.

    You might investigate "squidhead". It is CF based. I'm not
    sure if it has any Flex related features.
    http://squidhead.riaforge.org/

  • Demo applications with BC4J and JClient

    Are there any demo applications with BC4J and JClient, which go beyond the one frame samples, tutorials and how to's?
    This would deliver a better insight to develop a complete application.
    Bye
    Holger

    Thanks,
    the Virtual Shopping Mall sample is quite not I have searched for, because it is primarily an Web application and I am searching for an JClient application without Application Server, but it is a beginning.
    Bye
    Holger

  • My iMac drops settings information.  Sounds associated with receiving and sending an email disappear after about a week and return following a restart after a shutdown.  Also my picture taken, which was taken about a year ago, recently disappeared.

    My iMac drops settings information.  Sounds associated with receiving and sending an email disppear after about a week and return following a shutdown and a restart.  The cycle contunes.  Also, the picture of me that was taken when I bought the iMac more than a year ago and appeared at logon recently disappeared and was replaced by a soccer ball.  I took a new picture, which appeared for about a week at logon, and it has now been replace by a blank picture.

    The standard procedure with these types of isues is a PRAM reset.
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    Excerpt from http://support.apple.com/kb/ht1379

  • HT1338 I have Microsoft Word for Apple, and when I send an attachment to an email, it goes as  "application/octet-stream", and no one can open it. What can I do to send it as an ordinary word.doc

    I have Microsoft Word for Apple, and when I send an attachment to an email, it goes as  "application/octet-stream", and no one can open it. What can I do to send it as an ordinary word.doc>

    You could Zip it.
     Cheers, Tom

  • I click on one song and another one starts playing.  Cover art for one artist shows up on another album.  All of my music isn't showing up.  Please help.  Why is this happening?  How can I fix it?

    I click on one song and another one starts playing.  Cover art for one artist shows up on another album.  All of my music isn't showing up.  Please help.  Why is this happening?  How can I fix it?

    Sorry for not getting back with you...
    That moves only the iTunes media, not the iTunes library (which is really kinda nebulous).
    iTunes library = iTunes folder and all the media, wherever it is located.
    The /Music/iTunes/ folder contains the iTunes library.itl file, which keeps track of everything in iTunes.
    I do however still have the original MAIN startup drive still in the computer, it's just not the startup.
    This is good you still have it.
    Try this...
    Hold Option and launch iTunes.
    Select Choose library... and select the /iTunes/ folder on the original drive. It should be in /Users/your_user_name/Music/.
    Don't mess with anything. We can get it cleared up.
    Does everything work okay?

  • How to call bsp application in workflow and process it...

    The requirement is ...
    HR as (admin) -- in standard workflow selects apprasiee for 360 degree apprasial process(bsp application developed by me)..
    aprasiee selects 10 employees and sends to HR
    HR checks the employees list and their relationships
                            if
                      HR satisfies and clicks ok .. email will go to all 10 employees selected by apprasiee with a link
                  of 360 degree application developed in bsp..
                      else
               HR says to reselect the employees to apprasiee.
    when apprasier completes the form and submits both HR and appraisee gets a note that particular
    employee as filled your application..
    for this process ... there r standard ones and i have to creare new ones ..
    tell me which standard workflows  i can use for this and which one to and also how to create a new one...
    i hope i can use HR and apprasiee selected by HR can be used as standard ones, which i want to copy and create a new one.

    Hi,
    If you want to use a BSP in your workflow, this can fairly easy be done by incorporating your BSP as a webactivity in your own flow or into an existing one. Things to consider when creating webactivitysteps in your workflow are:
    - Making settings in WF_HANDCUST.
    - Make settings in SICF: here you have to activate the WSHANDLER (pad /default_host/sap/bc/webflow/wshandler) and your own BSP which is somewhere under pad /default_host/sap/bc/bsp/&name_of_your_bsp&
    - Make settings in WF_EXTSRV: here you can make settings between the import and export parameters of your BSP and the (future) parameters in your workflowtask. When all these settings are made correctly, you can generate a WF-task with the corresponding button in this transaction (a wizzard will be started). The connection between the task and your BSP will be stored in table SWLWPTSSID.
    Try if you can figure it out with these transactions. Good luck!
    Kind regards,
    Joost van Poppel

  • RFC Call through BSP - Issue with RFC logon credentials

    Hi everyone,
    I have an BSP application running on a 6.40 which calls a RFC function module on a backend system (4.6c) using a trusted RFC connection.
    The BSP is started with an URL which contains in encoded form the username and password. So we don't use the standard sap-username & sap-password.
    In the first step the user is logged in with the anonym user (user type 'service') which is entered in the SICF. So sy-uname = 'anonym'.
    After a couple of checks and verifications the BSP makes a user switch using 'SUSR_INTERNET_USERSWITCH'. Exporting parameters are the now decoded values from the URL. So after the switch sy-uname is e.g.  'blabla'.
    Now a function module on the backend system is called. What I would now expect is that on the backend system sy-uname is also 'blabla'. But it isn't. The sy-uname is still 'anonym', which isn't very helpful regarding object authority checks.
    Only after an reload of the BSP page and a second RFC call of the function module the sy-uname = 'blabla'.
    I wonder what causes this problem?
    Thanks for your replies & regards
    Kruno

    Hi,
    I solved it.
    Before I execute function 'SUSR_INTERNET_USERSWITCH' I first check if user has a valid backend account by using function module 'BAPI_USER_EXISTENCE_CHECK'.
    And this is the problem. When 'BAPI_USER_EXISTENCE_CHECK' is executed once all other RFC function calls to the backend get the wrong user.
    Why? I don't know yet. Maybe I will get an useful anwer from an OSS note.

Maybe you are looking for

  • Use of New logical Level Key in OBIEE

    Hi all, can anybody tell me what is the use of newlogicallevel key in hierarchies(OBIEE). why we need to set a newlogical level key for each level in hierarchies. pls explain in detail.... regards bharath

  • Airport Express won't detect modem

    I'm running XP home on a Dell Inspiron 510m with Dell 1450 b/g wireless card. My current internet connection is via Ethernet to D-Link DSL-300T modem and my internet provider is Zen (PPPoA). Being a fixed line guy, I have no WEP/WPA wireless encrypti

  • Read from excel file stops at column 5(E) returns error at data variant function

    hi, i am read an excel file approx 15 rows by 16 rows. The vi works fine upto 5 rows and 5 columns and prints data on front panel after using data variant. The Cell range are also seems to be correct for higher rows/columns but then the errors occurs

  • Relink Errors during Clone in 8.0.6 Home

    Hi, Solaris SPARC 5.10 11.5.10.2 Running "perl adcfgclone.pl appsTier" I'm getting missing library errors on the link step when trying to create $ORACLE_HOME/lib/oracle. It looks just like the problem described in Note 370596.1, yet when I execute th

  • Can't believe you didn't fixed this memory leak bug yet

    https://bugs.adobe.com/jira/browse/FP-4812 it's a major issue, why no one did a fix for it? Unbelievable..