Parameter attributes FM / Passing check box from FM ?

Hi Experts,
I hv a check box in Selection screen. I wanna to pass either ' ' or 'X' values from Z FM.
So,
I defined the check box as RSPARAMS in FM ( and also tried with defining locally as  DATA: CHECK_BOX.)
I tried like,
1st case,
SELNAME - check_box
KIND-P
SIGN - nothing mentioned
OPTION- nothing mentioned
LOW- X (i.e. wanna check the check box)
HIGH- nothing
2nd case
SELNAME - check_box
KIND-P
SIGN - I
OPTION- EQ
LOW- X  (also tried 'X')
HIGH- nothing
I observed in debug mode that, value is not passing!
So,
Wht is the correct?
thanq.

Hi,
In the importing parameter..type xfeld.. Where XFELD is the data element which has 'X' or ' '
im_check TYPE XFELD
Thanks,
Naren

Similar Messages

  • Passing check box values to WHERE clause

    Hi,
    I have created a Data block - 'CONTACTS' (Database data block)
    and has database item - 'Code', 'Descr'
    The number of records displayed is set to 5.
    Value When checked - 'Y'
    Value When Unchecked - 'N'
    Check box mapping of other values - 'unchecked'
    I am writing the code inside 'WHEN BUTTON PRESSED'. My main objective is to return the count of records based
    based on several conditions and one among them is CODE which is can be single or multiple based on the check box checked.
    The requirement is when i check one or multiple checkboxes, i should pass the 'Code' item values to the WHERE clause.
    Right now whenver i am trying to do so, only the current record value is copied to the WHERE clause.
    I have tried using basic loop but things havnt worked.
    Logic tried with basic LOOP
    BEGIN
    GO_BLOCK('CONTACT');
    IF :contact.cb = 'Y' THEN
    LOOP
    IF p_where is null then
    p_where := :contact.code;
    else
    p_where := p_where ||','||:contact.code;
    end if;
    exit when :system.last_record = 'TRUE';
    next_record;
    END LOOP;
    end if;
    MESSAGE ( 'p_where :'||p_where);
    MESSAGE (' ');
    END;
    And Even if i write the LOOP before the first IF, it return me the current record value and move to the last record.
    please guide me where am i wrong.
    Regards.
    Anoop.

    Try something like this:
    FIRST_RECORD;
    LOOP
      IF :contact.cb = 'Y' THEN
        IF p_where is null then
           p_where := :contact.code;
         else
           p_where := p_where ||','||:contact.code;
         end if;
       END IF;
      exit when :system.last_record = 'TRUE';
      next_record;
    END LOOP;
    -- END LOOP;
    MESSAGE ( 'p_where :'||p_where);
    MESSAGE (' ');
    END;

  • I can't import photos from my PC as my Itunes does not have a check box from Syncing under the photos option?

    I am trying to import my photos from the computer. I went into ITunes, connected my Iphone and went under the photo section expecting to see a check box for syncing. It's not there and all I have is a note about Icloud. Can anyone help?

    Hello evilemma72,
    Thanks for using Apple Support Communities.
    If you do not see a checkbox to enable syncing photos, and instead see a message the iCloud Photos is on, then it indicates you have iCloud Photo Library enabled on your iPhone, and the photos already exist on your phone.  To learn more about iCloud Photo Library, take a look at the article below.
    iCloud Photo Library FAQ - Apple Support
    Take care,
    Alex H.

  • How to print check box from smartform

    Hi friends,
    Any body help me ???
    How can we print a check box in a layout from smartform.....

    Hi Shashi,
    You can't directly print a checkbox as such in a smartform. But, there is a workaround.
    Create two GraphicElements (for checked / unchecked). Assigned images to (for tick and untick) them.
    In the conditions tab of GraphicElement enter conditions -
    1. for checked - field = 'X'
    2. for unchecked - field = ' '
    To add images of tick and untick to system, Use transaction SO73.
    Regards,
    Manish Joshi

  • Add a Check box to a Report?

    I see a lot of posts with what you can do with a CheckBox (if you have one!). I've created a page to upload/download files...
    http://apex.oracle.com/pls/otn/f?p=55283:802
    But then realized that I couldn't delete a file that I've uploaded. I thought a CheckBox with a "Delete" button, as I'v seen on tabular forms would be a great idea. I have a pag in an application that does exactly that; but I've not yet figured out how to replicate that functionality!
    When I look at the Column Attributes for the Check box, in my working TABULAR FORM, I don't get a TABULAR FORM ELEMENT...In my example I tried to create a column, but can't make it a Check box>
    Ideally I'd like:
    1. A check box for each row (okay if it supports multiple check boxes)
    2. A delete button to delete the selected rows from the table.
    Appreciate any insights....
    KSL.

    Thanks for the prompt response!
    Didn't quite follow the Syntax!
    But after playing abit, I finall got it to work...I didn't know what to put for table_column1 for the check box so I pulled th ID again. I might delete my second ID, and just create another column to download...
    Either way, it works now! THanks!
    Here's what my code now looks like:
    SELECT apex_item.checkbox(1, ID) " "
    , apex_item.display_and_save(2, ID) ID
    , apex_item.display_and_save(3, NAME) Name
    , apex_item.display_and_save(4, FILENAME) FileName
    , apex_item.display_and_save(5, DOC_SIZE) DocSize
    , apex_item.display_and_save(6, UPDATED_BY) UpdatedBy
    , apex_item.display_and_save(7, UPDATED_ON) UpdatedOn
    FROM APEX_APPLICATION_FILES
    And my page is:
    http://apex.oracle.com/pls/otn/f?p=55283:802
    Thanks again!
    By they way...in my haste, I gave you "Helpful" as i couln't get my SQL right. While drafting another question, I kept playing with it until I figured it out. If you'd kindly reply back to this, I'll answer as "correct". Sorry about that!
    Kevin

  • How can I format a field to have a Check Box in the center.

    I am a new adobe user and I am creating a form in Adobe LiveCycle Designer. Most of what I needed to do I was able to figure out, but I cannot find a way to place a Check Box in the center of a chosen field. Each time I use the Check Box from the library it automatically places the Box in the center-right of the field. Then when trying to format the paragraph, I get no options about where I'd like the box to reside within the field. Is there a simple way to get a Check Box into the center of a Field or will I have to pursue other options. If I do have to pursue other options are there any ways to limit a text to an X and have it either be On or Off?
    Thanks for your aid.

    This behaviors usually happens when you create the fields but  a copy paste command from one of the fields. The copy paste command assumes that your intentions is to maintain a copy of the field in two separate locations (e.i, a form field  "company name" printed in each and every page of a multi-page form document.
    Go to the properties fields of each field and make sure  to assign unique form field  names.

  • Check box in smartforms

    How to put check box (secondary window text element )in smart forms.
    Regards,
    Kaaviya

    Hi kaaviya,
    In the text node *web properties* 
    Give the
    field name (Chkbox) Input type select the check box from the list and display the check box.
    Refer the standard program *SF_WEBFORM_03* .
    First page -- > main window --> Reservations --> loop --> webfields --> text node --> web properties (cancelled cell).
    Regards,
    Sravanthi

  • Check Box on the Crystal Reports

    Hi,
    I want to print Check Box from Boolean data. It shows True/False. How can I print check box instead of True/False?
    Thanks,

    Hi,
    If you want use check box in crystal., then you can do this by writing piece of code.
    please try for
    If {Table.Field} = True Then
    'Display the checkbox of your choice here
    Formula = Chr(254).
    thanks.
    Bala

  • Apex Question: Check Boxes

    How do you choose multiple check boxes from a set of them?

    How do you choose multiple check boxes from a set of
    them?There is an apex forum you know...
    http://www.rittmanmead.com/2004/03/31/adding-checkboxes-to-report-rows-using-html-db/ will show you that behind the scenes APEX sets up a collection that you can inspect the members of in code.
    Niall Litchfield
    http://www.orawin.info/

  • How to pass the check box values from one view to another view

    Hi Experts,
    I have a selection screen view which consists of check boxes.
    WBS System status.
    Release                      Completed                  Closed as 3 check boxes.
    Note : The above ones are check boxes.
    Based on the selection made by the user, those values needs to be passed to second view which retrieves the data and
    displays the data accordingly.
    At the same time if the user does not make any selection, then WBS System status should contain Released, Completed and Closed values and that needs to be sent to Second view.
    Kindly advise.
    Regards,
    Chitrasen

    hi ,
    make a attribute of type WDY_BOOLEAN to achieve this functionality
    u need to follow these steps :
    1 in side ur component controller , under the ATTRIBUTES tab , make 3 attributes say attr1 , attr2 and attr3 of type WDY_BOOLEAN
    2 create a context node , cn_check and 3 context attribute ca_check1 , ca_check2 and ca_check3 in ur first view for
    release , complete and close check boxes
    3 inside the DOINIT of ur 1st view , set the attributes attr1 , attr2 and attr3 to blank
    wd_comp_controller->attr1 = ' '
    wd_comp_controller->attr2 = ' '
    wd_comp_controller->attr3 = ' '
    4 inside the method , where u r validating , if the check boxes are checked or not , read the attributes ca_check1 , ca_check2 and
    ca_check3
      DATA lo_nd_cn_check TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_check TYPE REF TO if_wd_context_element.
        DATA ls_cn_check TYPE wd_this->element_cn_check.
        DATA lv_ca_check1 LIKE ls_cn_check-ca_check1.
    *   navigate from <CONTEXT> to <CN_CHECK> via lead selection
        lo_nd_cn_check = wd_context->get_child_node( name = wd_this->wdctx_cn_check ).
    *   get element via lead selection
        lo_el_cn_check = lo_nd_cn_check->get_element(  ).
    *   get single attribute
        lo_el_cn_check->get_attribute(
          EXPORTING
            name =  `CA_CHECK`
          IMPORTING
            value = lv_ca_check1 ).
    IF lv_ca_check1 EQ 'X' .
    wd_comp_controller->attr1 = ' X'
    wd_comp_controller->attr2 = 'X '
    wd_comp_controller->attr3 = ' X'

  • Need to pass value from check box to the pl/sql function in process

    My requirement is to use single value check box and pass the flag value to the pl/sql function.
    The function need to interpret the flag and execute accordingly.
    In this case checkbox name is P1_DELETE and it returns Delete, if checked.
    Anonymous block with in the process looks as follows:
    declare
    l_result VARCHAR2(1024);
    begin
    l_result := test_function(:P1_DELETE);
    end;

    Hi Visu,
    checkboxes in APEX are handled as arrays, namely APEX_APPLICATION_GLOBAL.VC_ARR2. To pass and process the checked values of checkboxes in a pl/sql function or procedure you could use the following way, assuming you have a checkbox named P1_DELETE with a single return value of "Delete"
    DECLARE
        l_checkbox_values apex_application_global.vc_arr2;
    BEGIN
        l_checkbox := :P1_DELETE;
        -- calling function test_function processing the value
        test_function(NVL(l_checkbox(1), 'SOME_OTHER_VALUE'));
    END;If the checkbox is not checked then the array at position 1 is null and you have to process that as you like.
    If your checkbox would be a group than the array would be colon separated such as 1:2:3:4 etc. and you would have to loop the array like:
        FOR idx IN 1..l_checkbox.COUNT LOOP
            test_function(l_checkbox(idx));
        END LOOP;Hope that helps.
    Andreas

  • How to validate and pass a value stored in the Check box to a SQL report

    I have a menu(parameter form) with select lists and two check boxes(one option for DD/MM/YY(called CHK_BOX_MTH) and other for Quarter(Called CHK_BOX_QTR)).
    If the user selects the check box for month, he should be only be able to select list of values for Month, Day and Year. The user should not be able to choose Quarter(or should be prompted with a message, "Check only one option"). Similarly if Quarter is chosen, DD/MM/YY should be disallowed.
    How do I code this validation in HTML DB and where would it reside on the item?
    How do I then pass these parameters(Checked box value) using a URL to another page as input?
    The query expects the following
    SELECT ... FROM DIM_DAY
    WHERE
    (:CHK_BOX_MTH IS NOT NULL AND START_DATE = ":SELECTED_DATE")
    OR
    (:CHK_BOX_QTR IS NOT NULL AND QTR = ":SELECTED_QTR");

    Vikas ,Thank you for your reply.
    The only reason I am not able to use the radio group because I am not able to place the items shown adjacent to Month in the page. The From Date and To date (user enterable fields) should appear to the right of the Month radio button and quarter item to the right of the quarter radio button.
    From Date : "Month" "Day" "Year" (should be displayed to the right of Month )
    End Date : "Month" "Day" "Year" (should be displayed to the bottom right of
    Month and above the Quarter line)
    I hope I am making sense.

  • Passing column values to another tab if check box selected in that row

    Hi
    I have the following requirement.
    I have a table that gets populated by a web service. Have added one more field to it which is a check box. Th requirement is that I need to pass the values of column (say id) from each row which has it's check box selected, as input parameters to a web service in another tab.
    example: table has fileds id, name, address,checkbox. If there are 5 rows and the user select 1 and 2 then I need the ids of 1 and 2 to be passed to another tab.
    Is this possible  ........
    Thanks

    Hi
    I just don't want to make multiple selection but pass the values of a column from the selected rows to another tab to be used as input parameters to a web service.
    I want to know how to pass the values(of one filed) of the selected rows across tabs/switches.
    Thanks

  • Html check box pass more than one value into bean

    Hi all'
    I have group of check box in html , I need to pass more than one value
    into bean an ddisplay in jsp
    what do i do wrong
    private Vector select =new Vector();
      private String mybox =null;
      public download() {
         again(); 
      /* Accessor Methods */
    private void addmybox(String name){
        select.addElement(name);}
    public void setMybox(String name) {
         mybox = name;
    public String[] getMybox() {
         String[] s = new String[select.size()];
         select.copyInto(s);
         return s;
            in my htmli have <%
         String[] mybox= format.getMybox();
         for (int i=0; i<Mybox.length; i++) {
             <%= format.getMybox%>
    %>
    i got error at <%= format.getMybox[i]%>

    Hi ram,
    thank you, I don't have ideal in my mide .
    in my jsp I have
    <td>  <input type=checkbox name=mybox value=<%= link.getNewNum()%>></td>in my servlet I have something like
    String[] checked = request.getParameterValues("mybox");
            try {
            conn = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433","A#$","RE@89");
            conn.setCatalog("sequences");  
          stmt = conn.createStatement();  
           for(int i=0; i<checked.length; i++){
                   String select=checked;
    String Sql=" select NewNum, Name, Length, Segment, Sequence";
    Sql+=" from Sec04";
    Sql+=" where NewNum='"+select+"'";
    Sql+=" union";
    Sql+=" select NewNum, Name, Length, Segment, Sequence";
    Sql+=" from MySec";
    Sql+=" where NewNum='"+select+"'";
    Sql+=" union";
    Sql+=" select NewNum, Name, Length, Segment, Sequence";
    Sql+=" from Sec03";
    Sql+=" where NewNum='"+select+"'";
    Sql+=" union";
    Sql+=" select NewNum, Name, Length, Segment, Sequence";
    Sql+=" from Sec02";
    Sql+=" where NewNum='"+select+"'";
    Sql+=" union";
    Sql+=" select NewNum, Name, Length, Segment, Sequence";
    Sql+=" from Sec01";
    Sql+=" where NewNum='"+select+"'";
    rs = stmt.executeQuery (Sql);
    while(rs.next()) {              
    String Name = rs.getString("Name");
    String Segment =rs.getString("Segment");
    String Length = rs.getString("Length");
    String Sequence = storeSequenceData(rs.getString("Sequence"));
    String SContent = Name + " ," Segment ", "+ Length + "\n" +Sequence  ;
    now I want
    String SContent = Name + " ," +Segment + ", "+ Length +  "\n" +Sequence  +"\n" + Name+"Segment+","+length+"+"\n" +Name......untill the end
    it sees like I need to look st on shipp car. is that right??
    Thank you !!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Re: Retrieving data from the check box group.....

    Hi all,
    I am new to webdynpro Java. I'm facing a problem while retrieving data from the check box group..
    I've taken a simple type "Status" and Node with value attribute named status and set the property of that attribute as the simple type. This attribute is bound to the checkboxgroup.The cardinality of the Node is 0..n
    But i am unable to read the checked items of the group.
    Please help me out in solving my problem........

    Hi,
    Use the following
    for (int x=0; x< wdContext.nodeTest().size(); x++)
         if( wdContext.nodeTest().isMultiSelected(x) )
                     // Selected Element
              IWDNodeElement nodeElement = wdContext.nodeTest().getElementAt(x);
               nodeElement.setAttributeValue("<Your Attribute> ", <Value>);
              //Ex setting value for attribute called Name
              nodeElement.setAttributeValue("Name", "Test");
    Regards
    Ayyapparaj

Maybe you are looking for

  • LISTNER PROBLEM

    Hi friends, I am in serious problem. I am using AIX, oracle 9, sap4.7 I restore the data files ,orarach,redolog from PRD server to Dummy PRD server(both have same SID & same palteform) now when i start the listner than it gives a error Started with p

  • RoboHelp 6 Source Control Bindings

    Without going into best practices about source control methodology (we don't branch), I have a question about RoboHelp 6 and source control bindings with Visual SourceSafe. We have a help project that is bound to a project in VSS. We need to create a

  • Need help with initializing isp cable broadband and its relation to ADSL

    hi , i have a question , ive desigmnet and implemented isp of ADSL from scratch , ive implemented LAC & LNS Router with L2TP and integrated it with AAA. now im asking about , the ADSL system i desribed above and defirrence between it and cable broadb

  • Youtube videos freeze after a certain amount of time, but audio continues.

    As it says in the title, most Youtube videos freeze after a certain amount of time for me, but the audio continues. Happens on Firefox, IE and Chrome

  • Internet Help W/ Service Provider

    So i have IO Digital Cable As My Internet & Cable provider. The internet was installed into my home pc desktop but i frequently used to switch the Ethernet Jack and plug it into my Mac Book Pro to use internet on my laptop. Now as of late i've not be