Adding CD-ROM of loops to loop browser

Hello Experts,
I have a cd-rom full of orchestra loops that I would like to add to the Loop Browser. I try adding the entire folder, but it freezes after a while. Do I have to add them one by one, so I can classify them in the browser? If not, what else can I do? All help is greatly appreciated.

no matter what, you're going to have to tag them, however using Apple's Loop Utility you might be able to do batches. the url is in this answer:
http://www.bulletsandbones.com/GB/GBFAQ.html#looputility

Similar Messages

  • Adding loops and loops format question

    Hi, i've been facing difficulties adding loops into my GB. My problem is: "Loops do not appear in my loop browser nor the loop list from the silver loop bar above the browser".
    Yes, forgive me for asking this repeated question but after checking the help tutorial, my personal GB guide books, and even HangTime's FAQ, sadly, i still dont find any answers.
    Generally, the procedure is pretty simple from all the sources i've read. Simply drag the folder or loops into the browser and thats DONE right? I did exactly what it said but sigh...maybe there's something wrong with my Macbook?
    For your information, all the loops that i've been adding are loops from CDs coupled with FutureMusic and ComputerMusic magazines, so i believe the sources are pretty reliable i hope.
    As i was struggling to add the loops, this msg popped up for the first time; "Loops that are not in Apple format will not be added into GB"
    So, is the loop format the main cause of my problem?
    if yes, is there any way to convert the format? what is the procedure?
    ps: My current status is, some loops i added are in my browser while some dont although they exist in User/Library/Audio/AppleLoops/UserLoops.
    Thank you in advance.
    Peace

    So, is the loop format the main cause of my problem?
    likely.
    if yes, is there any way to convert the format? what is the procedure?
    apple's loop utility:
    http://www.bulletsandbones.com/GB/GBFAQ.html#looputility
    also note:
    http://www.bulletsandbones.com/GB/GBFAQ.html#missingloops

  • Root Loop, Time/Date Browse and DAQmx Watchdog

    I've just run into the issue where the time/date browse calendar control blocks execution of my system.  See here for discussion about this problem.
    I've got a data aquisition loop running that uses the DAQmx watchdog, and opening that browse window is causing my watchdog to starve, thus causing my application to shut down.  Curiously, when I open drop down menus, as Jack illustrates in the aforementioned thread, I do not see the same behavior.  It's not really clear to me what is causing it to block, but the dropdowns don't.
    I'm wondering if anyone has any further explanations, or suggestions for workarounds. 
    Tim Elsey
    LabVIEW 2010, 2012
    Certified LabVIEW Architect
    Solved!
    Go to Solution.

    One solution I did in the past to solve this was to create my own Data/Time dialog in LabVIEW and hide the native button and add a normal button to the front panel which invoked this dialog. Since that makes the dialog a normal VI the root loop problem is not present with that. There is a VI in resource/dialog/picktime.vi that looks like the dialog used in the date/time picker but it isn't since making changes to this VI won't appear in the native dialog. LabVIEW seems to use an internal C implemented dialog which is the root cause of the root loop being blocked since the dialog message handler is running in the same thread as the root loop.
    Creating a copy of this VI in your own project and adding it through your own custom time browse button should solve the problem.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Loops not in browser

    Trying to load loops into loop browser, garageband says " loops not in garageband format will not be displayed in browser' - this has not happened before.
    aiff files were shown, how to get browser to show aiff loops?
    thanks.
    4bs.

    Hangtime,
    this is all a bit much for me; GB on my laptop (G4 PB ) accepts these loops, and GB on my PB is currently running as should. The problem occured when I copied the song over to my mates G5, so I could ( supposedly ) enjoy the benefits of G5 power and speed. All that happened was a series of errors as the copied song ( which still opens ok on the PB ) such as not finding files etc; From here things got worse as I tried to reload loops and at first it all worked, then loops not recognised, and then finally, loops will not show in browser.
    I have a copy of the song bsck on my PB and it loads runs and sees loops just fine; plus, all the loops load into GB and are seen.
    End state is that I have a prope running GB with all loops on my PB, but my mate now has a non working GB on his G5
    4bs.

  • Double / Triple copies of loops in loop browser.

    This is probably really common occurance, but I haven't been able to find a thread on it here.
    I have multiple copies of certain, but not all loops listed in the loop browser, when i use the loop browser search function.
    If I just list the loops by category, or by instrument, they appear singularly. However, if I search for a loop, i get multiple copies listed.
    Reindexing does not help.
    Note:
    I have checked the loop locations:
    / home / library / audio / apple loops /user loops/ (loop folder)
    and
    / home library / audio / apple loops / user loops / single files /
    and
    / root library / audio / apple loops / single files /
    There is only one copy of the loops in question among all of those locations.
    Any ideas?

    I would do the following:
    Trash the content of home/library/audio/apple loops index/ and the same in the root library. Restart the computer and then manually drag and drop your apple loops folders (default locations are in root and home libraries, audio folders) on the loops area in Logic arrange window. Perhaps this helps??? And if it doesn't, it means you have your loops doubled, I belive...
    Message was edited by: samplaire

  • Help needed in making a Recursive loop( loops into loops)

    Hi i have a situation, i need to make loop into loop into loop....undecided loop.
    i have a object list which are parent.........eg.
    i query to get my 1st list is A, B and C....i loop it to display in table
    while looping i query A to get its child AA, AB, and AC, i loop it in table..
    while looping i query AA to get its child AAA, AAB and AAC...
    i have to check for the child till it has child level donw level...but i dont know how can i make a dynamic loop...i cant write a loop it for 15 to 20 .
    Is there any way to make a recursive loop so tht it checks for child into child.
    thanks

    my code is such......
    Corres[] objCorresBean = correspondence.getCorrespondence(objectId);
    for (int i = 0; i < objCorresBean.length; i++) {
    CorrespondenceBean corresBean = objCorresBean;
    String parent_object_id = corresBean.getObjectId();
    childCorresBean = correspondence.getChildCorrespondence
    (parent_object_id);
    for (int j = 0; j < childCorresBean.length; j++) {
    CorrespondenceBean childBean = childCorresBean[j];
    String child_object_id = childBean.getChildObjectId();
    may be child_object_id have some childrens.......i want to make it recursive

  • IPhone: Using embedded QT movies that either Loop or Loop Back and Forth

    Hi to everyone,
    I'm working on a very simple iPhone app:
    it has several buttons that launch different QuickTime movies embedded in the application, that will either Loop or Loop Back and Forth.
    The desired looping behaviour is already set within QuickTime itself (those settings are available in QuickTime's View menu).
    So far it doesn't seem to work, as the iPhone's SDK doesn't seem to recognize these QuickTime settings of Loop or Loop Back and Forth.
    I've been trying to find advanced documentation on the matter, with no luck.
    Does anyone knows if it's possible to create an iPhone application that has embedded QuickTime movies that either Loop or Loop Back and Forth?
    If it is possible to do so, can you please post some code (or links) explaining how to proceed?
    If the feature is not currently supported, does anyone knows if it will eventually be supported by Apple (maybe in a future SDK revision)?
    While I don't know the entire context the SDK engineering team has to contend with, it seems to me it should be rather simple for Apple's iPhone SDK to simply accept the settings already put in place inside a QuickTime movie.
    Many thanks in advance for any feedback on this!

    Well, my programmers have come back to me and the news is not good.
    The QTMovieLoopsAttribute is not supported in the SDK's QT Kit.
    I'll now call it SDK's *QuickTime Kit Lite*, if you don't mind.
    *QuickTime Kit Lite*, the key audio/video toolbox available for development of applications on the iPhone through the SDK, provides a single option:
    a Play / Stop button.
    The only other thing available (I think) is the option to hide the play/stop controller. That's it.
    Apparently, there are several unofficial, private frameworks that give access to lower-level QuickTime functions and that may provide a way to actually loop videos, but chances are that an app using these unofficial frameworks would get rejected by Apple upon submission for the store.
    I'm still waiting for more info and the final word from my programmers, but from the looks of it, this is going to be a show-stopper shortcoming of QT Kit Lite, as far as my project is concerned.
    I'm probably going to have to fold my project and wait (hope) for an eventual upgrade to the SDK's QT Kit.
    By the way, does anyone knows if there is a way to communicate with Apple and request new features for inclusion in future revisions of the SDK?
    Upgrading the QuickTime Kit librairies to include the video Loop and Loop Back and Forth Attributes would be my first (and only) request.
    many thanks to all!

  • Performance issue with Loop under Loop

    Hi,
    I have an issue with the performance, as per the requirement I have to use the Loop under Loop logic.
    I have sorted the Where condition field in Parent Loop and also in Child Loop like below :
    SELECT GUID_PRCTSC   "Primary Key as GUID in "RAW" Format
             GUID_PR       "Primary Key as GUID in "RAW" Format
             STCTS         "Numbering Scheme for Customs Tariff System
             DATAB         "Definitive Date (Valid-From Time)
             GUID_CTSNUMC  "Primary Key as GUID in "RAW" Format
             FROM /SAPSLL/PRCTSC
             INTO TABLE T_PRCTSC
             WHERE STCTS IN S_STCTS.
      IF T_PRCTSC IS INITIAL.
        MESSAGE : I007(ZMSSG) WITH 'Data not available for this entry'.
        STOP.
      ENDIF.
    SORT T_PRCTSC BY GUID_PR.
      SELECT GUID_PRGEN  "Primary Key as GUID in "RAW" Format "+  DG1K902277
             GUID_PR     "Primary Key as GUID in "RAW" Format
             ATTR05A     "Materail Type
             ATTR05B     "Sub-Family
             ATTR05C     "SPEC BUS + DG1K902190
             ATTR10A     "Materail Group
             ATTR20A     "SUBSTANCE ID
             FROM /SAPSLL/PRGEN
             INTO TABLE T_PRGEN
             FOR ALL ENTRIES IN T_TCOATV20
             WHERE ATTR20A EQ T_TCOATV20-ATTRV20
               AND ATTR05A IN S_ATR5A " +DG1K902168
               AND ATTR05C IN S_ATR5C. " + DG1K902190
      IF T_PRGEN IS INITIAL.
        MESSAGE : I007(ZMSSG) WITH 'Data not available for this entry'.
        STOP.
      ENDIF.
    *N-23
    SORT T_PRGEN BY GUID_PR.
    There are 90,000 records available in the table T_PRGEN.
    LOOP AT T_PRGEN INTO WA_PRGEN.
        IF SY-SUBRC = 0.
           WA_FINAL-ATTR05A       = WA_PRGEN-ATTR05A.
           WA_FINAL-ATTR05B       = WA_PRGEN-ATTR05B.
           WA_FINAL-ATTR05C       = WA_PRGEN-ATTR05C. " + DG1K902190
           WA_FINAL-ATTR10A       = WA_PRGEN-ATTR10A.
           WA_FINAL-ATTR20A       = WA_PRGEN-ATTR20A.
        ENDIF.
        READ TABLE T_V_TCAV201 INTO WA_V_TCAV201 WITH KEY ATTRV20 = WA_PRGEN-ATTR20A.
        IF SY-SUBRC = 0.
          WA_FINAL-TEXT1   = WA_V_TCAV201-TEXT1.    "SUBID-TEXT1
        ENDIF.
        READ TABLE T_PNTPR INTO WA_PNTPR WITH KEY GUID_PR = WA_PRGEN-GUID_PR.
        IF SY-SUBRC = 0.
           WA_FINAL-PRVSY  = WA_PNTPR-PRVSY.   "PROD NO
           WA_FINAL-GRVSY  = WA_PNTPR-GRVSY.   "LOGICAL SYS GROUP
        ENDIF.
    * TO Remove the Leading Zeros from prvsy
        SHIFT WA_FINAL-PRVSY LEFT DELETING LEADING '0'.
        READ TABLE T_CORSTA INTO WA_CORSTA WITH KEY GUID_MOBJ = WA_PNTPR-GUID_PR.
        IF SY-SUBRC = 0.
          WA_FINAL-QUAL_STA  = WA_CORSTA-QUAL_STA.
        ENDIF.
        READ TABLE T_PR INTO WA_PR WITH KEY GUID_PR = WA_PNTPR-GUID_PR.
    *& IN THE PROD MASTER PRODUCT CHANGED ON VALUE HAS BEEN   &
    *& MAINTAINED AS SINGLE '0', THIS WILL CAUSE ISSUES WHILE &
    *&  USING CONVERSION EXIT TO DISPLAY THE DATE FORMAT IN   &
    *&  MM/DD/YYYY HH:MM:SEC                                  &
        IF SY-SUBRC = 0.
          IF WA_PR-CHTSP = '0'.
            WA_FINAL-CRTSP   = WA_PR-CRTSP.
            wa_final-chtsp   = W_DATE.
          ENDIF.
          IF WA_PR-CHTSP NE '0'.
            WA_FINAL-CRTSP   = WA_PR-CRTSP.
            wa_final-chtsp   = WA_PR-CHTSP.
          ENDIF.
        ENDIF.
        READ TABLE T_PRT INTO WA_PRT WITH KEY GUID_PR = WA_PR-GUID_PR.
        IF SY-SUBRC = 0.
          WA_FINAL-PRTXT   = WA_PRT-PRTXT.
        ENDIF.
    LOOP AT T_PRCTSC INTO WA_PRCTSC WHERE GUID_PR = WA_PRGEN-GUID_PR. "+DG1K902258  - Performance issue
            IF SY-SUBRC = 0.
    *& TO FILL ATTR20A,PRVSY FOR DIFF STCTS AND CCNGN FOR     |
    *&  EACH LOOP                                             |
              IF WA_FINAL-ATTR20A  IS INITIAL
              AND  WA_FINAL-PRVSY IS INITIAL.
                IF WA_PRGEN-GUID_PR = WA_PNTPR-GUID_PR. "This condition is to fill up all the rows for the same
                                                        " Subid which have multiple stcts fields.
               IF SY-SUBRC = 0.
                  WA_FINAL-ATTR05A       = WA_PRGEN-ATTR05A.
                  WA_FINAL-ATTR05B       = WA_PRGEN-ATTR05B.
                  WA_FINAL-ATTR05C       = WA_PRGEN-ATTR05C. " + DG1K902190
                  WA_FINAL-ATTR10A       = WA_PRGEN-ATTR10A.
                  WA_FINAL-ATTR20A       = WA_PRGEN-ATTR20A.
                 ENDIF.
                  IF SY-SUBRC = 0.
                    WA_FINAL-TEXT1   = WA_V_TCAV201-TEXT1.    "SUBID-TEXT1
                  ENDIF.
                  IF SY-SUBRC = 0.
                    WA_FINAL-PRVSY  = WA_PNTPR-PRVSY.   "PROD NO
                    WA_FINAL-GRVSY  = WA_PNTPR-GRVSY.   "LOGICAL SYS GROUP
                  ENDIF.
    * TO Remove the Leading Zeros from prvsy
                  SHIFT WA_FINAL-PRVSY LEFT DELETING LEADING '0'.
                  IF SY-SUBRC = 0.
                    WA_FINAL-QUAL_STA  = WA_CORSTA-QUAL_STA.
                  ENDIF.
                  IF SY-SUBRC = 0.
                    IF WA_PR-CHTSP = '0'.
                      WA_FINAL-CRTSP   = WA_PR-CRTSP.
                      WA_final-chtsp   = W_DATE.
                    ENDIF.
                    IF WA_PR-CHTSP NE '0'.
                      WA_FINAL-CRTSP   = WA_PR-CRTSP.
                      WA_final-chtsp   = WA_PR-CHTSP.
                    ENDIF.
                  ENDIF.
                  IF SY-SUBRC = 0.
                    WA_FINAL-PRTXT   = WA_PRT-PRTXT.
                  ENDIF.
                ENDIF.
              ENDIF.
          IF SY-SUBRC = 0. " + DG1K902198
                WA_FINAL-GUID_PR      = WA_PRCTSC-GUID_PR.
                WA_FINAL-STCTS        = WA_PRCTSC-STCTS.
                WA_FINAL-DATAB        = WA_PRCTSC-DATAB.       " + DG1K902198
              ENDIF.
             READ TABLE T_CTSNUMC INTO WA_CTSNUMC WITH KEY GUID_CTSNUMC = WA_PRCTSC-GUID_CTSNUMC.
              IF SY-SUBRC = 0.
                WA_FINAL-CCNGN        = WA_CTSNUMC-CCNGN.
              ENDIF.
              APPEND WA_FINAL TO T_FINAL.
              CLEAR WA_FINAL.
            ENDIF.
        ENDLOOP.
        APPEND WA_FINAL TO T_FINAL.
        CLEAR WA_FINAL.
      ENDLOOP.
    Any suggestions to improve the performance will be appreciated!
    Thanks & Regards,
    Kittu
    Edited by: Kittu on Mar 23, 2009 4:03 PM

    Hi
    Instead of using the LOOP under LOOP directly. use the read statement for second loop and from that index u start the loop.
    eg:
    LOOP AT ITAB1.
    read table itab2 with key field1 = itab1 - field1.
    if sy-subrc = 0.
    loop at itab2 index sy-tabix.
    if  itab2-field1 = itab1 - field1.
    < do u  r operations >
    else.
      exit.
    endif.
    ENDLOOP.
    this will increase the performance

  • Loop Inside loop, time out error.

    Pls look into the below code, In this im looping inside a loop.
    Im looping thru the internal table( say 2000 records ) which has data from a select query, inside this loop  i need to calculate the total of output qty which is available in the another VIEW/TABLE which might return 10 records in each  iteration of the inner loop.
    This process takes huge time to process also gives out runtime out error.
    pls help.
    LOOP AT itablnpln INTO walnpln.
    contot = 0.
    This particular query loop takes large time to process
    SELECT distinct * INTO CORRESPONDING FIELDS OF TABLE itablnp
    FROM zvprdconf where aufnr = walnpln-aufnr and
    j_3asize = walnpln-j_3akordx and stzhl eq ' ' and stokz ne 'X'.
    IF sy-subrc EQ 0.
    *Earlier i used this looping.
    *loop at itablnp into walnp.
    contot = contot + walnp-J_3ALMNGA.
    move walnp-J_3ASIZE to walnpln-J_3ASIZE.
    endloop.
    *Currently tried with the following,
    LOOP AT itablnp ASSIGNING <fs_itablnp>.
    contot = contot + <fs_itablnp>-J_3ALMNGA.
    move <fs_itablnp>-J_3ASIZE to walnpln-J_3ASIZE.
    ENDLOOP.
    walnpln-output = contot.
    move zvprdconf-isdd to walnpln-zdate.
    move zvprdconf-isdz to walnpln-ztime.
    endif.
    ENDLOOP.
    regs,
    Raja

    Dear Naresh,
    Even after changing the code as below, i m getting the same error.pls help.
    IF SY-SUBRC = 0.
       SORT ITABLNPLN.
       DELETE ADJACENT DUPLICATE FROM ITABLNPLN COMPARING ALL FIELDS.
    ENDIF.
    pls find the complete code as below.
    code]
    *& Report  SAPMZLINEPLANRPT
    INCLUDE ZLPR_TOP.
    *Event AT Selection-Screen on Block Param.
    AT SELECTION-SCREEN ON BLOCK sorter.
      CHECK All = 'X'.
    *Event Start-Of-Selection.
    START-OF-SELECTION.
      Data: zstat type jest-stat.
      data: stklocaf type mska-lgort.
      data: stklocas type mska-lgort.
      FIELD-SYMBOLS <fs_itablnp> LIKE LINE OF itablnp.
      CLEAR it_ZVPRODDET.
      SELECT DISTINCT ZVPODbukrs ZVPODaufnr ZVPOD~objnr
      jeststat ZVPODwerks ZVPODarbpl ZVPODJ_3AKORD2
      zvpodplnbez zvpodaufnr zvpodkdauf zvpodkdpos
      zvpodj_3akord1 zvpodj_3akord2 zvpod~j_3akordx
      zvpodj_3absnr zvpodmatnr zvpod~j_4kscat
      zvpodmvgr4 zvpodj_3acada zvpodj_4krcat zvpodmenge
      zvpodposnr zvpodkunnr zvpodaufpl zvpodaplzl
      zvpodplnnr zvpodarbid zvpodsteus zvpodbismt
      zvpodwerks zvpodj_3akvgr6 zvpod~j_3arqda
      zvpodmvgr5 zvpodaudat zvpod~j_3addat
      zvpodvtweg zvpodobjnr zvpod~bukrs
      zvpodfsavd zvpodssavd zvpod~bstkd
      zvpodbstdk zvpodihrez zvpod~bstkd_e
      zvpodbstdk_e zvpodihrez_e zvpod~arbpl
      zvpodvgw01 zvpodkvgr2 zvpod~vsart
      FROM  ZVPOD
      INNER JOIN jest ON ZVPODobjnr = jestobjnr
      INTO CORRESPONDING FIELDS OF table it_ZVPRODDET where
      plnbez in FGM and arbpl in wc and werks in plant
      and SSAVD in eldate
      and J_3AKORD2 in cups and jest~inact ne 'X'.
      SORT it_ZVPRODDET BY aufnr stat.
      LOOP AT it_ZVPRODDET INTO wa_ZVPRODDET.
        IF wa_ZVPRODDET-stat = 'I0045' .  " TECO - compl
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
        ELSEIF wa_ZVPRODDET-stat = 'I0009' .  " CNF - Confirmed
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
        ELSEIF wa_ZVPRODDET-stat = 'I0012' .  " DLV - Delivered
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
        ELSEIF wa_ZVPRODDET-stat = 'I0046' .  " CLSD - Closed
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
        ELSEIF wa_ZVPRODDET-stat = 'I0076' .  " DLFL - Del Flag
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
        ELSEIF wa_ZVPRODDET-stat = 'E0003' .  " SCLS - Short Close
          CLEAR tj30t.
          SELECT SINGLE txt04
          FROM tj30t INTO tj30t-txt04
          WHERE stsma = 'PRDHOLD' AND
                estat = 'E0003' AND
                txt04 = 'SCLS' AND
                spras = 'EN'.
          IF sy-subrc = 0.
            DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
          ENDIF.
        ENDIF.
      Condition for Prod Order released - REL
        IF wa_ZVPRODDET-stat = 'I0002'.
          mreleased = 'Y'.
        else.
          mreleased = 'N'.
        endif.
        zstat = wa_ZVPRODDET-stat.
        IF mreleased = 'N'.
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr
          and stat = zstat.
        ENDIF.
      ENDLOOP.
      case mark.
        when All.
          LOOP AT it_ZVPRODDET INTO wa_ZVPRODDET.
            zaufnr = wa_zvproddet-aufnr.
            zarbid = wa_zvproddet-arbid.
            move wa_zvproddet to walnpln.
            append walnpln to itablnpln.
          endloop.
          clear walnpln.
          if not itablnpln is initial.
            SELECT distinct * INTO CORRESPONDING FIELDS OF TABLE itablnp
            FROM zvprdconf FOR ALL ENTRIES IN itablnpln
            where aufnr = itablnpln-aufnr and
            j_3asize = itablnpln-j_3akordx and stzhl eq ' ' and stokz ne 'X'.
            if sy-subrc = 0.
              sort itablnpln by aufnr j_3asize.
              DELETE ADJACENT DUPLICATES FROM ITABLNPLN COMPARING ALL     FIELDS.
            endif.
          endif.
          LOOP AT itablnpln  INTO walnpln.
            contot = 0.
            IF sy-subrc EQ 0.
              LOOP AT itablnp ASSIGNING <fs_itablnp> where aufnr = walnpln-aufnr and j_3asize = walnpln-j_3akordx.
                contot = contot + <fs_itablnp>-J_3ALMNGA.
                move <fs_itablnp>-J_3ASIZE to walnpln-J_3ASIZE.
              ENDLOOP.
              walnpln-output = contot.
              move zvprdconf-isdd to walnpln-zdate.
              move zvprdconf-isdz to walnpln-ztime.
            endif.
            walnpln-wip = walnpln-menge - contot.
            if walnpln-werks = '1000'.
              stklocaf = '1050'.
              stklocas = '1060'.
            elseif walnpln-werks = '2000'.
              stklocaf = '2150'.
              stklocas = '2160'.
            endif.
            select single kunnr into walnpln-ship from vbpa where
            vbeln = walnpln-KDAUF and PARVW = 'WE'.
            zship = walnpln-ship.
            move zship to walnpln-ship.
            select  single kalab into walnpln-zactqty from mska
            where matnr = walnpln-plnbez
            and j_3asize = walnpln-J_3AKORDX and LGORT = stklocaf.
            condense walnpln-kdauf.
            zsales = walnpln-kdauf.
            concatenate zsales 'S' into zso.
            select single kalab into walnpln-zsndqty from mska
            where matnr = walnpln-plnbez
            and j_3asize = walnpln-J_3AKORDX and LGORT = stklocas
            and J_4KSCAT = zso.
            zmatn = walnpln-plnbez.
            zsale = walnpln-KDAUF.
            walnpln-kdauf = zsale.
            walnpln-plnbez = zmatn.
            zcust = walnpln-kunnr.
            walnpln-kunnr = zcust.
            select single bezei into walnpln-season from TVV2T where
            kvgr2 = walnpln-kvgr2 and SPRAS = 'E'.
            select single bezei into walnpln-shipmode from T173T where
            vsart = walnpln-vsart and SPRAS = 'E'.
            STRL = strlen( walnpln-j_3akord2 ).
            if  strl = 4.
              move walnpln-j_3akord2 to walnpln-j_3akord3.
              clear walnpln-j_3akord2.
            endif.
            move zremk to walnpln-remk.
            MODIFY itablnpln FROM  walnpln.
            contot = 0.
            clear itablnp.
          ENDLOOP.
          PERFORM build_fieldcatalog.
          PERFORM build_layout.
          PERFORM display_alv_report.
      endcase.
    [/code]
    regs,
    raja[

  • Foreach Loop only looping once

    Hi,
    Please be patient and bear with me, for I am new to SSIS packages.
    I am using SQL Server 2008 R2 to host the SQL Agent job and the SSIS package.
    I am using Visual Studio 2008 Professional Edition for designing the SSIS package. It is version 9.0.30729, Version 3.5 SP1.
    I am on a Windows 8 machine.
    My Foreach Loop Container seems to iterate only once when it should iterate numerous times, and this issue happens BOTH when I execute the SSIS package from within Visual Studio AND when I run a SQL Agent job to execute the SSIS package.
    For the solution within Visual Studio, I have False for the property Run64BitRuntime.
    In the SSIS pckg in Visual Studio, I have in the Variables pane a number of variables and these following variables pertain to my problem:
    Name: objRs      Scope: the name of the SSIS package     DataType: Object    Value: System.Object
    Name: txtVendorFamilyNumber   Scope: the name of the SSIS package  DataType: String   Value: 111111
    The value "111111" that I entered into the txtVendorFamilyNumber variable in the Variable Pane is NOT a realistic value as there are no vendor family numbers that have the value 111111. I will populate dynamically the real vendor family numbers
    from within the SSIS package.
    When I imported the SSIS package to SQL Server 2008 R2, via the ellipsis button for the Protection Level I chose the "Rely on server storage and roles for access control" choice.
    Concerning the flow of the SSIS package, going down within Visual Studio from the beginning of the flow of the SSIS package, eventually I have an Execute SQL Task. In its General tab, it has "1252" for CodePage property, "Full result set"
    for ResultSet property, "OLE DB" for ConnectionType property, "Direct input" for SQL Source Type property, "False" for BypassPrepare property, and the following for the SQLStatement property:
         select txtVendorFamilyNumber from tmpVendorFamily  where VendorID = (select min(VendorID) from tmpVendorFamily)
    In the tmpVendorFamily table on SQL Server 2008 R2, there are 379 rows of results for the SELECT statement above (starting with the values 100110, 100115, 100120, 100130, through the LAST row's value 106370.
    In the Parameter Mapping tab of the Execute SQL Task Editor, I have nothing. In the Expressions tab of the Execute SQL Task Editor, I have nothing.
    In the Result Set tab of the Execute SQL Task Editor, I have the value 0 for Result Name property and I have the value User::objRs as the value in the Variable Name property.
    This Execute SQL Task has a green arrow (Constraint evaluation operation, Success in Value drop down) to the Foreach Loop Container.
    In the Foreach Loop Editor, in the Collection tab, I have "Foreach ADO Enumerator" as the value in the Enumerator property. In the drop down for ADO Object Source Variable, I have chosen the User::objRs, and I have the radio button "Rows in
    the first table" selected.
    In the Foreach Loop Editor, in the Expressions tab, I have nothing.
    In the Foreach Loop Editor, in the Variable Mappings tab, I have "User::txtVendorFamilyNumber" for the Variable property and I have the value "0" for the Index property.
    So in the Foreach Loop, I first have a Script Task with the ReadOnly variable User::txtVendorFamilyNumber and with the ReadWrite variable User::TESTING_OnlyTesting that I created with a package scope, string datatype, and no default value. This Script Task
    has the following code for testing purposes:
    Dim strFullVerbiage As String
    strFullVerbiage = "The value is: "
    Dts.Variables("User::TESTING_OnlyTesting").Value = strFullVerbiage + Dts.Variables("User::txtVendorFamilyNumber").Value.ToString()
    Dts.TaskResult = ScriptResults.Success
    I have next in the Foreach Loop Container a Send Mail task. In the Expressions tab of the Send Mail Task Editor, I have for the Message Source property the following:
          @[User::TESTING_OnlyTesting]
    The remaining tasks (including FTP Tasks) in the Foreach Loop Container are disabled for now as I am trying to figure out why the Foreach Loop only iterates the FIRST time, only iterates once.
    When I run on SQL Server 2008 R2 the SELECT statement from the Execute SQL Task, I get 379 rows of results. The default value 111111 that I entered into the Variable Pane for the txtVendorFamilyNumber variable does NOT exist in any of these 379 rows of results.
    The 1st row of results has for the txtVendorFamilyNumber column the value 100110. Then the subsequent rows of results have the values 100115, 100120, 100130, et cetera, ending with the value 106370 in the last row of results.
    I imported the SSIS package into Integration Services on SQL Server 2008 R2. When I imported to Integration Services, in the Import Package editor for the Protection Level I chose the "Rely on server storage and roles for access control" choice
    because there are FTP Tasks and we needed to use this "Rely on server storage and roles for access control" choice.
    I created a SQL Agent job that executes this SSIS package.
    When I run the SQL Agent job, no error happens and I get only ONE email with the value 100110 for the vendor family number in it. I should get 379 emails total, the 2nd email showing 100115, the 3rd email showing 100120, et cetera.
    When I was testing while executing the SSIS package from within Visual Studio, I did NOT have the Send Mail task and I only had enabled one Script Task that had the ReadOnly variable User::txtVendorFamilyNumber and the following lines of code:
    MsgBox(CType(Dts.Variables("User::txtVendorFamilyNumber").Value, String))
    Dts.TaskResult = ScriptResults.Success
    Executing the SSIS package with only this Script Task enabled within the Foreach Loop Container, I would get the ONE message box showing 100110 but I would not get any message box for a SECOND ITERATION of the loop.
    Since my txtVendorFamilyNumber in the Variables Pane has the default hard-coded value 111111 that does NOT exist in the result set of the Execute SQL Task that feeds the Foreach Loop, and since the first and only email sent shows the value 100110 when I
    run the SQL Agent job that runs the SSIS package that is set up to send an email from within the Foreach Loop Container, the FIRST LOOP seems to run correctly and shows correctly the 1st value 100110 in the 379 rows of results that populate the Foreach Loop
    Container. Why does the Foreach Loop Container NOT loop more than once?
    Could anybody give me any suggestions as to what the problem might be?
    I thank you in advance for your consideration of my problem. I have been reading and reading on the Internet to try to find a solution but I have not solved yet my problem with the Foreach loop only iterating once.
    Thanks much to you.

    Gregarious greetings Arthur,
    I very much appreciate your reply.
    This morning I figured out my problem with the help of a fellow employee.
    In my original post higher up, I had typed about the SELECT statement in the Execute SQL Task that is just before the Foreach Loop Container and that populates the User::objRs, and this SELECT statement was in the old DTS package in an old ActiveX script
    task. The SELECT statement was in an old DTS package in an old ActiveX script task and I am creating a new SSIS package to replace the old DTS package so that we can move from the old version of SQL Server to a new SQL Server 2008 R2 server. Here is that
    SELECT statement:
     select txtVendorFamilyNumber from tmpVendorFamily  where VendorID = (select min(VendorID) from tmpVendorFamily)
    That SELECT statement above returns ONLY ONE result. I had not noticed it. That SELECT statement fills the objRs result set. The green arrow goes from the Execute SQL Task that has the SELECT statement down to the Foreach Loop Container that loops over the
    result set. Since the SELECT statement that fills the result set only has one row of results, the Foreach Loop only looped once.
    So for the Execute SQL Task that populates the result set User::objRs, I changed the SELECT statement to be the following:
    --In the Utilities DB, this tmpVendorFamily table
    --has only two columns named VendorID and txtVendorFamilyNumber.  
    SELECT DISTINCT txtVendorFamilyNumber
    FROM Utilities.dbo.tmpVendorFamily
    ORDER BY txtVendorFamilyNumber
    Now the Foreach Loop will loop 379 times since the SELECT statement immediately above yields 379 rows of results.
    So the Foreach Loop Container was fine. Its Collection tab has the "Foreach ADO Enumerator" for the Enumerator and has the "User::objRs" for the ADO Object Source Variable. Its Variable Mappings tab has "User::txtVendorFamilyNumber"
    for the Variable and has "0" for the Index.
    My problem was the SELECT statement in the Execute SQL Task that immediately precedes the Foreach Loop Container and that fills the User::objRs result set. The SELECT statement yielded only ONE row of results. When I corrected this morning that SELECT statement
    so that it correctly yields 379 rows of results, the Foreach Loop Container loops 379 rows.
    Thanks again for replying and trying to help. I very much appreciate it.
    I consider this thread that I created to be closed since I figured out this morning how I needed to correct the SELECT statement in the Execute SQL Task that fills the result set on which the Foreach Loop loops.
    Misko_Hviezdoslav   27-JAN-2015

  • Avoiding performance issue due to loop within loop on internal tables

    Hi Experts,
                    I have a requirement where in i want to check whether each of the programs stored in one internal table are called from any of the programs stored in another internal table. In this case i am looping on two internal tables (Loop within a loop) which is causing a major performance issue. Program is running very very slow.
    Can any one advise how to resolve this performance issue so that program runs faster.
    Thanks in advance.
    Regards,
    Chetan.

    Forget the parallel cursur stuff, it is much to complicated for general usage and helps nearly nothing. I will publish a blog in the next days where this is shown in detail.
    Loop on loop is no problem if the inner table is a hashed or sorted table.
    If it must be a standard table, then you must make a bit more effort and faciliate a binary search (read binary search / loop from index exit)
    see here the exact coding Measurements on internal tables: Reads and Loops:
    /people/siegfried.boes/blog/2007/09/12/runtimes-of-reads-and-loops-on-internal-tables
    And don't forget, the other table must not be sorted, the loop reaches anyway every line. The parallel cursor requires both tables to be sorted. The additional sort
    consumes nearly the whole advantage of the parallel cursor compared to the simple but good loop in loop solutions.
    Siegfried

  • For loop wont loop through array built from spread sheet

    im probably doing sonthing really silly but........
    first i build and array out of data from a spreadsheet (RefLookup)
    the spreadsheet contains 3 rows the top row is my label (to be returned later)
    the second row it my maxmum value
    the third row is my minimum value.
    Ref in is my live feed of data to be looked up.
    i then put this into a for loop, to loop through the array untill it finds which range of data the Ref in lies.....
    then i simply stop the loop and output the index value.
    this index value is the used to look up the spreadsheet data again and return the label for that index.
    from what i can gather the code should.... work. but it doesnt seem to go passed the first itteration of the for loop 
    any ideas?
    please and thanks
    John
    Solved!
    Go to Solution.
    Attachments:
    jmRange.vi ‏13 KB
    RefLookup.csv ‏1 KB
    InRange.PNG ‏34 KB

    You need to set the delimiter to comma, else you don't get all data. (read from spreadsheet file)
    You are doing this way too complicated. Here's equivalent code. I am sure it can be simplified much more!  
    You don't need the outer while loop. finding it once is sufficient. 
    You probably want to add a "select" after the loop that selects NaN instead of the last value if nothing is found, based on the boolean. 
    Message Edited by altenbach on 03-30-2010 02:55 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    finder.png ‏8 KB

  • Adding presumed APPLE loops to GB3/browser

    okay
    cut me a break here.
    I just downloaded about 30 Apple loops by Smart media.
    They are aiffs. Some have wavs.
    what are the exact intelligent steps to take to get these inside GB3 so that they are indexed and ready to be called up by typing their name? This is not as easy as you think.
    they are loops for electric guitar, bass and percussion.
    I have the appropriate folder in my HD. But what must i do to get them properly as per protocol to land inside the browser and be usable. Thanks for the lesson.
    ( I loaded them in the folders. I then dragged them onto the browser and they just cant be found )

    i work on a 2 computer set at home 1pc and 1 mac...on the pc i use acid and i have thousands of loops i love and i wanted to use on gb , so i put them on a disk and added them to my itunes folder so when i click on the eye icon on the lower right corner i can axcess these loops and add them to my songs..so i suggest mabe something like that

  • Homemade Apple Loops (w/Loops Utility) won't show up in Loop Browser

    I just finished making a whole batch of homemade Apple Loops. Through Logic I opened up each audio file in the Apple Loops Utility, marked its tempo, marked "Looped" and then did the transients window to make sure it sounded good, then did "Save" or "Save All" from the Apple Loops Utility task tray.
    I then dumped that folder full of custom loops into my loop browser for catalog'ing, but for some reason only about 10 of them show up when I click "All" to see all the loops in that folder.
    So I re-opened the entire batch in Apple Loops Utility and made tiny changes to each loop's transients, just enough to trigger the dot next to the loop that means "you need to save these changes" - and I resaved the entire batch.
    Tried the add-to-loop-browser process again, and again, only those initial 10 loops showed up in the browser again. The remaining 190 won't pop up.
    I can't figure out what's missing or what I did wrong.  Any ideas?
    Kirby

    FIXED!
    If you run into this same problem:
    In order for your homemade loops to show up in Logic's Loop Browser, when in the Apple Loops Utility you need to select at least one "Descriptor" - if you don't, the loop won't appear in the browser.  Even if you don't need a Descriptor, just batch-select all of your loops in the tray and then pick 1 Descriptor, resave, and re-drop into Apple's Loop Browser.
    Kirby

  • Importing 3rd party apple loops into loop browser?

    i am running Logic Pro 8 and have recently bought a load of sample libraries. I have attempted to load them into the Logic loop browser with all the original logic loops for easy access. but only half of them show up in the browser.
    If i check the library/audio/logic/apple loops folder, they are all in there as they should be, they are just not showing up on the loop library list inside logic.
    Can anyone please help me?

    You need to open Logic and click on the "Media" tab (upper right in your main window), then click on "Loops". You are now in the loop browser and this is where you have to drag and drop your loops for them to be found by Logic.

Maybe you are looking for

  • Embedding MS Outlook in Java

    Is it possible to embed/import MS Outlook into a Java application? Or other MS Office programs into Java. Any help/advice would be appreciated!!

  • Ibook author loading, save, open and update issue

    When we create the ibook author file with 30 pages the systme gets too slow, since it took cache file within the recovery folder.  Also when it take more time while save, open and update process. Curent file size is 169 MB (Minimac 10.7 with 2GB RAM

  • Is there any way to register for changes in a NetworkInterface?

    Greetings. I'm interested to know if there's a way to register for changes to a NetworkInterface. Changes could include ifup/ifdown, a change in the displayable name, adding/removing InterfaceAddress or InetAddress, or even a change in the hardware a

  • Lumia 820 MP3 Problem

    After receiving the Black Update, my 820 has random popping and hissing sounds when playing MP3s. It's random because the popping happens at different places when replaying the same song. I also tried recording a jazz track from vinyl and encoded it

  • Why do YouTube videos stop?

    You tube videos stop when connected to ipad via Airport express. Any suggestions?