Help for navigation- set_parameter

Hi
I am creating BSP application in which i am supposed to pass the value of a htmlb inputfield to another bsp page. I am able to get the inputfield value for that page in the   oninputprocessing event but not able to pass it to fibal page,
  CASE event->id.
    WHEN 'Display'.
      DATA: reportname TYPE REF TO CL_HTMLB_INPUTFIELD.
      reportname ?= CL_HTMLB_MANAGER=>GET_DATA(
                          request = runtime->server->request
                          name    = 'inputField'
                          id      = 'myInputField1'
      IF reportname IS NOT INITIAL.
        <b>report_name = reportname->value.</b>
      ENDIF.
      navigation->set_parameter( 'report_name' ).
      navigation->next_page( 'DISPREPORT' ).
    WHEN others.
  ENDCASE.
The htmlb controls for these are as below,
      <htmlb:inputField id        = "myInputField1"
                        type      = "String"
                        invalid   = "false"
                        width     = "200"
                        visible   = "true"
                        disabled  = "false"
                        required  = "true"
                        maxlength = "30"
                        size      = "50"
                        design    = "standard" />
      <htmlb:button id            = "Display"
                    text          = "Display "
                    onClick       = "Display"
                    tooltip       = "Displays Report"
                    width         = "60" />
Now in the final page  i must get the <b>report_name</b> value which has been declared as a string in the page attribute of default BSP. Further i have it declared the same as auto in final page. Still i am not able to get the value.
I am new to BSP and any help is appreciated.
Thanking you in advance.
Thanks
Kathirvel.

Hi Raja,
Thanks for the warm welcome, sorry to say it is not working.
The report_name is a page attribute of default BSP. I am not able to get it in the result page.
<b>index.htm</b>
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content>
  <htmlb:page>
    <htmlb:form>
      <TABLE width=300>
      <TR>
           <TD bgcolor=#DCE3EC > <B>Enter Details</B></TD>
      </TR>
      </TABLE>
      <TABLE width=300>
      <TR>
           <TD>
      <htmlb:label id       = "myInputField1_Label"
                   for      = "myInputField1"
                   design   = "emphasized"
                   text     = "Report Name"
                   tooltip  = "Simple quick info"
                   encode   = "false"
                   required = "false"
                   width    = "70"
                   wrapping = "false" />
       </TD>
           <TD>
      <htmlb:inputField id        = "myInputField1"
                        type      = "String"
                        invalid   = "false"
                        width     = "200"
                        visible   = "true"
                        disabled  = "false"
                        required  = "true"
                        maxlength = "30"
                        size      = "50"
                        design    = "standard" />
       </TD>
      </TR>
      </TABLE>
      <TABLE width=300 >
      <TR>
           <TD bgcolor=#DCE3EC align = center>
      <htmlb:button id            = "Display"
                    text          = "Display "
                    onClick       = "onInputProcessing()"
                    tooltip       = "Displays Report"
                    width         = "60" />
             </TD>
      </TR>
      </TABLE>
    </htmlb:form>
  </htmlb:page>
</htmlb:content>
<b>onInputProcessing of index.htm</b>
event handler for checking and processing user input and
for defining navigation
CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
Optional: test that this is an event from HTMLB library.
IF event_id = CL_HTMLB_MANAGER=>EVENT_ID.
See if upload is triggered from button
  DATA: event TYPE REF TO CL_HTMLB_EVENT.
  event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
  IF event->name = 'button' AND event->event_type = 'click'.
    DATA: button_event TYPE REF TO CL_HTMLB_EVENT_BUTTON.
    button_event ?= event.
  ENDIF.
  CASE event->id.
    WHEN 'Display'.
      DATA: reportname TYPE REF TO CL_HTMLB_INPUTFIELD.
      reportname ?= CL_HTMLB_MANAGER=>GET_DATA(
                          request = runtime->server->request
                          name    = 'inputField'
                          id      = 'myInputField1'
      IF reportname IS NOT INITIAL.
        report_name = reportname->value.
      ENDIF.
      navigation->set_parameter( name = report_name value = 'reportname->value').
      navigation->goto_page( 'report.htm' ).
    WHEN others.
  ENDCASE.
ENDIF.
<b>and in oninitialization of result.htm</b>
  REFRESH QTAB.
  data: rep_name(30) type c.
  rep_name = report_name.
  READ REPORT  rep_name INTO QTAB.
Here i am not able to get the <b>report_name</b> value.
Hope i make my problem clear...
Thanks
Kathirvel

Similar Messages

  • Value Help for a field from custom table in BSP

    Please let me know, the procedure to create value help for a field from a custom table in BSP using HTMLB.
    Thanks

    hi prodigy,
    check this code using drop down list.
    <b>layout for first page</b> 
    <htmlb:dropdownListBox id                = "ddlist"
                                  table             = "<%=t_mara%>"
                                  nameOfKeyColumn   = "matnr"
                                  nameOfValueColumn = "matnr"></htmlb:dropdownListBox>
    <b>event Oninitialization event of first page</b>
    SELECT MATNR UP TO 10 ROWS
      INTO TABLE T_MARA
      FROM MARA.
    <b> event Oninputprocessing event</b>
    **Load the manager class
    CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
    DATA: V_EVENT TYPE REF TO CL_HTMLB_EVENT.
    DATA: DATA TYPE REF TO OBJECT.
    DATA: V_DATA TYPE REF TO CL_HTMLB_DROPDOWNLISTBOX.
    CALL METHOD CL_HTMLB_MANAGER=>GET_EVENT
      EXPORTING
        REQUEST               = RUNTIME->SERVER->REQUEST
      RECEIVING
        EVENT                 = V_EVENT
    IF V_EVENT->NAME = 'button' AND
       V_EVENT->EVENT_TYPE = 'click'.
    DATA ?= CL_HTMLB_MANAGER=>GET_DATA( REQUEST =
                                          RUNTIME->SERVER->REQUEST
                                          NAME     = 'inputField'
                                          ID       = 'matnr'
        V_DATA ?= DATA.
    IF V_DATA IS NOT INITIAL.
         V_MATNR = V_DATA->SELECTION.
    ENDIF.
    NAVIGATION->SET_PARAMETER( NAME = 'v_matnr' VALUE = V_MATNR ).
    NAVIGATION->GOTO_PAGE( 'detail.htm' ).
    ENDIF.
    <b>in the onInitialization event for detail page</b>SELECT MATNR
           ERSDA
           ERNAM
           LAEDA
           AENAM
           VPSTA
           PSTAT
           LVORM
           MTART
      FROM MARA
      INTO TABLE T_MARA
    WHERE MATNR = V_MATNR.

  • Online Help for Oracle HRMS Self Service System

    I am looking into developing context-sensitive online help for an Oracle HRMS Self Service application. There is currently no online help for the application; all help is provided in printed and online docs, so users are having trouble navigating to the info they need. Help is needed! My initial questions are:
    Would I need to create OHJ or OHW?
    Could I use RoboHelp to develop the content?
    Is there a reference document you can point me to?
    Thanks
    Belinda

    Hi Belinda,
    You would create Oracle Help, and then deploy it using OHJ or OHW.
    The format of the help is the same. There is nothing specific that needs to be done for one or the other. If your system i s a Web application, you would use OHW and otherwise, you would use OHJ.
    You can read more about Oracle Help on OTN at http://www.oracle.com/technology/tech/java/help/index.html.
    (Read the FAQ for more information about the choice between OHJ and OHW.)
    Personally, I would not recommend RoboHelp to create Oracle Help. RoboHelp has a lot of nice features, but the Oracle Help output feature is fairly buggy, especially if you are creating a large helpset, or a helpset that has subhelpsets.
    At Oracle, a lot of help development is done using DreamWeaver and an in-house build tool, called the Oracle Help Build Tool. This is available for free. Send me a mail ([email protected]) if you want a copy.
    Regards,
    Pete

  • To get f4 help for salesperson field ,transaction me21n & me22n

    Hi Super-Techies,
    I am a new-bie in the world of enhancement.
    The reuirement here is I need to create a custom table with 1 field (prep_name). (This is done)
    Now the reuirement is that whenever user goes to transaction ME21N/ME22N, he wants me to add a f4 help for salesperson field (navigation : ME21N/ME22N -> CLICK ON COMMUNICATION TAB -> SALESPERSON). The f4 help should display the field from my custom table.
    As far as my knowledge is cond=cerned, I can use the function module 'F4IF_INT_TABLE_VALUE_REQUEST' to achieve this requirement.
    But the issue I am facing is where to write this logic and how to proceed. Can anyone help me in this case?
    Any help in this regard would be appreciated.
    Thanks & Regards,
    Vinit
    Edited by: vinit005 on Nov 1, 2010 12:43 PM

    Hi Vinit,
    I also had that requirement. There is no customer exit/BADI by which we can achieve that(as far as my knowledge), we have to use access key to achieve that. So we have gone for customer exit "MM06E005" to add Customer data tab in header and added our own fields, like Sales Person, Buyer Details etc.
    Thanks & Regards,
    Faheem.

  • Different keyboard shortcuts in Adobe Reader 9 for navigation

    In Adobe Reader 9 (German) the keyboard shortcuts for navigation have changed obviously. In previous versions one can zoom in/out to window size with "CTRL-0". Now CTRL-0 zooms in (like CTRL-+ before). CTRL-1 seems to zoom out. Is this a bug or why does Adobe change the shortcuts in Adobe Reader 9 (btw: any other Adobe product uses the same shortcuts as older versions).
    Does anybody know, how to resize the document to window size via keyboard shortcut?
    Thanks in advance. Best regards.

    Hi!
    I was wondering about the exact same thing:
    http://www.adobeforums.com/webx/.59b65468
    I believe it is not a bug, just an unreasonable, stupid change.
    Thanks though, for mentioning that you actually can zoom in now using ctrl+0 (or ctrl+2 i guess)!
    For resizing to window size I use "ctrl+L", so if you are in zoomed mode you have to holde ctrl and hit L twice to jump to window size again. Hope that helped!
    -hell

  • Need help for flash builder

    i need help for flash builder 4 and papervison 3d. I need to create a slider with it ranges of value from 10 to 50 to adjust the camera values for the camera.fov and also need to create it for the yaw of the object from 0 to 360. I try to look for any slider event and classes in this program but cant find any, btw, i need to use the AS only project file.
    here is my codes:
    can you please tell me how i should modify the codes?
    package
        import flash.display.BitmapData;
        import flash.display.Sprite;
        import flash.events.Event;
        import org.papervision3d.materials.BitmapFileMaterial;
        import org.papervision3d.materials.BitmapMaterial;
        import org.papervision3d.objects.primitives.Sphere;
        import org.papervision3d.view.BasicView;
        [SWF (width="800", height="600", backgroundColor="0x000000",frameRate="30")]
        public class EarthBitmap extends BasicView
            private var sphere:Sphere;
            public function EarthBitmap()
                super(800 , 600);
                var earthmaterial:BitmapFileMaterial = new BitmapFileMaterial("../assets/Earth.jpg");
                sphere = new Sphere(earthmaterial,100,20,18);
                camera.fov = 25;
                scene.addChild(sphere);
                addEventListener(Event.ENTER_FRAME,rotateSphere);
            public function rotateSphere(evt:Event):void
                sphere.yaw(0.2);
                singleRender();

    Turn the click handler into a full on separate function. Then store all the views in an array and use Math.rand() to randomly choose one.
    Something like this:
    <fx:Script>
         <![CDATA[
              var questionsArray:Array = {question2,question3,question5,questionRed,questionGeography};
              function buttonClickHandler(event:MouseEvent){
                   var randomProblem:int = Math.floor(Math.random()*(questionsArray.length));     //generates a random integer between 0 and the total number of questions in the array (arrays are 0-based)
                   navigator.pushView(questionsArray[randomProblem]);
         ]]>
    </fx:Script>
    <s:Button id="randomProblemButton" label="Next Problem" click="buttonClickHandler(event)" />
    Haven't tested that, but something along that line should work

  • How to setup own voice for navigation?

    I have downloaded the "Own Voice" guidance for navigation but seem to have lost my setting it up. Could anyone please help me find out how to set up my own voice? By that I mean, to record my own voice? All I can do as of now is choose "Own Voice" in the Settings -> Walk/Drive -> Voice Guidance. But where to RECORD my own voice?
    Bubun (N8-00)

    @Bubun_N8
    This feature is no longer supported and only functions if you had previously created and saved your "Own Voice" recording after processing upon Nokia's servers which are no longer active.
    This was outsourced application that Nokia eventually pulled the plug upon:http://betalabs.nokia.com/trials/nokia-maps-suite-2-0/review/48660/own-voice-for-nokia-maps-availabi...
    Happy to have helped forum with a Support Ratio = 42.5

  • Oracle Help for the Web 2.0 Production

    Oracle Help for the Web 2.0 is now available on OTN Downloads.
    Oracle Help for the Web (OHW) 2.0 is a major update to the previous releases OHW 1.1x and OHW 1.0.x, and is designed and recommended to replace both.
    Some of the new features in 2.0 include the following:
    Support for Bookmarking Navigator Pages
    OHW 2.0 no longer uses frames to store navigational state on the webpage. Each navigator stores its complete state on the URL, allowing each page to be bookmarked. This includes TOC locations, keyword locations, and search runs. In the view topic page, the frame information is also saved, allowing a user to forward the link via email, etc to the displayed topic. In addition, if you navigate to a named anchor within a topic page, this page position is also saved and is bookmarkable.
    Multiple Locale Support in a Single Instance
    OHW 2.0 can now support multiple locales in the same servlet instance. After you register the helpsets in the OHW configuration file, the OHW servlet will automatically determine the best locale to use for a user request (based on browser settings and what locales are available), and display the localized helpset (along with a localized OHW chrome) to the user. This feature also means that if you navigate to a topic in English, and then send the link via email to a user whose browser supports Japanese, if the Japanese helpset is registered, the topic link will appear in Japanese to the second user.
    Search Engine Support
    OHW has been specially designed so that search engine crawlers can reach all hosted content (including table of contents, and index pages) and easily traverse within and between the available navigators. Page titles have also been redesigned to make pages easier to locate from within a search engine result set.
    Ability to Share Resources Across Localized Helpsets
    OHW can be configured so that helpsets can share resources such as images and CSS stylesheets. Since each localized helpset no longer needs its own resources, this can dramatically reduce the size of the deployed file.
    Relative Content Locations
    Content locations can now be specified relative to the OHW configuration file.
    True Popup Support
    OHW now properly supports Oracle Help popup links. Following this link will bring up a dynamic draggable DHTML window (or a normal popup window if the browser does not support it) with the requested topic page.
    All Level Merging in the Table of Contents
    Using the default TOC engines, each level of the TOC will merge like elements together. This change reflects modifications made to core Oracle Help classes and mimics the feature added to Oracle Help for Java (OHJ).
    New Tree-based Table of Contents Navigator
    The Tree-based TOC navigator shows the data in a heirarchical fashion and allows the user to see the full TOC (and not just a limited part of the TOC, as with previous versions of OHW). The tree-based TOC navigator is a standard navigator and can be added by including it in the helpset configuration file.

    Yes, I am now able to access this page and download OHW.
    Thanks very much,
    Lucie

  • Problem navigation- set_parameter

    page 1
    attributes
    ordine type string
    OnInputprocessing
    CASE event_id.
      WHEN 'select'.
        navigation->set_parameter( name = 'ordine' value = ordine  ).
        navigation->next_page( 'vis' ).
      WHEN OTHERS.
    ENDCASE.
    page2
    attributes
    ordine type string
    onInitialization
    orrdine  is initial why?
    where is problem?
    Edited by: francesco aiello on May 4, 2010 12:53 PM

    sorry didnt understand what you are trying to ask.
    if auto check box is checked for a attribute, it will get filled with the value automatically which is passed to it.
    if not you have to use get_form_field method to retrieve the value

  • Timeout on input help for variable

    hi all,
    in a selection screen of a report i have material and material type(navigational attribute of material) as input.
    the report is built on cube.
    only material is coming in cube.
    when i click on input help for material type the screen hangs on the report times out.
    whereas on the other hand if i am clicking help for material i am getting the values.
    this variable is used in other queries on different infoprovider and is running fine there.
    How do i get the values for input help for material type.
    all the standard settings have been maintained(such as query filter selection etc...)
    regards,
    Arvind.

    Hi,
    Activate 0material masterdata.and Regenerate your query in RSRT.
    If the problem still exists then debug the query using RSRT for the perticular field output.
    Thanks
    Kumar

  • I need help importing navigation bars and rollover buttons from fireworks?

    I need help importing navigation bars and rollover buttons from fireworks, drop down menus and rollover states won't work!
    Thanks

    In my experience, the code created by graphics apps is less than satisfactory. And image based menus are very awkward for several reasons. 
    #1 If you decide to change your menu later, you must go back to your graphics app and re-craft the whole thing.  After 2-3 times of this, it gets old in a hurry.
    #2 Image based menus cannot be "seen" by search engines, screen readers and language translators.
    #3 CSS styled text menus are better for your site's visibility, accessibility and they are a snap to edit in Dreamweaver.
    That said, if you're still married to image based menus, use Fireworks to create images only. Use Dreamweaver's Image Rollover Behaviors to create your rollover scripts.
    Nancy O.

  • Disable Lazy Loading for Navigation Properties on Entities in EF 5

    Hello all,
    Can we disable Lazy Loading for Navigation properties on any entity?
    If yes, how we can achieve the same.
    Thanks,
    Naresh

    Hi Naresh;
    If you are using code first you can do the following to turn off Lazy loading for a given navigation property. For example
    lets say we have a Customers table and a Orders table and a Customer can have 1 to many Orders the following POCO class has a ICollection that is mark as virtual, This causes Lazy loading to happen when a property of order is accessed.
    // Lazy Loading Enabled
    public class Customers
    public int Id { get; set; }
    public string Name { get; set; }
    public virtual ICollection<Order> Orders { get; set; }
    To turn off Lazy loading remove the virtual key word as follows:
    // Lazy Loading Is Disabled
    public class Customers
    public int Id { get; set; }
    public string Name { get; set; }
    public ICollection<Order> Orders { get; set; }
    To turn of Lazy Loading for all entities using Code First you can do the following in the constructor of the DbContext.
    public class MyContext : DbContext
    public MyContext()
    this.Configuration.LazyLoadingEnabled = false;
    If the above does not meet your needs please tell us what version of the Entity Framework, which context type you are using, for example ObjectContext or DbContext, and which modeling you are using such as Code First, Model First or Database First.
    Fernando (MCSD)
    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".

  • What r the industries suuporting or helping  for SAP project implemetation?

    what r the industries suuporting or helping  for SAP project implemetation

    Hi
    The project team selects the processes that best fit your business from R/3’s functional offering, using the following tools:
    AcceleratedSAP Implementation Assistant
    Question and Answer Database (Q&Adb)
    Business Process Master List (BPML)
    R/3 Structure Modeler
    Business Navigator and external modeling tools
    Regards
    Manoj

  • Creating search help for a field in AdHoc Query

    Hi
    We have created an infoset based on LDB PCH.
    (The infoset contains object type O only).
    For the object-id field the users want search help when choosing this field for selection.
    Using "start via selection screen" does not give a good solution.
    Can anyone explain how I can create search help for fields in an infoset?
    Regards
    Kirsten

    Hi
    We have created an infoset based on LDB PCH.
    (The infoset contains object type O only).
    For the object-id field the users want search help when choosing this field for selection.
    Using "start via selection screen" does not give a good solution.
    Can anyone explain how I can create search help for fields in an infoset?
    Regards
    Kirsten

  • Need to restrict values in F4 help for Batch Characteristic

    Hi,
    I need to restrict values in F4 Help for a batch characteristic based on values entered for another characteristic. I could not find any BADI or Exit for this purpose. There is a BADI CACL_VALUE which is triggered after an entry is selected from dropdown list but nothing when we press F4. I thought of using Object Dependency but I need to write a programming logic for the requirement. Please let me know if there is any way to write program in Object Dependency or any other way for this requirement.
    Regards,
    Nikhil

    Hi nikhil simha,
    first of all, find out which search help is called.
    [Hierarchy of the Search Help Call|http://help.sap.com/saphelp_nw70/helpdata/en/0b/32e9b798da11d295b800a0c929b3c3/frameset.htm]
    may help you.
    If you know the search help, you may enhance it, but first of all you should check the where-used-list and make sure that the search help shows the requested behavior only in the context where you want it to.
    If it is your own program, you may be better off to create your own search help and define the triggering fields as search help interface input fields. Then you can use the values to filter results.
    Regards
    Clemens

Maybe you are looking for

  • Multiple Copies of iTunes.MSI file

    I am in the process of cleaning up my older Sony Vaio system disk (XP Home), and noted I have multiple copies of iTunes.msi and Quick Time.msi files in a subdirectory entitled *'downloaded installations'*. Some dates go back to 2005. Is it advisable

  • EPrint won't allow me to set up my printer on my laptopwhich has no disk drive

    I have just had a HP Deskjet 2544 printer, I went to the website which the instruction manual told me to go to to connect my printer to my laptop but when I click begin setup, the software doesn't download and the following message appears: We're sor

  • Customer material are used in Subcontracting process

    Dear All ; in this scenario Some of the input materials are supplied by the supplier  .how to address this in SAP . Is ok to build the solution like this . 1)  vendor Code will be created . Normal PO will be created an in delevery address subcontring

  • Mod_jk.conf file is NOT created

    Hi Experts, I am using Apache(2.0.40), JBOSS(3.0.3) and Tomcat(4.0.4) on IBM AIX 5.1 System. After spending 1 week on Integrating Apache and Tomcat on IBM AIX System (and getting HELP from you guys from Mailing List), I finally builded "mod_jk.so" fi

  • Portal integration with bo report was not opening from folders

    Dear friend, Please can u give me suggestion/solution on the following area, we are implementing business objects XIR2 portal integration with weblogic in which after login to business objects through portal report was not opening. Regards sekhar