How to check whether a checkbox is checked or not

hi all,
        how should i check whether a checkbos is checked or not. if it is checked then a parameter should be made as enabled can i make it in report program..
thanks and regards,
yogesh

HI
PARAMETERS: P_CK AS CHECKBOX USER-COMMAND CHK,
                         P1 MODIF ID AAA,
                         P2 MODIF ID BBB.
AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
       CASE SCREEN-GROUP1.
          WHEN  'AAA'.
             IF P_CK = 'X'.
                SCREEN-ACTIVE = 0.
             ENDIF.
          WHEN 'BBB'.
               IF P_CK = SPACE.
                SCREEN-ACTIVE = 0.
             ENDIF.           
         ENDCASE.
         modify screen. 
    ENDLOOP.
Max

Similar Messages

  • How to find whether remote database is up or not (connected via dblink)

    Hi,
    I am using dblink to connect Biz database from Dev database.(Biz, Dev - database names)
    Running dbms job using the dblink from the Dev database to update data on Biz database...
    Problem is dbms job should run if and only if the Biz database is up for which i created the dblink...
    1) How to make sure or implement the check to find whether the Biz is database is up or not in Pl/sql or sql...
    2) How to reschedule the dbms jobs once the database is up
    pls suggest me how to find whether the database is up or not b4 running the dbms job?
    Using- Oracle 10g

    The only way to know whether the remote database is up (and whether the network between the two databases is up and whether the remote database's listener is up and whether the password configured in the database link is correct and whether the local TNS alias is correct, etc) would be to actually run a query against the remote database over the database link. In other words, the way to figure out whether the link is up is to let the job run and catch & handle exceptions when there are problems.
    By default, a job scheduled via DBMS_JOB will automatically reschedule itself if there is an unhandled exception by geometrically backing off (it waits 1 minute after the first failure, 2 minutes after the second, 4, 8, 16, 32 minutes, etc until it's marked as broken after 16 failures). You could, of course, catch appropriate exceptions and handle them in a reasonable fashion and manually reschedule jobs at intervals that make more sense for your particular job.
    Justin

  • How to determine whether process Chain is active or Not

    Hello Experts,
    How to determine whether process Chain is active or Not, because i have large number of PC to activate.

    Hi,
    Please check this program in SE38---- /SSA/BWT
    This program will give you information regarding all your process chains which are active and running based on there timings.
    Hope it helps.
    Regards,
    AL

  • How to know whether the javascript is disabled or not while loading the jsp

    Hi,
    My query is like how to know whether the javascript is disabled or not while loading the Application main JSP in Mozilla browser.
    I want some Java code or JavaScript code.

    To the point, just let JS fire a specific HTTP request inside the same session.
    This can be done in several ways. 1) Create a hidden <img> element and set the `src` attribute so that it will request a (fake) image from the server. The server just have to intercept on this specific request. 2) Fire an ajaxical request and let the server intercept on it. You can use a Filter for this which sets a token in the session scope to inform that the client has JS enabled.

  • How to know whether the phone is replaced or not?

    Dear All,
    Please help in how to know whether Iphone 5 is replaced or not? I came to know that on replacement, imei number gets changed. please make me aware.

    Nobody here can make you aware.  You need to contact Apple directly.

  • How to know whether my phone is unlocked or not

    how to know whether my iphone is unlocked or not.

    You don't know if you bought an unlocked iphone or not?
    What did you ask for?
    What does your reciept say?

  • How to find whether the cookies are enabled or not

    Hi All,
    Please suggest me, while sending the first request only how to find whether the cookies are enabled or not.
    thanks.

    you could use a servlet, write a cookie and then try to read it, if it's read then it's enabled else not.

  • How to read whether dynamic checkboxes are checked or not

    Hi experts ,
              I have created number of checkboxes dynamically. I want to read whether they are checked or not. If they are checked I will do some operations and if not checked some different operations are to be done. Please tell me how to read that checkbox is checked or not.
    Please help.
    Thanks & Regards,
    Pratibha

    Hi pratibhas ,
    While creating the checkbox dynamically, you can bind that checkbox with some context attribute of type WDY_BOOLEAN.
    Now when you need to see whether a perticular checkbox is selected or not, check it's attributes value whether it is 'X' or ' ' .
    Regards,
    Vikrant

  • How to check oss notes

    Hi ,
    I have very basic clarification. Please give me some idea on oss notes. Like currently i am fworking on first implimentaion project. Here my role is testing some specific scnarios. Actually i got some errors while testing. So i have mailed to seniors into the project . I got the replies like : Please check oss note " Note 1174020 - SURVEY: Error when applying a XSLT  transformation"   this is for supplier registration testing.
    Please advise me where i have to cehck oss notes  like this.  If next time any errors then how I  will check for that errors??
    (i know service market place uid and pwd)
    Thanks in advance,

    Hello Viswanah,
    SAP note is the official fix released by SAP to the customer issues. Any one can access such notes from SAP service market place. But you need to have service market place access i.e. SUSER ID.
    If you working in a project, your basis team can create SUSER ID for you.
    https://websmp210.sap-ag.de/support
    is the URL to access service marekt place where you will be asked to enter login id & credentials. Under Help & Support tab you can find a field SAP Note where you can enter the sap note number if you know or you can enter the description of your error message to find relevant sap notes.
    Also you can raise a OSS call under report a product error section if you are unable to find any relevant note for your issue.
    Regards,
    Krish

  • How to search whether a seat is available or not?

    Hi,
    I am developing a form in admin module for a call centre where there is a requirement to check whether a seat is available or not? The form contains a search window which the user enters the date in Location,catergory,From_date,to_date,time_from,time_to fields.
    For example if he enters time_from as 06:00and time_from as 14:00 .That means the seat is occupied for 8 hours but is available for the remaining 16 hours. So the search result should show this seat also in the availability list. Every seat hava a unique seat_id.
    another situation is a seat can be allocated between 22:00 and 06:00.That means it is crossing the day.That means that means in a day the seat is allocated from 00:00 - 06:00 and 22:00-23:59. How to search for this?
    The seat can be allocated for any number of hours in a day. It can be 2 hours .3 hours or 4 hours....means there is no particular time slot system.
    Can this be done using a sql query or plsql procedure?
    can anybody help me in this regard
    Thanking you,
    Deekshit

    Hi
    U can use the following query in function.
    SELECT CASE dumm
    WHEN 'X'
    THEN 'OK'
    END
    FROM (SELECT NVL (dummy, 'Y') dumm
    FROM DUAL
    WHERE TO_DATE (new_date_entered in varchar format, 'hh24:mi:ss') BETWEEN TO_DATE
    (date_from in varchar format,
    'hh24:mi:ss'
    AND TO_DATE
    (date_to in varchar format,
    'hh24:mi:ss'
    But need to b careful when the dates r changing. U can check dat by comparing time_from nd time_to values...in case of date change time_from value will be greater than time_to value(assumption==> seat can't be blocked for more than 12 hours). U can actually use the same query by reversing the conditions.. hope this will solve the problem
    Message was edited by:
    Arpit

  • How to find whether the tables are needed or not?

    Friends,
    Difficult situation for me......
    OS: RHEL AS 3.0
    DB: Oracle 9i R2
    I was taking table inventory.....
    i saw many tables starting with SMP..... and EVT.....Nearly 50 tables.
    some are...
    EVT_HISTORY
    EVT_DEST_PROFILE
    EVT_CARRIER_CONFIGURATION
    SMP_USER_DETAILS
    SMP_UPDATESERVICES_CALLED_
    SMP_SERVICE_ITEM_
    SMP_SERVICE_GROUP_ITEM_
    SMP_SERVICE_GROUP_DEFN_
    SMP_SERVICE_DATA_
    SMP_LONG_TEXT_
    SMP_JOB_TASK_INSTANCE_
    SMP_JOB_LIBRARY_
    SMP_JOB_INSTANCE_
    SMP_JOB_HISTORY_
    SMP_JOB_EVENTLIST_
    SMP_JOB_
    SMP_EBU_SAVED_JOB_
    SMP_EBU_ACTIVE_JOB_
    SMP_CREDENTIALS$
    SMP_BRM_TEMP_SCRIPTS_
    SMP_BRM_SAVED_JOB_
    SMP_BRM_RC_CONNECT_STRING_
    SMP_BRM_DEFAULT_CHANNEL_
    SMP_BRM_CHANNEL_DEVICE_
    SMP_BRM_ACTIVE_JOB_
    SMP_AUTO_DISCOVERY_PARMS_
    SMP_AUTO_DISCOVERY_ITEM_
    SMP_AD_PARMS_
    SMP_AD_NODES_
    SMP_AD_DISCOVERED_NODES_
    SMP_AD_ADDRESSES_
    more.........
    Nobody knows whats the table is for....
    Actually we were working with oracle 7.3 upto 2004. On 2004 we upgraded to 9iR2. May be the DBA in that time made some mistake.... i think so....thats why all these tables are still here....
    I was not in the picture during that time.
    Now my question is how can i know whether this table is necessary or not. I asked the developers here they said they are not using these tables. But my manager is afraid to delete these tables.
    now what should i do?

    Hi,
    Yet another request to use my crystal ball.
    We had one pc which is having oracle 9i enterprise manager configured(windows 2000) only to connect the db.
    This remembers me of the Gospel of St. Luke, chapter 2, where it is stated,
    'and they found the child in the manger'.
    This resulted a Jewish theologian to remark: 'The manger? Well, so that must have been their own manger'
    So what does 'the' db mean? The Linux one? Or a separate on Win2000?
    It is quite possible to manage a Linux database using OEM on Win2000, with OMS on Win2000.
    'But our server is not having enterprise manager'. Yet another riddle. Which server? There seem to be at least two.
    1 Now if I drop these tables, will I be able to connect to our database using the windows2k pc through Enterprise Manager?
    Yes, but only in standalone mode, and you can't use OEM alerts, and jobs anymore. You would be better off using Sqldeveloper, as OEM Sql worksheet is a nightmare.
    2 That is your decision.
    3
    oemctl ping oms
    will check whether you have an Oracle Management Server running.
    You already seem to have the Enterprise Manager Repository, so you must have OMS running somewhere. (Why install the repository, if you don't use it)
    Sybrand Bakker
    Senior Oracle DBA

  • How to determine whether a recordset is Empty or not ?

    Please see my snippet code below :
    <%     
         String sql="";
         String username="CDS";
         try
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                Connection con = DriverManager.getConnection("jdbc:odbc:Employees","","");
                Statement stmt = con.createStatement();
                ResultSet rs=null;
                   sql = "Select * from Employee where code='" + username + "'";
                   rs = stmt.executeQuery(sql);
                   rs.next();
                   if (rs==null)
                   %>
                        <jsp:forward page="Login.jsp?msg=Username not recognized"></jsp:forward>     
                   <%     
                else
                   %>
                        <jsp:forward page="Login.jsp?msg=Halo"></jsp:forward>
                   <%
              catch(ClassNotFoundException e)
                   out.println("Driver not found");
                    catch(SQLException e2)
                            out.println(e2.getMessage());
                            out.println("<BR>");
                            out.println("Wrong SQL Statement");
                            out.println("<BR>");
                            out.println(sql);
                            out.println("<BR>");
         %>How to determine whether a recordset has no result ?
    From the above code, i use if (rs==null) and that's not worked.
    Help me, guys.

    ResultSet rs = stmt.executeQuery(sql);
    if (rs.next()) {
    %>
        <jsp:forward page="Login.jsp?msg=Halo"/>
    <%
    } else {
    %>
        <jsp:forward page="Login.jsp?msg=Username not > recognized"/>
    <%
    }

  • How to test whether XI is sending file or not?

    Hi all!
    My scenario is like this:File(File sender Adapter)->XI->(HTTP receiver adapter)J2EE appl.
    I placed the xml file in D:\somedir on my PC. It is picking up the file, after picking it should post the same xml file to my j2ee appl. My servlet receives the xml file and display it on browser. But nothing is displayed. How to test whether XI is sending XML file to J2EE appl or not? All helpful answers are highly appreciated.
    Thanks!

    Hi
    In the file adapter i set processing mode as delete, it is picking up well from my d:\somedir.
    I got success flag in SXMB_MONI and successful status in RWB->message monitoring?
    Why my servlet is not able to display?
    All helpful answers are rewarded.
    public class DisplayRes extends HttpServlet {
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
                        doPost(request,response);
         public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
         BufferedReader brin =new BufferedReader(new InputStreamReader(request.getInputStream()));
         String inputLine;
         StringBuffer sBuf = new StringBuffer();
         while ((inputLine = brin.readLine()) != null)
             sBuf.append(inputLine);
             brin.close();
             PrintWriter out = response.getWriter();
             response.setContentType("text/xml");
             //out.setContentType("text/xml");
             //out.println(sBuf.toString());
             out.write(sBuf.toString());
             out.flush();
    Thanks

  • How to know whether a file is opened  or not ?

    Hi all,
    How to know whether a file is opened by its editor or not ? File may be any of the type.

    There are platform-dependent commands that tell whether a file (or directory, port etc.) is used by which processes.
    [oracle@izsak ~]$ fuser .
    .:                    9299c
    [oracle@izsak ~]$ ps -p  9299 -f
    UID        PID  PPID  C STIME TTY          TIME CMD
    oracle    9299  9298  0 Apr25 pts/0    00:00:00 -bash
    [oracle@izsak ~]$ ls -l $fn
    -rw-r-----  1 oracle oinstall 111215876 Apr 25 19:05 /opt/oracle/product/AS/10g/R2/opmn/logs/OC4J~ebank~default_island~1
    [oracle@izsak ~]$ fuser $fn
    /opt/oracle/product/AS/10g/R2/opmn/logs/OC4J~ebank~default_island~1:  3746  3747  3748  3749  3750  3751  3752  3753  3754  3755  3756  3758  3761  3762  3765  3767  3769  3770  3771 18638 21605 21743 21744 21745 22140 22143
    [oracle@izsak ~]$ ps -p 3746 -f
    UID        PID  PPID  C STIME TTY          TIME CMD
    oracle    3746 26427  0 Apr23 ?        00:00:01 /opt/oracle/product/AS/10g/R2/jdk/bin/java -server -Djava.security.policy=/opt...

  • How to find whether an application is installed or not

    Is there any way to find whether an application is installed or not
    and the path of the installed path
    I got that with executing reg query from my java aplication but for that
    reg tool should be installed ..
    Is there any way to get without that

    You can use an <installer-desc> to invoke
    a class that asks the user where it is, and
    if they do not know, or do not have it, it can
    be installed at the time (assuming you can
    provide an installer, appropriate for their OS).

  • How to check zobject not used recently

    HI
    I want to see all the Z development not used in last one year. We are going to upgrade from R/3 4.7 to ECC6, so i need to remove all unnecessery Z programs.
    st03n will give only 2 months back data.
    Thanks
    Gurbir Singh

    As 2 years data not possible, what I would have done is to create a report which has all the Z Programs and check with Application Team what's need and and whats junk.
    -SM

Maybe you are looking for