Please, help. I have a simpple problem with selects and appends

Hi experts,
I want to append the data from pi_temp to pi_inter in every LOOP.
What I have to do? Thanks a lot !!!! thank u!
CODE:
FORM get_interconsultes_data  TABLES pi_inter STRUCTURE zbw_interconsultes.
DATA: pi_temp LIKE TABLE OF zbw_interconsultes.
SELECT ZISH_POS_INTER~FALNR
    INTO table i_inter
    FROM ZISH_POS_INTER
  where ( ( ZISH_POS_INTER~DATA_CREACIO IN rg_erdat )
  OR ( ZISH_POS_INTER~DATA_RESPOSTA IN rg_updat ) ).
DELETE ADJACENT DUPLICATEs FROM i_inter.
loop at i_inter.
  SELECT *
    INTO CORRESPONDING FIELDS OF TABLE pi_temp
    FROM ( ZISH_CAP_INTER LEFT OUTER JOIN ZISH_POS_INTER
      ON ZISH_CAP_INTEREINRI = ZISH_POS_INTEREINRI
      AND   ZISH_CAP_INTERPATNR = ZISH_POS_INTERPATNR
     AND ZISH_CAP_INTERFALNR = ZISH_POS_INTERFALNR
     AND  ZISH_CAP_INTERSERVEI_PETI = ZISH_POS_INTERSERVEI_PETI
     AND  ZISH_CAP_INTERER_PETI = ZISH_POS_INTERER_PETI
     AND  ZISH_CAP_INTERSERVEI_REALIT = ZISH_POS_INTERSERVEI_REALIT
    AND  ZISH_CAP_INTERER_REALIT = ZISH_POS_INTERER_REALIT
     AND  ZISH_CAP_INTERDATA_CREACIO = ZISH_POS_INTERDATA_CREACIO
    AND  ZISH_CAP_INTERHORA_CREACIO = ZISH_POS_INTERHORA_CREACIO )
    where ZISH_CAP_INTER~FALNR = i_inter-episodi.
*MOVE-CORRESPONDING pi_temp to pi_inter.?????????????????
endloop.

DATA: pi_temp LIKE TABLE OF zbw_interconsultes.
data: ls_temp like line of pi_temp.
data: ls_inter like line of pi_inter.
loop at i_inter.
SELECT *
INTO CORRESPONDING FIELDS OF TABLE pi_temp
FROM ( ZISH_CAP_INTER LEFT OUTER JOIN ZISH_POS_INTER
ON ZISH_CAP_INTER~EINRI = ZISH_POS_INTER~EINRI
AND ZISH_CAP_INTER~PATNR = ZISH_POS_INTER~PATNR
AND ZISH_CAP_INTER~FALNR = ZISH_POS_INTER~FALNR
AND ZISH_CAP_INTER~SERVEI_PETI = ZISH_POS_INTER~SERVEI_PETI
AND ZISH_CAP_INTER~ER_PETI = ZISH_POS_INTER~ER_PETI
AND ZISH_CAP_INTER~SERVEI_REALIT = ZISH_POS_INTER~SERVEI_REALIT
AND ZISH_CAP_INTER~ER_REALIT = ZISH_POS_INTER~ER_REALIT
AND ZISH_CAP_INTER~DATA_CREACIO = ZISH_POS_INTER~DATA_CREACIO
AND ZISH_CAP_INTER~HORA_CREACIO = ZISH_POS_INTER~HORA_CREACIO )
where ZISH_CAP_INTER~FALNR = i_inter-episodi.
* Loop PI_TEMP in to work aread(LS_TEMP) move to other work area(LS_INTER)
* and append workarea(LS_INTER) to table PI_INTER
  loop at pi_temp into ls_temp.
    MOVE-CORRESPONDING ls_temp to ls_inter.
    append ls_inter to pi_inter.
  endloop.
endloop.
Hope this helps.
Regards,
Rich Heilman

Similar Messages

  • Can anyone please help me, I'm having problems with sound while watching video clips using flash player using Internet Explorer\

    Can anyone please help me, I'm having problems with sound while watching video clips using flash player & Internet Explorer

    There's a good chance that this is a known issue.  We'll have a Flash Player 18 beta later this week that should resolve this at http://www.adobe.com/go/flashplayerbeta/

  • Please help - Can not use stored procedure with CTE and temp table in OLEDB source

    Hi,
       I am going to create a simple package. It has OLEDB source , a Derived transformation and a OLEDB Target database.
    Now, for the OLEDB Source, I have a stored procedure with CTE and there are many temp tables inside it. When I give like EXEC <Procedure name> then I am getting the error like ''The metadata  could not be determined because statement with CTE.......uses
    temp table. 
    Please help me how to resolve this ?

    you write to the temp tables that get created at the time the procedure runs I guess
    Instead do it a staged approach, run Execute SQL to populate them, then pull the data using the source.
    You must set retainsameconnection to TRUE to be able to use the temp tables
    Arthur My Blog

  • Help! Have a serious problem with macbook pro!, please see description!

    so, this must have been about a month ago at the most when it started playing up. basicly, I noticed that A-it has all of a sudden become allot slower than before, B- applications are crashing regularly, this seems to be getting worse and worse, C- i had an incident once or twice where for no reason what so ever the macbook pro simply shut down and restarted for no reason, and with no error message, (though the more recent sudden shut downs give me a message on restart).
    I first investigated the problem when I was playing skyrim, using bootcamp of course to run windows, as I do with many games. After owning the game for about two weeks, and it playing fine, it just crashed and bluescreened all of a sudden without warning, and from that moment on i was unable to play the game since every 5 or so mins in it would crash to desktop or just bluescreen. i thought that this was an error with steam or with the game, and so i looked for help on the steam forum. as i was going through various methods to solve the problem, it seemed that the problem was worsening, since the windows partition begun to bluescreen more often for no reason, and then i noticed that the mac os partition was unexpectedly shutting down for no reason more often aswell, and so i have abandoned my attempts to fix what i thought was an error with windows, and i now believe that it is something more serious. im not so sure what i should do in order to solve this, i know my way around a computer, but im not genius at them, and so i have come to the apple forum seeking help!!
    here i have attatched info that may help, and by the way, it is 64 bit windows 7 that is installed on the bootcamp partition.
    the following message on the bluescreen report makes me think its something to do with the graphics drivers, and so i reinstalled all of the drivers on windows, but this did absolutely nothing unfortunately.  'dxgmms. sys error'

    UPDATE: after verifying and repairing permisions using disk doctor, things seemed to be on the up, but i think this was just hopefull thinking, since it has now got A LOT worse. i can no longer log in to my mac os partition, as soon as i get to the log in page where i type my password in, after typing it in and pressing enter, it will log in for a few seconds and then before i have a chance to do anything, log me out!! this is very very odd indeed!!!

  • I have an Ipod 4th gen. and when you plug it into the wall it is stuck on the charge/lighting bolt screen and it wont charge, and when you plug it into a computer (PC) the lighting screen wont even apear. Please help I have had this problem for forever.

    I have a ipod touch 4th gen and it wont chrage. When you plug it into the wall the lightniing bolt screen will apear but no matter how long you leave it, it will never turn on. Also it the lightning bolt screen wont even come on when you plug it into a computer (PC)..........PLease help its been like this for forever

    Hi Gammer576775!
    Here is an article that will help you troubleshoot this issue with your iPod touch:
    iPod touch: Hardware troubleshooting
    http://support.apple.com/kb/ts2771
    Will not power on, or will not turn on unless connected to power
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Connect the iPod touch to an Apple USB power adapter and let it charge for at least ten minutes.
    After at least 15 minutes, if the display turns on and…
    The home screen appears, the device should be working. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen: . Then disconnect the device from power. If it immediately turns off, seek service.
    The low-battery image appears even after the iPod touch has charged for at least 20 minutes: See the "iPod touch displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or low-battery image appears , continue with this article for further troubleshooting steps.
    If the iPod touch did not turn on, reset it while connected to an Apple USB power adapter. If the display turns on, go to step 4.If the display remains black, go to the next step.
    Restore the device. Connect it to a computer and open iTunes. If iTunes recognizes it and indicates that it is in recovery mode, attempt to restore the iPod touch. If the device doesn't appear in iTunes or if you have difficulties in restoring it, see this article for further assistance.
    If restoring the iPod touch resolved the issue, go to step 4. If restoring it did not solve the issue, seek service.
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • PLEASE HELP!!!! Problem with my Huion H610n drawing tablet!!!

    I recently purchased a drawing tablet which is the Huion H610N its working perfectly however when I opened photoshop cc I tried drawing in a blank canvas and Its not showing anything. I tried using the 'basic brushes' instead of my 'custom brushes' and it lets me draw and I can see it however the sensitivity is not showing when I draw using the 'basic brushes' the lines are just plain BOLD please help! I dont know why its doing this!

    Try accessing the *System Preference* panel, named *Universal Access*;
    then, note the choices within it include Mouse (among other) and click
    on the Mouse section to check and see if _+the slider control+_ to change
    the Size of the *Cursor icon* has been moved over to make it larger.
    You can check/change several settings in Universal Access; also some
    of these have keyboard shortcuts which may be engaged by a user,
    by accident due to random use of a keyboard. Be aware of this, since
    a pattern of changes when children use a computer may repeat; as
    similar keyboard mistakes (or intentional odd results) use similar keys.
    There are symbols representing keys used to engage Universal Access;
    their icons in this control panel area of System Preferences should be-
    come familiar to you, so when/if other odd visuals occur, check here.
    Notice what the 'default' settings are, in the different U.A. panel areas.
    This will help when you find another issue arise; a repeat is likely.
    You may choose to set up a different user account in the Mac then have
    it not allow full access to more than a few basic necessities, for a child.
    +PS: Hello, and welcome to Apple Support Discussion Communities!+
    Good luck & happy computing!
    +{ edited }+

  • When I use Firefox and Hotmail at startup, Firefox freezes for about 1 minute, and then I can continue. First I though it was my computer but 2 other girls in my class have the same problem with Hotmail and Firefox. What can I do to change this?

    When I start Firefox, about 15 seconds after I start it, my Firefox freezes for about 1 minute. I found out that it is my Hotmail that makes Firefox freeze.
    First I thought it was my computer, but I have 2 other girls in my class that use Hotmail and Firefox and their computer also freezes for 1 full minute.
    This is very annoying, what can I do to change this?
    xxx ellen
    p.s. I am from the Netherlands, maybe that has something to do with it?

    Try deleting cookies and cache:
    1. Tools| Clear recent history
    2. Time range to clear: Everything
    3. If it isn't already selected, select '''Cookies''' and '''Cache'''
    4. '''Clear now'''
    '''Check cookie exceptions'''
    1. Tools | Options | Privacy Panel
    2. Set '''Firefox will: Use custom settings for history.''' '''Insure Accept cookies for sites and accept third-party cookies''' is selected
    3. Click '''Exceptions'''. If the misbehaving site is in that list, select it and click '''Remove site'''
    '''Safe Mode'''
    Add-ons can cause problems with not being able to log into certain websites. To see if this is the case with your issue, run [[Safe mode]]. When you get to the safe mode window, select Continue in Safe Mode. If this resolves your problem, see [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    Also see [[Updating Firefox]] and [[Cannot log in to websites]]

  • Please help me resolve the many problems with my airport extreme

    Dear Community,
    My Apple Airport Extreme has never worked properly out of the box and I do not understand why. I must be doing something wrong. It is replacing a series of Linksys products which integrated with several Linux and Windows machines, and they worked flawlessly.
    Problem (1):
    Extreme crashes/reboots every now and then, especially when I try to send a lot of data from one machine to another. I assume that I am sending too much data then, and would like to know how I can slow down my data transmission so as to not hurt the Extreme.
    Problem (2):
    Airport Extreme when restarting either on its own or through the software refuses to let previously connected clients reconnect. The problem is probably because of of Windows XP, Windows Vista, and Linux. This causes major networking issues as each individual machine must have its network layer restarted or be rebooted. So I would like to know what I can do to work around these problems in the operating systems.
    Problem (3):
    Airport Utility after a spontaneous dropping of all connections by the Extreme is unable to find "any base stations within range" (it is connected to the base station by Ethernet). Base station and computer were both power cycled, problem remains. Perhaps my ethernet cable is too long and this has made the base station "out of range?"
    Problem (4):
    Apple claimed that I would be able to use a USB 2.0 disk on the Extreme to do backups. When I plug in the USB disk as advertised, the transfer rate is 12% of its transfer rate when plugged into any other hardware. Please let me know which configuration options I need to set on the disk in order to obtain full data transfer rates that will allow me to back up several networked machines in a reasonable timeframe (i.e. less than 3 days).
    Problem (5):
    Please describe to me how to connect to the router with a web browser. Every other router I have worked with allows me to connect with a web browser, and since the Apple software refuses to connect to the base station I am no longer able to configure it as I do not own a shorter ethernet cable that will bring the base station within range of the computer. Since the apple software does not take any obvious arguments that allow me to specify the IP address of the base station, my only conclusion is that I am supposed to use a web browser which will take an IP address to connect. However, when I do this, I get a "page load error." I am confused, because I was told this is an extreme unit, so I thought it had at least industry standard features, therefore I must be the one doing something wrong.
    Your assistance is much appreciated.

    Problems 1 through 4 are the topic of many (often long) past discussions in this forum. Though I hate to say it, I have yet to see anything that comes close to a "solution" for the problems you describe. Sometimes, Problem #3 results from radio interference which might be alleviated by changing the default channel the base station transmits on.
    Unlike every non-Apple router on the market, Apple's Airport Base Station must be configured using Apple's own "Airport Utility" software application. It is not possible to configure an Airport Base Station using a web browser.
    Regrettably, in your case it sounds like you would be better off continuing to use your previous Linksys wireless router.

  • Please Help... Serious Problems with 3.2.0 patch

    Hi, (sorry for the long post)
    I'm working on a feature length, 5th century, indy film. Many of our scenes have cuts faster than once per second, esp durring the fight/battle seq. We have been editing for over 18 mon - we shot to HDV.
    After updating PPro to the 3.2.0 patch I noticed that many of my 'in points' for edits had been slightly shifted. I found this disturbing note in Knowledge Base doc kb403179:
    "Note: After re-indexing a project created before 3.2.0, it may be necessary to check the In-points of all edits, as there may be a slight offset from the original In-point."
    It is totally impossible for us to go through and shift each edit point as there are thousands. We also have well over 100 camera rolls - recapture isn't a good option.
    Has anyone else encountered this problem, how did you work around it?
    Thanks in advance for your help,
    Chad Burns, Director, pendragonmovie.com

    We shot the video on Canon XHA1s as 1080 30F and captured it into PPro 3.1.1 projects built on the HDV 1080p30 preset. We shot in HD only for the added framing and FX flexibility, the final output will be SD.
    Once the clips were captured and partially edited we created new PPro 3.1.1 projects based on the NTSC-DV Widescreen 48kHz presets. Final editing is done in these SD projects and then we export Microsoft AVI DV files.
    Unfortunately some of our largest projects have begun to exhibit instability during export either crashing Ppro (w or w/o error message), re-starting the computer or hanging. The 3.2 patch gives us smooth export, but ruins the projects otherwise.
    We have 3 PC/Vista editing platforms, all running 7200 rpm SATA drives, Intel duel or quad processors and 2 or 3 GB of ram.
    Please let me know if any other specific info would be helpful.
    Thanks much,
    Chad

  • Please Help !!!! Problem with Date Format in JSP

    Hi all,
    I am getting the following date format
    Sun Jun 05 00:00:00 GMT+05:30 2005
    as output of the below mentioned code:
    <% Date avldt=new Date(ts.parse(dt).getTime());%>
    <% out.println(avldt);%>
    But, I want to get 05-06-2005 instead of the above and then convert it into 2005-06-05 (YYYY-MM-DD) in order to store it into Mysql table as date field.
    Please advice, what should i do for it ?
    Thanks for any help in advance.
    regards,
    savdeep.

    a)To convert Date into String and back use java.util.SimpleDateFormat
    b) To insert a Date in a DB you should try to use preparedStetement this allows you to use the method setDate(java.sql.Date adate) in stead of relying on your own convertion.

  • Please help!!! serious problem with syncing!

    Well basically when I tried to sync my ipod today it said that the ipod did not have sufficent room to import all the music I had checked. Then it came up that itunes was going to create a new playlist and it would only import music from this playlist in the future. When i clicked into it, it only had some of my songs in it so I deleted it and said i would uncheck 5 or 6 new songs instead to make room. But when i re-synced the ipod it wiped my complete ipod and now I have no music on it! Itunes is still fully working and all my music is still there it just won't sync because I deleted that particular playlist.
    Anyone have any idea about this? It will be much appreciated!

    Create a new playlist with songs you want on the iPod.
    Select the iPod in iTunes anc click the Music tab.
    Tick the playlist you just created then sync the iPod.
    Add/remove songs from this playlist to add/remove songs from the iPod.
    Make sure you keep the size of the playlist small enough to fit your iPod.

  • Please help, i have an ipad 2 with

    existing icloud email address that works fine. BUT>>>> my orange email account wont work, any ideas, think i need the correct serial port? not sure ANY help will be VERY grateful, heres hoping.
    (been on the phone to apple any orange loads of times arghh, now at end of my tether! )   am this but want to be this  .

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
     Cheers, Tom

  • I have a big problem with Lion and PGP. After upgrading from snow leopard to lion I cannot access my PGP drive which was generated under snow leopard. PGP does not start but gives a notion that lion cannot work with my PGP version. Solution?

    After upgrading from Snow Leopard to Lion I cannot access a PGP drive which was generated under snow leopard. PGP does not start. When I try to start I just receive a message that Lion cannot work with PGP. How can I now access important and confifential informatio which I have stored in PGP (snow leopard). Do I have to move back to snow leopard. If so, how can I do this? 

    If you have this product,
    http://www.symantec.com/business/support/index?page=content&id=TECH165159
    you have to go back to Snow Leopard.
    To re-install SL, back up your home directory, format and re-install.

  • I have a unique problem with Typekit and Creative Cloud

    I've had CC membership for a few months now and have downloaded it onto first a laptop then a desktop. I'm having trouble on the desktop. When I try to access and download typekit fonts through an application or creative cloud, I'm getting a message come up saying "internet explorer has stopped working" and the typekit website does not open properly. I'm therefore unable to access or browse for fonts. The typekit website does not respond and a message comes up saying so. Using windows 8 I can access internet explorer through the Apps page, and browse fonts that way, but it is frustrating and inconvenient not being able to go direct to the website through an adobe application or through creative cloud. Anyone ideas why? Appreciate any help, thanks.

    Well I downloaded google chrome to my PC which is what I use on my laptop, and it seems to be working. Not sure why Internet explorer wasn't working but so far google chrome is.

  • I have problem with selecting and Copying is some of the applications

    I am using  blackberry passport.  I would like to know how to select text and  copy text from pages of YouVersion Bible.  When I was using blackberry bold 9790 it was simple but now I am using blackbery passport I have failed to know how to perform that task.

    While the content of many books, including the Bible have no copyright, the effort that the developer has gone through to be able to present it in an app could be. Not saying it is, I have encountered apps where I think the developer in advertently turned off features such as resize or copy. 
    Paul
    Torch 9810; PlayBook 64g; iPad1 64g; iPad2 64g; iPhone6 64g Passport
    Provider Bell (tablets all WiFi)

Maybe you are looking for

  • Open order returns

    Hi All, A report is needed for open return orders that do not have a credit memo issued or a goods receipt processed against the delivery The Validation requires       Credit not issued (may be default because of billing block)  orders. can anyone he

  • Applications Installed through task sequence not showing up in Software Center

    In the task sequence we use for our OSD Windows 7 machine build, we have Custom-Install Application steps which install a number of of our Applications.  Each of these Applications has the "Allow this application to be installed from the Install Appl

  • Finding changes in an object

    Hi Gurus, Please let me know how to find out what exact changes has been done on a object in the system. For example, if changes are done in a infopackage or a transformation, how do we know what are the exact changes that are made. Please let me kno

  • LCD fading to black

    Hi all, My first post here wanted to ask if anyone has had the same issue I have a new Macbook Pro less than 1 month old it was fine for the first 3 weeks now I am noticing that to the left of my screen it is darker than my right? it's very strange s

  • Help convert time

    Hi All, I'm trying to convert time in millisecond beginning on Jan. 1, 1970 to MMDDYY HH:MM:SS. GMT Can someone give me some direction? Thanks in advance!