Dynamic Logical Expressions in ABAP: IF (lt_cond)...

is it possible to have a dynamically constructured logical expression?
I have a condition I need to use in an IF, but I want to avoid hard-coding, so I dynamicallybuild it.
for a simple example:
CONCATENATE ITAB-f1
           'EQ'
           varValue
           INTO lt_cond SEPARATED BY SPACE.
IF (lt_cond).
  WRITE:/ 'Success'.
ENDIF.
Is it possible to do this?
NL

I am trying to use the macro to check an IF (cond).
cond is a dynamically constructed condition.
The bold part of my code way below is my problem area.
I'm having no trouble getting COND constructed. But I am having trouble between my macro and the processing as my error always tells me I'm calling my macro without 2 actual parameters. Or when I DEFINE my macro with &1 instead of &1 &2, I get 'incorrect logical expression'.
I've read all the documentation I can find on this, but i still cannot figure out why my macro is not processing.
Code is lengthy, but if you can, please help.
I'm anticipating the output to be 'FAILURE' at this point. I just want the condition COND to be processed.
data: tabfield(20) type c,
      orcheck type I,
      cond type string.
DATA: BEGIN OF ITAB_NOTIDX OCCURS 0,
      FIELD LIKE ZDOLTARC02-SEARCHFLD,
      VALUE LIKE ZDOLTARC03-VALUE,
      STRUCTURE LIKE ZDOLTARC02-STRUCTURE,
      AOBJ LIKE ZDOLTARC02-A_OBJ,
      END OF ITAB_NOTIDX.
DATA: BEGIN OF ITAB_AOBJ OCCURS 0,
      AOBJ LIKE ZDOLTARC02-A_OBJ,
      END OF ITAB_AOBJ.
DATA: ITAB_AOBJF LIKE ITAB_AOBJ.
DATA: ITAB_NOTIDXF LIKE ITAB_NOTIDX.
DATA: varAOBJ LIKE ZDOLTARC02-A_OBJ.
ITAB_NOTIDXF-FIELD = 'LIFNR'.
ITAB_NOTIDXF-VALUE = '123'.
ITAB_NOTIDXF-STRUCTURE = 'BKPF'.
ITAB_NOTIDXF-AOBJ = 'FI_DOCUMNT'.
APPEND ITAB_NOTIDXF TO ITAB_NOTIDX.
ITAB_NOTIDXF-FIELD = 'LIFNR'.
ITAB_NOTIDXF-VALUE = 'ABC'.
ITAB_NOTIDXF-STRUCTURE = 'BKPF'.
ITAB_NOTIDXF-AOBJ = 'FI_DOCUMNT'.
APPEND ITAB_NOTIDXF TO ITAB_NOTIDX.
ITAB_NOTIDXF-FIELD = 'LIFNR'.
ITAB_NOTIDXF-VALUE = '001'.
ITAB_NOTIDXF-STRUCTURE = 'BKPF'.
ITAB_NOTIDXF-AOBJ = 'FI_DOCUMNT'.
APPEND ITAB_NOTIDXF TO ITAB_NOTIDX.
ITAB_NOTIDXF-FIELD = 'SAKNR'.
ITAB_NOTIDXF-VALUE = '111'.
ITAB_NOTIDXF-STRUCTURE = 'BSEG'.
ITAB_NOTIDXF-AOBJ = 'FI_DOCUMNT'.
APPEND ITAB_NOTIDXF TO ITAB_NOTIDX.
ITAB_NOTIDXF-FIELD = 'SAKNR'.
ITAB_NOTIDXF-VALUE = '222'.
ITAB_NOTIDXF-STRUCTURE = 'BSEG'.
ITAB_NOTIDXF-AOBJ = 'FI_DOCUMNT'.
APPEND ITAB_NOTIDXF TO ITAB_NOTIDX.
ITAB_NOTIDXF-FIELD = 'KUNNR'.
ITAB_NOTIDXF-VALUE = 'CCC'.
ITAB_NOTIDXF-STRUCTURE = 'BSEG'.
ITAB_NOTIDXF-AOBJ = 'FI_DOCUMNT'.
APPEND ITAB_NOTIDXF TO ITAB_NOTIDX.
ITAB_NOTIDXF-FIELD = 'KUNNR'.
ITAB_NOTIDXF-VALUE = 'DDD'.
ITAB_NOTIDXF-STRUCTURE = 'BSEG'.
ITAB_NOTIDXF-AOBJ = 'FI_DOCUMNT'.
APPEND ITAB_NOTIDXF TO ITAB_NOTIDX.
LOOP AT ITAB_NOTIDX.
  WRITE:/ ITAB_NOTIDX-FIELD, ITAB_NOTIDX-VALUE, ITAB_NOTIDX-STRUCTURE, ITAB_NOTIDX-AOBJ.
ENDLOOP.
DATA: VARFIELDNAME LIKE ZDOLTARC02-FIELD.
CONCATENATE cond
           INTO Cond.
SORT ITAB_NOTIDX BY AOBJ FIELD.
varFieldName = Itab_NOTIDX-FIELD.
ORCHECK = 0.
ITAB_AOBJF = 'FI_DOCUMNT'.
APPEND ITAB_AOBJF TO ITAB_AOBJ.
LOOP AT ITAB_AOBJ.
   MOVE ITAB_AOBJ-AOBJ TO varAOBJ.
   WRITE:/ varAOBJ.
   LOOP AT ITAB_NOTIDX WHERE AOBJ EQ varAOBJ.
           WRITE:/ 'LOOP TEST'.
        IF ITAB_NOTIDX-FIELD EQ varFieldName.
             WRITE:/ VARFIELDNAME.
             IF ORCHECK <> 0.
             CONCATENATE cond
                            'OR'
                            INTO cond SEPARATED BY SPACE.
             ENDIF.
             CONCATENATE ITAB_NOTIDX-STRUCTURE
                    ITAB_NOTIDX-FIELD
                    INTO tabfield.
             CONCATENATE cond
                    tabfield
                    'EQ'
                    '''' ITAB_NOTIDX-value ''''
                    INTO cond SEPARATED BY SPACE.
             ORCHECK = ORCHECK + 1.
        ELSE.
            MOVE ITAB_NOTIDX-FIELD TO varFieldName.
          WRITE:/ '2', VARFIELDNAME.
            CLEAR TABFIELD.
          ORCHECK = 0.
          CONCATENATE ITAB_NOTIDX-STRUCTURE
                varFieldName
                INTO TABFIELD.
             CONCATENATE cond
                    'AND'
                    TABFIELD
                'EQ'
                '''' ITAB_NOTIDX-VALUE ''''
                    INTO cond SEPARATED BY SPACE.
                ORCHECK = ORCHECK + 1.
        ENDIF.
   ENDLOOP.
ENDLOOP.
CONCATENATE COND
            INTO COND.
write:/ COND. "constructed properly
<b>DEFINE my_dynamic_check.
if &1, &2.
  write:/ 'Success'.
else.
  write:/ 'Failed'.
endif.
END-OF-DEFINITION.
my_dynamic_check (cond).</b>

Similar Messages

  • Dynamic logic expression

    Hi Experts, 
    Iu2019m trying to build a routine with dynamic logical expressions but it's now working...
    Basically Iu2019m building a string with the expression, a and after the string it's completed Iu2019m calling a macro that consist in a if.
    if expression eq true
    return true value
    but the value returned by the macro it's always false, even when the logical expression it's true...
    i already tried the logical function BOOLC but apparently my version, ECC 6, doesnu2019t recognize it....
    Below goes the code, if anyone could help me Iu2019ll be appreciated.
    "Macro definition
    DEFINE check_condition.
    IF &1 EQ ABAP_TRUE.
        move 'X' to &2.
      endif.
    END-OF-DEFINITION.
    LOOP AT tab_regras."Rules
        CLEAR: str_cond, lv_result.
        LOOP AT dfies_tab WHERE fieldname CS 'ARGUMENTO'.
          CLEAR: lw_string, str_1, str_2, str_3.
          ASSIGN COMPONENT dfies_tab-fieldname OF STRUCTURE tab_regras TO <fs_field>.
          CHECK <fs_field> IS NOT INITIAL.
          SPLIT <fs_field> AT '/' INTO  str_1 str_2 str_3.
          ASSIGN (str_1) TO <fs_value1>.
    "     ASSIGN (str_2) TO <fs_value2>.
    "      ASSIGN (str_3) TO <fs_value3>.
          IF str_cond IS INITIAL..
            CONCATENATE <fs_value1> str_2 str_3 INTO str_cond SEPARATED BY space.
            CONTINUE.
          ENDIF.
          CONCATENATE str_cond 'and' <fs_value1> str_2 str_3 INTO str_cond SEPARATED BY space."string condition
        ENDLOOP.
        check_condition str_cond lv_result.
        CHECK lv_result EQ 'X'.
    Thanks in advance,
    Best Regards
    João Martins

    It would be helpful if you show us what is the example content of str_cond .
    Anyhow your check looks like you want to compare some condition with value X which abap_true denotes i.e.
    if field_1 = 10 and field_2 = 20 EQ 'X'. 
    endif.
    This doesn't make sense for me or maybe I am missing something which is hidden behid this str_cond . Your left hand side expression value must however be equal to right hand side value. So the conditon will only be true if
    if 'X' = 'X'.
    endif.
    Regards
    Marcin
    PS: please note that in ABAP there is no real boolean value, so you can't have condition like in JAVA or C
    if (true_condition)
    //do something
    you always have to compare two values (here abap_true which is X if fact).
    Edited by: Marcin Pciak on May 24, 2011 3:59 PM

  • How to pass dynamic logical expression to function module

    Hi,
    I'm using FM META_READ_TABLE as below:
    As mentioned above im using META_READ_TABLE FM to get company codes from CSKS table of ECC. Below is the code im using:
       DATA:i_opt type STANDARD TABLE OF RFC_DB_OPT, i_fld type STANDARD TABLE OF RFC_DB_FLD,
           i_res type STANDARD TABLE OF TAB512.
    Constants:   c_expr(72) TYPE c VALUE 'KOSTL EQ COST_CTR', c_fld(5) TYPE c VALUE 'BUKRS'.
      w_opt-text = c_expr.
    w_fld-FIELDNAME = c_fld.
    append: w_opt to i_opt,
            w_fld to i_fld.
    data i_control type STANDARD TABLE OF BBP_CONTROL_RECORD.
    **&&--Get Co code from ECC (CSKS table)
    CALL FUNCTION 'META_READ_TABLE'
      EXPORTING
        QUERY_TABLE          = c_table
    *   DELIMITER            = ' '
    *   NO_DATA              = ' '
    *   ROWSKIPS             = '0'
    *   ROWCOUNT             = '0'
        LOGICAL_SYSTEM       = v1_logsys
      TABLES
        OPTIONS              = i_opt
        FIELDS               = i_fld
        DATA                 = i_res
        CONTROL_RECORD       = i_control.
    however it is giving me 'Communication Error' while executing this piece of code. I guess the problem here is with passing query to i_opt table. obviously the way im doing this is wrong and it has to be dynamic. Could anybody please give me idea how to execute fm with dynamic query i.e., 'KOSTL EQ COST_CTR' where COST_CTR is cost center and an importing parameter to this.please advise.
    Rgds

    The "communication error" would seem more likely to be a problem with an RFC call - does 'META_READ_TABLE" call another function in the remote system?
    We don't have that function module here (is it SRM?) but you should be able to construct your dynamic "where" something like this (p_kostl is the variable in this example):
      data:
        l_where     type text72.
      concatenate
        'KOSTL EQ_'
        p_kostl      "variable
        into l_where.
      translate l_where using '_ '.  "replace underscore with space
    Jonathan

  • How to create an ABAP Query with OR logical expression in the select-where

    Hi,
    In trying to create an ABAP query with parameters. So it will select data where fields are equal to the parameters entered. The default logical expression is SELECT.. WHERE... AND.. However I want to have an OR logical expression instead of AND.. how can I attain this??
    Please help me on this.. Points will be rewarded.
    Thanks a lot.
    Regards,
    Question Man

    Hi Bhupal, Shanthi, and Saipriya,
    Thanks for your replies. But that didn't answer my question.
    Bhupal,
    You cannot just replace AND with OR in an ABAP QUERY. ABAP QUERY is a self generated SAP code. You'll just declare the tables, input parameters and output fields to be displayed and it will create a SAP standard code. If you'll try to change the code and replace the AND with OR in the SAP standard code, the system will require you to enter access key/object key for that particular query.
    Shanthi,
    Yes, that is exactly what need to have. I need to retireve DATA whenever one of the conditions was satisfied.
    Saipriya,
    Like what I have said, this is a standard SAP code so we can't do your suggestion.
    I have already tried to insert a code in the ABAP query (there's a part there wherein you can have extra code) but that didn't work. Can anybody help me on this.
    Thanks a lot.
    Points will be rewarded.
    Regards,
    Question Man

  • Logical Expression

    Hi,
    I have an internal table contains field for logical expression EQ, GE, GT etc.
    I would like to use this logical expression in my ABAP code.
    For example
    READ TABLE INTAB INDEX 1.
    Comparing the value of a and b based on the logical expression from the INTAB.
    How can i achieve this ?
    Thanks.
    Regards,
    Jon

    Hi,
        The required code has to be declared in the Macro defination, it is define between the statement DEFINE and END-OF-DEFINATION, with the help of CASE statement you can code for all the possible Options. Just check the below example.
    DATA : v_aaa TYPE i VALUE 50,
           v_bbb TYPE i VALUE 100.
    TYPES : BEGIN OF ty_ztab,
              field  TYPE c LENGTH 5,
              option TYPE c LENGTH 2,
            END OF ty_ztab.
    DATA : i_ztab  TYPE TABLE OF ty_ztab,
           wa_ztab TYPE ty_ztab.
    DEFINE macro.
      case &1.
        when 'GT'.
          if v_aaa gt v_bbb.
            write :/ v_aaa, 'Greater than', v_bbb.
          else.
            write :/ v_aaa, 'Less than', v_bbb.
          endif.
        when 'EQ'.
          if v_aaa eq v_bbb.
            write :/ 'Equal'.
          endif.
        when 'LT'.
        when 'NE'.
        when others.
      endcase.
    END-OF-DEFINITION.
    START-OF-SELECTION.
      wa_ztab-field = 'abc'.
      wa_ztab-option = 'GT'.
      APPEND wa_ztab TO i_ztab.
      CLEAR : wa_ztab.
      wa_ztab-field = 'cef'.
      wa_ztab-option = 'EQ'.
      APPEND wa_ztab TO i_ztab.
      CLEAR : wa_ztab.
      READ TABLE i_ztab INTO wa_ztab WITH KEY
                        field = 'abc'.
      IF sy-subrc = 0.
        macro wa_ztab-option.
      ENDIF.
    Output will be :-  50 Less than 100, which is written in ELSE condition of the CASE condition GT.
    Regards
    Bala Krishna.

  • Incorrect logical expression: Comparison / SELECT-OPTION can only be follow

    Hi,
    I'm new to ABAP, please help me with the below code. When i check the code i get the message "E:Incorrect logical expression: Comparison / SELECT-OPTION can only be followed by "AND", "OR" or ")".
    data: pphd(7) type p decimals 2,
              ppha(7) type p decimals 2,
              abs_pphd(7) type p decimals 2.
        if pphd >= 0.
          if pphd < 1.
            ppha = 0.
          elseif 1 <= pphd <= 4.
            ppha = '0.16'.
          elseif 4.01 <= pphd <= 8.
            ppha = '0.32'.
          elseif 8.01 <= pphd <= 12.
            ppha = '0.50'.
          elseif 12.01 <= pphd <= 16.
            ppha = '0.66'.
          elseif 16.01 <= pphd <= 20.
            ppha = '0.83'.
          elseif 20.01 <= pphd <= 24.
            ppha = '1.00'.
          elseif 24.01 <= pphd <= 28.
            ppha = '1.16'.
          elseif 28.01 <= pphd <= 32.
            ppha = '1.32'.
          elseif pphd >= 32.
            ppha = '1.50'.
          endif.
        else.
          abs_pphd = abs( pphd ).
          if abs_pphd < 1.
            abs_ppha = 0.
          elseif 1 <= abs_pphd <= 4.
            ppha = '-0.16'.
          elseif 4.01 <= abs_pphd <= 8.
            ppha = '-0.32'.
          elseif 8.01 <= abs_pphd <= 12.
            ppha = '-0.50'.
          elseif 12.01 <= abs_pphd <= 16.
            ppha = '-0.66'.
          elseif 16.01 <= abs_pphd <= 20.
            ppha = '-0.83'.
          elseif 20.01 <= abs_pphd <= 24.
            ppha = '-1.00'.
          elseif 24.01 <= abs_pphd <= 28.
            ppha = '-1.16'.
          elseif 28.01 <= abs_pphd <= 32.
            ppha = '-1.32'.
          elseif abs_pphd >= 32.
            ppha = '-1.50'.
          endif.
        endif.
    Thanks,
    AM

    Hi Raj,
    Thanks a lot for the reply. i modified the code as you suggested but i get the error "E:Incorrect logical expression: Only "... BETWEEN  AND ..." is expected."  Below is the modified code.
    data: pphd(7) type p decimals 2,
          ppha(7) type p decimals 2,
          abs_pphd(7) type p decimals 2.
    if pphd >= 0.
      if pphd < 1.
        ppha = 0.
      elseif pphd between 1 and 4.
      ppha = '0.16'.
      elseif pphd between 4.01 and 8.
        ppha = '0.32'.
      elseif pphd between 8.01 and 12.
        ppha = '0.50'.
      elseif pphd between 12.01 and 16.
        ppha = '0.66'.
      elseif pphd between 16.01 and 20.
        ppha = '0.83'.
      elseif pphd between 20.01 and 24.
        ppha = '1.00'.
      elseif pphd between 24.01 and 28.
        ppha = '1.16'.
      elseif pphd between 28.01 and 32.
        ppha = '1.32'.
      elseif pphd >= 32.
        ppha = '1.50'.
      endif.
    else.
      abs_pphd = abs( pphd ).
    if abs_pphd < 1.
        ppha = 0.
      elseif abs_pphd between 1 and 4.
        ppha = '-0.16'.
      elseif abs_pphd between 4.01 and 8.
        ppha = '-0.32'.
      elseif abs_pphd between 8.01 and 12.
        ppha = '-0.50'.
      elseif abs_pphd between 12.01 and 16.
        ppha = '-0.66'.
      elseif abs_pphd between 16.01 and 20.
        ppha = '-0.83'.
      elseif abs_pphd between 20.01 and 24.
        ppha = '-1.00'.
      elseif abs_pphd between 24.01 and 28.
        ppha = '-1.16'.
      elseif abs_pphd between 28.01 and 32.
        ppha = '-1.32'.
      elseif abs_pphd >= 32.
        ppha = '-1.50'.
      endif.
    endif.

  • Wrong logical expression

    Hi,
    The following code is wrong and I want to know if it's possible to correct it without using another variable:
    IF var1 < ( sy-datum + 15 ).
    var2 = 1.
    ELSEIF var1 > ( sy-datum + 15 ) AND var1 < ( sy-datum + 30 ).
    var2 = 2.
    ENDIF.
    The ABAP syntax checking doesn't allow the logical expression with the "+"... Is not possible or simply I don't know how to do that?
    I know that I can do something like that:
    var3 = sy-datum + 15.
    But I don't want that solution if it's possible

    You have to store Sy-datum + 15 in a different variable.
    and then use it in the logical expression.
    For older version of SAP this is the only option. I thing the newest version of netweaver allows you to do what you want to do
    Edited by: Aparna Shekhar on May 19, 2008 1:05 PM

  • Logical Expression (Rel Operators)

    Hi,
    Can any Please provide the more Detailed information and
    Example Programs on Logical Expressions  Operators( CO, CA, CN ,NA .... )
    Regards,

    Hi,
    Logical expressions
    A logical expression compares the value in one field with the value in another field. Although the most common logical expressions compare the contents of two numeric fields, string fields can also be compared. It is important to understand (and remember) the different types of logical expression for strings as they can make it much easier to work within the string processing model.
    A logical expression would be:
    if logical expression.
      code goes here
    endif.
    There are 8 relational operators for strings
    CO - contains
    Use this to test if field a contains field b. For example:
    CUSNM = 'Mrs. Johnson'
    TEST = 'Mrs.'
    CUSNM CO TEST returns a true value.
    Note:Test that CUSNM contains a value. If the field is blank ABAP returns a false true.
    if ( p_matnr co ' 0123456789' ).
    shift p_matnr right deleting trailing ' '.
    overlay p_matnr with '00000000000000000'.
    else.
    shift p_matnr left deleting leading ' '.
    endif.
    CN - does not contain
    Inverse of contains
    CA - contains any
    NA - contains none
    Inverse of contains any
    CS - contains string
    NS - does not contain string
    Inverse of contains string
    CP - contains pattern
    Allow you do do some rudimentary pattern matching. Use "" to match any string and "+" to match a single character. "#" is used as the escape character, allowing you to match "","+" or "#" itself. The comparison is not case-sensitive.
    CN - does not contain pattern
    Inverse of contains pattern
    Regards,
    Sravanthi

  • Logical Database in Abap Objects

    Hi to All
    I want do it a program report using a Logical Database.
    Is this possible ??? But when I make a GET <node>, occurs the following error:
             "" Statement "ENDMETHOD" missing.  ""
    I'm doing the following:
    CLASS MONFIN IMPLEMENTATION.
           METHOD TRAER_DATOS.
                   GET VBRK.
           ENDMETHOD.
    ENDCLASS.
    Please, somebody tell me how I use the logical database in Abap Objects.
    Thank you very much
    Regards
    Dario R.

    Hi there
    Logical databases whilst of "some use" are not really part of OO.
    If you want to use a logical database in an abap OO program I would create a special class which just does the get data from your DB and pass this either at record or table level.
    Techniques such as GET XXXX LATE aren't really part of any OO type of application since at Object Instantiation time you should be able to access ALL the attributes of that object.
    As far as OO is concerned Logical databases are a throwback to "Dinosaur Technology".
    Since however modules such as SD and FI are still heavily reliant on relational structures (i.e linked tables etc)  then there is still some limited life in this stuff but for OO try and solve it by another method.
    If you really must use this stuff in OO then do it via a FMOD call and save the data in a table which your method will pass back to your application program.
    You can't issue a GET command directly in a method.
    Cheers
    Jimbo

  • Logical expression( = , =, , ) in read statement

    Hi All,
    Is it possible to use the logical expressions like (<= , >=, <, >) in the read statement?

    While you can only use "=" with the READ statement, you can use the READ statement to position the cursor at the first record you want and then use the LOOP with your operators to get only those records you want (assuming standard tables that have been correctly sorted). This can be very efficient.
    There have been many discussion about this in the forums. Please search and you'll see them.
    Rob

  • Logical expressions in Link editor

    Hi all,
    Is it possible to define logical expressions (using AND, OR) in the Link editor of BLS or are we left with only using the Conditional Action block? Thanks...

    Yes it is.
    For AND : <<Condition1>> <b>&&</b> <<Condition2>>
    For OR : <<Condition1>> <b>||</b> <<Condition2>>
    You can use the <b>double ampersand (&&)</b> for <b>AND</b> and <b>double pipe (||)</b> for <b>OR</b>

  • Help! Logic Express 8 does not work on my Mac Pro with OS 10.5.1

    Hello, I hope somebody around here is able to help me.
    I have got a new Mac Pro with one Quad core processor since yesterday and it works fine except for Logic Express 8 (version 8.0.1). Whenever I start Logic the program crashes as soon as "Core Audio initialisieren" is shown in the display. I have tried to reinstall the program, deleted it completely and installed it again. It is always the same.
    Has anyone else experienced this problem? What can I do about it? I am a musician and I really need Logic Express to run.

    Confused. 10.6 is DVD based. Only Lion and above are downloads.
    And best install is not to upgrade. Do a clean install  - on another drive.
    Corrupt partition tables or bad sectors or no room to adjust the partitions or the directory is corrupt.
    ERASE the drive if Repair Disk didn't work.

  • Loops in Logic Express

    First of all I best say that I am new to Logic Express and Garageband, in fact the Mac thing so forgive the basic nature of this post. I have had some funny goings on with my mac since a failed software install so I decided to rebuild everything including the OS. Having re-installed Garageband and Logic Express I find most of the loops are missing. Some are there but all drum loops and others have gone. I tried to look up options to see if there is a tick box to install them but nothing. If I look in library, the loop directory is also missing. Can anyone suggest anything?
    Thanks
    Tetleyted

    Thanks for the reply. took a look but the directory structure as follows: HD/Library/Audio/Apple Loops/User Loops (Apple doesn't exist. I have a feeling that garageband and Logic Express hasn't completed the install. I have tried to re-run it but the same thing happened - no loops. Any suggestions welcomed.

  • Some organs don't play in new Logic Express files after JamPacks installed

    After loading only the instruments from the Symphony Orchestra and World Music GarageBand Jam Packs, I lost the ability to hear most of the organs available in Logic Express and all of the organs available in GarageBand after inserting them into Logic Express tracks. These same organ sounds still play in any Logic Express file set up prior to the installation of the JamPacks and they continue to play in GarageBand. Can an uninstall/reinstall of Logic Express 7.2.3 be a fix for this or is there an easier way to return the lost instruments to Logic Express?
    1.83 GHz Intel Core Duo iMac   Mac OS X (10.4.8)   Midisport 4x4, iControl

    The loss of instrument sounds in Logic Express had nothing to do with the installation of GarageBand JamPacks. The midi channel setting in the Inspector box of the Arrange window in Logic Express needed to be set to channel 1 to get midi data from other than channel 1 to play some of the inserted CoreAudio instruments. I don't understand what's going on but now I'm able to get the instruments that would not play.

  • How to connect my Alesis to Logic Express Pro, running on an Intel Mac Mini

    Hi,
    would anyone possibly have an idea how to connect my Alesis Multimix 8 USB to Logic Express 7,2?
    The Alesis has a USB out. But I don't see anything in the L/E documentation on USB connections.
    I'm hopeful there's another way.
    Thanks very much.
    -peter

    LE documentation won't give instructions for use of 3rd party equipment, except possibly generically.
    Have you downloaded the latest drivers? If it is a USB item, perhaps you are meant to plug in the USB cable rather than wishing it was something else.

Maybe you are looking for

  • How do I create a check-box matrix question using Acrobat XI Pro?

    I would like to insert a question that is a 10 x 10 matrix that allows respondents to select multiple boxes in each row.  For example, the "add item > rating scale" feature formats a matrix the way I would like, although it only seems to allow for ra

  • This makes no sense - Can't switch phone?

    There's a bit of history behind this so to get proper context here's what has happened so far 1) After 14 months, my original moto droid died so VZW sent me a replacement pre-owned....that didn't work. They then sent another one.....that also didn't

  • Command in smartform

    hi.. i have given a explicit page break in smart form by using command-->goto new page,but its not triggering.in the conditions tab i have given sfsy-page>=4. My sf has 3 pages first,next and new, but the data in the main window flows for abt 12 page

  • Creating a pdf with video

    Hi, could anyone please advise which version of acrobat allows you to take video from a digital camcorder and create a pdf from it? Thanks.

  • How do I get iPad contacts in iCloud to synch with desktop mac?

    I have the latest iPad Air and an iMac with Mavericks.  I notice that when I update an address in Contacts on the iPad that it does not sync with contacts on my iMac.  Yes, I have the iCloud turned on for contacts.  Does anybody know how to fix it? T