Only checking the one limit of select options

in this query,i am validating the field on the selection screen for the select options.
but its validating only lower value and not the higher value.
please guide me.
SELECT LAND1
       ZREGION1
       FROM ZBWCNTRY
       INTO CORRESPONDING FIELDS OF TABLE IT_ZBWCNTRY UP TO 1000 ROWS
       where zregion1 in s_regn1.
if sy-subrc NE 0.
message e000(zbx).
endif.

Hi ,
try this.
SELECT LAND1
ZREGION1
FROM ZBWCNTRY
INTO CORRESPONDING FIELDS OF TABLE IT_ZBWCNTRY UP TO 1000 ROWS
where zregion1 =  s_regn1-low.
if sy-subrc NE 0.
message e000(zbx).
else.
SELECT LAND1
ZREGION1
FROM ZBWCNTRY
INTO CORRESPONDING FIELDS OF TABLE IT_ZBWCNTRY UP TO 1000 ROWS
where zregion1 = s_regn1-high.
if sy-subrc NE 0.
message e000(zbx).
endif.
endif.
Hope this will help.
Regards,
Rohan.

Similar Messages

  • ABAP WD, Change texts of the standard buttons in select options

    Hi all,
    I need to change the texts (Cancel, Check, Reset and Copy) of the standard buttons in select options (WDR_SELECT_OPTIONS).
    How do i solve this?
    Thanks

    Hello Antonio,
    Just hide the standard buttons and create your own one outside. If it's just regarding some probably missing translation, best is to go add the missing translation using se61.
    Best regards,
    Thomas

  • I want to transfer my music from one computer to another, however a large majority of my songs are already on the new computer, is there a way to transfer only the ones not there? or to see what songs are only on the one computer

    i want to transfer my music from one computer to another, however a large majority of my songs are already on the new computer, is there a way to transfer only the ones not there? or to see what songs are only on the one computer

    Welcome to the Apple Community.
    Homesharing gives you the option of seeing only the content in the shared library, that is not already in your own library.

  • The size of your selected options exceeds the available space

    I am trying to install a brand new full version of Adobe Creative Suite 4 Web Premium.
    I am unable to proceed, as the install options window tells me "The size of your selected options exceeds the available space" with a red exclamation point.
    It says my options require 9.6GB of space.
    I am trying to install on my D Drive, which has 1.1 TB of available space. Yes, that's right, Terrabytes.
    Help!
    System: Intel Core2 Quad Q6600 @2.4 GHz, Windows Vista Ultimate 64 bit SP1, 4 GB RAM, system drive WD Raptor (75GB) and main drive (where I am trying to install CS4) is (6) 500GB seagate SATA hard drives in a 2.5TB RAID 5 array. Motherboard is a Gigabyte GA-P35-DQ6 and video is an Nvidia GEForce 8800GT (512 RAM). RAID controller is onboard the motherboard (Intel ICH8R)

    SOLVED!
    Bob and Peter, you nailed it.
    I had inadequate room on the C drive...I was down to only 5 GB of space.
    I cleaned up the desktop (The wife thinks that is a great place to store everything) and freed up my C drive so it had just over 10 GB of free space, and the red exclamation point went away. It is now happily installing onto my D drive.
    Ian, my C drive (system) is a Western Digital Raptor...10,000 RPM. They are really small (75GB) but really fast so that windows boots up really quick. It is a performance thing. My D is a RAID array for redundancy...as I cannot afford to lose my pictures, videos, and documents, etc. - and I always keep my program installs on D so as to keep the C drive speedy and un-cluttered - plus if and when windows gets corrupted (which it does once every couple of years for some reason), I can re-do it in 5 minutes with an image using Acronis True Image.
    Thanks to all of you for your ideas, and I am glad I got it solved. If any Adobe employees read this...you can at least throw in some nice paper manuals for the software. When software is $1600.00 I'm not real concerned about saving another tree - and you shouldn't be either...I'd rather have some paper manuals for reference when I buy a full retail package. So pump up the packaging please. Thanks!!!!
    Shane

  • How to configure the mac mini to allow the clients to access both partitions...the client will only see the one we are logged into at the server???

    if possible??? how do we configure the mac mini to allow the clients to access both partitions...the client will only see the one we are logged into at the server???

    You have to explicitly share directories on external/secondary volumes.
    Use the Server admin app to configure file sharing, and select which directory/directories on the second drive you want to share, then they'll be available to clients.

  • HT5622 when i try to sign in to my Icloud account i get this message"The Apple ID is valid but not an icloud account" i only have the one ID so how do I get around this please

    when I try to sign in to my Icloud account on my windows PC i get this message"The Apple ID is valid but is not an icloud account" i only have the one apple
    ID so how do I get around this please ??

    note I own no other Apple device I just wanted to use icloud for data storage and Itunes

  • HT204074 Can i use my previous apple ID on my new iPhone ? It's asking for a new ID but i only have the one email address

    Can i use my previous apple ID on my new iPhone ? It's asking for a new ID but i only have the one email address

    Yes. We need more details...exactly what do you mean by "asking for a new ID"? Where do you see this?

  • My husband does not have an itunes account and wants to set one up and we only have the one computer. can you have two separate accounts? We want to set up separate iphones.

    My husband does not have an itunes account and wants to set one up and we only have the one computer. can you have two separate accounts? We want to set up separate iphones.

    How to use multiple iPods, iPads, or iPhones with one computer

  • I have an inetrnet modem and the time capsul one, I need to shutdown the internet modem signal so I only get the one from Time capsul. Does anyone knows how to do that?

    How do I turn off a modem signal so I only get the one from the time capsul?

    What is the make & model of your modem?

  • Check that at least on Selection Options are filled

    I have a program that has four selection options.  The user needs to enter a selection for at least one of the four selection options.  I coded this check in AT SELECTION-SCREEN ON BLOCK xyz.  This does not work because I have to enter at least one value first before I can load multiple values from a text file or the clipboard.
    I only want the code that checks if at least one selection option is populated to execute when I select the EXECUTE button.  How do I do this?
    Thanks.
    Sandy

    HI
    GOOD
    GO THROUGH THIS REPORT
    REPORT ZSUBSCREEN.
    TABLES: USR02,       "Logon data
             SSCRFIELDS.  "FIELDS ON SELECTION SCREENS
    SUBSCREEN 1
    SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-010.
        SELECT-OPTIONS: USERNAME FOR USR02-BNAME.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN END OF SCREEN 100.
    SUBSCREEN 2
    SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-020.
        SELECT-OPTIONS: LASTLOGI FOR USR02-TRDAT.
    SELECTION-SCREEN END OF BLOCK B2.
    SELECTION-SCREEN END OF SCREEN 200.
    SUBSCREEN 3
    SELECTION-SCREEN BEGIN OF SCREEN 300 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-030.
        SELECT-OPTIONS: CLASSTYP FOR USR02-CLASS.
    SELECTION-SCREEN END OF BLOCK B3.
    SELECTION-SCREEN END OF SCREEN 300.
    STANDARD SELECTION SCREEN FOR SCROLLING LEFT AND RIGHT
    SELECTION-SCREEN: FUNCTION KEY 1,
                       FUNCTION KEY 2.
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK SUB FOR 15 LINES,
                       END OF BLOCK SUB.
    START-OF-SELECTION.
         SELECT * FROM USR02 WHERE BNAME IN USERNAME
                               AND ERDAT IN LASTLOGI
                               AND CLASS IN CLASSTYP.
            WRITE: / 'User ', USR02-BNAME,
                     'Last Login Date ', USR02-TRDAT,
                     'Last Login Time ', USR02-LTIME,
                     'CLASS ', USR02-CLASS.
         ENDSELECT.
    END-OF-SELECTION.
    INITIALIZATION.
    SCREEN ICON LEFT AND RIGHT
       SSCRFIELDS-FUNCTXT_01 = '@0D@'.
       SSCRFIELDS-FUNCTXT_02 = '@0E@'.
       SUB-PROG = SY-REPID.
       SUB-DYNNR = 100.
    AT SELECTION-SCREEN.
       CASE SY-DYNNR.
         WHEN 100.
           IF SSCRFIELDS-UCOMM = 'FC01'.
             SUB-DYNNR = 300.
           ELSEIF SSCRFIELDS-UCOMM = 'FC02'.
             SUB-DYNNR = 200.
           ENDIF.
         WHEN 200.
           IF SSCRFIELDS-UCOMM = 'FC01'.
             SUB-DYNNR = 100.
           ELSEIF SSCRFIELDS-UCOMM = 'FC02'.
             SUB-DYNNR = 300.
           ENDIF.
         WHEN 300.
           IF SSCRFIELDS-UCOMM = 'FC01'.
             SUB-DYNNR = 200.
           ELSEIF SSCRFIELDS-UCOMM = 'FC02'.
             SUB-DYNNR = 100.
           ENDIF.
       ENDCASE.
    AND TRY TO IMPLEMENT IN YOUR REPORT
    THANKS
    MRUTYUN

  • Firefox won't open PDF files after I removed older version of PDF-xChange Viewer and installed the lastest version of PDF-xChange Viewer. MS Explorer which I am now force to use works OK. I have checked the Applications window in Tools/Options and it l

    Firefox no longer opens PDF files. Explorer works OK. I have checked the Applications window in the Tools/Options and it says I am using PDF-xChange viewer....It just does not do anything. I get the message in the Download Error window which says...."could not be saved, because you cannot change the contents of that folder. Is the same error which I get when I attempt to open a PDF file on a webpage using the Firefox browser....Explorer works OK so I am now forced to Explorer to read PDF files via a browser.
    == This happened ==
    Every time Firefox opened
    == After removing a old copy of PDF-xChange Viewer and updating to the last version

    The error message suggests that the file (pdf) that you're trying to download cannot be saved in the folder Firefox tries to save it in.
    This can be due to several things - it could be a non-existing folder (could be a problem with the updated application), the hard drive could be too full to store the file (less likely if you can generally surf the net without error messages) or it could contain an error.
    To complicate things a little further, it seems to me that you have (at least) 3 different PDF-handling plugins in Firefox from different programs:
    PDF-XChange Viewer Netscape Gecko Plugin
    Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    Zeon PDF Plugin For Mozilla
    This shouldn't matter too much, thou, as it will most likely simply use either the latest installed or the first one it finds when looking up associations for files of type 'pdf'.
    First, in Tools > Options... > tab General > section File download, select "Save files in" and Browse your way to a (non-writeprotected!) folder on a drive where you're certain there is enough free space - like the Desktop folder to make the files end up on your Windows desktop.
    Second, under Applications as you mention yourself, find all document types related to PDF files, and set these to one of the programs. Check the entire list to be sure there isn't one hiding under one of the other programs' document types (Adobe Acrobat document, PDF X-Change and Zeon).
    Restart Firefox, and try opening a PDF again.
    If it fails once more, try changing the documents again to one of the other programs, like "Use Adobe Acrobat (in Firefox)".
    If it STILL fails, change it to simply "Save file". Then you can simply browse your way to the download folder with Windows Explorer, and doubleclick the PDF file to see which program actually handles PDF files as default on the machine, and if it works properly.
    If Firefox flatly refuses to save the PDF files in a folder which you're certain both exist and has space for the file, some (probably security related) program is most likely interfering with Firefox, preventing it in storing PDF files on the system.

  • No updates on iPhoto and iMovie, says they were purchased on another account; I only have the one.

    I just received my new MacBook Pro 13, and while updating software and installing Office and Acrobat, found that I could not update iMove or iPhoto, because they were purchased under a different account.  I've only ever had one apple ID, and iMovie and iPhoto were, of course, preloaded.  How can I update these two apps?
    Jay

    I just received my new MacBook Pro 13
    With a new Mac, you must first sign into your Mac App Store account and go to the Purchases pane and accept the preinstalled iLife suite of apps as part of the initial setup. Only after you have taken that step can you update those apps.

  • Retriving the vaue given in select options in an internal table.

    Hi all,
    I have a requirement of using & printing the multiple values of country given in Select -options by the user.
    I have given the select -options statement as :
    s_ctry           FOR v_country obligatory.         (for selection screen)
    SO now i want to work on the values (input by user on screen) given either in the multiple selection tab(the arrow option that will come on screen) or in the range option(that too will come on screeen when i give the above statement)
    I will be putting these screen values in a work area and then will append into an internal table like this:                wa_country-country = s_ctry-low.
                                APPEND wa_country TO it_country
    How to retrive these values (values of s_ctry) so that i can work on them.

    HI,
    Go through this documentation ..
    The basic form of the SELECT-OPTIONS statement is as follows:
    SELECT-OPTIONS <seltab> FOR <f>.
    It declares a selection criterion <seltab> that is linked to a field <f> that has already been declared locally in the program. The names of selection criteria are currently restricted to eight characters. Valid data types of <f> include all elementary ABAP types except data type F. You cannot use data type F, references and aggregate types. If you want to use the selection criterion to restrict database selections, it is a good idea to declare <f> with reference to a column of the corresponding database table. It then inherits all of the attributes of the data type already defined in the ABAP Dictionary. In particular, the field help (F1) and the possible entries help (F4) defined for these fields in the Dictionary are available to the user on the selection screen.
    The selection table, which has the same name as the selection criterion, <seltab>, is usually filled by the user on the selection screen or by calling programs. You can also process the selection table like any other internal table in the program.
    REPORT DEMO.
    DATA WA_CARRID TYPE SPFLI-CARRID.
    SELECT-OPTIONS AIRLINE FOR WA_CARRID.
    LOOP AT AIRLINE.
      WRITE: / 'SIGN:',   AIRLINE-SIGN,
               'OPTION:', AIRLINE-OPTION,
               'LOW:',    AIRLINE-LOW,
               'HIGH:',   AIRLINE-HIGH.
    ENDLOOP.

  • Should not select the one prompts when selected the other prompt

    Hi,
    In one of the my requiments i have the following scenario.
    When a value from one prompt is selected it should not allow to select the any value from the previous prompt.
    I have multiple prompts in the Webi Report.
    E.g : when i select a value for the Product Lines prompt it shoud not allow me to select any value from the Product Groups.
    these two Prodult Line and Product groups are the two prompts in my reports.  
    How can this requirement can be implemented in BO XI R3 version.
    Need help on this?
    Regards,
    Kishore.

    Hi,
    thank you for the suggestion however new functionalities and improvement suggestions can be submitted at [https://ideas.sap.com] where users can vote for the idea. If you post the link to your idea here there are more chances that other people can see and vote it
    Thanks!
    Best regards,
    Simone

  • I have multiple groups in the cloud. I check the one I want but the next time I go to my contacts all the groups are checked. how do I stop this from happening?

    I have multiple groups in the cloud. I have checked the group I want to use. the next time I go to my contacts they are all checked, how can I stop this?

    Are they coming from one forum (e.g. this one, 'iTunes Store'), or from just one thread ? If one community then what shows at the top right of the screen under the Notifications box for the forum - if it says 'stop email notifications' then click on it.
    Stopping emails from these forums : https://discussions.apple.com/docs/DOC-3661

Maybe you are looking for

  • Date and Time Stamp

    I am taking pictures with my Pentax K10D (DNG images) that show the progress of an experiment over a period of time. I have not found a way to imprint this information on the image with the camera (I know that the information is contained in the imag

  • Align more than one element in same line in a selection screen

    I have to align more than one element in same line in a selection screen. It is possible with the following code. now the problem is i need space between these elements. how can i achieve it? SELECTION-SCREEN BEGIN OF LINE.   SELECTION-SCREEN COMMENT

  • Best workflow for FCP 7 HVX200 or XHA1?

    I know these are older technologies but if you could get a great deal on an Canon XHA1 or HVX200 with 16gb card for roughly the same price (1500 for Canon, 1600 for Panasonic) what would you pull the trigger on? I need a camera to take on the road to

  • SQL Tuning. (union all)

    Hi, I am working in Oracle 10g R2 /RAC - Solaris I have sql which is getting executed more than 1million times during peak hours. +++++++++++++++++++ SQL Statement +++++++++++++++++++ select location_id -- (,longitude, latitude) from ph_location pl w

  • M65-S9063 will not start up. message at bottom: press (F2) or (F12) for boot service

    Then computer goes to black screen with: Intel UNDI, PXE-2,0 (build 082) Copyright (C) 1997-2000 Intel Corporation For Realtek RTL8139(X)/8130/810X PCI Fast Ethernet Controller v2.13 (020326) PXE-E61: Media test failer, check cable PXE-M0F: Exiting P