Select is not working!!!!!!!!!!

hi,
my internal table is
data : begin of i_bkpf occurs 0,
         xblnr like bkpf-xblnr,
       end of i_bkpf.
and my select statement is
select xblnr  into table i_bkpf
              from bkpf
              where  blart = p_blart.
loop at i_bkpf.
   write : /  i_bkpf-xblnr.
endloop.
now there is no output for this statement...there is data int he table against blart inthe table..can anyone correct me ...
thankyou..

This code works:
TABLES bkpf.
PARAMETERS p_blart LIKE bkpf-blart DEFAULT 'SA'.
DATA : BEGIN OF i_bkpf OCCURS 0,
xblnr LIKE bkpf-xblnr,
END OF i_bkpf.
SELECT xblnr INTO TABLE i_bkpf
FROM bkpf
WHERE blart = p_blart.
LOOP AT i_bkpf.
  WRITE : / i_bkpf-xblnr.
ENDLOOP.
Rob

Similar Messages

  • Data Services- The job server you selected is not working

    Long Text:
    After logging in to the Data Services designer,when try to run a job it shows error -The job server you selected is not working
    Latest Software version -BODS 4.0 SP2
    Reproduce Steps:
    1. Double click on the Project from repository, it will display the project in Project area.
    2. After that it will display all the jobs under the project.
    3.Right click on the job and try to execute, then it will display the "Execution Properties" windows.
    Here the we can the default Job Server has been selected.
    4. Try to click ok to execute the job and then we get the error-"The job server you selected is not working"

    Hi
    Please contact your Data services administrator to check on the server why the job server is not working.
    There might be several issues like connectivity with the repository, access details , mapping in the management console etc.
    And let us know the exact issue.
    Regards
    Puneet

  • Cascading Select Lists - Not Working for me

    I am trying to implement Denes Kubicek's Ajax Cascading Select List solution.
    http://apex.oracle.com/pls/otn/f?p=31517:119
    But it is not working for me.
    I'm a newbie to APEX and checked the forum for advice on cascading select lists. I saw the thread for
    "Cascading Select Lists - Not Working" posted by sue and the replies by Varad Acharya, but I'm still
    having issues of not seeing the alerts, not able to run the pl/sql process in SQL Workshop, and not
    getting the expected results.
    I have a list of countries (US - USA, CA - CANADA, etc.) and a list of states for each country. When a
    user selects a country I would like to show the list of states within that country.
    This is what I've done so far:
    Defined an application process:
    Process Point: On Demand: Run ... by a page process.
    Name: CASCADING_SELECT_LIST1
    Process Text:
    BEGIN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<select>');
    HTP.prn ('<option value="' || 99 || '">' || '- All States -'
    || '</option>'
    FOR c IN (SELECT state_code || ' - ' || state_desc d, state_code r
    FROM tbk_state
    WHERE country_code = :cascading_selectlist_item_1)
    LOOP
    HTP.prn ('<option value="' || c.r || '">' || c.d || '</option>');
    END LOOP;
    HTP.prn ('</select>');
    END;
    defined and application item:
    Name: CASCADING_SELECTLIST_ITEM_1
    Build Option: - No Build Option -
    Created a 'Form on a table with report' as follows:
    Page 5: Report on TBK_HARDWARE_LOCATION
    Page 6: Form on TBK_HARDWARE_LOCATION
    in HTML Header of the page attributes for 'Form on TBK_HARDWARE_LOCATION' I have:
    <script language="JavaScript" type="text/javascript">
    <!--
    htmldb_delete_message='"DELETE_CONFIRM_MSG"';
    //-->
    </script>
    <script>
    function get_select_list_xml1(pThis,pSelect){
    var l_Return = null;
    var l_Select = html_GetElement(pSelect);
    alert ('Dept no=' + pThis.value);
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=CASCADING_SELECT_LIST1',0);
    get.add('CASCADING_SELECTLIST_ITEM_1',pThis.value);
    gReturn = get.get('XML');
    // gReturn = get.get();
    alert('Enames=' + gReturn);
    if(gReturn && l_Select){
    var l_Count = gReturn.getElementsByTagName("option").length;
    l_Select.length = 0;
    for(var i=0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByTagName("option");
    appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
    l_Opt_Xml.firstChild.nodeValue)
    get = null;
    function appendToSelect(pSelect, pValue, pContent) {
    var l_Opt = document.createElement("option");
    l_Opt.value = pValue;
    if(document.all){
    pSelect.options.add(l_Opt);
    l_Opt.innerText = pContent;
    }else{
    l_Opt.appendChild(document.createTextNode(pContent));
    pSelect.appendChild(l_Opt);
    </script>
    On Page 6: 'Form on TBK_HARDWARE_LOCATION' I have the following items (plus some others):
    Name: P6_COUNTRY_CODE
    Display as: Select List
    HTML Form Element Attributes: onchange="get_select_list_xml1(this,'P6_STATE_CODE');"
    Source Used: Only when current value in session state is null
    Source Type: Database Column
    maintain session state: Per session
    Source value or expression: COUNTRY_CODE
    Named LOV: LIST OF COUNTRIES
    Name: P6_STATE_CODE
    Display as: Select List
    Source Used: Only when current value in session state is null
    Source Type: Database Column
    maintain session state: Per session
    Source value or expression: STATE_CODE
    Named LOV: - Select named LOV -
    List of Values definition:
         select state_code || ' - ' || state_desc d, state_code r
         from tbk_state
         where country_code = :P6_COUNTRY_CODE
         order by 1
    LIST OF COUNTRIES is defined as:
    select country_code || ' - ' || country_desc d, country_code r
    from tbk_country
    order by 1
    Now to the problem:
    I run page 5 (the report) to see the list of locations and then I try to edit a record (page 6). When I
    try to select a different country I get the following error (on IE):
    "Problems with this web page might prevent it from being displayed properly or functioning properly.
    In the future, you can display this message by double-clicking the warning icon displayed in the status
    bar.
    Line: 17
    Char: 5
    Error: Object expected
    Code: 0
    URL: http//cmrac4.cm.timeinc.com:7777/pls/htmldb/f?
    p=114:6:1413254636072443110::::P6_HARDWARE_LOCATION_ID:2
    I don't see any of the alert messages.
    I also tried to run the application process code in the SQL - Command Processor (I replaced
    :cascading_selectlist_item_1 with 'CA' or 'US') and got the following:
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh
    button, or try again later.
    Only one top level element is allowed in an XML document. Error processing resource
    'http://cmrac4.cm.timeinc.com:7777/pls/...
    <select><option value="99">- All States -</option><option value="X1">X1 - X1</option><optio...
    Can someone help me please?

    Varad,
    First, thank you for taking the time to try to help me with this problem.
    When I view the page's source code (here are the first few lines):
    <html lang="en-us">
    <head>
    <script src="/i/javascript/core.js" type="text/javascript"></script>
    <link rel="stylesheet" href="/i/css/core.css" type="text/css" />
    <script language="JavaScript" type="text/javascript">
    <!--
    htmldb_delete_message='Would you like to perform this delete action?';
    //-->
    </script>
    <script>
    function get_select_list_xml1(pThis,pSelect){
    var l_Return = null;
    var l_Select = html_GetElement(pSelect);
    //alert ('Dept no=' + pThis.value);
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=CASCADING_SELECT_LIST1',0);
    get.add('CASCADING_SELECTLIST_ITEM_1',pThis.value);
    gReturn = get.get('XML');
    // gReturn = get.get();
    //alert('Enames=' + gReturn);
    if(gReturn && l_Select){
    var l_Count = gReturn.getElementsByTagName("option").length;
    l_Select.length = 0;
    for(var i=0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByTagName("option");
    appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
    l_Opt_Xml.firstChild.nodeValue);
    get = null;
    function appendToSelect(pSelect, pValue, pContent) {
    var l_Opt = document.createElement("option");
    l_Opt.value = pValue;
    if(document.all){
    pSelect.options.add(l_Opt);
    l_Opt.innerText = pContent;
    }else{
    l_Opt.appendChild(document.createTextNode(pContent));
    pSelect.appendChild(l_Opt);
    </script>
    It looks like line 17 is:
    var l_Select = html_GetElement(pSelect);
    I'm still not sure why I'm getting this error and why it's not working?
    Thanks,
    Eti

  • Select statement not working

    hi to all,
    I am trying to write use inner joining . here is code
    DATA:tabname LIKE dd02L-tabname,
         table_disc LIKE dd02t-ddtext.
      SELECT  dd02ltabname dd02tddtext INTO (tabname,table_disc)
        FROM dd02l INNER JOIN dd02t on dd02ltabname = dd02ttabname
              WHERE dd02tddlanguage = 'E' AND dd02ltabclass = 'TRANSP'
                                AND dd02L~tabname = 'ZANKI*'.
        endselect.
          write : tabname.
    I also checked in tables dd02t and dd02l for the table zanki* and data available in both table . but here select statement not working .do u have any idea about this. thank you

    Hi,
    I executed the ur inner join conditin by commenting 'z*' it's working fine.
    I think  where condition is not getting satisfied so u r not getting any data.
    Please conform in where condition you need * 'AND'* or OR
    I change decalration as below.
    DATA:tabname    type TABNAME,
          table_disc type AS4TEXT.
    SELECT dd02l~tabname
           dd02t~ddtext  INTO (tabname, table_disc)
    FROM dd02l  INNER JOIN dd02t on dd02l~tabname = dd02t~tabname
    WHERE dd02t~ddlanguage = 'E' AND
          dd02l~tabclass = 'TRANSP'AND
        dd02L~tabname = 'ZANKI*'.
    endselect.
    write : tabname.
    Regards,
    Pravin

  • XMLP 5.6.2 - Parameters -  Both Multi-Select and All-Select  Do Not Work

    Both Multi-Select and All-Select Do Not Work.
    What's up with this behavior?
    And when might it be fixed?
    BG...

    The Multi-Select is now working, not sure what I did wrong earlier. However the "Can select all" option when building the parameter does not work as advertised, though I was able to get around that as well.
    Create a Data Model
    select LAST_NAME, FIRST_NAME from SOME_TABLE where SOME_COLUMN =:SOME_VALUE
    OR
    select LAST_NAME, FIRST_NAME from SOME_TABLE where SOME_COLUMN in (:SOME_VALUE)
    Create a LOV
    Name = LOV_SOME_COLUMN
    Type = SQL Query
    select distinct SOME_TABLE.SOME_COLUMN as SOME_COLUMN from SCHEMA.TABLE
    Create a Parameter
    Identifier = PARM_SOME_COLUMN
    Data Type = String
    Default Value = NULL
    Parameter Type = Menu
    Display Label = LOV_SOME_COLUMN
    List Of Value = LOV_SOME_COLUMN
    Option
    Multiple Selection - Checked
    Can select all - Checked
    Refresh other parameters on change - Checked
    Then test your report. Select "All" from the LOV and click view. Result - No Rows Returned.
    Selecting a "Single" or "Multiple Values" values from the LOV does work.
    The way I am getting around the problem is to uncheck the "Can select all" and then manually select all the values in the LOV in order to get the "All".
    BG...

  • I have F.F 3.6 and windows 7.: 1) When i want to buy a airplane ticket and want to select 2 adults or 2 children, the draw down select, does not work in any websides,? WHY?. 2) Have FF any problems with SKYPE

    I have F.F 3.6 and windows 7.: 1) When i want to buy a airplane ticket and want to select 2 adults or 2 children, the draw down select, does not work in any websides,? WHY?. 2) Have FF any problems with SKYPE
    == This happened ==
    Not sure how often
    == After innstalling windows 7

    As a suggestion I'd put the Text_io segments into their own begin - exception - end sub-blocks within the main code. This way if Text_io does raise an exception you can catch it earlier as it may be able to recover - That is if it is a text_io exception.
    Other than that you;ll have to step through in Debug.

  • SELECT * CONNECTION not work

    Hi,
    It is found that SELECT * does not work with CONNECTION. For example, I use the following statement to retrieve data from another system and an error states that SQL error 207 when accessing table 'MARA'. 'Invalid column name  'ANIMAL_ORIGIN''. If columns are specified, data can then be retrieved. The SAP BASIS version is 7.31.
    SELECT SINGLE *
          INTO CORRESPONDING FIELDS OF ls_mara
        FROM MARA
                   CLIENT SPECIFIED
                   CONNECTION ('G01')
    WHERE MANDT = '100'.

    Hi TS,
    You gave the answer already, but look at the HELP:
    To allow the Open SQL command to be run for the secondary database connection, the table definitions in the connection must be the same as those in the standard database.
    Cheers,
    Custodio

  • Text select tool not working properly

    When I use the text select tool, it selects columns, not words in a row, which is what I want. It used to work correctly. I am using Acrobat Pro, version 9.0.0.
    I tried adding the ALT key, with no good result.

    Is it with this specific document o any pdf you work on?
    If it was earlier working fine for you, try repairing Acrobat  by going to 'Help' menu > Repair Acrobat.
    Also make sure you have updated it to the latest patch.
    Regards,
    Ravi.

  • Lead Selection does not work after setting filter for ALV.

    Hi, Can you please suggest on below scenario :
    I have a Node with a sub node in it .
    I am using the supply function on Sub Node to retrieve the date based on Parent Node.
    There are two ALV's to display parent and item data. The issue is when a filter(user defined filter) is done on Parent table, the supply function does not work. The value is that of the selected row before setting the filter. Even after removing the filter, the item data is stuck and does not change on Lead Selection.
    One thing I noticed is if the child table is a table UI, there is no issue. The only problem is when the second table is ALV
    Thanks In Advance

    Hi Prashanthi,
    Your issue can be resolved as below
    Create an event handler method 'set_alv_data'  for the event 'ON_LEAD_SELECT' of parent alv
    Write the below code inside the event handler method
    METHOD set_alv_data.
      DATA lo_node TYPE REF TO if_wd_context_node.
      DATA lv_path TYPE string.
      DATA lv_index TYPE string.
      lv_index = r_param->index.
      CONDENSE lv_index.
      CONCATENATE wd_this->wdctx_my_parent_node
      lv_index
      wd_this->wdctx_my_child_node
      INTO lv_path SEPARATED BY '.'.
      lo_node = wd_context->path_get_node(
          path                          = lv_path
      DATA lo_interface TYPE REF TO iwci_salv_wd_table.
      lo_interface = wd_this->wd_cpifc_alv_child( ). "get the ref of alv comp of child
      lo_interface->set_data(
        EXPORTING
    *    only_if_new_descr =
          r_node_data       = lo_node
    ENDMETHOD.
    The above code sets the data node of child alv based on lead selection of parent alv data.
    Note: Replace 'parent_node', 'child_node'  with your nodes & 'alv_child' with your alv component name of child alv.
    If you want to control the data of child alv on filter function, you can use the event ON_STD_FUNCTION_AFTE and once you define the filter you get the r_param->id = 'SALV_WD_FILTER_DEFINE'  & now you can clear data of child alv.
    Hope this helps you.
    Regards,
    Rama

  • Selections tools not working properly in Photoshop CC 2014

    Just installed Photoshop CC 2014. For some reason I cannot get my quick selection tool and quick mask to work properly. I can make a selection but when I try to make a mask I get all kinds of artifacting going on. I try to use quick select to clean up the artifacting to no avail, in fact I start to get different artifacting in the selection that cannot be removed by the brush tool. HELP. To bad I uninstalled Photoshop CC. Can I reinstall Photoshop CC somehow? Anybody out there with the same problems? The focus area will not work also?

    At this moment, I have tried : Reset the "Adobe Photoshop Settings File" (When you open Photoshop, push "option + command + shift" for Apple).
    Not ok.
    See here.

  • Activate Artboard using selection tool - Not Working in Illustrator CS6

    When using Multiple artboards, typically you just need to click within an existing artboard to activate it as the selected artboard.  For some reason this function is not working for me suddenly.  I can still activate an existing arboard in the artboard panel, but I am working with 40 artboards, and it's much more efficient when it automatically selects the artboard you're working on as the active artboard (for aligning, pasting, etc...).  Does anyone have any idea how to remedy this?
    Thanks!

    Have you tried:
    View > Show edges

  • Select query not working in Dev but working in QA and PRD

    Hi All,
    I have a select query with inner join which is not working in the DEV but working in QA and PRD. Anyone has any idea why is it happening, I think it to be a basis issue. Just want to confirm if anyone has any other idea.
    Thanks in advance,
    Barjinder Singh.

    Hi Barjinder Singh,
    In development you can't find the records for the table.
    In testing system only you can test even the program(report).
    If it is the DEV system you can't get the data.
    Go and see into the table wether it has records or not(in DEV system).
    It doesn't has the records in DEV system.
    Regards,
    Balakrishna.N

  • Middle select button not working correctly?

    I have a nano second generation and the select button in the middle is not working correctly. I have to keep pushing it and pushing it to get it to work and now it's not working at all. Any ideas?

    Try Restoring it. If that doesn't work you need to have it serviced. You can either take it by an Apple Store and make a Genius Bar appointment or send it here:
    http://depot.info.apple.com/ipod/

  • Selection tools not working properly -- Illustrator CS6

    The two selection tools in CS6 Illustrotor not working properly.  They don't select the object when I click and drag a box around them and the handles on drawing path won't stay highlighted when I use the direct selection tool so I can adjust them -- Worked in Illustrator for about 12 years and never had this problem.

    Have you tried:
    View > Show edges

  • IDVD 08 - problem with scene selection tabs not working after "burn"

    I have a movie that is about an hour long (made in iMovie08 using mostly still photos). I wanted to have "chapters" -- but with that option gone, I used the Scene Selection option in iDVD08. This created menus with 15 scene selection buttons (I chose every 4 minutes). The menus were automatically created by iDVD and I did nothing to change them, except to type in scene info (two-three words).
    The buttons all worked fine on the computer, and I burned a DVD. The DVD worked great in my VCR player. I'd select Play Movie and it would go. I'd select Scene Selection and I'd get the menus for that. But when I'd highlight one of the scene selections and "enter" (select) -- it wouldn't go to that scene. I could go back and forth between menus, and could move around and highlight the scene buttons, but selecting would not start the scene to play. The movie played fine from start to finish, and the other remote features worked (stop, pause, menu, etc.).
    I went back to iDVD and chose a different theme (thinking maybe I'd inadvertently done something to mess things up. The only thing I did differently in addition to the new theme, was to add two small movie clips - and I rearranged the buttons on the menu (dragging) to get them positioned where I wanted them. So my first menu says "Play Movie". The second menu has: Play Movie, Scene Selections, Little Movie 1, Little Movie 2. Everything worked greated in iDVD. Then I created a disk image to view using DVD Player (rather than waste another DVD). Same problem -- only worse. This time I couldn't even highlight Scene Selection to get to the scenes' menus.
    Any thoughts on why I'm not able to get the "Scene Selection" buttons to work after a burn? Am I missing a step somewhere in iDVD?
    Thanks.

    I am not sure, but does your post concerning the problem, that all Remote Control function will work properly within iDVD'08 but after burning the DVD absolutely not with the RC of your set top DVD player connected to your TV?
    If this is it:
    Meanwhile I could figure out - after many nights of not been very productive and only working out on all the iDVD'08 problems - that **ALL** of the *7.0 Themes* have a major problem in generally.
    The following points are concerning iDVD'08 using any of the 7.0 Themes:
    - Complete deep freeze of your Mac under Leopard when rendering/coding/burning a movie which has chapters and you use movies instead of still images in drop zones. (LeopardiDVD087.0Themes)
    - Functions on remote control of your set top DVD player are not working correctly when making a movie with chapters. This is generally on Tiger and Leopard the same problem using iDVD08 with any of the 7.0 Themes.
    Quick and dirty workaround:
    You may avoid this if you simply use a 6.0 Theme or lower version of the Themes.
    But this is of course not the clue...
    It is VERY DISAPPOINTING, having software at such a low quality level deliverd by Apple. And somehow it looks like they DO NOTHING against it. No statement, no excuse, they really remain silent.
    This may also be a thread you could be interested in:
    http://discussions.apple.com/thread.jspa?threadID=1203323
    Cheers,
    Roland

  • Select statment not working with variables

    Hi experts,
    Iam trying to select some data using the follwoing code
    with radio buttons r6 & r7.
    If r6 selected,it takes from parameter and
    if r7 selected it takes from select options...
    data: l_datbi type a005-datbi,l_datab type a005-datab.
        if r6 = 'X'.
          l_datbi = pvalid.
          l_datab = pvalid.
        elseif r7 = 'X'.
          l_datab = svalid-low.
          l_datbi = svalid-high.
        endif.
    select vtweg matnr knumh datbi datab                      into corresponding fields of i_itab
                          from A004
                          where kappl eq 'V'
                          and kschl eq pkschl
                          and vkorg eq pvkorg
                          and vtweg in svtweg
                          and matnr in smatnr
                          and datab le l_datab    ####### 
                          and datbi ge l_databi.  #######
    This select statement is not working.
    It is taking only one value at a time.(r6 value or r7value)
    What might be the reason...?
    reward gurarenteed
    maggy

    Hi,
    You are trying to equate your low value with end date and high value with start date..
    The correct logic will be,
    data: l_datbi type a005-datbi,l_datab type a005-datab.
    if r6 = 'X'.
    l_datbi = pvalid.  "Start Date
    l_datab = pvalid.  "End Date
    elseif r7 = 'X'.
    <b>*l_datab = svalid-low. "Wrong</b>
    <b>l_datab = svalid-high. "Right</b>
    <b>*l_datbi = svalid-high.  "Wrong</b>
    <b>l_datbi = svalid-low.  "Right</b>
    endif.
    select vtweg matnr knumh datbi datab into corresponding fields of i_itab
    from A004
    where kappl eq 'V'
    and kschl eq pkschl
    and vkorg eq pvkorg
    and vtweg in svtweg
    and matnr in smatnr
    and datab le l_datab #######   "This also doesnt look
    and datbi ge l_databi. ####### "right to me, please check
    Hope this helps..
    Sri

Maybe you are looking for