Inputing program change without controller attached.

is there any way to record program changes in realtime without any keyboard/controller hooked up to my laptop. for example, when i want do this with notes, i use the caps lock keyboard.
thanks in advance for your time.

thanks for the info. do you know if there is a way to have the faders or buttons accessible on the main window in logic 8 or would i have to record their changes from within the environment?

Similar Messages

  • Input Methods changing without permission

    Hi everybody.
    I use a personalized keyboard mapping. I've created it with Ukelele, put it into ~/Library/Keyboard Layouts and selected it in the System Preferences (so only my account can use this layout). Perfect.
    Now, the issues:
    If I use the “fast user switching” in the menu bar, my own Input Method is reverted to the default French input method. I think that is normal for this window, but if I cancel the user switching, the default French input method remains and I have to manually switch back to my personalized keyboard layout.
    The same thing happens when I play “Warcraft III”: the input method is changed to the default French layout as soon as the game is launched. How can I change this behavior ?

    http://parahuman.org/journal/2005/07/changing-mac-os-xs-default-keyboard.html#11 2420770366273168
    This seems very interesting. Haven't tried it yet but I'm about to.
    Also see here:
    http://www.betalogue.com/2008/03/12/mac-os-x-105-leopard-fast-user-switching-des elects-input-method/

  • Live Program Changes

    Hi there all,
    im trying to build a live audio machine using my drum kit to trigger everything. does anyone know of a way of using a MIDI note on messages to triger a program change?
    ideally, what id like is to have a note, that each time you trigger, it moves the program for that channel up by one.
    if this isnt possible, can anyone suggest another way of controlling program changes without having to go into the event list...etc...? ideally some kind of human interface.
    thanks,

    Ok - if you're fairly green to the environment (pun intended! this is tricky, and caused me a little bit of head scratching. I'll document what I did, but remember my requirements for this may be different from yours.
    What I wanted to be able to do was program and bank change from notes on my keyboard when playing my XV5080 sound module, instead of having to reach over to the module and keep incrementing sounds. I wanted to bank change as well as the 5080 can have 40 or more banks of 128 patches.
    So, the way I have routed this is that it only works when my 5080 is selected on a track. If you want yours to be active at all times and for all instruments, you'll need to take a feed from the physical input object instead.
    This is what mine looks like:
    The "Select" transformer objects home in on the notes you want to use for the program and bank change inc/dec. The two faders are the key objects, as they hold the current bank change and program change number.
    The inc/dec buttons to the left of them send meta events to the faders in increment/decrement and handle wrapping around (ie if you are at 127 and you increment, the fader resets to 0).
    I had to route the output and do some stuff to preserve the custom bank changes my 5080 needs, but your needs will be simpler.
    Like I say, this isn't a trivial thing to do if you aren't that familiar with the environment. You need to use transformers to remove the notes you want from the MIDI stream (so the notes you are using for the program changes don't play notes themselves) and convert them into events that trigger increments and decrements of the program change fader, and then use that to output the program changes to where you want them to go.
    Give it a go, it's probably a good learning experience, and if you get stuck, bump this thread....

  • Logic + Groovebox - How to attach a program change to a region?

    I have hooked up a 16 channel Groovebox with logic 8 to use as a sound module. Is it possible in Logic to "attach" a program change message to a midi region?
    e.g. A region playing the groovebox midi channel 1 sends a message to the groovebox telling it to play program/preset 56.
    Thanks for the help!

    There are several methods to do that...
    1/ Select the midi region and double click it to open in Piano Roll. Open Hyper Draw in Piano Roll and choose Program Change from the list. Draw Program changes there.
    2/ Place the Playhead to the place you like to input Program Message in Arrange, hit the "Pause" button in the Transport and enable "Record" button. This way Logic is in "Record in place mode". While the region track is selected go to its Inspector and check the "Prg" box after that click and hold your mouse to the right of it and choose program 56 from the list. Logic will make a new small region with the Program message. If you have a setting "Merge the new recorded regions" in the Settings this small region will be automatically merged with the selected midi region in question.
    3/ Select the Midi region and open it with Event List editor. Select "Create" button, and click the Program button to create new message.
    4/ You can use Hyper Edit window and create "Program Event definition" after that draw program changes etc...

  • System Preferences Changing Without User Input

    I have one user who has had random system preferences change without her input.
    She is a network user connecting to a Lion 10.7.5 Server via OD.
    Her desktop is Lion - 10.7.4
    Example:  Today her setting for Security and Privacy to require a password on screen saver wake-up was changed/no longer checked.
    Her setting to be able to use a right click on her mouse changed 3x last week without input.
    Any ideas?

    If you are asking if the user is defined more than once, the answer is no.  Just one entry.

  • My whishlist has changed without my input

    in itunes i discovered that my whishlist has changed without my input. all my old whishlist items are gone and two new, unknown to me have been added. has anyone had this problem?

    joanfromgreenbrae wrote:
    My website is joanhauck.com.
    Joan ~ Just a tip: Including the prefix will make your website clickable:
    http://joanhauck.com
    joanfromgreenbrae wrote:
    Also, I would have replied to Old Toad, who commented on my original question, but I can't figure out how to do it, without starting an original discussion. Can you also explain this process?  Thanks
    Make sure you're logged in to the Support Communities and display the thread you want to reply to. Then locate the particular post to reply to and click the Reply link:
    ...And there are some tutorials HERE.

  • B4D  controller program change buttons and EVB3?

    Anybody using the B4D controller in Mainstage figure out how to get the program change buttons to work the presets on plugins? Also- how do I get the B4D drawbars to work the upper drawbars on the EVB3 instead of the lower drawbars which is what it's doing now? Much obliged

    I had the B4D for a drawbar controller. The Doepfer D3C with 2 racks is much better as a controller, imo or another hardware clone itself with at least 2 racks. I am a bit spoiled though with 4 racks on my new Hamichord with all the same B3-controls (as the B3) using the B4II though it can run the EVB3 as a controller
    Once you create your on-screen virtual drawbars they are assigned in the edit menu to the appropriate drawbar 16' 8' etc. You then can 'learn' (or should be able to) with the B4D after the on-screen drawbars are assigned. You could make a lower on-screen rack also and assign them. Using the lower drawbar button the the B4D - you should be able to learn those also so it works with the B4D controller.

  • Can I make MIDI program changes audible without an external device?

    I want to change patches in the middle of a track. I can put MIDI program change events into a track, but I can't hear them.

    do you mean to say that you have an audio instrument track in your arrange window and you've recorded a performance there, and you've recorded some program changes that are supposed to change the patch of the plugin, but they are not actually changing that patch?
    what is the instrument you're using?
    if this is a straight MIDI track, routed to an external device, what is that device?
    how did you input the program change?
    off the top of my head, i'm guessing this has to do with Program Change Banks . . .
    your post was very vague, and not many people will want to respond . . .

  • How do you assign program changes to external controllers in mainstage 1

    i would like to use 6 specific buttons on my controller to toggle between patches
    i know how to scroll through patches using my controller by assinging the next and previous patch functions to 2 buttons on my controller
    however what i want is to just be able to push button 1 and go to my gladiator AU synth, then push button 3 to go to my sylenth AU synth. basically i want to be able to change in real time on the spot, spontaniously without premeditation or having scroll between multiple patches to get to the one i want to use.
    in the previous posts it says
    on the patch list select the instument
    in the patch inspector go to attributes
    select program change, then assign it a number
    then assign a midi controller button to trigger that program change number
    i can do everything except the last part
    how do you assign a program change to a controller button? i cant see anywhere how to do this,
    i am using mainstage 1.0.2 thank you so much for any support you can give me

    I am not sure about that. Do you mean that all I have to do is provide the interface <cc:attribute name="value" type="lvl1.lvl2.someClass"/> and when I run the method, the returned result will be written into the expression provided in "value"?

  • Program Change Pass to Instrument Track

    Can someone point me in the direction to pass program change data to an "instrument track?"
    Scenario: Have Pro-53 on an instrument track, send Pro-53 program change data from controller but no program changes. If I use standalone Pro-53 works fine. Would like to be able to change programs for browse purposes without leaving the midi controller.
    Thanks,
    Larry

    If you're using Logic 7.2 you'll find an explanation/solution on this thread
    http://discussions.apple.com/thread.jspa?threadID=615284&tstart=180

  • Problem with direct input program while uploading data into database

    TABLES:  BGR00,                        " Mappensatz
             BMM00,                        " MM01/MM02  BTCI-Kopfdaten
             BMMH1,                        " MM01/MM02 Hauptdaten
             BMMH2,                        " Länderdaten (Steuern)
             BMMH3,                        " Prognosewerte
             BMMH4,                        " Verbrauchswerte
             BMMH5,                        " Kurztexte
             BMMH6,                        " Mengeneinheiten
             BMMH7,                        " Langtexte
             BMMH8.                        " Referentielle EAN's
           Satztypen
    DATA:    MAPPENSATZ  LIKE BMM00-STYPE VALUE '0',
             KOPFSATZ    LIKE BMM00-STYPE VALUE '1',
             HAUPTSATZ   LIKE BMM00-STYPE VALUE '2',
             KUN_SATZ    LIKE BMM00-STYPE VALUE 'Z',
             LANDSATZ    LIKE BMM00-STYPE VALUE '3',
             PROGSATZ    LIKE BMM00-STYPE VALUE '4',
             VERBSATZ    LIKE BMM00-STYPE VALUE '5',
             KTEXTSATZ   LIKE BMM00-STYPE VALUE '6',
             MESATZ      LIKE BMM00-STYPE VALUE '7',
             TEXTSATZ    LIKE BMM00-STYPE VALUE '8',
             EANSATZ     LIKE BMM00-STYPE VALUE '9'.
    Common Data Bereich fuer die extern aufgerufenen Routinen
           Initialstrukturen
    DATA:  BEGIN OF COMMON PART RMMMBIMY.
    DATA:    BEGIN OF I_BMM00.
               INCLUDE STRUCTURE BMM00.    " Kopfdaten
    DATA:    END OF I_BMM00.
    DATA:    BEGIN OF I_BMMH1.
               INCLUDE STRUCTURE BMMH1.    " Haupdaten
    DATA:    END OF I_BMMH1.
    DATA:    BEGIN OF I_BMMH2.
               INCLUDE STRUCTURE BMMH2.    " Länderdaten
    DATA:    END OF I_BMMH2.
    DATA:    BEGIN OF I_BMMH3.
               INCLUDE STRUCTURE BMMH3.    " Prognosewerte
    DATA:    END OF I_BMMH3.
    DATA:    BEGIN OF I_BMMH4.
               INCLUDE STRUCTURE BMMH4.    " Verbrauchswerte
    DATA:    END OF I_BMMH4.
    DATA:    BEGIN OF I_BMMH5.
               INCLUDE STRUCTURE BMMH5.    " Kurztexte
    DATA:    END OF I_BMMH5.
    DATA:    BEGIN OF I_BMMH6.
               INCLUDE STRUCTURE BMMH6.    " Mengeneinheiten
    DATA:    END OF I_BMMH6.
    DATA:    BEGIN OF I_BMMH7.
               INCLUDE STRUCTURE BMMH7.    " Textzeilen
    DATA:    END OF I_BMMH7.
    DATA:    BEGIN OF I_BMMH8.
               INCLUDE STRUCTURE BMMH8.    " Referentielle EAN's
    DATA:    END OF I_BMMH8.
    DATA:  END OF COMMON PART.
    DATA: WA LIKE TEDATA-DATA.
           Einzelfelder
    DATA:    GROUP_COUNT(6) TYPE C,    " Anzahl Mappen
             TRANS_COUNT(6) TYPE C,    " alte Definition für rmmmbim0
             SATZ_COUNT  LIKE MUEB_REST-TRANC, " Trans.zähler neu
             H_IND_COUNT LIKE MUEB_REST-D_IND, " Index welches Feld zurücks.
             SATZ2_COUNT(6) TYPE C.    " Anz. Sätze je Trans. ohne Kopfsatz
    DATA:    XEOF(1)          TYPE C,  " X=End of File erreicht
             XHAUPTSATZ_EXIST TYPE C,  " X=Hauptsatz zum Kopf exi.
             NODATA(1)        TYPE C.  " kein BI für dieses Feld
    mk/15.08.94:
    DATA:    GROUP_OPEN(1)  TYPE C.             " X=Mappe schon geöffnet
    *eject
           Konstanten
    DATA:    C_NODATA(1)    TYPE C VALUE '/'.   " Default für NODATA
    DATA:    MATNR_ERW     LIKE MARA-MATNR  VALUE '0                 '.
    DATA:    MATNR_ERW_INT LIKE MARA-MATNR.  "internal sight of '0      '
    DATA:    MATNR_LAST    LIKE MARA-MATNR.  "Material number
    mk/11.08.94 2.1H:
    If this flag is initial, the database updates will be done directly
    during background maintenance instead of using a separate update
    task. (no usage of this flag in dialogue mode!)
    DATA: DBUPDATE_VB(1) VALUE ' '.       "note 306628
    data: matsync type mat_sync. "wk/99a no update in dialog if called
    ***INCLUDE ZMUSD070.
    TABLES: MARA,                          "Material Master: General Data
            MARC,                          "Material Master: C Segment
            MARD,                          "Material Master: St Loc/Batch
            MBEW,                          "Material Valuation
            MVKE,                          "Material Master: Sales Data
            MLGN,                          "Material Data per Whse Number
            MLAN,                          "Tax Classification: Material
            T001W,                         "Plants/Branches
            TBICU.
    DATA: BEGIN OF VALUTAB OCCURS 0.
            INCLUDE STRUCTURE RSPARAMS.
    DATA: END OF VALUTAB.
    DATA: BEGIN OF VARTECH.
            INCLUDE STRUCTURE VARID.
    DATA: END OF VARTECH.
    DATA: PARMS LIKE ZXXDCONV.
    DATA: REC_COUNT      TYPE  I,
          REC_COUNT_BAD  TYPE  I,
          ZJOBID         LIKE  TBIZU-JOBID,
          ZJOBCOUNT      LIKE  TBIZU-JOBCOUNT,
          ZMATNR         LIKE  MARA-MATNR,
          ZTEXT(80)      TYPE  C.
    CONSTANTS: LIT_ZERO(18)  TYPE  C            VALUE '000000000000000000',
               LIT_CHAR      TYPE  C            VALUE '_',
               LIT_CREATE    LIKE  BMM00-TCODE  VALUE 'MM01',
               LIT_CHANGE    LIKE  BMM00-TCODE  VALUE 'MM02',
               LIT_CHECK(1)  TYPE  C            VALUE 'X'.
    DATA:  BEGIN OF INP_DATA OCCURS 0,
             MATNR(18)  TYPE C,            " Material code
             UMREN(6)   TYPE C,            " Denominator
             MEINH(3)   TYPE C,            " Alternate UOM
             UMREZ(6)   TYPE C,            " Numerator
           END OF INP_DATA.
    *eject
    SELECTION-SCREEN BEGIN OF BLOCK INOUT WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (13) TEXT-004.
    PARAMETERS:     P_PC        RADIOBUTTON GROUP SRC DEFAULT 'X'.
    SELECTION-SCREEN COMMENT (6) TEXT-005.
    PARAMETERS:     P_UNIX      RADIOBUTTON GROUP SRC.
    SELECTION-SCREEN COMMENT (6) TEXT-006.
    PARAMETERS:     P_DS_TYP    LIKE     ZXXDCONV-DS_TYP
                                   DEFAULT 'ASC'.
    SELECTION-SCREEN END OF LINE.
    *SELECT-OPTIONS: S_PATH      FOR      PARMS-PATH
                                  NO INTERVALS
                                  LOWER CASE.
    PARAMETERS:  P_PATH TYPE RLGRAP-FILENAME.
    PARAMETERS:     P_HDRLIN   LIKE     ZXXDCONV-HDR_LINES
                                   DEFAULT 0,
                    P_JOBNAM   LIKE     TBICU_S-JOBNAME
                                   MEMORY ID BM1,
                    P_DI_EXE    AS       CHECKBOX
                                   DEFAULT  LIT_CHECK,
                    P_MAPPE     LIKE     BGR00-GROUP
                                   DEFAULT  'MRP_UOM_LOAD'
                                   NO-DISPLAY.
    SELECTION-SCREEN END OF BLOCK INOUT.
    *eject
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_PATH.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
           EXPORTING
                PROGRAM_NAME  = SYST-REPID
                DYNPRO_NUMBER = SYST-DYNNR
                FIELD_NAME    = 'P_PATH'
           CHANGING
               FILE_NAME     = S_PATH-LOW
                FILE_NAME     = P_PATH
           EXCEPTIONS
                MASK_TOO_LONG = 1
                OTHERS        = 2.
    AT SELECTION-SCREEN.
    Set up parameter record
      PARMS-UNIX      = P_UNIX.
      PARMS-PC        = P_PC.
      PARMS-DS_TYP    = P_DS_TYP.
      PARMS-JOBNAME   = P_JOBNAM.
      PARMS-MAPPE     = P_MAPPE.
      PARMS-HDR_LINES = P_HDRLIN.
    *eject
           Main Processing Routine                                       *
    START-OF-SELECTION.
    Initialization
      PERFORM 0000_HOUSEKEEPING.
    Initialize transaction data in I_BM00
    PERFORM 0500_INIT_BMM00.
    Process input files
    SORT S_PATH BY SIGN OPTION LOW.
         MOVE S_PATH-LOW TO PARMS-PATH.
          MOVE P_PATH TO PARMS-PATH.
    LOOP AT S_PATH.
       AT NEW LOW.
          CLEAR   INP_DATA.
         REFRESH INP_DATA.
    Read source data into internal table
          PERFORM 1000_GET_SOURCE_DATA TABLES INP_DATA.
    Processs each record in internal table
          ZTEXT    = TEXT-007.
          ZTEXT+13 = PARMS-DS_NAME.
          PERFORM 4000_PROGRESS_INDICATOR USING ZTEXT.
    Initialize transaction data in I_BM00
      PERFORM 0500_INIT_BMM00.
          LOOP AT INP_DATA.
    Reset tables for each record
            BMM00              = I_BMM00.
            BMMH1              = I_BMMH1.
            BMMH6              = I_BMMH6.
    Load structures with data
            MOVE-CORRESPONDING INP_DATA TO BMM00.
            PERFORM 2000_WRITE_OUTPUT USING BMM00.
            MOVE-CORRESPONDING INP_DATA TO BMMH1.
            PERFORM 2000_WRITE_OUTPUT USING BMMH1.
            MOVE-CORRESPONDING INP_DATA TO BMMH6.
            PERFORM 2000_WRITE_OUTPUT USING BMMH6.
            REC_COUNT = REC_COUNT + 1.
          ENDLOOP.
       ENDAT.
    ENDLOOP.
      IF  REC_COUNT GT 0
      AND P_DI_EXE  EQ LIT_CHECK.
        PERFORM 3000_START_DI_JOB.
      ENDIF.
    WRITE: / TEXT-008,
               REC_COUNT.
      PERFORM 9000_END_OF_JOB.
    *eject
    Include containing common routines used by direct input programs
      INCLUDE ZMUSD071.
    *eject
          FORM 0500_INIT_BMM00                                          *
          Initialize I_BMM00 with transaction code and views selected   *
    FORM 0500_INIT_BMM00.
    ***this changes done by samson**
    if not inp_data[] is initial.
    select single matnr from mara INTO ZMATNR where matnr = inp_data-matnr.
    if sy-subrc = 0.
      I_BMM00-TCODE = LIT_CHANGE.
    Basic data
      I_BMM00-XEIK1  = LIT_CHECK.
    else.
      I_BMM00-TCODE = LIT_CREATE.
    Basic data
      I_BMM00-XEIK1 = LIT_CHECK.
    endif.
    endif.
    **this changes above done by samson**
    Transaction code
    I_BMM00-TCODE = LIT_CHANGE.
    Basic data
    I_BMM00-XEIK1  = LIT_CHECK.
    ENDFORM.
    INCLUDE ZMUSD069.
    *eject
          FORM 0000_HOUSEKEEPING                                        *
          Initialization routines                                       *
    FORM 0000_HOUSEKEEPING.
      PERFORM 0010_LDS_NAME.
      PERFORM 0020_DS_NAME.
      PERFORM 0030_OPEN_FILE.
      PERFORM 0040_INIT_STRUCTS.
    ENDFORM.
    *eject
          FORM 0010_LDS_NAME                                            *
          Obtain logical file name from DI job details                  *
    FORM 0010_LDS_NAME.
    Check valid job name
      SELECT SINGLE * FROM  TBICU
                      WHERE JOBNAME EQ PARMS-JOBNAME.
      IF SY-SUBRC EQ 0.
        CALL FUNCTION 'RS_VARIANT_VALUES_TECH_DATA'
             EXPORTING
                  REPORT               = TBICU-REPNAME
                  VARIANT              = TBICU-VARIANT
             IMPORTING
                  TECHN_DATA           = VARTECH
             TABLES
                  VARIANT_VALUES       = VALUTAB
             EXCEPTIONS
                  VARIANT_NON_EXISTENT = 1
                  VARIANT_OBSOLETE     = 2
                  OTHERS               = 3.
        IF SY-SUBRC EQ 0.
          READ TABLE VALUTAB WITH KEY 'LDS_NAME'.
          MOVE VALUTAB-LOW TO PARMS-LDS_NAME.
        ELSE.
          MESSAGE I001 WITH PARMS-JOBNAME.
          MESSAGE A099.
        ENDIF.
      ELSE.
        MESSAGE I000 WITH PARMS-JOBNAME.
        MESSAGE A099.
      ENDIF.
    ENDFORM.
    *eject
          FORM 0040_INIT_STRUCTS                                        *
          Initialize structures for direct input records                *
    FORM 0040_INIT_STRUCTS.
    Start of standard SAP initialization from example program RMMMBIME
    *------- Write session record -
      CLEAR BGR00.
      BGR00-STYPE  = MAPPENSATZ.
      BGR00-GROUP  = PARMS-MAPPE.
      BGR00-NODATA = C_NODATA.
      BGR00-MANDT  = SY-MANDT.
      BGR00-USNAM  = SY-UNAME.
      BGR00-START  = BGR00-NODATA.
      BGR00-XKEEP  = BGR00-NODATA.
      PERFORM 2000_WRITE_OUTPUT USING BGR00.
    *----- Initialize structures -
      NODATA = BGR00-NODATA.
      PERFORM INIT_STRUKTUREN_ERZEUGEN(RMMMBIMI) USING NODATA.
    End of standard SAP initialization from example program RMMMBIME
    ENDFORM.
    *eject.
          FORM 3000_START_DI_JOB                                        *
          Start direct input job                                        *
    FORM 3000_START_DI_JOB.
      ZTEXT = 'Starting '(021).
      ZTEXT+9 = TBICU-JOBNAME.
      PERFORM 4000_PROGRESS_INDICATOR USING ZTEXT.
      CALL FUNCTION 'BI_START_JOB'
           EXPORTING
                JOBID                 = ' '
                JOBTEXT               = TBICU-JOBNAME
                REPNAME               = TBICU-REPNAME
                SERVER                = TBICU-EXECSERVER
                VARIANT               = TBICU-VARIANT
                NEW_JOB               = 'X'
                CONTINUE_JOB          = ' '
                START_IMMEDIATE       = 'X'
                DO_NOT_PRINT          = 'X'
                USERNAME              = SY-UNAME
           IMPORTING
                JOBID                 = ZJOBID
                JOBCOUNT              = ZJOBCOUNT
           EXCEPTIONS
                JOB_OPEN_FAILED       = 1
                JOB_CLOSE_FAILED      = 2
                JOB_SUBMIT_FAILED     = 3
                WRONG_PARAMETERS      = 4
                JOB_DOES_NOT_EXIST    = 5
                WRONG_STARTTIME_GIVEN = 6
                JOB_NOT_RELEASED      = 7
                WRONG_VARIANT         = 8
                NO_AUTHORITY          = 9
                DIALOG_CANCELLED      = 10
                JOB_ALREADY_EXISTS    = 11
                PERIODIC_NOT_ALLOWED  = 12
                ERROR_NUMBER_GET_NEXT = 13
                OTHERS                = 14.
      IF SY-SUBRC EQ 0.
        WRITE: / 'Direct input job'(022), TBICU-JOBNAME, 'started'.
      ELSE.
        WRITE: / 'Direct input failed with return code'(023), SY-SUBRC.
      ENDIF.
    FORM 0020_DS_NAME.
      CALL FUNCTION 'FILE_GET_NAME'
           EXPORTING
                CLIENT           = SY-MANDT
                LOGICAL_FILENAME = PARMS-LDS_NAME
                OPERATING_SYSTEM = SY-OPSYS
           IMPORTING
                FILE_NAME        = PARMS-DS_NAME
           EXCEPTIONS
                FILE_NOT_FOUND   = 1
                OTHERS           = 2.
      IF SY-SUBRC NE 0.
        MESSAGE E002 WITH PARMS-LDS_NAME.
        MESSAGE A099.
      ENDIF.
    ENDFORM.
    *eject
          FORM 0030_OPEN_FILE                                           *
          Open physical file for output                                 *
    FORM 0030_OPEN_FILE.
    OPEN DATASET PARMS-DS_NAME FOR OUTPUT IN TEXT MODE. "thg191105
      OPEN DATASET PARMS-DS_NAME FOR OUTPUT IN TEXT MODE
                                     encoding default. "thg191105
      IF SY-SUBRC NE 0.
        MESSAGE E003 WITH PARMS-DS_NAME.
        MESSAGE A099.
      ENDIF.
    ENDFORM.
    *eject
          FORM 1000_GET_SOURCE_DATA                                     *
          Read source data into internal table                          *
    -->  INP_DATA   " Name of internal table passed as parameter       *
    FORM 1000_GET_SOURCE_DATA TABLES INP_DATA.
      CALL FUNCTION 'Z_FILE_UPLOAD'
           EXPORTING
                UNIX                = PARMS-UNIX
                PC                  = PARMS-PC
                FILETYPE            = PARMS-DS_TYP
                FILENAME            = PARMS-PATH
                HDR_LINES           = PARMS-HDR_LINES
           TABLES
                DATA_TAB            = INP_DATA
           EXCEPTIONS
                CONVERSION_ERROR    = 1
                FILE_OPEN_ERROR     = 2
                FILE_READ_ERROR     = 3
                INVALID_TABLE_WIDTH = 4
                INVALID_TYPE        = 5
                NO_BATCH            = 6
                UNKNOWN_ERROR       = 7
                INVALID_SOURCE      = 8
                OTHERS              = 9.
    ENDFORM.
    *eject
          FORM 2000_WRITE_OUTPUT                                        *
          Write record in standard SAP structure to UNIX file           *
    -->  I_STRUCT   " Name of record passed as parameter               *
    *FORM 2000_WRITE_OUTPUT USING I_STRUCT."SRY28NOV05
    FORM 2000_WRITE_OUTPUT USING I_STRUCT TYPE ANY.      "SRY28NOV05
       TRANSFER I_STRUCT TO PARMS-DS_NAME.
      IF SY-SUBRC NE 0.
        MESSAGE E004 WITH PARMS-DS_NAME.
        MESSAGE A099.
      ENDIF.
    ENDFORM.
    *eject
    *&      Form  2100_WS_DOWNLOAD
          text                                                           *
    -->  p1        text
    <--  p2        text
    FORM 2100_WS_DOWNLOAD TABLES INP_DATA.
    DATA: FILENAME LIKE RLGRAP-FILENAME.   "SRY28NOV05
      DATA: W_FILENAME TYPE STRING.             "SRY28NOV05
      DATA: W_FTYP(10) TYPE C VALUE 'DAT'.      "SRY28NOV05
    MOVE PARMS-DS_NAME TO FILENAME.       "SRY28NOV05
      MOVE PARMS-DS_NAME TO W_FILENAME.      "SRY28NOV05
    *BEGIN OF BLOCK COMMENT BY SRY28NOV05
    CALL FUNCTION 'WS_DOWNLOAD'
          EXPORTING
            BIN_FILESIZE        = ' '
            CODEPAGE            = ' '
               FILENAME            = FILENAME
               FILETYPE            = 'DAT'
            MODE                = ' '
            WK1_N_FORMAT        = ' '
            WK1_N_SIZE          = ' '
            WK1_T_FORMAT        = ' '
            WK1_T_SIZE          = ' '
            COL_SELECT          = ' '
            COL_SELECTMASK      = ' '
       importing
            filelength          =
          TABLES
               DATA_TAB            = INP_DATA
            FIELDNAMES          =
          EXCEPTIONS
               FILE_OPEN_ERROR     = 1
               FILE_WRITE_ERROR    = 2
               INVALID_FILESIZE    = 3
               INVALID_TABLE_WIDTH = 4
               INVALID_TYPE        = 5
               NO_BATCH            = 6
               UNKNOWN_ERROR       = 7
               OTHERS              = 8.
    *END OF BLOCK COMMENT BY SRY28NOV05
    *BEGIN OF BLOCK ADDED BY SRY28NOV05
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                        = W_FILENAME
          FILETYPE                        = W_FTYP
        TABLES
          DATA_TAB                        = INP_DATA
       EXCEPTIONS
         FILE_WRITE_ERROR                = 1
         NO_BATCH                        = 2
         GUI_REFUSE_FILETRANSFER         = 3
         INVALID_TYPE                    = 4
         NO_AUTHORITY                    = 5
         UNKNOWN_ERROR                   = 6
         HEADER_NOT_ALLOWED              = 7
         SEPARATOR_NOT_ALLOWED           = 8
         FILESIZE_NOT_ALLOWED            = 9
         HEADER_TOO_LONG                 = 10
         DP_ERROR_CREATE                 = 11
         DP_ERROR_SEND                   = 12
         DP_ERROR_WRITE                  = 13
         UNKNOWN_DP_ERROR                = 14
         ACCESS_DENIED                   = 15
         DP_OUT_OF_MEMORY                = 16
         DISK_FULL                       = 17
         DP_TIMEOUT                      = 18
         FILE_NOT_FOUND                  = 19
         DATAPROVIDER_EXCEPTION          = 20
         CONTROL_FLUSH_ERROR             = 21
         OTHERS                          = 22.
      IF SY-SUBRC NE 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *END OF BLOCK ADDED BY SRY28NOV05
    ENDFORM.                               " 2100_WS_DOWNLOAD
    *eject
          FORM 4000_PROGRESS_INDICATOR                                  *
          Write progress text to status bar                             *
    -->  TEXT   " Text passed as parameter                             *
    FORM 4000_PROGRESS_INDICATOR USING TEXT.
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
           EXPORTING
                PERCENTAGE = 0
                TEXT       = TEXT
           EXCEPTIONS
                OTHERS     = 1.
    ENDFORM.
    *eject.
          FORM 9000_END_OF_JOB                                          *
          Close files on UNIX                                           *
    FORM 9000_END_OF_JOB.
      CLOSE DATASET PARMS-DS_NAME.
    ENDFORM.
    FORM 1000_GET_SOURCE_DATA TABLES INP_DATA.
      CALL FUNCTION 'Z_FILE_UPLOAD'
           EXPORTING
                UNIX                = PARMS-UNIX
                PC                  = PARMS-PC
                FILETYPE            = PARMS-DS_TYP
                FILENAME            = PARMS-PATH
                HDR_LINES           = PARMS-HDR_LINES
           TABLES
                DATA_TAB            = INP_DATA
           EXCEPTIONS
                CONVERSION_ERROR    = 1
                FILE_OPEN_ERROR     = 2
                FILE_READ_ERROR     = 3
                INVALID_TABLE_WIDTH = 4
                INVALID_TYPE        = 5
                NO_BATCH            = 6
                UNKNOWN_ERROR       = 7
                INVALID_SOURCE      = 8
                OTHERS              = 9.
    ENDFORM.
    *eject
          FORM 2000_WRITE_OUTPUT                                        *
          Write record in standard SAP structure to UNIX file           *
    -->  I_STRUCT   " Name of record passed as parameter               *
    *FORM 2000_WRITE_OUTPUT USING I_STRUCT."SRY28NOV05
    FORM 2000_WRITE_OUTPUT USING I_STRUCT TYPE ANY.      "SRY28NOV05
       TRANSFER I_STRUCT TO PARMS-DS_NAME.
      IF SY-SUBRC NE 0.
        MESSAGE E004 WITH PARMS-DS_NAME.
        MESSAGE A099.
      ENDIF.
    ENDFORM.
    *eject
    *&      Form  2100_WS_DOWNLOAD
          text                                                           *
    -->  p1        text
    <--  p2        text
    FORM 2100_WS_DOWNLOAD TABLES INP_DATA.

    Hi,
    Thnaks for your reply, This is my requirement.
    Here my problem is i am trying to upload the data from flatfile which contain materil number, denominator, Actual UOM, Nominator field values.
    Which is the data i need to upload into MM02 and MM01, if material number is new then it has to create the material, if material is already existing it has to update the UOM values.
    here i am getting data into my internal table INP_DATA, from that i am trying to upload the data to database by using job name MRP_MATERIAL_MASTER_DATA_UPLOAD with direct input program RMDATIND.
    when i execute my program i am getting success message all the records writtin from flatfile to application server. and job started message.
    then if i go into sm37 screen there i execute the job it is also giving active message. if i refresh it it is showing job completed message.
    then i look at job log status. there i found that for existing material it is expecting material type, for new material it is giving some gravity error.
    So could u help me in this it will be gr8.
    Thanks & Regards,
    RamNV

  • Sending Program Changes to external MIDI device

    Just getting started with MainStage, so excuse the basic question . . .
    I'd like to use MainStage with two main pieces of hardware – an Elektron Monomachine acting as the master clock and sequencer, and a Machinedrum, which is slaved to the Monomachine. I'm running MainStage to use a soft synth or two sequenced from the Monomachine, and for effects. So far so good.
    Patterns on the Machinedrum are selected externally with MIDI Program Changes. Conversely, when you select patterns on the Monomachine, it sends out a Program Change message so that you can lock the two machines together pattern-wise.
    In Layout mode, I drop in a rotary knob, hit the Learn button and change patterns three times on the Monomachine; the knob says Program Change and the number of the Program (all correct).
    Next, in the Patch editor, I map that screen control to Machinedrum > MIDI Controller > Program Change. If I turn the knob using the mouse, it changes the Program (pattern) on the Machinedrum (all correct).
    BUT . . . now (in either Edit or Perform mode) when I change the pattern on the Monomachine (sending a Program Change message), the knob doesn't move. I see the Program Change message being received by MainStage in the MIDI monitor, but it doesn't get routed to the screen control.
    What could I be doing wrong? Why does it respond correctly in Learn mode, but then not in Edit or Perform mode?

    peterslade wrote:
    BUT . . . now (in either Edit or Perform mode) when I change the pattern on the Monomachine (sending a Program Change message), the knob doesn't move. I see the Program Change message being received by MainStage in the MIDI monitor, but it doesn't get routed to the screen control.
    What could I be doing wrong? Why does it respond correctly in Learn mode, but then not in Edit or Perform mode?
    Hi
    Could it be that MS thinks the incoming PC messages are intended to change MS patches?
    In Edit mode, select the Concert in the Patch list, and change the Program Change Device/channel etc in the Attributes Inspector to something other than the Mono
    HTH
    CCT

  • Can't make a selection of my pathes even if i have set a program change number for each one.Why is that happening?

    Hi everybody!
    I send program change messages from my midi controller and the messages are accepted by mainstage 3 as shown in the midi message window,but i can't make a selection of my pathes even if i have set a program change number for each patch.Why is that happening?
    I use a novation SL mki or a KORG Triton Le or a m-audio axiom 49 as midi controllers.The program change messages are transmitted by all the devices i mentioned above and shown as received in the midi messages window of mainstage 3.
    Has anyone the same experience?

    Hi
    Have you selected the correct device as the Program Change device and MIDI channel in the Concert Inspector?
    CCT

  • Sometimes PDF mails are going without an attachment.

    Hi,
    I have 3 output types and the 3 custom programs.
    When the background job scheduled, the standard RSNAST00 will call the custom programs,
    1)      The logic which added in the custom programs is once adobe form gets generated for output types, I have converted the adobe form into PDF attachment and send the E-mail to distribution list when the Transmission medium is u20185u2019.
    2)      In the program Function Module u2018SCMS_XSTRING_TO_BINARYu2019 used to convert adobe form into PDF file and class CL_BCS used to send it as a mail attachment.
    3) for the  other custom program,  once script gets generated for the output type I have converted the SCRIPT into PDF attachment and send the E-mail to distribution list when the Transmission medium is u20185u2019 .
    4) In the program function Module u2018CONVERT_OTFu2019 used to convert script to OTF file & CLASS METHOD xstring_to_solix Converts OTF to PDF and class CL_BCS used to send it as mail attachment to the mail id.
    Issue: Sometimes mails are going without an attachment. When we retrigger the output type mails are sent with attachment successfully. This is happening monthly once or twice,even that time also when one output type send the attachment mail then remaining two not send the attachment and vice versa.
    Any clues on this issue.
    Thanks
    Kiran

    I am on the way debugging into it .. to see the escape thing .. looks to me we double escape it ..
    usually, you should NOT have to set anything more, this misbehaviour of incostent read is fixed by 10.1.3 - the escaping, I'll have to check ..
    .clemens

  • What values do I enter in the program change field for EXS24 ?

    I am using YaMAHA WX5 WIND CONTROLLER to play instrument sin Logic. I can get 'next settings' and 'previuos settings' to work with cc values. However, because of the setup of the WX, it wouls work better for me if I coud use its program change buttons.
    What value should go in the program change box ?
    OPEn EXS24
    click edit
    navigate edit>preferences>select previous instrument or next instrument
    afer that what value will allow EXS24 to change instruments using my WX5.
    I have used MIDI monitor to find what value the WX sends and the only think that shows up is 'program'
    I have tried learn assignment in Logic. When I press the program change button, Logic reads it as program change but provides no value.
    Thanks

    any one?

Maybe you are looking for

  • Why is my iCloud backup for photos 3.3 Gbs but I only have 12 photos in my camera roll?

    After purchasing my iPhone 4S I performed a restore from backup that I had from my iPhone 4 (running iOS 4.3.5). Prior to doing this restore, I did not realize that my photos were not being synchronized from my iOS device and saved in that backup. So

  • Calculated Key Figures Issue!

    Hello Experts - I'm getting error messages for the calculated key figures. The message says that the key figure is not defined correctly. Therefore, I started breaking down the calculated key figures and use them in the eventual calculated key figure

  • To change the Job Log Detail in SM37

    Hi All, How can I change the standard JOB LOG detail in SM37 for partical program if it runs in Background.I have foumd the Function Module(BP_JOBLOG_READ) which is used to update this JOB LOG detail.How can I edit the standard . Kindly provide the w

  • SAP NetWeaver 7.0 ABAP Trial Version Issues - cannot start NSP from MMC.

    I am trying to install the the SAP NetWeaver 7.0 ABAP Trial Version on Windows XP Professional. The installation ended without errors but now I can not start the NSP instance from MMC. The message server and dispatcher processes both start but messag

  • AVI Clips Imported to CS.5.5 Has Green Tint and Colored Lines

    NOTE: I'm using the video monitor in the CS5.5 program. Still trying to upgrage to CS5.5 and testing out the trial version. The new challange is the green tint and colored lines on the imported .AVI files. Any tips would sure be appreciated. Thanks.