Automating Mod wheel data after midi input
Hi all,
So what ive done is create a Bodyrox style patch on the ES2 and linked the mod wheel using the routing to cutt off 1+2 and Env3 release. I have inputed my midi via piano roll but not want to add the automation for the mod wheel so that I can open and close the feed to the cut offs and release through out the piece.
I have a feeling I am over looking something really obvious, but isn't it always the way!
Regards Craig
It's even easier to record Hyper Draw:
Record over the existing MIDI region and move the Mod wheel... you'll record the CC data in Hyper Draw mode, which you can view in the Piano Roll by clicking on the Hyper Draw button (bottom left of Piano Roll).
Here you can fine edit the Hyper Draw info if needed.
Hope that helps
Rounik
Similar Messages
-
MOD wheel only goes up to MIDI value 86
Hi all,
My MOD Wheel, controlling modulation data in Logic pro X, only gives MIDI values from 0-86.
Even when the wheel is at the top, the data never goes above 86.
Would anyone know how to get it to output values from 0-127?
Thanks
JoshYou can also download this MIDI Monitor to check and make sure your keyboard output is working correctly.
http://www.snoize.com/MIDIMonitor/ -
Midi controlled filters, aka use mod wheel to change cut off frequency
Does garageband have any filters that you can control in real time via midi? Such as dynamically changing the cut off frequency of a low pass filter.
I'd love to do a classic filter sweep using the mod wheel.
Are there any midi controlled AU plugins that can do this?Any automation in GB is done via the automation curves.
-
my iphone 5s got stolen and the option to erase data after 10 tries was not enabled. What happens after the incorrect password is input after 10 times?
After the sixth erroneous passcode entry a delay is imposed that increases exponentially and eventually reaches over 40 years before another attempt can be made.
No one yet knows how long the next delay is. -
Hi Gurus,
I am working on to get BOM information in BI and using a FM which is calling Function CS_BOM_EXPL_MAT_V2.
Here is the entire FM.
FUNCTION ybwpp_bom_exp_itm_3rd_lvl.
""Local Interface:
*" IMPORTING
*" REFERENCE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
*" REFERENCE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
*" REFERENCE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
*" REFERENCE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
*" REFERENCE(I_READ_ONLY) TYPE SRSC_S_IF_SIMPLE-READONLY OPTIONAL
*" REFERENCE(I_REMOTE_CALL) TYPE SBIWA_FLAG OPTIONAL
*" TABLES
*" I_T_SELECT TYPE SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
*" E_T_DATA STRUCTURE YPPBW_MAST_STPO OPTIONAL
*" EXCEPTIONS
*" ERROR_PASSED_TO_MESS_HANDLER
*" NO_MORE_DATA
======================================================================
Function Module Name - YBWPP_BOM_EXP_ITM_3RD_LVL *
===============================REVISIONS==============================
Cut *
Programmer Over Date MOC# Description *
======================================================================
Maximum number of lines for DB table
STATICS: s_s_if TYPE srsc_s_if_simple,
counter
s_counter_datapakid LIKE sy-tabix,
cursor
s_cursor TYPE cursor.
DATA: lt_stb TYPE STANDARD TABLE OF stpox WITH HEADER LINE,
lt_matcat TYPE STANDARD TABLE OF cscmat WITH HEADER LINE.
DATA wa_mast_stpo TYPE yppbw_mast_stpo.
initialization mode (first call by sapi) or data transfer mode
(following calls) ?
IF i_initflag = sbiwa_c_flag_on.
Initialization: check input parameters
buffer input parameters
prepare data selection
CHECK datasource VALIDITY
CASE i_dsource.
WHEN 'YBWPPBOMITMMASTSTPO'.
WHEN OTHERS.
IF 1 = 2.
MESSAGE e009(r3).
ENDIF.
This is a typical log call. Write every error message like
log_write 'E' "message type
'R3' "message class
'009' "message number
i_dsource "message variable 1
' '. "message variable 2
RAISE error_passed_to_mess_handler.
ENDCASE.
APPEND LINES OF i_t_select TO s_s_if-t_select.
Fill parameter buffer for data extraction calls
s_s_if-requnr = i_requnr.
s_s_if-dsource = i_dsource.
s_s_if-maxsize = i_maxsize.
Fill field list table for an optimized select statement
(in case that there is no 1:1 relation between InfoSource fields
and database table fields this may be far from beeing trivial)
APPEND LINES OF i_t_fields TO s_s_if-t_fields.
ELSE. "Initialization mode or data extraction ?
Data transfer: First Call OPEN CURSOR + FETCH
Following Calls FETCH only
First data package -> OPEN CURSOR
IF s_counter_datapakid = 0.
Fill range tables BW will only pass down simple selection criteria
of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
LOOP AT s_s_if-t_select INTO l_s_select.
CASE l_s_select-fieldnm.
WHEN 'YYMATNR'.
MOVE-CORRESPONDING l_s_select TO r_matnr.
APPEND r_matnr.
WHEN 'YYWERKS'.
MOVE-CORRESPONDING l_s_select TO r_werks.
APPEND r_werks.
WHEN 'YYSTLAN'.
MOVE-CORRESPONDING l_s_select TO r_stlan.
APPEND r_stlan.
WHEN 'YYSTLAL'.
MOVE-CORRESPONDING l_s_select TO r_stlal.
APPEND r_stlal.
ENDCASE.
ENDLOOP.
Determine number of database records to be read per FETCH statement
from input parameter I_MAXSIZE. If there is a one to one relation
between DataSource table lines and database entries, this is trivial.
In other cases, it may be impossible and some estimated value has to
be determined.
*-- Fill the Range Table for Plants.
r_werks-sign = 'I'.
r_werks-option = 'EQ'.
r_werks-low = '1027'.
APPEND r_werks.
r_werks-low = '1028'.
APPEND r_werks.
r_werks-low = '1037'.
APPEND r_werks.
r_werks-low = '1042'.
APPEND r_werks.
r_werks-low = '1043'.
APPEND r_werks.
r_werks-low = '1077'.
APPEND r_werks.
r_werks-low = '1088'.
APPEND r_werks.
r_werks-low = '1315'.
APPEND r_werks.
*-- Retrive Valid Material Number, Plant, BoM Usage & Alternative UoM
OPEN CURSOR WITH HOLD s_cursor FOR
SELECT matnr werks stlan stlal
FROM mast
WHERE matnr IN r_matnr AND
werks IN r_werks AND
stlan IN r_stlan AND
stlal IN r_stlal.
ENDIF. "First data package ?
Fetch records into interface table.
FETCH NEXT CURSOR s_cursor
INTO TABLE gt_mast
PACKAGE SIZE s_s_if-maxsize.
IF sy-subrc NE 0.
CLOSE CURSOR s_cursor.
RAISE no_more_data.
ENDIF.
LOOP AT gt_mast INTO wa_mast.
*-- Get BOM explosion for material
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
capid = 'STD1'
datuv = sy-datum
mktls = 'X'
mehrs = 'X'
mtnrv = wa_mast-matnr
stlal = wa_mast-stlal
stlan = wa_mast-stlan
werks = wa_mast-werks
TABLES
stb = lt_stb
matcat = lt_matcat
EXCEPTIONS
alt_not_found = 1
call_invalid = 2
material_not_found = 3
missing_authorization = 4
no_bom_found = 5
no_plant_data = 6
no_suitable_bom_found = 7
conversion_error = 8
OTHERS = 9.
IF sy-subrc = 0.
*-- Get BOM item record
PERFORM get_bom_item_stpo TABLES lt_stb .
ENDIF.
MOVE-CORRESPONDING wa_mast TO wa_mast_stpo.
LOOP AT lt_stb.
CLEAR wa_mast_stpo.
PERFORM move_mast_records_finaltab USING wa_mast_stpo.
PERFORM move_bom_exp_to_finaltab USING lt_stb
wa_mast_stpo.
MOVE-CORRESPONDING lt_stb TO wa_mast_stpo.
READ TABLE gt_stpo INTO wa_stpo
WITH KEY stlty = lt_stb-stlty
stlnr = lt_stb-stlnr
stlkn = lt_stb-stlkn
stpoz = lt_stb-stpoz.
IF sy-subrc = 0.
PERFORM move_stpo_to_finaltab USING wa_mast_stpo.
MOVE-CORRESPONDING wa_stpo TO wa_mast_stpo.
ENDIF.
APPEND wa_mast_stpo TO e_t_data.
CLEAR e_t_data.
ENDLOOP.
ENDLOOP.
s_counter_datapakid = s_counter_datapakid + 1.
ENDIF.
ENDFUNCTION.
I am not getting any output. Can someone please tell me what am I doing wrong in here.
Thanks
Edited by: Ray_Ray on Jul 30, 2010 1:02 AMHi,
I am not sure as to what values are getting passed into your function module because all the cursor statements look OK.
My suggestion would be that you put a break-point at the function module for BOM CS_BOM_EXPL_MAT_V2 and then go to RSA3. Provide your datasource and execute it. At the breakpoint you should be able to see if the values that are getting passed are valid or not and whether this function module is returning any value. Also, check if your internal table gs_nast is getting any values or not after the fetch cursor statement. -
Mod Wheel not changing Articulation ID
I'm using the Samson Carbon 61 keyboard controller to program drums with Drum Kit Designer. The decice is working correctly. But when using the GM + Mod Wheel for Hi Hat control, the Mod Wheel doesn't make any changes in the Articulation ID parameter. I already checked and the Mod Wheel is sending the corresponding CC#1 (Modulation) messages to the software correctly. Does anyone know how to solve this?
Hi
The Art Of Sound wrote:
Normally it must send such messages on Channel 10... not Channel 1 which is the default for most Keyboards. (Logic reads all Chans usually)
<snip>
If I am incorrect, maybe Edgar might step in with further advice...
Not Edgar, but...
DrumKit Designer uses Articulation ID's to control the HiHat Open/Closed amount. Switching to GM+ does indeed work the Open/Closed amount here on F#1, G#1 and A#1 notes with the Mod Wheel. It works regardless of MIDI transmission channel and regardless of the Instrument track MIDI Channel.
You may note that playing say an F#1 with the Mod Wheel on Max will give you an open Hat sound, but moving the ModWheel back to zero will not give you a "pedal closing" hat sound. You have to play the note again.
If the controller device is correctly sending MIDI CC1, the OP may want to switch DKD for the EXS24 after loading the desired kit and setting the GM+ in DKD. You could then open up the EXS Editor Groups pane and watch check that they are being selected as you play a note repeatedly whilst moving the Mod Whl.
CCT -
How can I add a mod wheel?
I've got a Yamaha P-120 keyboard which I use as a controller for Logic. It's a really nice keyboard that I love playing on, but it doesn't have a mod wheel on it, and I'd really like to be able to send modulation data into Logic to take advantage of sophisticated sample libraries. Is there some way to add just that functionality?
One thing I thought of is getting an expression pedal, which the P-120 supports, enabling it to send expression data into Logic. Does Logic have some way to remap the incoming expression data to modulation data? Any other ideas? Thanks.Never having used a pedal, I can only guess, but here goes:
First make sure your your pedal is plugged into your keyboard and your key board into your computer.
Then create a physical in object in the environment if there isn't already one there.
Next, attach a monitor object to the sum output of the physical in object and try using your pedal. You should see the monitor respond accordingly, displaying series of 3 numbers. Pay close attention to those numbers.
Now hook up the output of your monitor to a tranformer object and set the transformer's mode of operation to 'apply operation and let non corresponding values through'. Then set the transformer condition section to Control and the first 2 numbers to those your monitor outputs, leaving the 3rd field as thru.
Set the operation section to Control, fix 1, fix 1, again leaving the third field blank, and hook the object up to the instrument you want to control, or better still to the seq input.
That should be just yummy!
PowerBook G4 12" Mac OS X (10.4.8) -
Mod Wheel controls fader, not modulation???
When using the mod wheel on a M-Audio keystation 61es through a Roland SI-24 on Logic Pro7.1, the mod wheel doesn't affect any plug-in parameters (cut-off, etc). Insted it changes the fader on Audio Track 2 and Audio Instrument 6. Any help?
-JustinHi
The Art Of Sound wrote:
Normally it must send such messages on Channel 10... not Channel 1 which is the default for most Keyboards. (Logic reads all Chans usually)
<snip>
If I am incorrect, maybe Edgar might step in with further advice...
Not Edgar, but...
DrumKit Designer uses Articulation ID's to control the HiHat Open/Closed amount. Switching to GM+ does indeed work the Open/Closed amount here on F#1, G#1 and A#1 notes with the Mod Wheel. It works regardless of MIDI transmission channel and regardless of the Instrument track MIDI Channel.
You may note that playing say an F#1 with the Mod Wheel on Max will give you an open Hat sound, but moving the ModWheel back to zero will not give you a "pedal closing" hat sound. You have to play the note again.
If the controller device is correctly sending MIDI CC1, the OP may want to switch DKD for the EXS24 after loading the desired kit and setting the GM+ in DKD. You could then open up the EXS Editor Groups pane and watch check that they are being selected as you play a note repeatedly whilst moving the Mod Whl.
CCT -
Mod Wheel Only Goes Down To 45
This is a very recent problem. My modulation wheel now only wants to go down to around 45. It will go all the way up to 127, and hit it around 3/4 of the way to the top. I have checked all the keyboard settings I know to check. It shows it only going form 45 to 127 in both Logic and on the keyboard display. It is a Kurzweil PC1X. I am sure that this is keyboard related, but I can't find a good Kurzweil place to ask questions, and thought you guys might be able to help me. Also, I thought there might be a way to define the mod wheel parameters in Logic. The mod wheel is very important to me, because I normaly use it to control velocity for Vienna Instruments.
Oh, and as a side question. How do I find out what the different midi controllers are called on my kepboard? If, for example, I were to use a seperete controller to control velocity, and wanted to redraw some things after performance in the Matrix editor, how would I find out which midi controller it is from the list of options? Thanks very much.
Colin ThomsonI can't help with the Kurzweil because I don't know it.
About controllers, usually in good keyboards, like yours, you can customize them choosing which MIDI message they send; they are described in the keyboard manual together with a MIDI implementation table.
If you want to see in Logic what happens when you use a controller open the Event List (under the Window menu).
cheers
rob -
Event Type Descriptions - Mod Wheel / Quick Access Auto Help
I really just need some description for the possible event types you can assign to controllers in logic, like the mod wheel. For example, expression, portamento time... I don't know what i should be listening for when it comes to utilizing these controls. But I know some of these options would greatly enhance my samples (EWQLSO) in terms of reality (strings swelling instead of remaining stagnant). The manual mentions around 15 event types, and I was wondering if I could get some solid definitions. Some are obvious, but feel free to fill in the gaps, it would be much appreciated.
Also, I've had some trouble getting mod-wheel movement to show up in multiple windows in logic. Even if I do automation quick access assigned to the mod wheel, I get split information. For instance, the Arrange Window will record pitch bend data, but it will not be reflected in the Event List, or Editor, let alone these options in the Matrix window.
Any help would be great.Please don't cross-post. It is considered very rude to do that here:
http://forum.java.sun.com/thread.jspa?threadID=5233033&messageID=9953169#9953169 -
G5 dual 2ghz. Been unplugged for a while. Powers up but no video or power to usb keyboard. Boots up fine in safe mode, restart into normal mode ok. After shutdown, back to same issue. What's happening?
I keep seeing people ask and the advice to replace if it has been unplugged, but really have nothing to confirm that from my experiences.
My experience is that a weak or dead battery can cause much more than date and time issues.
I have seen it time and time again.
Deal with used machines and you will quickly learn....
I'll give no "recipe" or set list of symptoms, but the range of irregularities that can occur make it a quick and easy first line of troubleshooting, especially when the machine has been off the mains for a few months.
Why fight mysterious maladies and troubleshoot with the knowledge that the PRAM battery is beyond it's useful life.
Maybe they recharge?
Not likely. They are chemically nasty, disposable, one way discharge batteries.
They aren't Lithium-ion batteries -
How to stored data after clicking checkbox save in database table
TYPE-pools: slis.
tables:mkpf,mseg,mard,COWB_COMP.
TYPES: BEGIN OF tp_data,
mblnr LIKE mseg-mblnr,
matnr LIKE mseg-matnr,
werks LIKE mard-werks,
lgort LIKE mard-lgort,
lgpbe LIKE mard-lgpbe,
charg LIKE mseg-charg,
bwart LIKE mseg-bwart,
budat LIKE mkpf-budat,
menge LIKE mseg-menge,
meins LIKE mseg-meins,
kostl LIKE mseg-kostl,
aufnr LIKE mseg-aufnr,
rsnum LIKE mseg-rsnum,
endkz like COWB_COMP-endkz,
END OF tp_data,
tp_tbl_data TYPE STANDARD TABLE OF tp_data.
*data: t_data like ztable occurs 0 with header line.
Constants
Data objects (variable declarations and definitions)
Report data to be shown.
DATA: it_data TYPE STANDARD TABLE OF tp_data.
Heading of the report.
DATA: t_heading TYPE slis_t_listheader.
========================== Selection Screen ==========================
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS:smblnr FOR mseg-mblnr MODIF ID m1,
smatnr FOR mseg-matnr MODIF ID m2,
swerks FOR mard-werks MODIF ID m3,
slgort FOR mard-lgort MODIF ID m4,
slgpbe FOR mard-lgpbe MODIF ID m5,
scharg FOR mseg-charg MODIF ID m6,
sbwart FOR mseg-bwart MODIF ID m7,
skostl FOR mseg-kostl MODIF ID m8,
saufnr FOR mseg-aufnr MODIF ID m9,
srsnum FOR mseg-rsnum MODIF ID m10.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS:pre RADIOBUTTON GROUP radi USER-COMMAND ucomm DEFAULT 'X',
pse RADIOBUTTON GROUP radi,
bps RADIOBUTTON GROUP radi.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
PARAMETER:layout TYPE i.
SELECTION-SCREEN END OF BLOCK b3.
=========================== Event Blocks =============================
AT selection-SCREEN.
start-OF-selection.
PERFORM get_data USING it_data.
END-OF-selection.
PERFORM build_alv USING it_data t_heading.
=========================== Subroutines ==============================
*& Form get_data
Gets the information to be shown in the report.
FORM get_data USING t_data TYPE tp_tbl_data.
SELECT msegmblnr msegmatnr mardwerks mardlgort mardlgpbe msegcharg msegbwart mkpfbudat
msegmenge msegmeins msegkostl msegaufnr mseg~rsnum
INTO CORRESPONDING FIELDS OF TABLE t_data
FROM mseg
JOIN mard ON mardmatnr EQ msegmatnr
JOIN mkpf ON msegmblnr EQ mkpfmblnr
WHERE mseg~matnr IN smatnr.
ENDFORM. " get_data
*& Form build_alv
Builds and display the ALV Grid.
FORM build_alv USING t_data TYPE tp_tbl_data
t_heading TYPE slis_t_listheader.
ALV required data objects.
DATA: w_title TYPE lvc_title,
w_comm TYPE slis_formname,
w_status TYPE slis_formname,
x_layout TYPE slis_layout_alv,
t_event TYPE slis_t_event,
t_fieldcat TYPE slis_t_fieldcat_alv,
t_sort TYPE slis_t_sortinfo_alv.
REFRESH t_fieldcat.
REFRESH t_event.
REFRESH t_sort.
CLEAR x_layout.
CLEAR w_title.
Field Catalog
PERFORM set_fieldcat2 USING:
1 'MBLNR' 'MBLNR' 'MSEG' space space space space space space space space space space space space t_fieldcat ,
2 'MATNR' 'MATNR' 'MSEG' space space space space space space space space space space space space t_fieldcat ,
3 'WERKS' 'WERKS' 'MARD' space space space space space space space space space space space space t_fieldcat,
4 'LGORT' 'LGORT' 'MARD' space space space space space space space space space space space space t_fieldcat ,
5 'LGPBE' 'LGPBE' 'MARD' space space space space space space space space space space space space t_fieldcat ,
6 'CHARG' 'CHARG' 'MSEG' space space space space space space space space space space space space t_fieldcat ,
7 'BWART' 'BWART' 'MSEG' space space space space space space space space space space space space t_fieldcat,
8 'BUDAT' 'BUDAT' 'MKPF' space space space space space space space space space space space space t_fieldcat,
9 'MENGE' 'MENGE' 'MSEG' space space space space space space space space space space space space t_fieldcat,
10 'MEINS' 'MEINS' 'MSEG' space space space space space space space space space space space space t_fieldcat,
11 'KOSTL' 'KOSTL' 'MSEG' space space space space space space space space space space space space t_fieldcat,
12 'AUFNR' 'AUFNR' 'MSEG' space space space space space space space space space space space space t_fieldcat,
13 'RSNUM' 'RSNUM' 'MSEG' space space space space space space space space space space space space t_fieldcat,
14 'ENDKZ' 'ENDKZ' 'COWB_COMP' space space 'select' 'Select this row' 'Sel' 'Select this row' space space space 'X' 'X' space t_fieldcat.
Layout
x_layout-zebra = 'X'.
Top of page heading
PERFORM set_top_page_heading USING t_heading t_event.
Events
PERFORM set_events USING t_event.
GUI Status
w_status = ''.
User commands
w_comm = 'USER_COMMAND'.
Order
Example
PERFORM set_order USING '<field>' 'IT_DATA' 'X' space space t_sort.
PERFORM set_order USING 'MBLNR' 'IT_DATA' 'X' space 'X' t_sort.
PERFORM set_order USING 'EBELN' 'IT_DATA' 'X' space 'X' t_sort.
PERFORM set_order USING 'EBELP' 'IT_DATA' 'X' space space t_sort.
Displays the ALV grid
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
it_fieldcat = t_fieldcat
is_layout = x_layout
it_sort = t_sort
i_callback_pf_status_set = w_status
i_callback_user_command = w_comm
i_save = 'X'
it_events = t_event
i_grid_title = w_title
TABLES
t_outtab = t_data
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " build_alv.
*& Form set_top_page_heading
Creates the report headings.
FORM set_top_page_heading USING t_heading TYPE slis_t_listheader
t_events TYPE slis_t_event.
DATA: x_heading TYPE slis_listheader,
x_event TYPE LINE OF slis_t_event.
Report title
CLEAR t_heading[].
CLEAR x_heading.
x_heading-typ = 'H'.
x_heading-info = 'Reporte Prueba'(001).
APPEND x_heading TO t_heading.
Program name
CLEAR x_heading.
x_heading-typ = 'S'.
x_heading-KEY = 'Program: '.
x_heading-info = sy-repid.
APPEND x_heading TO t_heading.
User who is running the report
CLEAR x_heading.
x_heading-typ = 'S'.
x_heading-KEY = 'User: '.
x_heading-info = sy-uname.
APPEND x_heading TO t_heading.
Date of execution
CLEAR x_heading.
x_heading-typ = 'S'.
x_heading-KEY = 'Date: '.
WRITE sy-datum TO x_heading-info.
APPEND x_heading TO t_heading.
Time of execution
CLEAR x_heading.
x_heading-typ = 'S'.
x_heading-KEY = 'Time: '.
WRITE sy-uzeit TO x_heading-info.
APPEND x_heading TO t_heading.
Top of page event
x_event-name = slis_ev_top_of_page.
x_event-FORM = 'TOP_OF_PAGE'.
APPEND x_event TO t_events.
ENDFORM.
*& Form set_events
Sets the events for ALV.
The TOP_OF_PAGE event is alredy being registered in
the set_top_page_heading subroutine.
FORM set_events USING t_events TYPE slis_t_event.
DATA: x_event TYPE LINE OF slis_t_event.
Example
clear x_event.
x_event-name = .
x_event-form = .
append x_event to t_event.
ENDFORM.
*& Form set_order
Adds an entry to the order table.
FORM set_order USING p_fieldname p_tabname p_up p_down p_subtot
t_sort TYPE slis_t_sortinfo_alv.
DATA: x_sort TYPE slis_sortinfo_alv.
CLEAR x_sort.
x_sort-fieldname = p_fieldname.
x_sort-tabname = p_tabname.
x_sort-UP = p_up.
x_sort-down = p_down.
x_sort-subtot = p_subtot.
APPEND x_sort TO t_sort.
ENDFORM. "set_order
*& Form set_fieldcat2
Adds an entry to the field catalog.
FORM set_fieldcat2 USING p_colpos p_fieldname p_ref_fieldname p_ref_tabname
p_outputlen p_noout
p_seltext_m p_seltext_l p_seltext_s p_reptext_ddic p_ddictxt
p_hotspot p_showasicon p_checkbox p_edit
p_dosum
t_fieldcat TYPE slis_t_fieldcat_alv.
DATA: wa_fieldcat TYPE slis_fieldcat_alv.
CLEAR wa_fieldcat.
General settings
wa_fieldcat-fieldname = p_fieldname.
wa_fieldcat-col_pos = p_colpos.
wa_fieldcat-no_out = p_noout.
wa_fieldcat-HOTSPOT = p_hotspot.
wa_fieldcat-CHECKBOX = p_checkbox.
wa_fieldcat-ICON = p_showasicon.
wa_fieldcat-do_sum = p_dosum.
Set reference fieldname, tablenam and rollname.
If p_ref_tabname is not given, the ref_fieldname given is a data element.
If p_ref_tabname is given, the ref_fieldname given is a field of a table. In case ref_fieldname is not given, it is copied from the fieldname.
IF p_ref_tabname IS INITIAL.
wa_fieldcat-rollname = p_ref_fieldname.
ELSE.
wa_fieldcat-ref_tabname = p_ref_tabname.
IF p_ref_fieldname EQ space.
wa_fieldcat-ref_fieldname = wa_fieldcat-fieldname.
ELSE.
wa_fieldcat-ref_fieldname = p_ref_fieldname.
ENDIF.
ENDIF.
Set output length.
IF NOT p_outputlen IS INITIAL.
wa_fieldcat-outputlen = p_outputlen.
ENDIF.
Set text headers.
IF NOT p_seltext_m IS INITIAL.
wa_fieldcat-seltext_m = p_seltext_m.
ENDIF.
IF NOT p_seltext_l IS INITIAL.
wa_fieldcat-seltext_l = p_seltext_l.
ENDIF.
IF NOT p_seltext_s IS INITIAL.
wa_fieldcat-seltext_s = p_seltext_s.
ENDIF.
IF NOT p_reptext_ddic IS INITIAL.
wa_fieldcat-reptext_ddic = p_reptext_ddic.
ENDIF.
IF NOT p_ddictxt IS INITIAL.
wa_fieldcat-ddictxt = p_ddictxt.
ENDIF.
Set as editable or not.
IF p_edit IS NOT INITIAL.
wa_fieldcat-INPUT = 'X'.
wa_fieldcat-EDIT = 'X'.
ENDIF.
APPEND wa_fieldcat TO t_fieldcat.
ENDFORM. "set_fieldcat2
=========================== Subroutines called by ALV ================
*& Form top_of_page
Called on top_of_page ALV event.
Prints the heading.
FORM top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
i_logo = 'XXXXX'
it_list_commentary = t_heading.
ENDFORM. " alv_top_of_page
*& Form user_command
Called on user_command ALV event.
Executes custom commands.
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
ENDFORM. "user_command
this is my code, how to store data after clicking checkbox in databasetable,
how to write that cide.
plz send me code.hi!,
use MODIFY to update data into the data base table.
regards
anjali -
Hello, all,
how can I enter data in an input schedule on a member in the EPM Add-On that is not a base member?
E.g. I want to implement a top-down-planning scenario and I have the following hierarchy:
Europe
Germany
France
UK
Spain
Italy
How can I enter a value on Europe in an input schedule in order to allocate this value afterwards?
Thanks in advance and best regards
GerdGerd,
It should be something like below -
EuropeInput
Europe
Germany
France
UK
Spain
Italy
EuropeInput shall be kept out of hierarchy and should be a base level member. Users will enter the numbers in this member. In your script logic, you will make use of this member to allocate the data in Bas(Europe) i.e. Germany, France, etc.
Effectively, after allocation the same data will be rolled up to Europe.
Many top-down planning would use such work-around as BPC doesn't allow writing to parent node.
Regards,
Ashish -
Need help on: Automation of Daily Data Load
Hi all,
We need to start our Daily Data load from DAC by Manually. So right now my client has asked us to do Automation of Daily Data Load.
Starting the Daily Data Load Manually(DAC) Process: First we have to check whether the ASCP Plans updated or not
Right now we are checking whether the plans got updated or not, so for this we are using following query
SELECT LTrim(RTrim (compile_designator)),data_completion_date,TO_CHAR(data_completion_date ,'DD-MON-YYYY HH24:MI:SS') FROM apps.msc_plans
WHERE LTrim(RTrim (compile_designator))
in( 'Plan01,'Plan02','Plan03','Paln04') ORDER BY 2 desc
from this query we will able to see whether all the plans got updated or not. From all the Four Plans, two plans will get updated as of Sysdate(mm/dd/yyy) ,Timestamp(hh:mm:ss)(for example i.e. Plan01 08/25/2011 11:20:08 PM, Plan02 08/25/2011 11:45:06 PM) and rest two plans get updated on Sysdate+1(mm/dd/yyy), Timestamp(hh:mm:ss)(for example i.e. Plan03 08/26/2011 12:20:05 AM, Plan04 08/26/2011 12:45:08 AM)
So after checking the plans , we start the Daily Load in DAC manually.
May I know how should I convert my above sql query which I am using for checking the plans updated or not in informatica, so as to automate the Daily Load in informatica level..
Need help.You cannot replicate what is done with DAC at Informatica level. DAC is a separate Oracle product that orchestrates and manages the ETL load (including Index management, etc). The reason Oracle developed DAC is because it allows you to manage a large scale DW load for a large ERP system. As suggested, you can invoke the DAC execution plan via a command but you cannot replicate everything the DAC does at Informatica level. If this helps, please mark as helpful.
-
How to save data after clicking checkbox stored in databasetable
TYPE-pools: slis.
tables:mkpf,mseg,mard.
TYPES: BEGIN OF tp_data,
mblnr LIKE mseg-mblnr,
matnr LIKE mseg-matnr,
werks LIKE mard-werks,
lgort LIKE mard-lgort,
lgpbe LIKE mard-lgpbe,
charg LIKE mseg-charg,
bwart LIKE mseg-bwart,
budat LIKE mkpf-budat,
menge LIKE mseg-menge,
meins LIKE mseg-meins,
kostl LIKE mseg-kostl,
aufnr LIKE mseg-aufnr,
rsnum LIKE mseg-rsnum,
checkbox TYPE c,
__mark,
END OF tp_data,
tp_tbl_data TYPE STANDARD TABLE OF tp_data.
Constants
Data objects (variable declarations and definitions)
Report data to be shown.
DATA: it_data TYPE STANDARD TABLE OF tp_data.
Heading of the report.
DATA: t_heading TYPE slis_t_listheader.
========================== Selection Screen ==========================
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS:smblnr FOR mseg-mblnr MODIF ID m1,
smatnr FOR mseg-matnr MODIF ID m2,
swerks FOR mard-werks MODIF ID m3,
slgort FOR mard-lgort MODIF ID m4,
slgpbe FOR mard-lgpbe MODIF ID m5,
scharg FOR mseg-charg MODIF ID m6,
sbwart FOR mseg-bwart MODIF ID m7,
skostl FOR mseg-kostl MODIF ID m8,
saufnr FOR mseg-aufnr MODIF ID m9,
srsnum FOR mseg-rsnum MODIF ID m10.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS:pre RADIOBUTTON GROUP radi USER-COMMAND ucomm DEFAULT 'X',
pse RADIOBUTTON GROUP radi,
bps RADIOBUTTON GROUP radi.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
PARAMETER:layout TYPE i.
SELECTION-SCREEN END OF BLOCK b3.
=========================== Event Blocks =============================
AT selection-SCREEN.
start-OF-selection.
PERFORM get_data USING it_data.
END-OF-selection.
PERFORM build_alv USING it_data t_heading.
=========================== Subroutines ==============================
*& Form get_data
Gets the information to be shown in the report.
FORM get_data USING t_data TYPE tp_tbl_data.
SELECT msegmblnr msegmatnr mardwerks mardlgort mardlgpbe msegcharg msegbwart mkpfbudat
msegmenge msegmeins msegkostl msegaufnr mseg~rsnum
INTO CORRESPONDING FIELDS OF TABLE t_data
FROM mseg
JOIN mard ON mardmatnr EQ msegmatnr
JOIN mkpf ON msegmblnr EQ mkpfmblnr
WHERE mseg~matnr IN smatnr.
ENDFORM. " get_data
*& Form build_alv
Builds and display the ALV Grid.
FORM build_alv USING t_data TYPE tp_tbl_data
t_heading TYPE slis_t_listheader.
ALV required data objects.
DATA: w_title TYPE lvc_title,
w_comm TYPE slis_formname,
w_status TYPE slis_formname,
x_layout TYPE slis_layout_alv,
t_event TYPE slis_t_event,
t_fieldcat TYPE slis_t_fieldcat_alv,
t_sort TYPE slis_t_sortinfo_alv.
REFRESH t_fieldcat.
REFRESH t_event.
REFRESH t_sort.
CLEAR x_layout.
CLEAR w_title.
Field Catalog
PERFORM set_fieldcat2 USING:
1 'MBLNR' 'MBLNR' 'MSEG' space space space space space space space space space space space space t_fieldcat ,
2 'MATNR' 'MATNR' 'MSEG' space space space space space space space space space space space space t_fieldcat ,
3 'WERKS' 'WERKS' 'MARD' space space space space space space space space space space space space t_fieldcat,
4 'LGORT' 'LGORT' 'MARD' space space space space space space space space space space space space t_fieldcat ,
5 'LGPBE' 'LGPBE' 'MARD' space space space space space space space space space space space space t_fieldcat ,
6 'CHARG' 'CHARG' 'MSEG' space space space space space space space space space space space space t_fieldcat ,
7 'BWART' 'BWART' 'MSEG' space space space space space space space space space space space space t_fieldcat,
8 'BUDAT' 'BUDAT' 'MKPF' space space space space space space space space space space space space t_fieldcat,
9 'MENGE' 'MENGE' 'MSEG' space space space space space space space space space space space space t_fieldcat,
10 'MEINS' 'MEINS' 'MSEG' space space space space space space space space space space space space t_fieldcat,
11 'KOSTL' 'KOSTL' 'MSEG' space space space space space space space space space space space space t_fieldcat,
12 'AUFNR' 'AUFNR' 'MSEG' space space space space space space space space space space space space t_fieldcat,
13 'RSNUM' 'RSNUM' 'MSEG' space space space space space space space space space space space space t_fieldcat,
14 '__MARK' 'XFELD' space space space 'Select' 'Select this row' 'Sel' 'Select this row' space space space 'X' 'X' space t_fieldcat.
Layout
x_layout-zebra = 'X'.
Top of page heading
PERFORM set_top_page_heading USING t_heading t_event.
Events
PERFORM set_events USING t_event.
GUI Status
w_status = ''.
User commands
w_comm = 'USER_COMMAND'.
Order
Example
PERFORM set_order USING '<field>' 'IT_DATA' 'X' space space t_sort.
PERFORM set_order USING 'LIFNR' 'IT_DATA' 'X' space 'X' t_sort.
PERFORM set_order USING 'EBELN' 'IT_DATA' 'X' space 'X' t_sort.
PERFORM set_order USING 'EBELP' 'IT_DATA' 'X' space space t_sort.
Displays the ALV grid
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
it_fieldcat = t_fieldcat
is_layout = x_layout
it_sort = t_sort
i_callback_pf_status_set = w_status
i_callback_user_command = w_comm
i_save = 'X'
it_events = t_event
i_grid_title = w_title
TABLES
t_outtab = t_data
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " build_alv.
*& Form set_top_page_heading
Creates the report headings.
FORM set_top_page_heading USING t_heading TYPE slis_t_listheader
t_events TYPE slis_t_event.
DATA: x_heading TYPE slis_listheader,
x_event TYPE LINE OF slis_t_event.
Report title
CLEAR t_heading[].
CLEAR x_heading.
x_heading-typ = 'H'.
x_heading-info = 'Reporte Prueba'(001).
APPEND x_heading TO t_heading.
Program name
CLEAR x_heading.
x_heading-typ = 'S'.
x_heading-KEY = 'Program: '.
x_heading-info = sy-repid.
APPEND x_heading TO t_heading.
User who is running the report
CLEAR x_heading.
x_heading-typ = 'S'.
x_heading-KEY = 'User: '.
x_heading-info = sy-uname.
APPEND x_heading TO t_heading.
Date of execution
CLEAR x_heading.
x_heading-typ = 'S'.
x_heading-KEY = 'Date: '.
WRITE sy-datum TO x_heading-info.
APPEND x_heading TO t_heading.
Time of execution
CLEAR x_heading.
x_heading-typ = 'S'.
x_heading-KEY = 'Time: '.
WRITE sy-uzeit TO x_heading-info.
APPEND x_heading TO t_heading.
Top of page event
x_event-name = slis_ev_top_of_page.
x_event-FORM = 'TOP_OF_PAGE'.
APPEND x_event TO t_events.
ENDFORM.
*& Form set_events
Sets the events for ALV.
The TOP_OF_PAGE event is alredy being registered in
the set_top_page_heading subroutine.
FORM set_events USING t_events TYPE slis_t_event.
DATA: x_event TYPE LINE OF slis_t_event.
Example
clear x_event.
x_event-name = .
x_event-form = .
append x_event to t_event.
ENDFORM.
*& Form set_order
Adds an entry to the order table.
FORM set_order USING p_fieldname p_tabname p_up p_down p_subtot
t_sort TYPE slis_t_sortinfo_alv.
DATA: x_sort TYPE slis_sortinfo_alv.
CLEAR x_sort.
x_sort-fieldname = p_fieldname.
x_sort-tabname = p_tabname.
x_sort-UP = p_up.
x_sort-down = p_down.
x_sort-subtot = p_subtot.
APPEND x_sort TO t_sort.
ENDFORM. "set_order
*& Form set_fieldcat2
Adds an entry to the field catalog.
FORM set_fieldcat2 USING p_colpos p_fieldname p_ref_fieldname p_ref_tabname
p_outputlen p_noout
p_seltext_m p_seltext_l p_seltext_s p_reptext_ddic p_ddictxt
p_hotspot p_showasicon p_checkbox p_edit
p_dosum
t_fieldcat TYPE slis_t_fieldcat_alv.
DATA: wa_fieldcat TYPE slis_fieldcat_alv.
CLEAR wa_fieldcat.
General settings
wa_fieldcat-fieldname = p_fieldname.
wa_fieldcat-col_pos = p_colpos.
wa_fieldcat-no_out = p_noout.
wa_fieldcat-HOTSPOT = p_hotspot.
wa_fieldcat-CHECKBOX = p_checkbox.
wa_fieldcat-ICON = p_showasicon.
wa_fieldcat-do_sum = p_dosum.
Set reference fieldname, tablenam and rollname.
If p_ref_tabname is not given, the ref_fieldname given is a data element.
If p_ref_tabname is given, the ref_fieldname given is a field of a table. In case ref_fieldname is not given, it is copied from the fieldname.
IF p_ref_tabname IS INITIAL.
wa_fieldcat-rollname = p_ref_fieldname.
ELSE.
wa_fieldcat-ref_tabname = p_ref_tabname.
IF p_ref_fieldname EQ space.
wa_fieldcat-ref_fieldname = wa_fieldcat-fieldname.
ELSE.
wa_fieldcat-ref_fieldname = p_ref_fieldname.
ENDIF.
ENDIF.
Set output length.
IF NOT p_outputlen IS INITIAL.
wa_fieldcat-outputlen = p_outputlen.
ENDIF.
Set text headers.
IF NOT p_seltext_m IS INITIAL.
wa_fieldcat-seltext_m = p_seltext_m.
ENDIF.
IF NOT p_seltext_l IS INITIAL.
wa_fieldcat-seltext_l = p_seltext_l.
ENDIF.
IF NOT p_seltext_s IS INITIAL.
wa_fieldcat-seltext_s = p_seltext_s.
ENDIF.
IF NOT p_reptext_ddic IS INITIAL.
wa_fieldcat-reptext_ddic = p_reptext_ddic.
ENDIF.
IF NOT p_ddictxt IS INITIAL.
wa_fieldcat-ddictxt = p_ddictxt.
ENDIF.
Set as editable or not.
IF p_edit IS NOT INITIAL.
wa_fieldcat-INPUT = 'X'.
wa_fieldcat-EDIT = 'X'.
ENDIF.
APPEND wa_fieldcat TO t_fieldcat.
ENDFORM. "set_fieldcat2
=========================== Subroutines called by ALV ================
*& Form top_of_page
Called on top_of_page ALV event.
Prints the heading.
FORM top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
i_logo = 'XXXXX'
it_list_commentary = t_heading.
ENDFORM. " alv_top_of_page
*& Form user_command
Called on user_command ALV event.
Executes custom commands.
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Example Code
Executes a command considering the sy-ucomm.
CASE r_ucomm.
WHEN '&IC1'.
Set your "double click action" response here.
Example code: Create and display a status message.
DATA: w_msg TYPE string,
w_row(4) TYPE n.
w_row = rs_selfield-tabindex.
CONCATENATE 'You have clicked row' w_row
'field' rs_s lfield-fieldname
'with value' rs_selfield-value
INTO w_msg SEPARATED BY space.
MESSAGE w_msg TYPE 'S'.
ENDCASE.
End of example code.
ENDFORM. "user_command
this is mycode,mblnr, matnr and checkbox both field had created in database table
then save data after clicking checkbox data stored in database table,and next clickin checkboxes are no change. this my requirment.
plz send me code .Try this
In user_command form...
LOOP AT IT_DATA.
IF CHECKBOX __MARK EQ 'X'.
write logic wht u want....
ENDIF.
ENDLOOP.
Maybe you are looking for
-
Previewing images in forms 11g from the server
Hi All, i need your help in this issue please i've just migrated my application from forms 6i to forms 11g there is a function in my application that i used that previewed images that exists on a network drive that are used in an image gallary now i
-
Showing Errors in Report Output
Hi some of users getting this error .printer issue is working fine but they are geting this error PP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Cannot read file E:\APPS2K\applprod\common\BPOD\out\o1212988.out Cause: Appl
-
Display image for BLOB Download link in Interactive Report
I have a table containing BLOB data and am displaying the table in an interactive report. I would like to replace the "Download" text link with an icon that represents the MIME type of the BLOB, but can't seem to find a way to make the substitution.
-
TS1363 Iphone & Itunes problems
I got a new computer and Iphone, now I can't sink the phone with computer or iphone, any suggestions
-
How to get Current User Group NAME
I am using the com.sun.security.auth.module.NTSystem to obtain information on the current user logged into the NT System. This class gives me the user name, all the group SIDs associated with the current user and also the current user's primary group