Processing report in background with a radio button option

Hi all,
We have a requirement where we need to run report output as background job,
where we need to give radio button option in selection screen for background run and manual run .
Thanks
Karthik

Hi,
so depending upon the radio button selected you can run the job in background or manually.
if rb_bkgd = 'X'.
    <write a perform to make it run in background please refer this link for background job>
    <a class="jive_macro jive_macro_message" href="" __jive_macro_name="message" modifiedtitle="true" __default_attr="3050646"></a>
elseif rb_frgd = 'X'.
     <write a perfrom which will make the report run in normal way>
endif.
Regards,
Neha

Similar Messages

  • F this error message  "The disk you inserted was not readable by this computer" with 2 radio buttons "Ignore" or "reject"  It comes up every time I start my new printer. How do I get rid of it?

    When installing my new HP printer I received the following error message when I inserted  the software install disk: "The disk you inserted was not readable by this computer" with 2 radio buttons "Ignore" or "reject"  I was able to eject the disk but the message remains. Now every time I start up the printer this error message pops up on my computer.  I have since used the disk drive successfully for music CD's etc.  How can I get rid of this message?

    PRAM RESET
    Zap the PRAM
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • Radio button options in Servlet

    I am trying to develop radio buttons in a servlet program. The program is supposed to update a database using the radio button options . I am having problem with the program compiling after I add radio buttons.
    When compile the program, I receive an error message: " The local variable Level is never read"
    please tell me what I am doing wrong in the following code:
    private void sendUpdateForm(HttpServletRequest request, HttpServletResponse response)
             throws IOException {
                String ID = request.getParameter("ID");
                  PrintWriter out = response.getWriter();
                  out.println("<BR><H2>Update Form</H2>");
                  out.println("<BR>Please edit the name.");
                  out.println("<BR>");
                  try {
                    String sql = "SELECT Name_of_Officer, Title," +
                      " Level," +
                      "Multiply_View, " +
                      " FROM tDATA.users6" +
                      " WHERE ID=" + ID;
                    Connection conn = DriverManager.getConnection(dbUrl);
                    Statement s = conn.createStatement();
                    ResultSet rs = s.executeQuery(sql);
                    if (rs.next()) {
                       int Level = rs.getInt(1);
                      String Multiply_View = rs.getString(2);
                          out.println("<BR><FORM METHOD=POST ACTION=Resultpage>");
                      out.print("<INPUT TYPE=HIDDEN Name=ID VALUE=" +ID + ">");
                      out.println("<TABLE>");
                      out.println("<TR>");
                      out.println("<TD>Level</TD>");
                      out.print("<BR><INPUT TYPE=RADIO " +
                                "Name=Levels CHECKED VALUE=1>RC Manager" +
                             "<BR><INPUT TYPE=RADIO " +
                      "Name=Levels VALUE=2>Group Manager");
                    out.println("></TD>");
                      out.println("</TR>");
                      out.println("<TD>Multiply View  </TD>");
                      out.print("<TD><INPUT TYPE=TEXT Name=Multiply_View");
                      out.print(" VALUE=\"" + (Multiply_View) + "\"");
                      out.println("></TD>");
                      out.println("</TR>");
                      out.println("<TR>");
                      out.println("<TD><INPUT TYPE=RESET></TD>");
                      out.println("<TD><INPUT TYPE=SUBMIT></TD>");
                      out.println("</TR>");
                      out.println("</TABLE>");
                      out.println("</FORM>");
                    s.close();
                    conn.close();
                  catch (SQLException e) {
                    out.println(e.toString());
                  catch (Exception e) {
                    out.println(e.toString());
           void updateRecord(HttpServletRequest request,   HttpServletResponse response)
             throws IOException {
             String ID = request.getParameter("ID");
             int Level = Integer.parseInt(request.getParameter("Levels"));
             String Multiply_View = request.getParameter(("Multiply_View"));
             PrintWriter out = response.getWriter();
             try {
               String sql = "UPDATE tDATA.users6" +
                 " SET Level ='" + (Level) + "'" +
               " Multiply_View='" + fixSqlFieldValue(Multiply_View) + "'" +
              " WHERE ID=" + ID;
               Connection con = DriverManager.getConnection(dbUrl);
               Statement s = con.createStatement();
               int i = s.executeUpdate(sql);
               if (i==1)
                 out.println("Record updated");
               else
                 out.println("Error updating record");
               s.close();
               con.close();
             catch (SQLException e) {
               out.println(e.toString());
             catch (Exception e) {
               out.println(e.toString());

    When compile the program, I receive an error message:
    " The local variable Level is never read"
    if (rs.next()) { // begin if then block scope
                            // ** Level delcared as local variable of type int
                       int Level = rs.getInt(1); // ** does this get used ???
                      String Multiply_View = rs.getString(2);
                          out.println("<BR><FORM METHOD=POST ACTION=Resultpage>");
                      out.print("<INPUT TYPE=HIDDEN Name=ID VALUE=" +ID + ">");
                      out.println("<TABLE>");
                      out.println("<TR>");
                      out.println("<TD>Level</TD>");
                      out.print("<BR><INPUT TYPE=RADIO " +
                                "Name=Levels CHECKED VALUE=1>RC Manager" +
                             "<BR><INPUT TYPE=RADIO " +
                      "Name=Levels VALUE=2>Group Manager");
                    out.println("></TD>");
                      out.println("</TR>");
                      out.println("<TD>Multiply View  </TD>");
                      out.print("<TD><INPUT TYPE=TEXT Name=Multiply_View");
                      out.print(" VALUE=\"" + (Multiply_View) + "\"");
                      out.println("></TD>");
                      out.println("</TR>");
                      out.println("<TR>");
                      out.println("<TD><INPUT TYPE=RESET></TD>");
                      out.println("<TD><INPUT TYPE=SUBMIT></TD>");
                      out.println("</TR>");
                      out.println("</TABLE>");
                      out.println("</FORM>");
    }// **end if then block scopewas Level intended to be a local variable ?

  • GR with backflush not for reporting point logic with autom. GR option

    Dear Experts,
    While doing backflashing though MFBF we are getting following error
    "GR with backflush not for reporting point logic with autom. GR option"
    We have maintained 5 production version for this material while calling with first production version we are getting the error.
    Rate routing & BOM maintanied for the FERT material
    Thanks

    Did you check the BackFlash option are actuvated in the following places ?
    1. In the Rate routing, the backflush indicator is set in the component assignment.-CA22
    2. In the material master record, the backflush indicator has the characteristic "Always backflush".-MRP3
    3. In the material master record, the backflush indicator has the characteristic "Work center decides", the indicator being set in the work center.-CR21-Basic Data View .
    4.Goto-MM02-MRP4 View -Select the PV-Goto Details -Check particularly this production version REM Allowed or not
    5.You should use REM-Profile -0004/0003  where RP and Auto GR with RP at last Back Flashing Activated .
    6.Check Rate Routing Operation Control Key -Auto GR  with indicator Confirmation required
    Regards
    JH
    Edited by: Jiaul Haque on Jun 22, 2010 11:19 AM

  • Report With Multiple Radio Button ,How to reset the values of when selected

    Reaching out to the experts here. I have a report which i created a radio group which saves the value rownum when the radio buton is selected to a hidden item based on an on click event. There are currently 3 radio button , i need to be able to "reset" the value of the other items when more than of the button are selected .I.E. There are 3 buttons, user clicks button one , but then decides they need to click button two , then realizes they really wanted to perform button 3 , I want to be able to "reset" the value of the 1st two hidden items so the only value populated is the 3rd hidden item. I am new to working with these features and scenarios so any and help would be appreciated.
    Here is the report
    SELECT APEX_ITEM.RADIOGROUP(1, ROWNUM, NULL,NULL,'onclick="javascript:$x(''P5_HIDDEN1'').value=' || ROWNUM|| '"') UPDATE_RECORD
    ,APEX_ITEM.RADIOGROUP(1, ROWNUM, NULL,NULL,'onclick="javascript:$x(''P5_HIDDEN2'').value=' || ROWNUM|| '"') DELETE_RECORD
    ,APEX_ITEM.RADIOGROUP(1, ROWNUM, NULL,NULL,'onclick="javascript:$x(''P5_HIDDEN3'').value=' || ROWNUM|| '"') SET_PRIMARY
    ,papf.first_name
    ,papf.last_name
    ,hl.meaning
    ,pp.phone_number
    ,case when phone_type is not null then (select meaning from hr_lookups where lookup_type ='PHONE_TYPE' and pp.phone_type=lookup_code)
    end as phone_type
    ,emrg.primary_contact_flag
    from hr.per_all_people_f papf
    ,apps.hr_lookups hl
    ,apps.per_contact_relationships pcr
    ,apps.per_phones pp
    ,(select contact_person_id,primary_contact_flag
    from apps.per_contact_relationships pcr
    where pcr.person_id = :P5_PERSON_ID
    and contact_type = 'EMRG') emrg
    where pcr.contact_person_id in emrg.contact_person_id
    and pcr.personal_flag='Y'
    and contact_type <> 'EMRG'
    and trunc(sysdate) between date_start and NVL(date_end,'31-DEC-4712')
    and pcr.contact_type = hl.lookup_code
    and hl.lookup_type='CONTACT'
    and pcr.contact_person_id = papf.person_id
    and trunc(sysdate) between papf.effective_start_date and papf.effective_end_date
    and pcr.contact_person_id = pp.parent_id
    and pp.phone_type in (select lookup_code from hr_lookups where lookup_type ='PHONE_TYPE')

    Related thread here How to Pass values from SQL Report into TEXT ITEM ?
    Regards,

  • Help with styling radio buttons

    Hi can anyone tell me if its possible to add a vorder colour and a background to the selected radio button and text on this website http://62.6.176.22/products/leaflets.aspx?Id=145399&Key=F8FA69A7-4AC5-4986-97F3-6C8C9520FA 87. This is a site which is supplied to us and we can only edit the CSS with our own styles but not the code. Any pointers will be much appreciated

    Actually...
    I may have spoken too soon.
    I've been doing some playing around and came up with this. Is this kind-of what you're looking for?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style>
    input[type="radio"] {
        display:block;
        float:left;
        height:20px;
        width:20px;
    label {
        display:block;
        background-color:#bbb;
        padding:5px 10px;
        font-family:Verdana;
        font-size:12px;
        border:1px solid #bbb;
    input[type="radio"]:checked + label {
        background-color:#6F6;
        border:1px solid green;
    </style>
    </head>
    <body>
    <div style="margin:auto; width:552px;">
    <div>
        <input type="radio" id="radio1" name="radios" value="value1" checked>
        <label for="radio1">Button1 - Notes would go here (this is the radio button Label)</label>
        <input type="radio" id="radio2" name="radios" value="value2">
        <label for="radio2">Button2 - Notes would go here (this is the radio button Label)</label>
        <input type="radio" id="radio3" name="radios" value="value3">
        <label for="radio3">Button3 - Notes would go here (this is the radio button Label)</label>
    </div>
    </div>
    </body>
    </html>

  • Authorization issue with VA02 radio buttons

    Hello All,
    We are stuck at one authorization issue. The user navigates using tcode VA02.
    1)     Execute Tcode -VA02=>
    2)     2) puts order number # 100001 =>
    3)     press enter =>
    4)     press enter =>
    5)     Screen: Change (Company Name) Return 100001: Overview =>
    6)     Option: Display doc. Header details (looks like a magnifying glass beside PO_date) =>
    7)     This bring us to Change (Company Name) Return 100001: header Data =>
    8)     select status tab =>
    9)     on Status tab lower end there is a button u201CObject Statusu201D =>
    10)     Press it => 
    11)     Come to Change Status :
    12)     On this screen There is Status with status no. on the right side with 7 options
    e.g:
    u2022     1 BLK Approval Required for,
    u2022     2 BL1 Approval for Credit,
    u2022     3 BL2 Approval for material Replacer
    We need to restrict the radio button access for user for which we are unable to find the authorization object.
    Could any one help.
    Thanks & Regards
    gab

    Hi,
    Use ST01 to trace the user activities and check which objects its hitting when you click on those buttons, then you can restrict radio buttons using those objects.
    I have'nt run the tcode myself and performed the steps you mentioned, but if you think its calling other transaction from those buttons you can manage tht in SE97, or add the t-code VA02 in the S_tcode auth object in PFCG.
    Hope this should get you going
    Thanks,
    Vijay

  • Need help with PHP form with checkboxes, radio buttons and file attachment

    Hi guys,
    I'm having a nightmare with this PHP form where a user can fill it in, attach a doc/pdf and submit. After trying to sort it out with previous code I've used, I've stripped it out and think I should just start again in the hope you geniuses can help!
    Here is the HTML of contact.php:
    <form action="" method="post" name="contact" id="contact">
        <p>Job Title:*<br />
        <input name="position" type="text" /></p>
        <p>Nationality:*<br />
        <select name="nationality">
          <option value="">-- select one --</option>
          <option value="Afghan">Afghan</option>
          <option value="Albanian">Albanian</option>
          <option value="Algerian">Algerian</option>
          <option value="Zambian">Zambian</option>
          <option value="Zimbabwean">Zimbabwean</option>
        </select>
        </p>
        <p>Which country are you currently living in?*<br />
        <select name="country">
        <option value="">-- select one --</option>
        <option value="United Kingdom">United Kingdom</option>
        <option value="Afghanistan">Afghanistan</option>
        <option value="Africa">Africa</option>
        <option value="Zambia">Zambia</option>
        <option value="Zimbabwe">Zimbabwe</option>
        </select>
        </p>
        <label class="radio" for="checkRight">Yes/No question?</label><br />
        <input class="radio" type="radio" name="right" value="Yes" /> Yes
        <input class="radio" type="radio" name="right" value="No" /> No
        <input class="radio" type="radio" name="right" value="N/A" /> Not applicable
        <p>Yes/No question?<br />
        <select name="continue">
        <option value="">-- select one --</option>
        <option value="Yes">Yes</option>
        <option value="No">No</option>
        </select>
        </p>
        <p>Select your resorts:<br />
        Resort 1<input name="res1" type="checkbox" value="Resort 1" />
        Resort 2<input name="res2" type="checkbox" value="Resort 2" />
        Resort 3<input name="res3" type="checkbox" value="Resort 3" />
        Resort 4<input name="res4" type="checkbox" value="Resort 4" />
        Resort 5<input name="res5" type="checkbox" value="Resort 5" />
        Resort 6<input name="res6" type="checkbox" value="Resort 6" />   
        </p>
        <p>Don't send form unless this is checked:* <input type="checkbox" name="parttime" value="Yes" /></p>
        <p>Date of arrival: <input name="arrive" id="datepick" /><br />
        Date of departure: <input name="depart" id="datepick2" /></p>
        <script type="text/javascript" src="assets/scripts/datepickr/datepickr.js"></script>
        <link href="assets/scripts/datepickr/datepickr.css" rel="stylesheet">
        <script type="text/javascript">
        new datepickr('datepick');
        new datepickr('datepick2', {
        </script>
        <p>Name:*<br />
        <input name="name" type="text" /></p>
        <p>E-mail:*<br />
        <input name="email" type="text" /></p>
        <p>Telephone:*<br />
        <input name="telephone" type="text" class="ctextField" /></p>
        <p>Upload CV (Word of PDF formats only):<br />
        <input type="file" name="cv" class="textfield"></p>
        <p><input name="submit" value="Submit Enquiry" class="submitButton" type="submit" /><div style="visibility:hidden; width:1px; height:1px"><input name="url" type="text" size="45" id="url" /></div></p>
    </form>
    By the way, the date boxes work so excuse the Javascript in there!
    To prevent SPAM I've used a trick where there's a hidden URL field which must be left blank for the form to submit which you can see in the PHP.
    Below is where I'm at with the PHP which is placed above the header of contact.php...
    <?php
    if (array_key_exists('submit', $_POST)) {
        $position = $_POST['position'];
        $arrive = $_POST['arrive'];
        $nationality = $_POST['nationality'];
        $parttime = $_POST['parttime'];
        $depart = $_POST['depart'];
        $name = $_POST['name'];
        $email = $_POST['email'];
        $telephone = $_POST['telephone'];
    $to = "[email protected]";
    $subject = "Recruitment Application";
    $message = $headers;
    $message .= "Name: " . $_POST["name"] . "\r\n";
    $message .= "E-mail: " . $_POST["email"] . "\r\n";
    $headers  = "MIME-Version: 1.0\r\n";
    $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $headers .= 'From: My Website <[email protected]>' . "\r\n";
    $message= "
    $url = stripslashes($_POST["url"]);
    if (!empty($url)) {
    header( 'Location: http://www.go-away-spam-robots.com' );
    exit();
    if (!isset($warning)) {
    mail($to, $subject, $message, $headers);
    header( 'Location: http://www.mywebsite.co.uk/sent.php' );
    ?>
    I would like to make pretty much all the field compulsory so if a field is left empty (other than the hidden URL field), a warning message is displayed next to that field.
    Also I would like the file upload field to attach to the email that is sent to me and have the results come through to me in a table format.
    Can anyone help me get my form working?
    Thank you and I hope to hear from you!
    SM

    Hi Nancy,
    Great stuff, thank you for the reply.
    I've managed to get the Formm@iler working and running as I need it to.
    The only thing I'm struggling with is when the user clicks submit, they are taken to a page of whatever results the form returned but it is just a white background with Times New Roman text.
    How can I have it so the user is taken to the form results in the websites' page layout?
    I tried sending them to a generic 'thank you' page by adding the following code but it just took them there whatever the results of the form so that's no good...! I have a feeling it's a bit more complicated than that...
    header( 'Location: http://www.nofussbus.co.uk/test/sent.php' );
    Thank you for your help!

  • Creation of selection screen with 2 radio button groups

    Hi All,
    I have following selecton screen to be created:
    1. Radio Button for File
       A. Radio Button for PC File
           - Parameter for PC File Input
       B. Radio Button for UNIX File
           - Parameter for Unix File Input
    2. Radio Button for Material
        - Material Select-Option
    As per above Either of Radio Buttons 1/2 File/Material will be selected.
    If 1(File) Selected Radio Button for PC File/Unix File will be selected, No other radio buttons will be active.
    If 2(Material) Selected Material Select-option input will be given, No other radio buttons will be active.
    How can we write the selection screen code for above design.
    Thanks in advance.
    Thanks,
    Deep.

    Hi,
    go through the following example-----
    **************************************INTERNAL TABLE DECLERATION**************************************
    DATA: BEGIN OF ITAB2 OCCURS 0,
             VALUE(250) TYPE C,
             END   OF ITAB2.
    **************************************DATA DECLERATION************************************************
    DATA: PATH LIKE DYNPREAD-FIELDNAME.
    DATA : P TYPE STRING,
           D TYPE STRING.
    DATA : V_DATASET    LIKE FILENAMECI-FILEEXTERN.
    **************************************SELECTION SCREEN***********************************************
    PARAMETERS: V_PATH TYPE RLGRAP-FILENAME DEFAULT 'C:\Documents and Settings\vchaturvedi\Desktop\vijay.txt'.
    PARAMETERS: D_PATH TYPE RLGRAP-FILENAME.
    SKIP 5.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
    PARAMETERS: PC_ONE    RADIOBUTTON GROUP RAD1 DEFAULT 'X',
                PC_OTHER    RADIOBUTTON GROUP RAD1.
    SELECTION-SCREEN END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR V_PATH.
    HELP FOR SEARCHING FILES PATH************************************************
      IF PC_ONE = 'X'.
        CALL FUNCTION 'F4_FILENAME'
         EXPORTING
      PROGRAM_NAME        =  'Z8VIJAY_SHADOWER_COVERSIONDATA'
      DYNPRO_NUMBER       = SYST-DYNNR
           FIELD_NAME          = PATH
         IMPORTING
           FILE_NAME           = V_PATH.
    *******CONVERT IN TO STRING************
        P = V_PATH.
      ENDIF.
    **************************************SELECTION SCREEN VALIDATION***********************************
    AT SELECTION-SCREEN.
      IF V_PATH = ''.
        MESSAGE E014.                    "FILE PATH NOT FOUND!!!!!!!
      ENDIF.
      IF D_PATH = ''.
        MESSAGE E016.                "TARGET FILE NOT FOUND!!!!!!!
      ENDIF.
    *******************FOR DOWNLOAD**********
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR D_PATH.
      CALL FUNCTION 'F4_FILENAME'
       EXPORTING
      PROGRAM_NAME        = 'Z8VIJAY_SHADOWER_COVERSIONDATA'
      DYNPRO_NUMBER       = SYST-DYNNR
         FIELD_NAME           = PATH
       IMPORTING
         FILE_NAME           = D_PATH.
    ***************CONVERT INTO STRING***********
      D = D_PATH.
    *******************************************MAIN LOGIC************************************************
    START-OF-SELECTION.
      IF P = ''.
        P = 'C:\Documents and Settings\vchaturvedi\Desktop\vijay.txt'.
      ENDIF.
    ******************UPLOAD DATA FROM OTHERS TO INTERNAL TABLE****************
      CALL FUNCTION 'GUI_UPLOAD'
              EXPORTING
                FILENAME                      = P
             FILETYPE                      = 'ASC'
             HAS_FIELD_SEPARATOR           = ' '
             HEADER_LENGTH                 = 0
             READ_BY_LINE                  = 'X'
             DAT_MODE                      = ' '
             CODEPAGE                      = ' '
             IGNORE_CERR                   = ABAP_TRUE
             REPLACEMENT                   = '#'
             CHECK_BOM                     = ' '
           IMPORTING
             FILELENGTH                    =
             HEADER                        =
              TABLES
                DATA_TAB                      = ITAB2
             EXCEPTIONS
               FILE_OPEN_ERROR               = 1
               FILE_READ_ERROR               = 2
               NO_BATCH                      = 3
               GUI_REFUSE_FILETRANSFER       = 4
               INVALID_TYPE                  = 5
               NO_AUTHORITY                  = 6
               UNKNOWN_ERROR                 = 7
               BAD_DATA_FORMAT               = 8
               HEADER_NOT_ALLOWED            = 9
               SEPARATOR_NOT_ALLOWED         = 10
               HEADER_TOO_LONG               = 11
               UNKNOWN_DP_ERROR              = 12
               ACCESS_DENIED                 = 13
               DP_OUT_OF_MEMORY              = 14
               DISK_FULL                     = 15
               DP_TIMEOUT                    = 16
               OTHERS                        = 17
          IF sy-subrc = 1.
           MESSAGE E014.                    "FILE PATH NOT FOUND!!!!!!!
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    ******************************DOWNLOAD DATA FROM INTERNAL TABLE TO OTHERS******************************
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
      BIN_FILESIZE                    =
          FILENAME                        = D
      FILETYPE                        = 'ASC'
      APPEND                          = ' '
      WRITE_FIELD_SEPARATOR           = ' '
      HEADER                          = '00'
      TRUNC_TRAILING_BLANKS           = ' '
      WRITE_LF                        = 'X'
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
      CONFIRM_OVERWRITE               = ' '
      NO_AUTH_CHECK                   = ' '
      CODEPAGE                        = ' '
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
      WK1_N_FORMAT                    = ' '
      WK1_N_SIZE                      = ' '
      WK1_T_FORMAT                    = ' '
      WK1_T_SIZE                      = ' '
    IMPORTING
      FILELENGTH                      =
        TABLES
          DATA_TAB                        = ITAB2
      FIELDNAMES                      =
    EXCEPTIONS
       FILE_WRITE_ERROR                = 1
       NO_BATCH                        = 2
       GUI_REFUSE_FILETRANSFER         = 3
       INVALID_TYPE                    = 4
       NO_AUTHORITY                    = 5
       UNKNOWN_ERROR                   = 6
       HEADER_NOT_ALLOWED              = 7
       SEPARATOR_NOT_ALLOWED           = 8
       FILESIZE_NOT_ALLOWED            = 9
       HEADER_TOO_LONG                 = 10
       DP_ERROR_CREATE                 = 11
       DP_ERROR_SEND                   = 12
       DP_ERROR_WRITE                  = 13
       UNKNOWN_DP_ERROR                = 14
       ACCESS_DENIED                   = 15
       DP_OUT_OF_MEMORY                = 16
       DISK_FULL                       = 17
       DP_TIMEOUT                      = 18
       FILE_NOT_FOUND                  = 19
       DATAPROVIDER_EXCEPTION          = 20
       CONTROL_FLUSH_ERROR             = 21
       OTHERS                          = 22
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      IF PC_OTHER = 'X'.
    ****************************8FOR ONE SERVER TO ANOTHER************************************************
      OPEN DATASET V_DATASET FOR INPUT IN TEXT MODE ENCODING DEFAULT.
        IF SY-SUBRC = 0.
          DO.
            READ DATASET V_DATASET INTO ITAB2.
            IF SY-SUBRC <> 0.
              EXIT.
            ENDIF.
            APPEND ITAB2.
          ENDDO.
        ENDIF.
      ENDIF.
    *********************************PRINTING DATA *********************************************************
      LOOP AT ITAB2.
        WRITE :/5 ITAB2-VALUE.
      ENDLOOP.
    ****do reward if usefull
    Regards,
    vijay

  • Help with validating radio buttons

    I would like to set my radio button so they can only click it after they have entered text into the 2 previous text fields.  Can someone help me out with a script how to do that?
    Thanks

    Please try the following Script :
    // Function to enable form fields function
    EnableFormField (cFieldName) {
    // First acquire the field to be enabled
    var oFld = this.getField(cFieldName)
    // Next acquire the hidden field with the normal colors
    var oNmlFld = this.getField("NormalColorsFld");
    if(oFld) {
    // Make field interactive
    oFld.readonly = false;
    // Restore Normal Colors
    oFld.fillColor = oNmlFld.fillColor; oFld.borderColor = oNmlFld.borderColor; oFld.textColor = oNmlFld.textColor;
    // Function to disable form fields function
    DisableFormField(cFieldName) {
    // First acquire the field to be disabled
    var oFld = this.getField(cFieldName)
    if(oFld) {
    // Make field Read-Only
    oFld.readonly = true;
    // Set Grayed out colors
    oFld.fillColor = ["G", 0.75]; oFld.borderColor = ["G", 2/3]; oFld.textColor = ["G", 0.5];

  • DropDown with dymica radio button

    Hi frnds,
    I am facing a problem with dropdown and the radio button i,e
    radio buttons will generate dynamically based on the drop down.
    now when i select one drop down   i can find the dymica generation of the radio button like  suppose
    dropdown -
    here
    rad1    rad12     rad 13     with radio group rg1
    rad2    rad22     rad23      with radio group rg2.
    so on...
    so when i select the dropdown 1 and select rad1   and rad22
    and suppose i change the drop down and iam seeing those radio's already selected which i don't want to .. i want them to refresh
    bhavana

    You can do this easily using client-side scripting - such as JavaScript. A good place to start learning this is at [http://www.w3schools.com|http://www.w3schools.com]. Lots of tutorials and samples.
    Cheers
    Graham Robbo

  • SQL Queries, filter with multiple radio Buttons

    I am trying to figure out how to filter my datagridview with SQL queries so that both of them have to be met for data to show up not just one.
    My datagridview is bound to an Access Database.
    I basically would want it filtered by 'Width' and 'Wood Type'
    I have radio buttons in group boxes so a width and wood can be selected. However only one Query is applied at a time.

    Public Class Form1
    Private Sub StickersBindingNavigatorSaveItem_Click(sender As Object, e As EventArgs)
    Me.Validate()
    Me.StickersBindingSource.EndEdit()
    Me.TableAdapterManager.UpdateAll(Me.TestDataSet)
    End Sub
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    'TODO: This line of code loads data into the 'TestDataSet.Stickers' table. You can move, or remove it, as needed.
    Me.StickersTableAdapter.Fill(Me.TestDataSet.Stickers)
    AcceptButton = Button1
    End Sub
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    End Sub
    Private Sub RadioButton1_CheckedChanged(sender As Object, e As EventArgs) Handles RadioButton1.CheckedChanged
    Try
    Me.StickersTableAdapter.Wood_Oak(Me.TestDataSet.Stickers)
    Catch ex As System.Exception
    System.Windows.Forms.MessageBox.Show(ex.Message)
    End Try
    End Sub
    Private Sub RadioButton2_CheckedChanged(sender As Object, e As EventArgs) Handles RadioButton2.CheckedChanged
    Try
    Me.StickersTableAdapter.Wood_Walnut(Me.TestDataSet.Stickers)
    Catch ex As System.Exception
    System.Windows.Forms.MessageBox.Show(ex.Message)
    End Try
    End Sub
    Private Sub RadioButton3_CheckedChanged(sender As Object, e As EventArgs) Handles RadioButton3.CheckedChanged
    Try
    Me.StickersTableAdapter.Width14(Me.TestDataSet.Stickers)
    Catch ex As System.Exception
    System.Windows.Forms.MessageBox.Show(ex.Message)
    End Try
    End Sub
    Private Sub RadioButton4_CheckedChanged(sender As Object, e As EventArgs) Handles RadioButton4.CheckedChanged
    Try
    Me.StickersTableAdapter.Width18(Me.TestDataSet.Stickers)
    Catch ex As System.Exception
    System.Windows.Forms.MessageBox.Show(ex.Message)
    End Try
    End Sub
    Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
    If RadioButton5.Checked = True Then
    If TextBox1.Text = "" Then
    Else
    Me.StickersBindingSource.Filter = "Width LIKE '" & TextBox1.Text & "%'"
    DataGridView1.Refresh()
    End If
    ElseIf RadioButton6.Checked = True Then
    If TextBox1.Text = "" Then
    Else
    Me.StickersBindingSource.Filter = "[Wood Type] LIKE '" & TextBox1.Text & "%'"
    DataGridView1.Refresh()
    End If
    ElseIf RadioButton5.Checked = False And RadioButton6.Checked = False Then
    MsgBox("Please Select a Search Criteria")
    End If
    End Sub
    Private Sub TextBox2_TextChanged(sender As Object, e As EventArgs) Handles TextBox2.TextChanged
    Try
    Me.StickersTableAdapter.SearchWood(Me.TestDataSet.Stickers)
    Catch ex As System.Exception
    System.Windows.Forms.MessageBox.Show(ex.Message)
    End Try
    End Sub
    End Class

  • Help with cfinput radio button and text fields

    I have a series of radio buttons that allow a user to select
    monetary values but I also want them to be able to define an amount
    if they choose so. I was planning on doing this by providing a
    radio button with the value of other and then using a text field to
    allow the user to enter the monetary value. The problem with this
    is that they might enter a user defined monetary value but forget
    to set the radio button to "other".
    I was hoping that I could set the "other" text input field to
    read only until the point that the user selects the "other" radio
    button. Is there a way to do this using onSelect or another method.
    Or is there a better way to approach this problem? Thanks for any
    help or advice in advance.

    Hi,
    You could call a js function which will select the radio
    button "other " when the user types something in(there are various
    events on cfinput). This way the user will not have to worry about
    selecting the radio button and your requirement will be satisfied.
    Hope this Helps.
    Thanks,
    Bhakti

  • Transaction with 3 Radio Buttons

    Hi All,
    In a transaction i have a three radio buttons in which
    When the user selects first radio button, the field under first radio button should be input-enabled. Else, they should be input disabled. User should enter only one of the two fields.
    When the user selects second radio button, the field should be input-enabled. Else, it should be input disabled.
    When the user selects Third radio button, the field should be input-enabled. Else, it should be input disabled.
    There should be a pushbutton on the screen,  The text on the pushbutton should vary depending on the radio button checked.
    could any one please help me
    Regards,
    sathish

    Hi,
    Use the below code.
    selection-screen: begin of block blk1 with frame.
    selection-screen: begin of line.
    parameters: p_r1 radiobutton group rad1 default 'X' user-command rusr.
    selection-screen position 10.
    parameters: p_text1(20).
    selection-screen: end of line.
    selection-screen: begin of line.
    parameters: p_r2 radiobutton group rad1.
    selection-screen position 10.
    parameters: p_text2(20).
    selection-screen: end of line.
    selection-screen: begin of line.
    parameters: p_r3 radiobutton group rad1.
    selection-screen position 10.
    parameters: p_text3(20).
    selection-screen: end of line.
    selection-screen: end of block blk1.
    DATA flag(1) TYPE c.
    SELECTION-SCREEN:BEGIN OF LINE.
    SELECTION-SCREEN:PUSHBUTTON 2(10) v_text USER-COMMAND cli1.
    SELECTION-SCREEN:END OF LINE.
    at selection-screen output.
      v_TEXT = 'Rad1'.
    if p_r1 = 'X'.
    v_TEXT = 'Rad1'.
    clear: p_text2, p_text3.
    loop at screen.
      if screen-name = 'P_R1' or
         screen-name = 'P_R2' or
         screen-name = 'P_R3'.
      continue.
      endif.
      if screen-name = 'P_TEXT2' or
         screen-name = 'P_TEXT3'.
         screen-input = 0.
      endif.
      modify screen.
    endloop.
    endif.
    if p_r2 = 'X'.
    v_TEXT = 'Rad2'.
    clear: p_text1, p_text3.
    loop at screen.
      if screen-name = 'P_R1' or
         screen-name = 'P_R2' or
         screen-name = 'P_R3'.
      continue.
      endif.
      if screen-name = 'P_TEXT1' or
         screen-name = 'P_TEXT3'.
         screen-input = 0.
      endif.
      modify screen.
    endloop.
    endif.
    if p_r3 = 'X'.
    v_TEXT = 'Rad3'.
    clear: p_text1, p_text2.
    loop at screen.
      if screen-name = 'P_R1' or
         screen-name = 'P_R2' or
         screen-name = 'P_R3'.
      continue.
      endif.
      if screen-name = 'P_TEXT1' or
         screen-name = 'P_TEXT2'.
         screen-input = 0.
      endif.
      modify screen.
    endloop.
    endif.
    if p_r1 = 'X'.
      clear: p_r2, p_r3.
      loop at screen.
      if screen-name = 'P_TEXT2' or
         screen-name = 'P_TEXT3'.
         screen-input = 0.
      elseif screen-name = 'P_TEXT1'.
         screen-input = 1.
      endif.
      modify screen.
      endloop.
    elseif p_r2 = 'X'.
    clear: p_r1, p_r3.
      loop at screen.
      if screen-name = 'P_TEXT1' or
         screen-name = 'P_TEXT3'.
         screen-input = 0.
      elseif screen-name = 'P_TEXT2'.
         screen-input = 1.
      endif.
      modify screen.
      endloop.
    elseif p_r3 = 'X'.
      clear: p_r1, p_r2.
      loop at screen.
      if screen-name = 'P_TEXT1' or
         screen-name = 'p_TEXT2'.
         screen-input = 0.
      elseif screen-name = 'P_TEXT3'.
      screen-input = 1.
      endif.
      modify screen.
      endloop.
    endif.

  • Best way to align text with checkboxes/radio buttons?

    Is there a better way to align text and checkboxes/radio
    buttons than using
    tables with vertically-centered cells?
    Reason being, well... you've all tried putting text next to
    those form
    inputs, right? They don't naturally align.

    Thanks, but nothing there really answers my question. :-(
    Anyone know if there's a better way to align text and
    checkboxes/radio
    buttons than using tables with vertically-centered cells?
    Reason being, well... you've all tried putting text next to
    those form
    inputs, right? They don't naturally align. What is the modern
    solution to
    this problem?
    "Nancy O" <[email protected]> wrote in message
    news:gqlm1f$9te$[email protected]..
    >
    http://www.smashingmagazine.com/2006/11/11/css-based-forms-modern-solutions/

Maybe you are looking for

  • Moving library to external drive

    I am helping a client that has an iMac G4 with OS X 10.4. She has a LOT of photos in her iPhoto Library, around 25000 of them, and she is almost out of space on her internal hard drive. She has a new external drive that I would like to move her iPhot

  • No picture appears in window when importing from HD camcorder.

    I've used iMovie 8 several times, importing from the same camera and for some reason now, when I'm trying to import, the video picture is not showing in the import screen - only on the camera. I've checked all connections and settings, and still no p

  • The IPad gives no signal when a mail or a Phonecall arrives

    I have a problem, there is no ringing when a E mail comes in, where can I altivide ring tones?

  • Printer listener for every print action in any application istalled

    Printer listener for every print action in any application installed in the system

  • Password login

    I have an hp pavilion 533w. Its an old desktop from 2002. There was a user password that was set up years ago that no one in my family can remember. I dont have the disc to restore the computer to factory settings. And ive tried holding f12 during sa