Passing values in "Date Entry" items to called page

I have a page with:
o 2 Date Entry fields (P1500_BEGINDATE & P1500_ENDDATE).
o A "Submit" button, P1500_SUBMIT_DATE_RANGE
I want to use the 2 dates in a query on a linked page, called by the Submit button. I've setup 2 hidden Date Fields on the 2nd page, hoping I could stuff the dates into them, and grab them from there for the query.
I'm sure I'm making this much harder than it hasta be... but for the life of me, I can't get the dates from the 1st page to the 2nd.
Please let me know the easiest way to accomplish this (I've tried all of the hard ones that don't work... ;o)
Thanks!
Mark

Mark: You don't need hidden fields.
When you submit the page using the Submit button, the P1500_BEGINDATE (you really have 1500 pages in your app?!) and P1500_ENDDATE items are saved into session state and are available on any other page to be used as you need.

Similar Messages

  • How to use the same variable value for data entry and the planning sequence

    Hi,
    the scenario is the following:
    Using the WAD template a user enters cost center plan data. The cost center is selected by the chosen value for the variable "V1".
    Afterwards he shall push a button which starts a planning sequence (including saving the data and further functions). This planning sequence uses a filter that also contains the variable "V1".
    What or where has it to be defined that the planning sequence uses automatically the same value for the variable "V1" as selected for the data entry?

    You have to define in the planning function. The planning sequence is only a sequence and it read the planning functions underneath it.
    Ravi Thothadri

  • Passing values to a URL item

    Hi,
    Is it possible to pass a value to a URL item?
    Here is what I am trying to do:
    Add a URL item that opens up in a new window(since inplace display of external URLSs is not yet poss. and applets etc don't work). The URL is http://www.mywebsite.com/pls/portal30/hellorpt?p_userid=
    I would like to add the value returned by
    wwctx_api.get_user to this URL. So that
    when the user invokes the URL, it becomes http://www.mywebsite.com/pls/portal30/hellorpt?p_userid=PORTAL30 (if that was the user who was logged in).
    I could probably add a pl/sql item which creates a page which redirects to the URL using window.location.href, but I wanted to
    know if the above was possible.
    Sanjay

    No, you can't substitute a parameter this way on a URL item.

  • How to pass internal table data from model to BSP page.

    Hi Experts,
    I have requirement where I have got data from deep structure in Model.
    The structure has two fields > 1. normal data tyoe + the other one is of table type.
    Thanks and Regards,

    if you have defined the attribute then you can ABAP coding to use it in BSP.
    for eg, here i am looping the intenal table and passing the data to list item box.
        <%
      LOOP AT lt_dyn_uom INTO wa_dyn_uom.
        %>
                <htmlb:listBoxItem key   = "<%= wa_dyn_uom-name %>"
                                   value = "<%= wa_dyn_uom-value %>" />
         <%
      ENDLOOP.
         %>
    Thanks,
    Chandra

  • Passing values to the TEXT AREA in .HTML page.

    Hi,
    I have data in internal table and in context node in custom CRM component.
    I want to display this data in the textarea field. Is it possible to display this data in the text area? Should we use JAVASCRIPT for this one?
    Can anyone please give me the smaple code for passing the values to the text area?
    Please help me.
    Regards,

    Hi Pushpa,
    You can set the internal table values to the text area field using SET_PROPERTY method .
    Check for the context node in which that text field is there ,then get that context nodes current entity .Next set required values to that text area field.
    Regards
    Anitha

  • Passing values at run time through a JSP page to selection formula to crystal report

    <p>hi,</p><p>   i am using one jsp page.in that page there is a field to select a date </p><p>this value will go to the report and report contain one selection formula.</p><p>which value we are passing on that basis the report should display</p><p>with date which we are passing  from GUI.</p><p>help.............................................................</p><p>//R</p>

    I believe the value of this is based on the owner of the scheduled object.  So if the Admin is scheduling it on behalf of a user I think it should use the user the Admin scheduled on behalf of.  It should be simple to test, simply create a report with this value being displayed and nothing else and see what values you get.

  • Pass REQUEST from button to item on another page

    Maybe it's too early in the morning but I'm not seeing what I'm missing: Button on page 1 branches to page 2. Page 2 is Interactive Report Need report to restrict display per button request, i.e., the "Vice President of Finance/Operations" button will display only VP's records. HTML Button on page 1 Submits to page 2 REQUEST = VPFO Branch has... Condition of Request=Exp1 which is set to VPFO, and Set these items: P2_ITEM_NAME With these values: &P1_VFPO. Item on page 2 is text box/static assignment Double checked all my 'vPFo' after I switched one to 'vFPo' What am I missing?  It should be straight forward! Thanks in advance, Alexandra
    After note - sorry for the runon post.  Do I have to use
    now?  I'm still not used to this new format!

    does your debug log of page 2 show the right value in P2_ITEM_NAME
    try running the query region source of IR on page 2 with the value of P2_ITEM_NAME captured from the log.
    share your results
    Regards,
    Vishal
    Oracle APEX 4.2 Reporting | Packt Publishing
    Vishal's blog

  • Function Module required for getting Value Range data

    I need a function module where in i can get the data from a value range in a domain.
    Message was edited by:
            Gurpreet Singh

    Hi,
    You can use this code to get the Doman's fixed values.
    DATA:  lt_fixed_values     TYPE ddfixvalues,
      CALL METHOD cl_abap_typedescr=>describe_by_name
        EXPORTING
          p_data      = 'Domain_name' " Pass the domain name here
        RECEIVING
          p_descr_ref = lcl_abap_typedescr.
      TRY.
          lcl_abap_elemdescr ?= lcl_abap_typedescr.
        CATCH cx_sy_move_cast_error.
      ENDTRY.
      IF lcl_abap_elemdescr IS BOUND.
        CALL METHOD lcl_abap_elemdescr->get_ddic_fixed_values
          EXPORTING
            p_langu        = sy-langu " Give the language
          RECEIVING
            p_fixed_values = lt_fixed_values " This table will have the fixed values
          EXCEPTIONS
            not_found      = 1
            no_ddic_type   = 2
            OTHERS         = 3.
      ENDIF.
    Regards,
    Sesh

  • How to get the return value of a LOV item using javascript

    Hello,
    I am trying to put an onchange attribute in the HTML Form Element Attributes field of a LOV item. The javascript should access the new return value of the item. How is this done ? All the methods I have tried give only the display value, not the return value. For example $v() returns the display value.
    Tiina

    If your item is called P1_ITEM this will give you the return value of a popup (displays description,returns key value)
    alert($x('P1_ITEM_HIDDENVALUE').value)
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Get parameter value from PLSQL portal Item

    Hi,
    i have some page link like :
    http://server:7777/portal/page?...&myparameter=test
    I don't know how to get myparameter. I want to access this parameter value in a PlSql portal Item in this page
    can somenone help me ?
    is there an API to get those parameters?
    thanks in advance
    Joao

    If do you want to get a parameter value from an item, you'll need to construct a procedure that receive your parameter value and configure your item to call this procedure.
    But If you want to get a parameter from a portal page, first you need to configure the parameter in page properties, construct a portlet and configure "function describe_parameters" to get the parameter and work your parameter in "procedure show".

  • ISA-Ecommerce : Passing extension data at item level to CRM backend?

    Hi Experts,
    I want to pass the extension filed data which is present at item level to the CRM back end system. In DEMO1 example provided, they have demonstrated about header data to pass.
    HeaderData headerdata = isaBOM.getBasket().getHeaderData();(header data BOM instance)
    ItemListData itemsdata = isaBOM.getBasket().getItemListData();(Item data BOM instance)
    String extHDshipmethods = (String)p_request.getParameter("zhext_shippmethods");(request from http for header data)
    String extIDshipmethods = (String)p_request.getParameter("ziext_shippmethods");(request from http for item data)
    headerdata.addExtensionData("ZHEXTENSIONSHIPMETHODS", extHDshipmethods);(adding extension to header data)
    itemsdata.add("ZIEXTENSIONSHIPMETHODS", extIDshipmethods);(adding extensoin to item data but gettin error)
    In the above last line i am getting an error saying that add(itemlistdata) cannot be used as a string. Generally for header data, in the extension guide it is mentioned that we use "headerdata.addExtensionData("",)" but for items data what should be used??
    Thanks a lot in Advance!
    regards,
    lakshman.
    Edited by: lakshman reddy G on Jan 21, 2009 2:24 PM

    Hello LRG,
    In the Java and JSP layer
    In the ZMaintainDispatcher, override the Item level method
    public void customerExitParseRequestItem
    This method is called for each item to parse
    the custom variables. Hint: Since the items are processed in a loop in the JSP, it is
    customary to name the page level variables suffixed with the Item index like myData1[itmIndx]
    public void customerExitParseRequestItem(
       RequestParser parser,
       UserSessionData userSessionData,
       ItemSalesDoc itemSalesDoc,
       int itmIndx  {
       String zItemExtData1 = "";
    // Item level data1[itmIndx] - value is set for item itmIndx
    // see the method parameters
       zItemExtData1 = parser.getParameter("zItemExtData1" +
    itemIdx).getValue().getString();                    
       itemSalesDoc.addExtensionData("zItemExtData1", zItemExtData1 );                    
    This will parse and add item level extensions to the items object.
    In the ABAP layer
    Implement CRM_ISA_BASKET_ITEMS and code in the methods  changeitems_set_data and getitems_get_data
    In the request cycle, you will read the value from the extension table and persist that in the
    transaction - say in a EEWB field. In the method changeitems_set_data
          READ TABLE lt_extension INTO ls_extension WITH KEY
                   name = 'zItemExtData1'.
          IF sy-subrc EQ 0 AND NOT ls_extension-value IS INITIAL.
            ZEEWBDATA1 = ls_extension-value.
          ENDIF.
    In the response cycle, code the getitems_get_data
    *     Populate Extension data Data1 - Assuming that you read it from EEWB field ZEEWBDATA1
          CLEAR ls_extension.
          ls_extension-ref_guid = ls_guid.
          ls_extension-name     = 'zItemExtData1'.
          ls_extension-value    = lv_leewbdata1.
          APPEND ls_extension TO ct_extension.
    In principle, the idea is same as what is shown in the extension guide for the header.
    Please note: Depending upon several user interaction requirements, you may have to
    use different methods in the Item BAdI as well as other methods in the MaintainDispatcher class.
    Easwar Ram
    http://www.parxlns.com

  • I need to pass value for Actual GI date field in VL01N t code, I am using BAPI_DELIVERYPROCESSING_EXEC. can any one tell me how can i pass vaule ?

    I need to pass value for Actual GI date field in VL01N t code, I am using BAPI_DELIVERYPROCESSING_EXEC. can any one tell me how can i pass vaule ?

    Hi Abdul,
    Sorry for my unprecise answer, but you talk about a tcode, but you're using a BAPI Call. Maybe you want to call the transaction in batch mode?
    http://help.sap.com/saphelp_erp60_sp/helpdata/de/fa/09715a543b11d1898e0000e8322d00/content.htm
    Regards,
    Franz

  • Passing data from calling page to popup window

    Hi All,
    We are developing a BSP application for business card.I need to provide a preview button .
    when the user clicks this button a
    poopup window should open with the preview of business card.
    My problem is how to pass the values like name , designation etc from the main page to popup window.
    The code for previre image:
    <h t m l b : i m a g e   s r c = " s _ b _ d e  tl . g i f  " a l t = " P r e v i e w   C a r d "  o n C l i c k="addr" on C l i e n t C l i c k = " c a l l W i n d o w ( ) ; "/>
    <s c r i p  t t y p e = " t e x t / j a v a s c r i p t ">
    f u n c t i o n  c a l l W i n d o w ()
    w i n d o w .o p e n ( " p r e v i e w . h t m " ) ;
    </s c r i p t >
    preview.htm is a simple HTML page . i need to pass values from main page to this page.
    OR
    Is it possibel to restrict the size of a VIEW to use it as a popup window?
    OR
    is there any other way to achieve this like.. the <bsp:call comp_id=" " />
    tag , but i have no idea how to use it.
    Thanks,
    Anubhav.
    Edited by: Anubhav Jain on Sep 12, 2008 3:38 PM

    Hi Raja,
    I did as suggested by you...but it is behaving strangely.
    It works fine in debuging mode but when executed directly ....it is not working.
    the scenario is:
    Thers an image for preview as follows:
    <htmlb:gridLayoutCell columnIndex="3" rowIndex="13">
    <htmlb:i m a g e   s r c = " s _ b _ d e t l . g i f "   a l t = " P r e v i e w   C a r d "   o n C l i c k = " a d d r "   o n C l i e n t C l i c k = " c a l l W i n d o w ( ) ; " /  >
    </htmlb:gridLayoutCell>
    The JS code is:
    f u n c t i o n   c a l l W i n d o w ( )
    <%
    data: title(5),
             fname(20),
             lname(20),
             comp(20),
             addr(20),
             city(20),
             state(20),
             pcode(20),
             country(20),
             phone(20),
             fax(20),
             email(241).
             alt_addr-title = request->get_form_field( 'title' ) .
             alt_addr-firstname = request->get_form_field( 'fname' ) .
             alt_addr-lastname = request->get_form_field( 'lname' ) .
             company = request->get_form_field( 'comp' ) .
             alt_addr-street = request->get_form_field( 'addr' ) .
             alt_addr-city = request->get_form_field( 'city' ) .
             alt_addr-region = request->get_form_field( 'state' ) .
             alt_addr-inhouse_ml = request->get_form_field( 'pcode' ) .
             alt_addr-country = request->get_form_field( 'country' ) .
             alt_addr-tel1_numbr = request->get_form_field( 'phone' ) .
             alt_addr-fax_number = request->get_form_field( 'fax' ) .
             alt_addr-e_mail = request->get_form_field( 'email' ) .
    CALL METHOD cl_bsp_server_side_cookie=>set_server_cookie
              EXPORTING
                name                  = 'FORMFIELDS'
                application_name      = runtime->application_name
                application_namespace = runtime->application_namespace
                username              = sy-uname
                session_id            = runtime->session_id
                data_value            = alt_addr
                data_name             = 'alt_addr'
                expiry_date_rel       = 1.
    %>
    w i n d o w . o p e n ( " . . / z _ b i z c a r d / p r e v i e w . h t m " ,   " W i n E " ,   " w i d t h = 2 4 0 , h e i g h t = 3 0 0 , t o o l b a r = n o , r e s i z a b l e = no ")
    I was doing something similar...created a controller and a view , was calling the controller from window.open method with all other parameters for sizing etc.
    How to pass a structure conatining data,from controller to the view...
    Now in the onCreate event of the page PREVIEW.HTM in using;
    CALL METHOD cl_bsp_server_side_cookie=>get_server_cookie
      EXPORTING
        name                  = 'FORMFIELDS'
        application_name      = runtime->application_name
        application_namespace = runtime->application_namespace
        username              = sy-uname
        session_id            = runtime->session_id
        data_name             = 'alt_addr'
      CHANGING
        data_value            = alt_addr.
    and in the layout of PREVIEW.HTM in am using this alt-addr:
    But if put a break point at the onCreate event of preview.htm and the execute i get the values in alt_addr but if i execute directly...it is empty in the layout?
    What is the problem?
    Thanks,
    Anubhav.

  • Passing values to subreport in SSRS throwing an error - Data Retrieval failed for the report, please check the log for more details.

    Hi,
    I have the subreport calling from the main report. The subreport is based on MDX query agianst the SSAS cube. some dimensions in cube has values 0 and 1.
    when I try to pass '0' to the sub report as the parameter value, it gives an error "Data Retrieval failed for the report, please check the log for more details".
    Actually I am using table for storing these parameter values. In the main report I am calling this table (dataset) and passing these values to subreport.
    so I have given like [0],[1] and this works fine. when I give only either [0] or [1] then it is throwing an error.
    Could you please advise on this.
    Appreciate all and any help.
    Thanks,
    Divya

    Hi Divya,
    Based on the current description, I understand that there is no issue if you pass two values from main report to subreport, while the issue occurs when passing one value to subreport.
    To narrow down the issue, I want to confirm whether the subreport can run if there is only [0] or [1] in the subreport. If so, it indicates the query statements exist error in the subreport. If it’s not the case, this shows the issue occurs during passing
    values from main report to subreport. To make further analysis, please post the details of query statements of the subreport to the forum.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • Passing Values to a User Form called from a button

    Good Afternoon
    Experts:
    Recently, Edward Neveux pointed me in the direction of how to find information on displaying a Form when clicking a button on a screen.  I use this line of code to show a screen after clicking on a button on the Item Master Data screen:
    <b>g_B1Connection.Application.ActivateMenuItem("ITEMBINMAINT")</b>
    Now I need to pass information from the Item Master Data screen to this screen I am displaying from the button click.
    Can this be done?
    Thanks,
    Ed

    Hi Ed
    What information do you need to pass ?  If is information from controls on the Item Master Data screen what you could do is ...
    1.  On the load event of the Item Master Data capture Form with either
             mstrFormUID = oForm.UniqueID  ' string variable to use it later on expresion like below
         or
             moForm = SBO_Application.Forms.Item(oForm.UniqueID) ' SAP form type variable
    2.  Notice that both variables are modal, so once you have uploaded your form the parent form (Item Master is kept on memory).  With these form you can then code your way to obtain the existing value on the Item Master screen to your screen.  For Instance,
            oForm.Items.Item("URText").Specific.Value = moForm.Items.Item("5").Specific.Value  ' Passing value from "Item Number" textbox to your text box on your screen.
    hope it helps

Maybe you are looking for