How to get the checked attribute of a checkbox item from a PL/SQL process?

Hello,
I have a simple static form with one checkbox linked to a LOV containing one single value. I use this checkbox just to enable/disable other fields via Javascript. I am interested to fetch the "checked" attribute of this checkbox (and not the value of the checkbox) from an After Submit PL/Sql page process, so that I can process only the enabled fields.
I can already imagine a workaround where we may store via Javascript the checked attribute of this checkbox in an hidden page item and then getting it from there, but I would really like to avoid it, as it would add unnecessary complexity and I would have to add more code to keep the hidden item always in synch with the checkbox status.
Is there something like the V('page_item') PL/Sql function that can get a different attribute from a page item (like the checked one from a checkbox) and not only its value?
I searched the forum for an answer to my question, but I couldn't find anything related.
Thanks a lot,
Paolo

Paolo,
HTML checkboxes are POSTed only if they are checked. So if your "checked" value is 'Y', for example, then your after-submit process can check if the item's value is 'Y' or not. Of course, you must be careful to set that item to null (or some non-checked value) in session state during page rendering so that previous values are not retained.
Scott

Similar Messages

  • How to get the  Checked box which are clicked

    for(int k=0;.....
    jsp code
    <input type=checkbox name=checkbox value='<%=k%>' >
    how to get the particular Checkbox which are checked???

    String[] checkedValues = request.getParameterValues("checkbox");You'll get an array filled with the values only for the checked boxes. In other words, if no boxes are checked, checkedValues will be null or checkedValues.length == 0, not sure, going from memory.
    Hope this helps!
    Patrick

  • How to get the Shipping status of a Invoice items in SAP?

    Hi All,
    Is there any way to get the Shipping status of a Invoiced Item ?
    While i extracting Sales Invoice lines,i can get the shipping method and the shipping date,how can i confirm whether the item is shipped or not?.
    Is there any table which contains the shipping status or any column in Invoice lines(INV1) which contains the shipping status?
    Please help me to come out from that problem
    Thanks
    JanakiRaman

    Hello Gilbert,
    The column what you specified INV1.TRNSCODE is to know how the shipping was done. My question, Is there any field to specify the material was shipped or not?
    Thanks
    Janakiraman

  • How to get the Ship-To text for an Order from R/3 to CRM?

    Hi experts,
    how to get the Ship-to-Party text for an Order from R/3 to CRM?
    Here I used a Function Module CRM_ORDER_READ and its working in the Development server.
    After when this passed to the Stage Server for the Order i am maintaining the same Ship-to-Party for the order in the Stage server and I am no getting the text for that{Text maintained for the Ship-to-Party in the stage server}.
    Thanks in advance.

    Hello Nilaksha.
    You can use the following query. Modify the segment to be queried if you wish.
    SELECT cc.segment1||'.'||segment2||'.'||segment3||'.'||segment4 "Account",
    nvl(sum(l.accounted_dr - l.accounted_cr),0) "Balance"
    FROM gl_code_combinations cc,
    gl_je_lines l
    WHERE cc.code_combination_id = l.code_combination_id
    AND l.set_of_books_id = <your set_of_books_id'
    AND cc.segment2 = 'your segment value'
    AND l.effective_date <= '30-nov-09'
    GROUP BY cc.segment1||'.'||segment2||'.'||segment3||'.'||segment4
    Hope this helps.
    Octavio

  • How to get the one attribute value in another attribute getter method

    Hi,
    I have a requirement to get one attribute's value in the another attribute getter or setter method.
    Help needed ASAP.
    Thanks,
    sreenivas.

    Check if both the attributes are under the same context node.
    If so directly call the getter method of the other attribute here like this:
    lv_customer_type = me->get_customer_type( attribute_path = 'STRUCT.CUSTOMER_TYPE' ).
    If it is under a different context node,check if it is available from some relation, if so
        lr_agr_rel = current->get_related_entity( iv_relation_name = 'TpmAgrre'l ).
         CALL METHOD lr_agr_rel->if_bol_bo_property_access~get_property_as_value
            EXPORTING
              iv_attr_name = 'EXTERNAL_ID'
            IMPORTING
              ev_result    = lv_cust_plan_id.
    Regards,
    Masood Imrani S.

  • In OAF, How to get the DFF Attributes bean in the PR of the controller

    Hi All,
    I am not able to get the holder of the Descriptive Flex Field bean attributes in the processrequest method of the controller. Any idea, how to get it?
    my Code Snippet:
    OADescriptiveFlexBean oadescriptiveflexbean = (OADescriptiveFlexBean)webBean.findIndexedChildRecursive("AdditionalAttributes");
    if(oadescriptiveflexbean != null)
    System.out.println("oadescriptiveflexbean is not null);
    OAWebBean bean1 = (OAWebBean) oadescriptiveflexbean.findIndexedChildRecursive("AdditionalAttributes1");
    System.out.println("bean1 "+bean1);
    It is going inside the IF condition. But, it displaying the bean1 value as null.
    Regards,
    Soorya

    Hi,
    You cannot reorder the dffbeans. In DFF setup definition itself, you have to maintain the sequence of the fields.
    DFF beans are listed under flow layout by default. Following note from OA Framework developer guide
    ++++
    Altering the Flexfield UI LayoutNote:
    This is not recommended by the OA Framework team and may cause problems with PPR.
    If you want to do something unusual with the descriptive flexfield UI layout (like insert a button after every segment or move the segments around), you need to follow these steps:
    Find the OADescriptiveFlexBean by attribute name and call the processFlex method on OADescriptiveFlexBean. After this, you will be creating the flexfield segment web beans based on metadata and the view object attribute.
    Call the getIndexedChild(int)method on the flexfield web bean to go through all the child of the flexfield and alter the layout as desired.
    ++++
    Regards,
    Soorya

  • How to get the naming attribute of an LDAP using JNDI.?

    Hi,
    How do we fetch the naming attribute of a LDAP using JNDI. Is this possible using JNDI..?
    By default, every LDAP has been set with a naming attribute such as 'uid' or 'cn'. This could be changed according to business needs.
    How to determine this using JNDI.
    Regards,
    Barani

    Are you trying to call the portlet Customization form directly from the browser?

  • How to get the Delivery date in PO line Item in SAPScript

    Hi Gurus,
    I am working on PO Script (MEDRUCK). I copied the Standard to a Z form. ZMM_MEDRUCK, Now I need to print the the Header text at the end of MAIN window.  I put Iem number along with the other line Item informmation like stanadrd PO Script MEDRUCK. I also want to show the delivey date with line Item, so Itried to use EKET-EINDT but it is returning the delivery date of last line item, means while printing the first line and other information it is showing the delivery date of the last line item, I tried with the  PEKPO-EINDT it is also not working.
    Can any body suggest me how i can get the delivery date for the respective line Item  ?
    Regards
    Sony

    actually your are picking up the correct data from Table EKET (EKET-EINDT) but your are printing that in item data loop for EKET might have already executed in your script and the header of that internal table consist the last entry of the table so for that. Fetch the delivery date explicite from the Table EKET when your in item level processing and print that.
    For Example u can use this code.
    To print you have write the this code in Script item level printing window "MAIN" window
    Following perform is called to get the line item delivery date in PO
    {/: PERFORM GET_DEL_DATE IN PROGRAM ZPerform_prog
    /: USING &EKPO-EBELN&
    /: USING &EKPO-EBELP&
    /: CHANGING &DEL_DATE&
    /: ENDPERFORM}
    {* Dellivery date &DEL_DATE& }
    write the below code in the Z program "ZPerform_prog"
    { FORM get_del_date  TABLES in_par STRUCTURE itcsy
                             out_par STRUCTURE itcsy.
      READ TABLE in_par WITH KEY 'EKPO-EBELN'.
      CHECK sy-subrc = 0.
      $_po_no = in_par-value.
      READ TABLE in_par WITH KEY 'EKPO-EBELP'.
      CHECK sy-subrc = 0.
      $_po_line = in_par-value.
      SELECT *
      FROM eket UP TO 1 ROWS WHERE ebeln EQ $_po_no AND ebelp EQ $_po_line.
        $_del_date = eket-eindt.
        CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
          EXPORTING
            date_internal            = eket-eindt
          IMPORTING
            date_external            = $_del_date
          EXCEPTIONS
            date_internal_is_invalid = 1
            OTHERS                   = 2.
        READ TABLE out_par WITH KEY 'DEL_DATE'.
        CHECK sy-subrc EQ 0.
        out_par-value = $_del_date.
        MODIFY out_par
                    INDEX sy-tabix.
        CLEAR : $_po_no , $_po_line ,$_del_date.
      ENDSELECT.
    ENDFORM.                    "GET_DEL_DATE }

  • How to get the WSDL file to consume a WS from Visual Studio

    Hi gurus:
    I've created a receiver SOAP adapter in my XI system that could be invoked by:
    http://xiserver:50000/XISOAPAdapter/MessageServlet?channel=:Openlab_Desarollo:CanalComunicaciones_SOAP"
    It is working fine. Now I must send the WSDL file to an external enterprise so they can invoke the XI web service. Thay are using Visual Studio.
    But, how could I obtain or generate the WSDL file?
    Thanks in advance to all and regards,
    Alejandro.

    Hi,
    In ID, choose "Define Webservice" in Tools.
    There you can  provide the URl that you have given here, instead of using proposed URL.
    You will get the WSDL that you can consume in Visual studio.
    Regards,
    Vikas

  • How to get the total numbers of pages have been printed using pl/sql

    Dear All ,
    I want to store the total number of physical pages printed into a database table,, how could I retrieve the value of the total number of pages .
    I am using Oracle Report 6i
    thnxxx in advance :)

    At the end of your report (i.e. after all the frames from your data model) place a dummy field. You can get the page number with srw.get_page_num in the format trigger of this field. Since this is the last field of your report, this is also the last page number.

  • 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
    -------------------------------------------------------------------

  • How to get the real longtitude latitude of a pixel  from Mapviewer'spicture

    I have application that will show a map returnning from MapViewer, and in my request I have :
    1. MapSize:
    2. MapHeight:
    3. MapWidth:
    4. CenterX:
    5. CenterY:
    when user click on the picture I receive X, Y in coordinate of PictureBox so How to change them to the real longtitue, langtitude.

    Example: I have
    MapSize=8
    width=500
    Height=500
    Center X= -122.433 (longtitude)
    Center Y= 37.7878 (latitude)
    When I send a request I will receive a map reprented in my monitor with 500*500 pixel?
    I click on a pixel in that picture and i get the X=350, Y=340 (compare with TopLeft pixel of map is (0,0)).
    So how can i get the real longtitude, latitude of that pixel.
    In document i see 1 inche =72dpi --> so a real height of my map = 500/72=6.94 Inches
    And the problem is how i caculate the map scale.

  • How to get the VO attribute value by groovy?

    Hi everyone,
    I have a ItemsVO (with an entity behind it), a CompaniesVO and BusinessVO. CompaniesVO is filtered by a ExecuteWithParams, and has a type attribute, with this attribute I can filter BusinessVO used as LOV in ItemsVO. How can I pass the value using a groovy expression in the view accesor? Can I do this?
    Thanks in advance.

    Hi
    If there is a master child relation between CompaniesVO and BusinessVo, then define a viewLink and create view accessors and you can access the another view object attributes from groovy like 'view accessor name.attribute name'.
    Make sure you set the bind var value type as expression. And for example please refer to the below link by andrejus b.
    http://andrejusb.blogspot.com/2010/06/lov-description-text-with-groovy.html
    N.

  • How to get the execution time of a Discoverer Report from qpp_stats table

    Hello
    by reading some threads on this forum I became aware of the information stored in eul5_qpp_stats table. I would like to know if I can use this table to determine the execution time of a worksheet. In particular it looks like the field qs_act_elap_time stores the actual elapsed time of each execution of specific worksheet: am I correct? If so, how is this value computed? What's the unit of measure? I assume it's seconds, but then I've seen that sometimes I get numbers with decimals.
    For example I ran a worksheet and it took more than an hour to run, and the value I get in the qs_act_elap_time column is 2218.313.
    Assuming the unit of measure was seconds than it would mean approx 37 mins. Is that the actual execution time of the query on the database? I guess the actual execution time on my Discoverer client was longer since some calculations were performed at the client level and not on the database.
    I would really appreciate if you could shed some light on this topic.
    Thanks and regards
    Giovanni

    Thanks a lot Rod for your prompt reply.
    I agree with you about the accuracy of the data. Are you aware of any other way to track the execution times of Discoverer reports?
    Thanks
    Giovanni

  • How to get the real table information of a structure from the trace file?

    I user the ST05 to trace a program to find the real table information of a structure in this program. But I found so many sql trace information in the trace file. So how can I find which information is useful for me to find the real table of a structure?

    Hi!
    If you don't recognize some tables, because they belong to same application, then it's difficult.
    Try to change interesting value. Afterwards you can search for 'INSERT', 'UPDATE' (and 'MODIFY'?) - that will leave only a small number of lines, which have to be analyzed in detail (e.g. have a look at them with SE16).
    Regards,
    Christian

Maybe you are looking for