Dumping at the select because of the IN operator

Types:  BEGIN OF t_rsml,
         rsml  TYPE eban-zzrsmlind,
       END   OF t_rsml.
DATA: r_rsml TYPE RANGE OF t_rsml,
      wa_rsml LIKE LINE OF r_rsml.
  IF p_rsml EQ 'Y'.
    wa_rsml-sign   = 'I'.
    wa_rsml-option = 'EQ'.
    wa_rsml-low    = 'X'.
    APPEND wa_rsml TO r_rsml.
    CLEAR: wa_rsml.
  ELSEIF p_rsml EQ 'N'.
    wa_rsml-sign   = 'I'.
    wa_rsml-option = 'EQ'.
    wa_rsml-low    = ' '.
    APPEND wa_rsml TO r_rsml.
    CLEAR: wa_rsml.
  ELSEIF p_rsml EQ 'B'.
    wa_rsml-sign   = 'I'.
    wa_rsml-option = 'EQ'.
    wa_rsml-low    = ' '.
    APPEND wa_rsml TO r_rsml.
    CLEAR: wa_rsml.
    wa_rsml-sign   = 'I'.
    wa_rsml-option = 'EQ'.
    wa_rsml-low    = 'X'.
    APPEND wa_rsml TO r_rsml.
    CLEAR: wa_rsml.
  ENDIF.
  SELECT banfn
         bnfpo
         ekgrp
         txz01
         matkl
         menge
         meins
         badat
         frgdt
         preis
         lifnr
         bsmng
         zzattind
         zzcoind
         zzppoind
         zzrsmlind
         zzmm_reqstat
         FROM eban
         INTO TABLE i_item
        WHERE loekz        NE 'X'        " Deletion Indicator
          AND ekgrp        IN s_ekgrp    " Purchasing Group
          AND frgdt        IN s_frgdt    " release date
          AND ebakz        EQ ' '        " PR Closed Indicator
          AND memory       EQ ' '        " PR Incomplete Indicator
          AND ( banpr      EQ '02'       " 02 = Active
          OR    banpr      EQ '05' )     " 05 = Release Completed
          AND zzrsmlind    IN r_rsml     " RSML Indicator
          AND zzmm_reqstat IN s_prstat.  " PR Status
What could be the reasons.
Thanks,
Kiran

Hi Kiran,
<li>Instead of below declaration,
Types: BEGIN OF t_rsml,
rsml TYPE eban-zzrsmlind,
END OF t_rsml.
DATA: r_rsml  TYPE RANGE OF t_rsml,
      wa_rsml LIKE LINE OF r_rsml.
<li>Use below declaration
DATA: R_RSML TYPE RANGE OF EBAN-ZZRSMLIND,
      WA_RSML LIKE LINE OF R_RSML.
<li>I tried to replicate the same.Check the error one.
DATA: SPFLI_WA TYPE SPFLI.
TYPES:BEGIN OF T_CARRID,
        CARRID TYPE SPFLI-CARRID,
      END OF T_CARRID.
DATA: R_CARRID TYPE RANGE OF T_CARRID,
      R_CARRID_LINE LIKE LINE OF R_CARRID.
R_CARRID_LINE-SIGN   = 'I'.
R_CARRID_LINE-OPTION = 'EQ'.
R_CARRID_LINE-LOW    = ''.
APPEND R_CARRID_LINE TO R_CARRID.
R_CARRID_LINE-SIGN   = 'I'.
R_CARRID_LINE-OPTION = 'EQ'.
R_CARRID_LINE-LOW    = 'AA'.
APPEND R_CARRID_LINE TO R_CARRID.
SELECT  *
       FROM SPFLI
       INTO SPFLI_WA
       WHERE CARRID IN R_CARRID.
  WRITE / SPFLI_WA-CARRID.
ENDSELECT
<li>Corrected one
REPORT  ZTEST_NOTEPAD.
DATA: SPFLI_WA TYPE SPFLI.
DATA: R_CARRID TYPE RANGE OF SPFLI-CARRID,
      R_CARRID_LINE LIKE LINE OF R_CARRID.
R_CARRID_LINE-SIGN   = 'I'.
R_CARRID_LINE-OPTION = 'EQ'.
R_CARRID_LINE-LOW    = ''.
APPEND R_CARRID_LINE TO R_CARRID.
R_CARRID_LINE-SIGN   = 'I'.
R_CARRID_LINE-OPTION = 'EQ'.
R_CARRID_LINE-LOW    = 'AA'.
APPEND R_CARRID_LINE TO R_CARRID.
SELECT  *
       FROM SPFLI
       INTO SPFLI_WA
       WHERE CARRID IN R_CARRID.
  WRITE / SPFLI_WA-CARRID.
ENDSELECT.
Thanks
Venkat.O

Similar Messages

  • Please give this awsome app more  by providing  features:: 1. thumbnails for pages ,2.  ability to annotaions( highlighter and underliner) to remain enabled once selected ( because many times it  becomes hectic to select again and again the same annotaion

    please give this awsome app more  by providing  features::
    1. thumbnails for pages ,
    2.  ability to annotaions( highlighter and underliner) to remain enabled once selected ( because many times it  becomes hectic to select again and again the same annotaion when selecting multiple words in a single page).
    thanks .. hope this will be soon adapted with

    please give this awsome app more  by providing  features::
    1. thumbnails for pages ,
    2.  ability to annotaions( highlighter and underliner) to remain enabled once selected ( because many times it  becomes hectic to select again and again the same annotaion when selecting multiple words in a single page).
    thanks .. hope this will be soon adapted with

  • Could not make a new layer from the selection because the selected area is empty

    I have Photoshop CS5 and I'm trying to do a selection on a new layer and when I copy it this message appears: "could not make a new layer from the selection because the selected area is empty"..
    The new layer is selected, no other layer is selected. What the hell am I doing wrong???....Yes I'm a beginner.. ....please help?

    Hi There,
    So just to clarify you have made a new blank layer, made a selection on that layer and then done a Layer > New > Layer via Copy (or cmd J).
    The reason that you would get this error message is you have made a selection on a blank layer (effectively selecting nothing) and tried to duplicate it and Photoshop won't let you do that.
    When doing New Layer via Copy or New Layer via cut you selection needs to include some painted (coloured) pixels.
    Regards
    Paul
    PS. Maybe you could explain what you are trying to achieve by copying the layer and I could help a little more.

  • Dump in the transaction J2I6 in ECC 6.0

    Dear all,
    I am getting a dump in the transaction J2I6 when i select the radiobutton RG23D and then give the excise group,start date and enddate.When I select the radiobutton Excel Format ,it throws a dump as follows:-
    Packed field contains incorrect BCD format.
    Error anakysis says that ''An arithmatic operation in the current program J_2IRG23 attemps to process a field of type P that contains an invalid BCD format.
    What can i do?plz help

    Hi,
    There are some OSS notes related to your problem.
    Pls check the OSS NOte 1096189. It may resolve your problem. Other related notes are 1155341.
    Please check which one is relevant to your system.
    Regrads,
    Lokesh./
    Edited by: Lokesh Tarey on Apr 22, 2010 3:24 PM

  • Can I dump out the data point of a curve in the equalizer?

    Hi all,
    After using the equalizer, I would like to dump out the data point of the following curve. Is there any method to dump out the data points?
    Thanks a lot for your kindly help.
    Leo

    leo_chan wrote:
    I am sorry that I didn't state clear about my questions, My "dump out" mean to get the amplitude of the curve at different frequency. (say, 120 points / decade from 100 to 10000Hz)
    No, there is no way of doing that from any of the filter plugins - they don't calculate like that internally, so there would be no easy mechanism for doing this. Even if you looked at the preset data, you'd only find the setup conditions for each filter band, not the total responses. The only place you can do anything like this is the Frequency Analysis window. Because this does an FFT of the entire waveform, the data is available - hence the 'copy to clipboard' option.

  • The requested operation could not be performed because OLE DB provider "MSOLAP" for linked server does not support the required transaction interface.

    I am getting the following error when attempting to INSERT the results of an "EXEC(@MDXQuery) at SSAS LinkedServer":
    The requested operation could not be performed because OLE DB provider "MSOLAP" for linked server does not support the required transaction interface.
    Here is code that illustrates what I am doing:
    DECLARE @MDX varchar(max);
    SET @MDX='
    SELECT
    [Measures].[Extended Service Count]
    } ON COLUMNS,
    NON EMPTY [Organization].[By Manufacturer].[Manufacturer]
    ON ROWS
    FROM (
    SELECT
    {[Organization].[Org Tree].&[2025],[Organization].[Org Tree].&[2040]} ON 0
    FROM [MyCube]
    /* Test 1 */
    EXECUTE(@MDX) at SSASLinkedServer;
    /* Test 2 */
    DECLARE @ResultsB TABLE (
    Manufacturer varchar(255)
    , ExtendedServiceCount float
    INSERT INTO @ResultsB (Manufacturer, ExtendedServiceCount) EXECUTE(@MDX) at SSASLinkedServer;
    Test 1 succeeds, returning expected results, and Test 2 fails returning the error mentioned above.
    Other articles I've found so far don't seem to apply to my case.  I am not creating any explicit transactions in my code.   When I use OPENQUERY, I am able to do the insert just fine, but not when I use EXEC @MDX at LinkedServer.
    Unfortunately in some variations of the query, I run into the 8800 character limit on OPENQUERY, so I need to use this other approach.
    Any ideas?
    -Tab Alleman

    Hi Tab,
    In this case, SQL Server Analysis Services doesn’t support Distributed Transactions by design. Here is a similar thread about this issue for your reference, please see:
    http://social.technet.microsoft.com/Forums/en-US/8b07be45-01b6-49d4-b773-9f441c0e44c9/olaplinked-server-error-msolap-for-linked-server-olaplinked-server-does-not-support-the?forum=sqlanalysisservices
    One workaround is that use SQLCMD to execute the EXEC AT command and saved the results to a file, then import using SSIS.
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

  • Firefox crashes but the dump has been uploaded, how can I get the dump(Not the raw dump in bugzilla )?

    I meet a problem that firefox happens to crash, but i can not get the dump because it has been uploaded?
    Is there any way I can get the dump(Not the raw dump)?

    This problem is not a pop-up. First of all the problem did not start until Yahoo changed their set up for ads in Yahoo Games.
    Once it did start, the ads do not "pop-up", it is a vertical bar that is there all the time. You cannot get rid of it.
    By the same token, it is not a Yahoo Problem since the problem does not exist using another server.
    Yahoo says it has to do with some add-ons or plug-ins in Firefox that is causing the problem.
    As you can see by the screen picture, one third of the game screen has a vertical ad area. I want to get rid of it.

  • I currently have the Mac OS X v10.5.8 and want to get the new operating system but I don't know how to do it. I don't have the Mac App Store and can't get it because of my version. What do I do?

    I currently have the Mac OS X v10.5.8 and want to get the new operating system but I don't know how to do it. I don't have the Mac App Store and can't get it because of my version. What do I do?

    The Early 2006 model 1,1 Core Duo can only run a maximum of 10.6 Snow Leopard. The models Late 2006 Core 2 Duos 2,1 through Early 2008 4,1 can only run a maximum of 10.7 Lion. The Late 2008 model 5,1 Aluminum Unibody through the Mid 2010 White Unibody model 7,1 can run 10.8 Mountain Lion.
    To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info. When System Profiler comes up check the Model Identifier and post it back here.
    The Snow Leopard 10.6 DVD should still be available from Apple for $20. You will have to call Apple Customer Care 1-800-692-7753 or 1-800-676-2775 to purchase it. It may still be in the Legacy Products list.
    If they no longer have any in stock you will have to buy it from eBay or Apple resellers that still have stock. But you will have to pay a premium since the DVDs are no longer being made. Snow Leopard DVDs are already up to $100 on Amazon.
    http://www.ebay.com/sch/i.html?_nkw=10.6+snow+leopard&_sacat=0&_odkw=mac+os+10.6 &_osacat=0
    Once you are at 10.6.8 Lion is still available from Apple. You will have to call Apple Customer Care 1-800-692-7753 or 1-800-676-2775. to purchase it. Then within 3 days you will get an email with a code which you can use to download Lion from the App Store.  The price is still $29. You must have at least a model 2,1 MacBook.
    Lion will require at least 2gb of RAM but really needs 4gb to run smoothly.
    As for third party programs see this list for compatibility with 10.7 http://roaringapps.com/apps:table
    Also Lion doesn't run any Power PC programs. To see if you have any Power PC programs go to the Apple in the upper left corner and select About This Mac, then click on More Info. When System Profiler comes up select Applications under Software. Then look under Kind to see if any of your applications are listed as Power PC. Universal and Intel will run under Lion.
    Before Mac switched to Intel processors in 2006 they used Power PC processors from 1994 to 2005. Power PC 601 through 604, G3, G4 and G5. Applications written for the Power PC processors need the application called Rosetta to run on Intel processors. This was part of the Operating System in 10.4 and 10.5 but was an optional install in 10.6. With 10.7 Lion Apple dropped all support for Power PC applications.

  • Frequent dumps with the message "LOAD_PROGRAM_LOST"

    Hi,
    I  get frequent dumps in an SRM development server SRM.
    u201CLOAD_PROGRAM_LOSTu201D is the dump.
    The error analysis says this
    While the program was running, the program "CL_O24AZ2T4VNGKGGI9LRCNKSPN8DNCP"  had to be reloaded because a bottleneck pushed it out of the local program buffer. However, the database was found to contain an already changed program.
    I thought it to be problem with program buffer.When I checked the parameters,the current value of the parameter u201Cabap/buffersizeu201D is 500MB and the available free space is 1MB.
    If I increase the value, would my problem be resolved?Or would there be any other dependent parameters that I should take care.Please help.
    Thanks in advance.
    Regards,
    Sudheer.

    Hi,
    if you are using ORACLE, try to consuder increasing sga_max_size and db_cache_size
    to set this parameter you must consider your physical memory is available.
    i have experienced in the top three largest consumer goods mfg and distributor, which have huge database size and high database growth, with large number of user, currently running 400 MB in abap_buffer_size but seems running well.
    hope it help you
    rgds,
    Alfonsus Guritno

  • OVS - getting dump with the message Subnode/attribute INPUT already exists

    Hi All,
    I am using OVS for the field Shopping cart number.whenever i click on F4 help, icon i am getting the dump with the following message  'Subnode or attribute INPUT already exists ' .. Any idea / clue regarding this dump.please advise me.
    Thanks & Regards,
    Lakshmi.

    Also check this link:-
    Regarding select options
    It also talks about the same problem.

  • Short Dump when the Bex-Report scheduled for Broadcast

    Hi Guru's
    I am getting the short dump when I am scheduling the Bex-Report for Broadcasting. Need your help to reslove this issue.
    Thanks
    Navin
    Note
    The following error text was processed in the system BDV : The current application triggered a termination with a short dump.
    The error occurred on the application server spdbwd01_BDV_05 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Form: INTERNAL_ERROR of program SAPLSDCL
    Form: PHIO_GET_CONTENT_ACCESS of program SAPLSDCI
    Function: SDOK_PHIO_GET_CONTENT_ACCESS of program SAPLSDCI
    Function: SKWF_PHIO_CONTENT_ACCESS_GET of program SAPLSKWF_CONTENT
    Method: COPY_MIME_TO_FOLDER of program CL_RSRA_KWF_UTILITIES=========CP
    Method: GET_STYLESHEET of program CL_RSRA_KWF_TMPL==============CP
    Method: CONSTRUCTOR of program CL_RSRA_KWF_TMPL==============CP
    Method: SET_TEMPLATE_FOLDER of program CL_RSRA_ENGINE_BC=============CP
    Method: CONSTRUCTOR of program CL_RSRA_ENGINE_BC=============CP
    Method: EXECUTE_SINGLE of program CL_RSRA_JOB===================CP

    HI Navin,
    Check the short dump analysis in T-code ST22.
    and also check the Information Broadcast Settings / Configuration
    Check the error for Emails in t-code SCOT. BASIS Consultants will help you on this issue.
    Regards
    Daya Sagar

  • The share operation "master file" has failed. the operation could not be completed because an error occurred creating Frame 93164 (error-1). how can i find the frame?

    The share operation "master file" has failed. the operation could not be completed because an error occurred creating Frame 93164 (error-1). how can i find the frame?

    https://discussions.apple.com/thread/6219522

  • After upgrading the new operating system, it seems some useful features no longer work such as when typing a message the text anticipates the next word and when trying to delete individual messages from a contact, you can no longer tap and hold to select

    After upgrading the new operating system on my Droid Razr M it seems some useful features no longer work such as when typing a message the text anticipates the next word and when trying to delete individual messages from a contact, you can no longer tap and hold to select multiple message you have to delete them individually or the entire thread. Is there a way to get these back?

    Well, that's kind of embarrassing. And I honestly thought I paid attention to that... It works perfectly now, thank you so much!
    As expected, cdm-git also works fine since DMs only work in the root mode as of now.
    Just for the record, both type commands output "/usr/bin/startx" and pacman -Q gives "systemd 215-4".
    Last edited by looki (2014-08-23 13:04:49)

  • The problem is with the new operating system  and sending photo via email when used in my iPad.   From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow.

    The problem is with the new operating system  and sending photo via email when used in my iPad.
    From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow. This is solved by saving the email as a draft and opening the email again from mail.
    Can you amend he system to allow emails to be sent from photo as previously.

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"

  • The detection of short dump in the Solution Manager

    Hi,
    In my project, Batch are processing  every night  In the CRM system.
    IF any error was occurred, alert email will be sent by the system,  however,
    when the "short dump" was occurred  unexpectedly,the system can't detect it and email was not able to be sent.
    Therefore I want to detect the "short dump"  in the "Solution Manager".
    Who can tell me that Is there any standard service/function which can handle this in the "Solution Manager" ?
    regards
    Takahiro

    Hi,
    Please check below URL and notes, hope it helps.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/2c/abb2e7ff6311d194c000a0c93033f7/content.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/05c80724d63836e10000000a42189b/frameset.htm
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e3eeb4a8-0b01-0010-bd99-f4a700a49d32?quicklink=index&overridelayout=true
    note 553953
    note 784752
    Regards,
    Deepanshu

  • When I plug in my panasonic videocamera iMovie doesn't recognize the videocamera (iPhoto does). I did the same operations several times in the past, I don't understand because is not working anymore...please

    I don't understand why iPhoto recognize the pictrures in the videocamera and iMovie doesn't recognize the videos and the videocamera.
    I see all the pictures taken in iPhoto but I can't see any video in iMovie because I don't see the videocamera in iMovie.
    I did the same operation several times in the past and always worked it out, with USB connection, I've tryed to restart the computer, to turn on and off the camera, to change cable, to change MAC: always the same problem!
    Please is anybody so kind to help me ? Thank you!

    hi dlpmaster!
    So, when it updates the program is working but then it sort of freezes. Then unfreezes and then again..
    hmmm. what antivirus applications are you using?
    as an experiment, does the freezing behavior still occur if you disable the antivirus prior to plugging your ipod in?
    love, b

Maybe you are looking for

  • Safari will not open, quit unexpectedly

    I cannot open Safari anymore. It will open to apple.com for about 1 second and then quit unexpectedly. Using Firefox now, but would like to know why safari is not working. I have already installed all of the available software updates. Here is the er

  • Is my system DV7t-3300, or DV7t Quad Edition? And how to add more memory to it?

    Dear forum, I have an old notebook computer bought back in March 2010. It's a DV7t series. As it's getting slowly, I'm thinking of adding more memory. However, I'm not sure how much memory the motherboard can support for the upgrade. I'm stuck with t

  • AR Aging - Need to change 7 bucket to 5 bucket - Report Builder

    Is there anyone out there who might be able to help me? We've recently implemented Oracle Applications 11.5.10 and I have to use report builder to change the Accounts Receiveable Aging (7 bucket) to a 5 bucket report. I'm not a big Oracle Reports guy

  • Problem with file permissions using Snow Lepord

    I'm having problems with file Sharing & Permissions using Snow Lepord. When I save any new file it only has 'Read & Write' privileges for the user, everyone else is 'read only' or 'no access'. We have a Netgear NAS Server which is accessed by other u

  • Failed bios update on Z87-GD65 gaming, now what?

    I need a bit help with getting my Bios A up and running again. I just tried the latest beta bios. Never had any issues with these. Downloaded to an USB stick, switched to bios, updated, the computer reset by it self and it installed the ME stuff and