BSP-message

hai all
In message i want two buttons(yes/no).
if it is yes, the next screen will open otherwise the controls goes to previous screen.
any idea?

Hi,
first explain how you´re displaying your message, ´cause there are a couple of different methods.
If you´re working with Javascript, you can do something like this:
script language="javascript">
  function your_message(){
    var answer=confirm("Some question here");
    if (answer == true){
       do something;}
    else {
       targetURL="http://www.somepage.com";
       window.location=targetURL;    }}
</script>
Mark points if helpful

Similar Messages

  • How do you stop BSPs on WebSEAL for asking for user-credentials?

    Hi
    We are currently having an issue with BSP Pages. When we test the BSP pages on the R/3 system they work OK. When we test them directly on the Portal then they too also work. The problem is that they are not working properly on our Intranet.
    The intranet that we use is an IBM Tivoli product (also known as WebSEAL). We currently have WebSEAL SSO to our SAP Portal. This is working OK. When we use WebSEAL to access the portal we are prompted to enter our user-id and password so that the BSP page can be displayed. This should not be happening and it defeats the purpose of SSO. I have attached a screen shot document to demonstate this.
    Some time ago we had a similar issue where the transactions on the portal (when executed from WebSEAL) were giving us a Webdynpro time-out error. I later determined that the cookie information was not being passed to WebSEAL. To fix this, I went to the Visual Administrator and went to server >> services >> web container and for the web container "sap.com/irj" I went to the cookie configuration to add a session cookie. By doing this I fixed my previous problem.
    Coming back to my problem, I had a junction created in WebSEAL to point to the bsp directory (sap/bc/sap/bsp/*) on the host concerned. I had both a SSL and TCP junction created both resulted in error messages - stating that the client (SAP) is asking for user credentials.
    Hoping that I have provided enough information above my question is as follows:
    (1) How can I get the BSP messages to work on WebSEAL such that it will not ask for user credentials to be entered? Would this involve making a further change to a Web Container? If so - which container also needs a session cookie to be generated?
    Thanks
    Kind Regards
    Rajdeep Kumar

    Hi Peter
    I am having an issue with the re-direct and am hoping you might be able to provide a little assistance. If not then not to worry.
    My security department have logged a call with IBM 2 days ago yet have not received any response.
    In your document you mention that you need to have a junction to AS-JAVA and a junction to AS-ABAP.
    We have created the junctions "/sapep" (for AS-JAVA) and "saphr1" (for AS-ABAP).
    The junction /sapep" also contains the junction mapping entries "/irj/" and "/SSOTicket/".
    The direct URL to the hidden image is : https://uadsfi01.auiag.corp:53001/SSOTicket/1x1.gif. I have tested this (using my user id and password) and it works OK.
    When testing the image through TAM (https://test.insideiaghome.iaglimited.net/sapep/SSOTicket/1x1.gif) we get an "unexpected authentication challenge"
    I have reviewed the log below and it seems that we are having an authentication issue with the image:
    ==(START OF LOG)==
    2008-06-16-19:59:58.365+10:00I----- thread(136) trace.pdweb.debug:2 /sand/cholt/laura_amweb510_11LA/src/pdweb/wand/wand/log.c:309: -
    PD ===> BackEnd -
    Thread_ID:52943
    GET /SSOTicket/1x1.gif HTTP/1.1
    via: HTTP/1.1 uattam01:443
    host: uadsfi01.auiag.corp:53001
    user-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; MS-RTC LM 8; .NET CLR 2.0.50727)
    iv_server_name: uatin1-webseald-uattam01
    accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, /
    iagsapid: 52975
    accept-language: en-au
    referer: https://test.insideiaghome.iaglimited.net/sapabap.html
    connection: close
    iv-user: s52975
    2008-06-16-19:59:58.373+10:00I----- thread(136) trace.pdweb.debug:2 /sand/cholt/laura_amweb510_11LA/src/pdweb/wand/wand/log.c:309: -
    PD <=== BackEnd -
    Thread_ID:52943
    HTTP/1.1 401 Unauthorized
    content-type: text/html
    date: Mon, 16 Jun 2008 09:59:58 GMT
    cache-control: no-cache
    content-length: 1787
    www-authenticate: Basic realm="Upload Protected Area"
    server: SAP J2EE Engine/7.00
    expires: 0
    pragma: no-cache
    connection: close
    ==(END OF LOG)==
    When logging into the SAP Portal directly general user ids have no problem accessing this (Non-Administrator portal users), however through Tivoli it is causing an issue.
    Do you know what may be causing this issue?
    Thanks in advance for any assistance you can offer.
    Kind Regards
    Rajdeep Kumar

  • Error in Survey in Assessments from Portal

    Hi,
    I am getting a strange error.   In Opportunity if we go to assessemnt we have 3 surveys.  When I am tring to open one particular survey we are getting the below BSP message.   Pleae help me in this.  This is Not coming all the systems only in Production system.
    Thanks
    naveen
    Business Server Page (BSP) Error
    What happened?
    Call of BSP page terminated due to error.
    Note
    Following error text processed in system:
    <bsp:bee>: (BEE XML) <htmlb:textView> does not have any "htmlb" attributes
    Error Type:
    Your SAP Business Server Pages Team

    Hi Naveen,
    what was the reason for that error and how did you resolved it?
    We have the same error at a particular survey in CRM 7.0 WEB UI.
    Kind regards for your help
    Hannes

  • Problem rendering an input table

    Hi,
    I have to render a 9 columns table to input info from users and i don't know how can i do it using htmlb:tableView.
    I did it using some inputFields but my boss want i do it using a tableView, can somebody show me a simple example in which i can see how to insert inputFields and how to customize it.
    Thank you in advance.

    Hi Julian,
    please read this excellent weblog from Brian McKellar:
    /people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
    This will help you to make your cells in an TableView editable.
    Thorsten
    There is a SAP BSP-Application called: sbspext_table try the
    TableViewIterator.bsp
    Message was edited by: Thorsten Blechinger

  • Message not getting refreshed in bsp pages.

    Hi experts,
    An error message which is getting displayed should be removed on leaving the page. I mean the meassage area is not getting refreshed on leaving the page. Everytime i need to refresh the page to remove it. Please help.
    Abhi.

    hello Friend,
    Please clear the internal table / work are used to show message in OnInitialization method of the BSP page.
    now It is not getting cleared at the time leaving the page and data stays in memory...
    Thanks
    K.

  • Collect Error Message from SAP program to BSP Page

    Hi Experts,
    I am displaying an error message in the form of pop-up Message  in a Screen based on a condition using BADI on R/3 screen , but when i am calling the screen from Portal (BSP PAge) I am unable to see the Error Message which is being displayed as a pop-up in r/3..
    How to catch the error and display in BSP Page.....
    I have searched the forum but didnt find any suitable replies....
    Plz help
    Regards,
    Srikar

    Hi Srikar,
    It depends.
    Generally though you display a message in SAPGUI it does not display automatically in BSP.
    Some times you have to manually write some code to populate and display a message in BSP.
    First you need to find the BSP page and write some code to display error messages in the same..
    Regards,
    Sreekanth

  • How to display error message in BSP

    Hi,
    I am working on a BSP application where I want to display some error messages if a particular validation fails.
    I have written the code for adding the message using CL_BSP_MESSAGES->ADD_MESSAGE in event DO_HANDLE_EVENT. The message passed is added successfully in table M_MESSAGES in method ADD_MESSAGE . But I want to know what code should be written in the layout to display this error message.

    Hi,
    In javascript you have to do validation(Eror Message) below is the sample code for message
    var yourwords = "Enter Carrid"    !';
    vae speed = 500;
    var control = 1;
    function flash()       
    if  ( control == 1 )
    windows.status = yourwords ;   
    control = 0;    
    regards
    krishnakiran
    Edited by: Krishna KiranN on Dec 12, 2011 11:53 AM

  • Pop up message for confirmation in standard bsp on approve button

    Dear friends
               I am supposed to put one pop up confirmation message in 'hap_document' bsp application on approve button, this is MVC frame based application and used to show appraisal details. I have check with the event handlers, but is structured dynamically.  I have put a break point at various places. but from the portal when i m running the application it doesnt go into debugger..
    Please give me some ideas how to debug this application and how i will know the place where i need to do the coding for the pop-up confirmation message.. any help of yours will be greatly appreciated
    thanking you
    Regards
    Naeem

    Dear Naim Khan S Babi,
    Different controllers, views and BSP pages are availabe withing the application.
    You just keep the debug on the on the main methods like, DO_INIT, DO_REQUEST and DO_HANDLE_EVENT. So that you easily find where your application navigates.
    Hope this will be helpful.
    Regards,
    Gokul.N

  • BSP Error:Message E BL 203 cannot be processed in plugin mode HTTPs

    Hi Experts ,
    I am trying to navigate from one application to another by clicking on the opportunity that i have created.
    While navigating i am getting the following error but this error does not occur for all the users.
    The following error text was processed in the system:
    Message E BL 203 cannot be processed in plugin mode HTTPs
    Exception Class CX_SY_MESSAGE_IN_PLUGIN_MODE
    Error Name
    Program CL_CRM_BSP_FRAME_MAIN=========CP
    Include CL_CRM_BSP_FRAME_MAIN=========CM001
    ABAP Class CL_CRM_BSP_FRAME_MAIN
    Method DO_REQUEST
    Line 1003
    Could you please help me in this regard.
    Regards
    D.Vadivukkarasi

    You can use T_code SICF to active bc-->bsp and some components if you feel it is relevant.

  • Error messages in BSP

    Hi,
    I have a requirement in BSP which consists of 2 pages.the first page has 5 checkboxes with 2 input parameters and my reqiurement is that i need to get the error message if the user executes the first page without selecting any of the checkboxes.
    Kindly advice on this.
    Thanks & Regards,
    Mani

    Hi Manikandan,
    I guess you have a button on first page , which when clicked takes the user to second page.So you can use the onClientClick event of the button .
    Something like:
    <htmlb:button id = "BTN"
    text = "continue"
    on C l i e ntCli c k = "c h e c kDa t a();
    o n C lick  =  "some_event">
    <s cript>
    function checkData()
    if( (d ocument.getElementById('cbox1').value='')|| ( (d ocument.getElementById('cbox12).value='')|| ( (d ocument.getElementById('cbox3').value='')|| ( (d ocument.getElementById('cbox4).value='')|| ( (d ocument.getElementById('cbox15).value='')|| )
    a lert('Your error message');
    htmlbCancelSubmit = true ;
    </s cript>
    Regards,
    Anubhav

  • Can I use message class(from se91) in BSP applications

    Hi,
    Can I use message from message class(se91) to display in pages of BSP application.
    Best Regards
    Rayudu

    Hi,
      Thanks for response.
    How can I get se91 message in onInput processing?
    I understand that for long texts i can use OTR texts. Weather I need to maintain OTR texts for simple error messages?
    Best Regrads
    Rayudu

  • How to give a status or information message on BSP page screen.

    Hi BSP gurus
    I have a search button on the screen , If user click on search button then system search for the suppliers, If no suppliers found then i need to show a status or information message.
    I am new to BSP , Could you please help me by telling the way how to give status or information message on the screen.
    Many thanks and regards
    Sandeep Sharma

    Hi,
    Search in SDN thre are many wikis posted on how to dispaly messages.
    Here is an example to [Message DIspaly|https://wiki.sdn.sap.com/wiki/x/CIHvB ]
    Hope this helps you
    Regards,
    Rajani

  • Message-Objekt in BSP-Applications

    Hello experts,
    system messages (sm02) are not shown in WebTemplates if we access them via a customized variable entry screen. If we access WebTemplates directly system messages are shown!
    Are there any parameters not passed from entry screen to WebTemplates? Is there some kind of message objekt in BSP-Applications that can be used?
    Thanks
    Hiza

    That's right, I was looking for a ABAP solution but I tried to implement sriniva solution in my program but it isn't really adapted to my program conception. I thought it was good but unfortunatly not. So, I'm looking for another way.
    In my BSP program, I've a button when you click on it, I store all data into a file. My button declaration is like that :
    <input class="butClass" type=image name="onInputProcessing(valider)"
                  src="<%=rep %>Server.gif" width="23" height="23"
                  alt="Publish"
                  id="valid" onClick="WaitCursor();"
                  onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)"
                  onMouseUp="selUp(this)"/>
    Problem, can I integrate your solution into my program conception?
    Thanks.

  • Debugger Message SY495 in BSP code

    Hi, I ran into message SY495 while trying to debug a BSP. The solution we found I have posted in the ABAP forum. I put the message number in the title.

    For those wondering, see the actual Debugger "cannot determine the breakpoint" position SY495.
    I suspect that it would have been safer to not directly clean the table, but to use transaction SICF. There is a menu entry to disable debugging for a specific user. From what I know (which might not be 100% correct), this should be sufficient to clean up all breakpoints and disable HTTP debugging for the user.

  • Messages in BSP using HTML.

    hi all,
    i had developed a BSP application using HTML.
    The application is for vehicle gate in/ gate out.My question is how to deal with messages in HTML.
    Suppose the vehicle is gate in,if the user again wants to gate in the vehicle,it should show a message that the vehicle is already gate in. The message should be a information message only .And I do not want any pop up window to come.
    waiting for positive reply.
    with regards
    sandeep.

    Hi,
    what I do in cases like this:
    In the page attributes I add an internal table, type BAPIRET2_T. For example itab_return. I collect all messages in this message table.
    In the layout I check this table. If it is empty, I show nothing. If there is a message in this table, I sohw this message in an own "message area". You can design this message, area as you like and where you like.
    Best regards
    Renald

Maybe you are looking for

  • Lightroom Workflow & Avoiding Photoshop

    There are still basic colour adjustments that I'm performing in Photoshop for which I suspect Lightroom would be able to handle just as well. But I'm still too addicted to Adjustment Layers to see an efficient way of accomplishing the same thing. For

  • My ipod g2 doesn't play any song or any sound

    my ipod doesn't play any music or sound but the earphones are new

  • How to find paricular GL ACCOUNT is relevant to tax or not.

    Hi , Actually i am abaper working on FI MODULE. How to find paricular GL ACCOUNT is relevant to tax or not. Please provide the tcodes and necessary information..where to check . Thanks & Regards, Hari priya

  • In function palette-instrument I/O i have lost library:INSTR LIB

    when i clik on instrument I/O in the function palette, inside i have this library:GPIB,SERIAL,VISA,I/O COMPATIBILIY but i lost library INSTR LIB. In directory c:\programmi\national instrument\labview6\instr lib there are all my driver instrument haw

  • Stop M2V files from previewing in finder

    Is there any way to stop M2V files from previewing in finder? It either always crashes the finder or it just sits there forever(especially if it is a long video) with the cursor spinning until it can preview it. Also when I try to locate these type o