CHECK SELECT-OPTIONS not allowed in ECC6.0

HI,
Obsolete Statement 4.7 version and Ecc 6.0 Version,
CHECK SELECT-OPTIONS not allowed
The construct SELECT-OPTIONS in the statement CHECK is not allowed in ABAP Objects.
Error message in ABAP Objects if the following syntax is used:
CHECK SELECT-OPTIONS.
Correct syntax:
CHECK f IN seltab.
Reason:
This form of the statement CHECK is intended only for use during the event GET during execution of type-1-programs with logical databases. The statement checks whether the content of the work area, which was filled by the logical database for the current GET event, meets the conditions in all the selection tables that are connected with the database table read. The name of the database table is taken statically from the next higher GET statement in the ABAP program. Thus the statement does not make sense outside of an GET event block. However, the previous event concept of the ABAP runtime environment, that is, the previous way of processing logical databases, is not supported by ABAP Objects.
I want the simple example program for Correct syntax .Can any one send me with example program and pinpoint information of the statement.
Regards,
venkat
Moderator message: please search for available information.
Edited by: Thomas Zloch on Jan 8, 2011 10:32 AM

Hey i have the same issue with this FM
Did u find any solution to this..?
plz help me ... urgent..!!

Similar Messages

  • I accidentally selected "do note allow" Pages access to my photos. Now I can't insert photos. Message says go to settings and select Privacy - but there is no such option in the Settings. Help!

    I accidentally selected "do note allow" Pages access to my photos. Now I can't insert photos. Message says go to settings and select Privacy - but there is no such option in the Settings. Help! I want to be able to insert images in documents I create in the Pages app.

    Ok - I figured it out myself as soon as I posted this question. I went to my IPad settings - not the Settings in the Pages app. Problem fixed.

  • Alternative for "check select-options" for select query.

    hi all,
    my report is using a "GET" syntax, followed by "check select-options".
    My senior told me to replace the Get syntax with select query.
    Now, my program also has dynamic selection screen.
    the dynamic selection screen almost has all the fields of database table.
    so, what is the way to replace this check select-options while applying select query?
    can you tell me how dynamic selection screen fields are populated? are they stored in some internal table?
    thanks for help.

    HI
    Here is some points about LDB.
    Logical databases are special ABAP programs that retrieve data and make it available to application programs. The most common use of logical databases is still to read data from database tables by linking them to executable ABAP programs.
    However, from Release 4.5A, it has also been possible to call logical databases using the function module LDB_PROCESS. This allows you to call several logical databases from any ABAP program, nested in any way. It is also possible to call a logical database more than once in a program, if it has been programmed to allow this. This is particularly useful for programs with type 1.
    Logical databases contain Open SQL statements that read data from the database. You do not therefore need to use SQL in your own programs. The logical database reads the program, stores them in the program if necessary, and then passes them line by line to the application program or the function module LDB_PROCESS using an interface work area
    For further on LDB's refer to this link.
    [http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm]
    Hope this will help.
    Reward if helpful.
    Sumit Agarwal

  • No "Check selected" option in Aperture???

    I know that , for import into Aperture, one can either chose to "check all", "uncheck all", or check individual images, and then hit "import checked"
    It is of course also possible, to select a number of images, and drag them into aperture, BUT, now there is an "import checked" option, Why can I not find a "check selected" option??
    Say that I have a card with 500 images, and I only want to import 300, in order to use the "import checked" option, I would have either: to check all 300 images individually, or "check all", and thereafter uncheck the 200 I do not want to import, also  - individually!!
    Is it just me who cannot find the command, or is there indeed no "Check selected" option in Aperture???

    Glad you found what you needed.
    The information is on this page in the User Manual, found by searching for "import checked"
    Importing from Your Digital Camera or Card Reader
    (Link)
    The text on that page:
    You can also Shift-click adjacent images and Command-click nonadjacent images, and then select the checkbox for one of the images. Selecting a single checkbox selects the checkboxes for all of the selected images.
    The User Manual is good.  It should be the first resource you consult.
    --KIrby

  • SQL*Loader-971: parallel load option not allowed when loading lob columns

    Hi,
    I am trying to load a table, which has a VARRAY column, using DIRECT=TRUE and PARALLEL=TRUE through
    Sql *Loader 10.2.0.4.0
    OS: Sun Solaris 10 SPARC 64-bit,
    Database: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    The following error recieved:
    SQL*Loader-971: parallel load option not allowed when loading lob columns
    Please help me to resolve..
    Thanks and regrds
    Anji

    user8836881 wrote:
    Hi,
    I am trying to load a table, which has a VARRAY column, using DIRECT=TRUE and PARALLEL=TRUE through
    Sql *Loader 10.2.0.4.0
    OS: Sun Solaris 10 SPARC 64-bit,
    Database: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    The following error recieved:
    SQL*Loader-971: parallel load option not allowed when loading lob columns
    Please help me to resolve..
    Thanks and regrds
    Anjihttp://tinyurl.com/yhxdhnt

  • I have the latest version of photoshop cc . Why is the focus select option not available ? (for selecting the in focus area)a)

    I have the latest version of photoshop cc. Why is the focus selection option not available ?

    Use CC 2014 menu Help>System Info... use its copy option and paste the info here.  So we know your running CC 2014 not CC and that you have an enabled GPU....and latest device drivers.

  • HT201493 How do you change the settings for find my friends to use my contacts. When I signed in I selected do not allow iPhone to use my contacts and now all the names are in e mail format.

    When I opened the app I selected do not allow, to use my contacts, but now realise I should have allowed it. I have uninstalled and reloaded it, but it will not ask me to use my contacts again. Any ideas as now I see e mail names and not just the persons name.

    If you go to Settings > Notes > Default Account you will see "On My iPhone" as the default account and the only choice if you have not enabled syncing Notes in Settings >iCloud or Settings > Mail, Contacts, Calendars. If you have enabled syncing you can still select "On My iPhone" as the default account. When you are in the Notes app you won't see any accounts listed if you have not enabled syncing because they are all in the On My iPhone account and that is the only place possible. It is not a folder that you create.

  • HR payee type selection is not allowed in production mode

    Hi All,
    Does anyone has clue with this error 'HR payee type selection is not allowed in production mode processing" when i'm creating third party remittance evaluation run (new) PC00_m99_URME. I'm selecting Garnishment &  child support payee from drop down as i want to post my garnishment amount through 3PR.
    Any response would be needful.
    Thanks,
    KMM

    SAP runs 3rd party remittance eval for a given payroll area / pay period as a whole (i.e. regardless of payee types) when this is run in production mode (i.e. only allows this fields to have values if you run in test mode). Therefore, when run in prod mode, this selection field should not have any values.

  • Check select-options in selection-screen

    I have two select-options in a selection-screen s_vbeln and p_ebeln with intervals & with extensions. Now i have to check whether values in  high or in low are valid or not? I have written the following code to check the validity of the values.
    AT SELECTION-SCREEN ON s_vbeln.
      IF SY-UCOMM EQ 'ONLI' .
        IF NOT s_vbeln[] IS INITIAL.
          LOOP AT s_vbeln.
            SELECT SINGLE VBELN
                        FROM VBAK
                        INTO gs_vbeln
                       WHERE VBELN EQ s_vbeln-LOW.
            IF SY-SUBRC <> 0.
              MESSAGE E398(00) WITH 'Invalid Sales Order Number!!'.
            ENDIF.
            SELECT SINGLE VBELN
                         FROM VBAK
                        INTO gs_vbeln
                       WHERE VBELN EQ s_vbeln-HIGH.
            IF SY-SUBRC <> 0.
              MESSAGE E398(00) WITH 'Invalid Sales Order Number!!'.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDIF.
    The similar is with p_ebeln which is a field of ekko table.And vbeln is a field of vbak table. if gurus can post the code
    for the same.
    Regards,
    Priya

    Hi Shweta,
    select-options are represented as internal tables in the system. If the user extends the select-option and enters a couple of values, they should be checked all. So the code should be a little bit enhanced.
    To have the cursor positioned a the field with the error, you may use event
    AT SELECTION-SCREEN ON s_vbeln.
      PERFORM check_s_vbeln.
    *&      Form  CHECK_S_VBELN
    FORM check_s_vbeln .
      LOOP AT s_vbeln.
        IF s_vbeln-low IS NOT INITIAL.
          SELECT count(*) FROM vbak WHERE vbeln = s_vbeln-low.
            IF sy-subrc <> 0.
              MESSAGE e001(vb) WITH s_vbeln-low.
    *   Sales document & does not exist
            ENDIF.
          ENDIF.
          IF s_vbeln-high IS NOT INITIAL.
            SELECT count(*) FROM vbak WHERE vbeln = s_vbeln-high.
              IF sy-subrc <> 0.
                MESSAGE e001(vb) WITH s_vbeln-high.
    *   Sales document & does not exist
              ENDIF.
            ENDIF.
          ENDLOOP.
        ENDFORM.                    " CHECK_S_VBELN
    Kind regards,
    Clemens

  • Result in SELECT-OPTIONS not valid

    Hi, I wrote the next statment about SELECT-OPTIONS..but for example if the selection criterio S_HKONT is initial..this is don´t have a value...all the result are true when I compare..
    I wrote:
    SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS:   S_BUDAT        FOR  EKBE-BUDAT OBLIGATORY,    "Posting Date in the Document
                      S_HKONT        FOR  BSEG-HKONT.
    SELECTION-SCREEN END OF BLOCK 1.
    When I wrote:
      SELECT BUKRS BELNR GJAHR KOART SHKZG BUZEI DMBTR
        WRBTR PSWBT PSWSL SAKNR HKONT LIFNR WERKS MENGE EBELN EBELP
        INTO CORRESPONDING FIELDS OF FILTER_BSEG
        FROM BSEG
        WHERE BELNR = A1
          AND GJAHR = A2.
          AND HKONT IN S_HKONT.
          APPEND FILTER_BSEG.
      ENDSELECT
    The result are many rows behind S_HKONT don´t have results..this mean..is initial..
    Or If I compare:  
          IF FILTER_BSEG-HKONT IN S_HKONT.
               Sentence...
          ENDIF.
    all the sentence that be in inside of IF are made..
    Only when S_HKONT has a value... the condition is evaluated ok.
    I hope that someone can help me.
    Thank you

    Hi Alicia...I see that you finally understand about reward points...coz you assign me some points -:) Thanx -:)
    Yes...I speak spanish, it's my mother language...But you know...We can't speak spanish here... -;)
    Of course you can write me to my personnal e-mail...But i actually prefer to answer in the forums, coz here at work, i just can access my mail -:(
    This is the link to my business card, you can check my e-mail in there -:)
    <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=nkxegtflwze%3d">blag's Business Card</a>
    If i undestand what you're saying...You actually need to delete HKONT initial records only if the SELECTION-SCREEN is initial, right??? If so...You need to use the DELETE code. Or maybe you only need to get record if the SELECT-OPTION is not initial...
    So...AFAIK you can do this...
    IF NOT MY_FILTER[] IS INITIAL.
    SELECT *
    INTO MY_TABLE
    FROM SOME_TABLE
    WHERE SOME_FIELD IN MY_FILTER.
    ENDIF.
    Now, you only select record if MY_FILTER got some value on it.
    Hope this helps you -:)
    Greetings,
    Blag.

  • Selection Tool not allowing me to move shapes

    I need your help.
    The Selection Tool is not allowing me to move shapes.  It allows me to Resize them by the achor points, but won't let me move them.
    Any suggestions?
    I use Adobe Illustrator CS5 for Mac OSX.
    Thanks!

    Try nudging with the up/down arrow keys. Does that work? Does a Move command (Cmd+Shift+M) work?
    If so, could it be that Object Selection by Path Only is checked in Selection & Anchor Display prefs? If so, uncheck it.

  • Check select-options parametr value

    hi,
    i want to check if select-option parameter value is '002' then execute some code, how can i do that .
    thanks in advance,
    ramakrishna buddala.
    Moderator Message: Not enough search done. Thread locked.
    Edited by: Suhas Saha on Oct 20, 2011 3:15 PM

    Hi
    Perform the validation in AT Selection-screen on field event.If validation is not succes then give error message.
    AT selection-screen on <Fieldname>.
    if fieldname-low <> '002'.
       message '<Message Text>' type 'E'.
    endif.
    Regards.
    Raghu.

  • Text element assigned to select options not showing

    Hi guys,
    We have a problem in shaowing the text assigned to the select-options...
    When we run the program the text element ssigned to the select options is not showing instead the element name is shown.
    The original language is german, and it wont show the english word we appended to as text element for select-options.
    example:
    AUART insteat od blocked order
    How can we show the text elemen when we run the program?
    Thanks!

    Hi Mark,
    Go to the program text elements and select the Selection Texts tab,
    There you fill find the select option for AUART and the corresponding text maintained.
    You need to maintain translations for this text entered.
    Chose Goto (in menu bar) -> Translation
    Then maintain translation in English.
    Regards,
    Aditya

  • SQD3 select options not fetching all the data?

    Hi abapers,
    standard SDQ3 tcode is not fetching all the data?
    In this standard t.code how to find that for different Select-options, different data retrieval queries have been written?
    where to find the select options conditions are written?
    thans in advance

    This could be an issue as ROWTERMINATOR and FIELDTERMINATOR are not well placed.
    Use FORMAT FILE while using BULK INSERT.

  • Value help for select-option not filling selection field

    I'm having some problems with a value help on a select-option. I've managed to get the value help displaying the correct values but for some reason can't get it to populate the selection field after I've selected a record.
    I have the following call:
      wd_this->m_handler->add_selection_field(
                          i_id = 'SHORT_D'
                          i_description = 'Program'
                          it_result = lt_range_table
                          i_read_only = read_only
                          i_value_help_type = IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_SEARCHHELP
                          i_value_help_id = 'ZPROGSTUDY' ).
    where ZPROGSTUDY is a new search help I've set up with an exit to retrieve the values.
    Any ideas ? Thanks.

    Hi Malcolm,
    The code you have is OK. I copied your code into a test program and it worked as expected.
    I used a search help where the possible values are populated in the search help exit, exactly as in your case. The only time it did not work was when read_only = X, but that is obvious also from a visual point of view since the input field is greyed out in that case. The popup also tells you is in RO mode...
    Does your SHLP work when you test it from SE11? Returns values?
    SAP provides a lot of WD4A sample code, see for example component WDR_TEST_SELECT_OPTIONS look for
    select-option fields > special cases > input helps > Non field-specific input help using search help
    Regards,
    George

Maybe you are looking for

  • Stored procedures in PV database

    I want to create PL/SQL stored procedures in Primavera database(Oracle 8.1.7) using JDBC ODBC bridge driver which further uses system dsn PrimaveraSDK_PE(Installed by standard Primavera client). Whenever i try creating it, i get an error message sayi

  • My Mac pro Autofill icon comes on but not functional?

    How can I get AutoFill towork on Mac pro?

  • Hi this is related to the 'INTERANL ORDER UPDATE'

    Hi, we ahve BAPI for creating internal order BAPI_INTERNALORDER_CREATE, my question is what is the FM or BAPI to UPDATE INTERNALORDER.

  • Ipod touch doesn't open itunes automatically

    My wife and I are both noticing that when we plug our iTouches into our Snow Leopard OS computers that iTunes does not automatically open up. This is something that has only happened during the past week after upgrading the iOS/iTunes softwares. We n

  • "Hard coding" args in main?

    Hi! How do you "hard code" args in the main class? public class monitor {    String [] argv = "smtp.comcast.net","modernmovies","blackbox","[email protected]","10000"; What I have here doesnt work  :  ) Thanks!   public static void main(String [] arg