BSP Layout Value

Hello All,
I have a BSP Application for Ammendment form in CRM.
The Ammendment form is a page in BSP which has 2 buttons GET_INFO and SUBMIT. The page has different fields relative to a Contract document. When a user enters the Document number he clicks on the button GET_INFO and all the relevant details are populated in the rest of the fields.
the user make some changes, if any, in changeble fields and should press SUBMIT in order to retain the changed values.
According to the current functionality upon pressing the SUBMIT button and ammendment form number is generated which is displayed onto a new page. User wants this number to be printed on the same page where the buttons are located.
In the event OnInputProcessing of the First Page the following is triggered
ld_event = application->on_input_processing(
    id_event_id            = event_id
    ir_http_request        = request
    ir_bsp_runtime         = runtime
    ir_bsp_navigation      = navigation ).
After this I would get the New Document number. How can I set this value into the First page directly..??
This is an urgent requirement.!!
Thanks in Advance.
Regards,
Smita

Check the navigation from
ld_event = application->on_input_processing(
id_event_id = event_id
ir_http_request = request
ir_bsp_runtime = runtime
ir_bsp_navigation = navigation ).
Where is it going, what's the value in the navigation variable. Maybe you can change this. Look also at properties tab of you BSP application where navigation can be set.

Similar Messages

  • Change Headings in Excell sheet in BSP Layout

    Hi,
    How to Change Headings in Excell sheet in BSP Layout?
    Thanks
    Srinivas

    Hi Anhubav,
    R/3 data sent to BW report -> excell sheet displaying in Bps layout in BSP Layout using Java script code Excell sheet layout headings are how to find out
    Thanks
    Srinivas

  • Displaying SY-ZONLO in the BSP layout

    Hi all
      I would like to know how do you pass a system variable Sy-ZONLO to a table iterator in BSP layout.
      I need to show the timezone in the BSP layout according to some conditions in the internal table.  I need to pass this
      dynamically.
    Cheers
    Vivek

    Hi
    I found it out! thnks !
    Cheers
    Vivek

  • BSP layout section - Indenting / HTMLTidy

    Hi all,
    Can anyone tell me if the BSP layout editor ( the layout tab in SE80 when editing a BSP Application) has a working pretty printer implementation?
    When I try to copy my layout to the editor, it loses all indentation for the HTML tags. I am not using much BSP HTML just plain HTML. Not only does it lose all the indenting but does not indent anything after that. I am on SAPGUI verision 7.10 patch 3.

    Hi Preet,
    The BSP Pretty painter goes best with the HTMLB layout....so if you have HTML more...then in SE80, do CTRL+F4 and it will open the code for you in notepad....
    then you can just copy the code and indent it in another HTML editors
    eg <a href="http://www.textpad.com">Textpad</a>...
    Many of them are availiable online....
    Then you can just copy the text back to the notepad and close it...it will ask if you need to reload data....say YES...and it will copy the contents back to the SE80....
    Thats how I normally do....
    Hope this helps.
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.

  • Retaining BSP Page values with Javascript popup window

    Hi Experts
    We are using a customized BSP application for our performance
    Management. To propmt users for saving their appraisal documents
    before a session timeout,we used an Javascript popup message(alert
    window). This window doesnot affect the BSP page in any way.(code
    provided below)
    Per changed requirement,we now have to retain the BSP page values once
    the user clicks 'OK' on this javascript popup window. I used the page
    refresh option with script. But this is erasing the earlier values.
    Can anyone tell me,how i can holdback the BSP page values after the
    user action on the popup window. If a piece of code is provided,it
    would be greatly appreciated.
    Thanks in Advance
    Alan
    Existing code for timeout popup
    javascript code
    function remind (){
    var msg = "Your Session will expire in the next 10 minutes. Please
    save your data.";
    alert the msg(using alert box)
    <%
    data: v_rem type string.
    DATA: port TYPE STRING.
    data: l_timer type string.
    port = request->get_header_field(
    if_http_header_fields_sap=>server_port ).
    DATA: services TYPE TABLE OF ICM_SINFO.
    CALL FUNCTION 'ICM_GET_INFO' TABLES SERVLIST = services.
    FIELD-SYMBOLS: <service> TYPE ICM_SINFO.
    DATA: wait TYPE STRING.
    READ TABLE services ASSIGNING <service> WITH KEY service = port.
    wait = <service>-KEEPALIVE - 10.
    CONDENSE wait.
    ****Start Changes: Timeout
    **l_timer = wait * 60 * 1000.
    l_timer = 1 * 60 * 1000.
    ****End Changes
    concatenate `'remind(` wait `)',` l_timer into v_rem.
    %>
    <htmlb:content design            = "DESIGN2002+DESIGN2003"
                   sessionManagement = "TRUE"
                   controlRendering = "SAP">
    <htmlb:page title = "<%= otr(ZPMDGL/TITLE_DOCUMENT) %>"
                  disableBackspaceNavigation = "TRUE" onLoad pass v_rem as a  parameter to setTimeout
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:32 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:34 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:35 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:36 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:36 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:37 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:38 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:39 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:40 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:40 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:44 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:46 AM

    If the BSP page is refrehed, all the user input it sent back to the server. If you don't do anything special, the input is lost and not sent back to the client again. You can go to your controller class' DO_HANDLE_DATA to read the user input, and store it in the controller class to send it back to the client.
    If you don't use controller classes, the equivalent would be onInputProcessing. A more advanced alternative would be to use MVC model binding, which would do most of the stuff automatically for you.

  • Ho to Display Fields as Mandatory in BSP Layout?

    Ho to Display Fields as Mandatory in BSP Layout, I mean with '*' after the field lable in BAP Layout ?
    Thanks
    James

    For Every BSP element we have attribute:
    required -
    Use this attribute to determine whether or not the input field is mandatory.
    Thanks
    James.

  • BSP: multiple values selection in select-option

    Hi,
    Our customer requires multiple values selection in BSP pages as he is used to in standard SAP GUI.
    I found it's impossible in standard.
    Could it be possible to used javascript for this ... each select-option would have its own script that would pass table with selected values as parameter to HTTP request?
    thanks
    Juraj

    Of course this is possible, you have HTML in the frontend, so you can do as much as HTML allows you. If you know DHTML you can play with it and create almost every layout you want, but then you have to keep in mind that you will have to take care about everything behind, starting from conversions (input/output), formatting, validation and so on.

  • BSP Layout Changed while run the application in IE8

    In my project, IE8 upgrade is going. The issue is, the layout of BSP in IE8 is totaly different and it is almost collapsed. But it is  good in IE earlier versions. Please can you help me anybody regarding this. any quick method is there?. I have to fix the issue ASAP.
    Thanks
    Ravi

    Hi,
    this is going to be a task for your system admin. because SAP system must be upgraded to the last support package und perhaps also to Enhancement package 5. BSP in IE8 is not supported in old versions of SAP.
    I had the same problem when people in Austria started to upgrade to IE8 without previous warning. We checked that the SAP system was in the newest upgrade stage and since then we have no problem.
    Additionally, your tag
    <htmlb:content id               = "content"
                   design           = "design2003"
                   controlRendering = "sap"
                   rtlAutoSwitch    = "true" >
    must display DESIGN2003 as a must. Any other value does not help with IE8.

  • Dymamic changes on BSP-layout

    I want to  create a BSP as a view (using MVC -concept).
    This view contains two input fields.
    I want that visibility of second field depends on value in the first one.
    F.E .if i put "visible"  in the first field, the second field become visible.

    using the if condition you can place the elements dynamically in the layout.
    <% if somehins is initial. %>
    <% else. %>
    "place the htmlb input field tags for both the fields.
    <% endif. %>

  • BSP Layout  problem

    Hi Experts,
    We have upgraded our system from ECC 5 to ECC 6 but now the form layout got changed in ECC 6 in portal view , It uses a BSP application HAP_DOCUMENT , everything  is same defined as in ECC 6 .
    Edited by: Gorika on Oct 3, 2009 8:30 AM

    Hi Nilesh,
    It is true that the page gets refresh when you try to navigate to next page of tableview. But the table view would automatically display the contents of the second page, without you to do extra coding in order to display the contents in the second page provided your table values are not empty.
    In order to manually navigate between the contents the tableview tag also provides a event handler attribute onNavigate, with which you could manually handle which records to display in the second page.
    Could you check whether the values of internal table which is bounded to this table view are intact after the table view page navigation is performed?
    If the bsp application is stateless, your table values could be cleared off! If you application is stateless, you need to change it to stateful (there are bunch of solved post on "how to make your bsp application to stateful")
    Hope it helps!
    Regards,
    Maheswaran

  • How to get the layout values in F4 help from Other program ?

    Hello All,
           I have a program P1which calls other program P2 .
    When I execute P1 I have a parameter for Layout with F4.
    When I press  F4 I want the help values which are there in the lay out of the other program P2.
    For this I'm using the following code :-
    DATA  spec_layout        TYPE  disvariant.  "specific layout
    DATA  v_save             TYPE  c.           "Save mode
    DATA  gs_variant         TYPE  disvariant.  "for parameter IS_VARIANT
    DATA  gv_exit            TYPE  c.
    PARAMETERS:  p_vari  TYPE disvariant-variant.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
    *  gs_variant-report  = sy-repid.
    *  gs_variant-variant = p_vari.
      CLEAR gs_variant.
      MOVE  '/BSHP/FP_CALL_OF_PLAN' TO gs_variant-report. "Report von Original CALL_OF_PLAN
      gs_variant-variant = p_vari.
      CALL FUNCTION 'LVC_VARIANT_F4'
        EXPORTING
          is_variant = gs_variant
          i_save     = v_save
        IMPORTING
          e_exit     = gv_exit
          es_variant = spec_layout
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        IF gv_exit NE 'X'.
    *     set name of layout on selection screen
          p_vari    = spec_layout-variant.
        ENDIF.
      ENDIF.
    But still I'm not able to get the values.
    Can anyone help me out ?
    Regards,
    Deepu.K
    null

    This question has been asked and answered many times before.  Please read the following blog for a good start:
    /people/yohan.kariyawasan/blog/2009/03/18/ui-framework-news-f4-help
    Before posting further please do a search in this forum and also read the rules of engagement listed here:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/home/rulesofEngagement
    I'm now locking this thread as it is a duplicate of an already answered question.
    Thank you,
    Stephen
    CRM Forum Moderator

  • BSP passing value from Form of a page to another page

    Hi experts
    I need you helps for some issue!
    I've create a bsp page with a form with an inputField and now I need to retrieve the value inserted by the user and pass it to another page.
    Can you explain me how I've to do?
    Second question is if is possible to use the inputfiled in a pop-up page and then pass the value to the first page.
    I've noticed than the first page is not refreshed when I try to pass the value of the other page.
    Tahnk's!
    alessandro

    Hi Alessandro,
    There are two approaches for doing this.
    1st approach has been mentioned below.
    2nd approach is: I am assuming you are working on Web-IC if its right then this approach is valid:
    you are using some attributes from a structure to show the input fields on the screen so what you can do is, in the IP_INBOUNDPLUG method of the new page you can create insatance of the previous page structure and then you can set these values to the new structure of the new page by saying set_attributes.
    Hope so it will help you:)
    Regards
    Sandeep

  • Image from Smart Forms BDS to BSP-Layout

    Hi,
    I need some help by developing a new part of our BSP-Application: I got a graphic (bmp)
    on Business Document Server(se78). I also need the same graphic displayed in BSP-Website.
    I found some help in http://help.sap.com/saphelp_470/helpdata/de/3e/c4308945ca4953bb100b9661eab3c2/content.htm
    but I really don't know how to use.
    I tried to get the graphic with <IMG SRC="http://xxxx/sap/bc/bsp/smart_forms/gr/graphics/bmap/BCOL/TEST1.BMP"> in Layout of the BSP-Site, but the picture wasn't shown. The image should be loaded in time. Mimes has to be transported. OnInputProcessing the image will be created and put on the Business Documents Server. Next step is to show it in BSP.
    Maybe you can help me.
    Regards,
    Britta

    Hi Britta,
    please have a look at the following Weblog:
    BSP Programming: Handling Of Non-HTML Documents
    /people/mark.finnern/blog/2003/09/23/bsp-programming-handling-of-non-html-documents
    This explains the way how to display non-HTML documents like pictures in a BSP.
    Please don't open two threads for the same topic.
    Regards,
    Rainer

  • E-Recruiting: BSP Default Values

    Hi,
    is it possible to use default values (without modifications on the E-Recruiting BSP applications) in E-Recruiting 600?
    Thanks and regards
    Gabriel

    Hi,
    the answer is easy - no, it is not possible.
    The only available function in this direction is the reference code generation for posting instances which is already implemented. Furthermore a Badi for setting some requisition and posting data is announced for EHP3 - but as i haven't seen it so far i cannot say if it is useful.
    Rgds.
    Roman

  • Problem in bsp layout - 'BAPI_MATERIAL_STOCK_REQ_LIST'

    Hi,
    I'm a student at HEC Montreal and i've been asked to develop a mobile application that is able to connect to SAP and display information about current stock and more. I've been asked to display a summary of the current SR list.
    I want my jsonp file to display those information:
    "Stock": "<%Stock Qty%>",
    "ProdOrder": "<%=Total qty of Production Order%>",
    "PldOrder":"<%=Total qty of Planned Order%>",
    "CusOrder": "<%=Total qty of Customer Order%>"
    I think the problem comes frome the IF statement where i try to verify if the mrp_elements (stock, prdord, plnord, etc...) = (stock, prdord, plnord, etc...). I just can't find the problem.
    Anyhelp would be appreciated.
    By the way, Sorry for the comments in the code... It's written in french. Oh and i've used the same event handler, pages attributes and type definition in an other bsp wich is working perfectly fine. So the problem is in the layout
    Thank you!
    Phil
    <%@page language="abap" %>
    Ext.util.JSONP.callback([
    <%
    Déclaration des variables
      data sto type p.
      data pro type p.
      data plo type p.
      data cuo type p.
      DATA packreq TYPE p.
      sto = 0.
      pro = 0.
      plo = 0.
      cuo = 0.
    Work area avec la table interne
      data: wa_user type BAPI_MRP_IND_LINES.
      LOOP at ZDETAILSTOCK INTO wa_user.
    Affichage de reqQty
      packreq = wa_user-REC_REQD_QTY.
      WRITE packreq ROUND 2 DECIMALS 4.
    *calcul des sommes d'élement
      IF wa_user-MRP_ELEMNT ='Stock'.
      ADD packreq to sto.
      ENDIF.
      IF wa_user-MRP_ELEMNT = 'PrdOrd'.
      ADD packreq to pro.
      ENDIF.
      IF wa_user-MRP_ELEMNT = 'PldOrd'.
      ADD packreq to plo.
      ENDIF.
      IF wa_user-MRP_ELEMNT = 'CusOrd'.
      ADD packreq to cuo.
      ENDIF.
      ENDLOOP.
    %>
    "Stock": "<%=sto%>",
    "ProdOrder": "<%=pro%>",
    "PldOrder":"<%=plo%>",
    "CusOrder": "<%=cuo%>"

    Hi,
    Use BAPI_MATERIAL_AVAILABILITY instead.
    Regards,
    Mario

Maybe you are looking for

  • IPod Touch 1st Generation upgrade

    Hello, is it possible to upgrade an iPod touch first generation to OS 3.1? Lots of new apps are not compatible to the first OS. Thank you.

  • AXBS-Macs work, PC can't keep connection

    Airport Express network; has been working fine for over a year. I can't say what's changed since then but my PC (which, admittedly I don't use often) no longer connects to my network automatically. It will hop on my neighbour's connection if that's o

  • White Balance Correction

    Hi all, This might be a question which is too "simple" for Aperture but here goes... I am used to using Adobe or Nikon products to edit my RAW images, in those apps you could change white balance as if you were in camera (ie: daylight, shade, flash e

  • Claims Payment and Claims Reserve Datasources

    Hello All, I understand that claims Payment(0ISCM_PAYMENT_01) and Claims Reserve (0ISCM_RESERVE_03) extracts claims for which payments and reserves exist. These claims may be open or may not be. I am looking for Claims which are open but there are no

  • Switch on off

    Hey I am trying to create a sequence when I can switch on and off my peristaltic pump (via parallel port) by simply pressing a button. I inserted boolean button (from a template) however have no clue how to programme it further? Any ideas? Thank you