Change click behavior BAL_DSP_LOG_DISPLAY

Hello! I have an requirement that is calling FB03 from a double click on an aplication log.
I'm using FM BAL_DSP_LOG_DISPLAY to show the required logs. So far so good.
The problem is changing the default behavior on the double click of a message (showing a popup with the message details). I need to call FB03 when a specific message type and number message is clicked.
Is it possible to override the default click behavior on BAL_DSP_LOG_DISPLAY? If possible, how do I do this?
Thanks in advance, best regards.
Edited by: djutopic on Feb 17, 2011 11:53 AM

Actually, the click behavior haven't been changed. I added a detail callback function to the message.
In the specific message that needed a special behavior I populated the field params of the message with the program and routine that will handle the click.
Something like:
data: l_s_msg       type bal_s_msg,
         lw_callback type bal_s_clbk,
         lw_param    type bal_s_parm.
lw_callback-userexitt = ' '.
lw_callback-userexitp = <PROGRAM_NAME>.
lw_callback-userexitf = 'MESSAGE_TO_FB03'.
lw_param-callback = lw_callback.
l_s_msg-params = lw_param.
The routine looks like this:
form message_to_fb03 tables pt_params structure spar.
  data: lv_belnr type belnr_d,
           lv_gjahr type gjahr.
  read table pt_params with key param = 'V1'.
  lv_belnr = pt_params-value.
  read table pt_params with key param = 'V2'.
  lv_gjahr = pt_params-value.
  set parameter id: 'BLN' field lv_belnr,
                    'BUK' field '0100',
                    'GJR' field lv_gjahr.
  call transaction 'FB03' and skip first screen.
endform.
Regards

Similar Messages

  • Can I change the behavior of right clicks

    Some of my online emails have there own right click menus. Can I disable right Clicks in firefox while visiting these sites

    At present, it is not possible to change the behavior of a built-in entity extractor. However, if you want to cover casesthat abuilt-in extractor doesn't cover, you can add your own entity extractor.  For example, the "ordinal" built-in
    entity extractor covers "first", "second", "3rd", etc.as in "the second one in the list".  If you wanted to also detect "last" as in"the last one in the list", youcould build your own entity
    extractor that detects "last", and the check for both your entity and the built-in entity in your app.

  • Changing mouse click behavior on JTable

    Hi everybody,
    The default behavior of a mouse click on a jTable is selection of the cell.
    I would like to change the behavior so when the user clicks once on the cell, the content can be marked and is ready to change. That would give the user the same feeling as Excel.
    Is there any way that I can do this without writing a new mouse/event handler?
    thanks,

    With a call to getSelectionModel() of JTable, you can get a reference to the ListeSelectionModel.
    This is in fact an instance of DefaultListSelectionModel, which allows you to set a new listener object using addListSelectionListener(ListSelectionListener l).
    All you have to do then is implement a custom ListSelectionListener which handles events as you want.
    Unfortunately there isnt going to be a way of avoiding writing a Listener, but this is how you would go about it.
    colr__

  • How to override Ctrl-Click behavior in Java L&F

    On the Mac, Ctrl-Click is the popup trigger. While Java L&F designers were obviously aware of this (it is warned about in the Java Look and Feel Design Guidelines, 2nd ed, page 106). However, just two pages later (page 108), they then generically specifify that Ctrl-Click is used in lists and tables to toggle the selection.
    The implementation of the Java L&F does not appear to consider the Mac's use of Ctrl-Click and still toggles selection. If there is an additional mouse listener that shows a menu in response to the popup trigger, it will ALSO open the menu on Ctrl-Click.
    What is the best way to overide the Ctrl-Click behavior in JTable etc. to NOT do the toggle selection? Note that this is a mouse event and not a key event, so it can't be turned off or changed by the getActionMap() mechanism.
    Also, does anyone know what the "Command" modifier on the Mac (Command-Click is supposed to toggle selection on Macs) shows up as in the InputEvent (isMetaDown(), isAltGraphDown()...)?

    Try extending the JList and override the processMouseEvent(MouseEvent evt) method and show your popup menu when the user clicks the mouse while holding the CTRL key down. The code below demonstrates the same.
    import java.awt.BorderLayout;
    import java.awt.event.MouseEvent;
    import java.util.Vector;
    import javax.swing.JFrame;
    import javax.swing.JList;
    import javax.swing.JOptionPane;
    import javax.swing.JScrollPane;
    import javax.swing.ListModel;
    import javax.swing.WindowConstants;
    public class Temp extends JFrame {
         public Temp() {
              super("Temp");
              setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
              String [] items = {"One", "Two", "Three", "Four", "Five"};
              JList list = new MyList(items);
              JScrollPane scroller = new JScrollPane(list);
              getContentPane().add(scroller, BorderLayout.CENTER);
              pack();
              setVisible(true);
         class MyList extends JList {
              public MyList() {
                   super();
              public MyList(Object[] listData) {
                   super(listData);
              public MyList(Vector listData) {
                   super(listData);
              public MyList(ListModel dataModel) {
                   super(dataModel);
              protected void processMouseEvent(MouseEvent evt) {
                   System.out.println(evt.isPopupTrigger());
                   int onmask = MouseEvent.CTRL_DOWN_MASK | MouseEvent.BUTTON1_DOWN_MASK;
                   if(evt.getModifiersEx() == onmask) {
                        JOptionPane.showMessageDialog(this, "Control + click");
                   else {
                        super.processMouseEvent(evt);
         public static void main(String[] args) {
              new Temp();
    }Hope this helps
    Sai Pullabhotla

  • How to change the behavior of Named Criteria

    Dear,
    we created Named Criteria with bind viriable, then I drag as Query Panel to the page, then I drag the same VO to the page as ADF Form. in the same form I create three bottons ( Delete,Insert,Update)
    the question is when I create record in the form using Insert botton then I want to cancel this action and I want to click on search botton the from give that some fields in ADF from are requird so how to avoid that. or how can I change the behavior of search button .
    thanks,

    Thanks,
    but can you please tell me how to add the rollback in the action of search button.
    as I see I cann't find the code behinde for search button.

  • I've found that middlemouse.contentLoadURL feature has changed its behavior in FF5.0 as compared with previous versions

    I've found that middlemouse.contentLoadURL feature has changed its behavior in FF5.0 as compared with previous versions: I now can paste&load only full urls that start with "http://" prefix, but previously it was possible to paste&load any url even without protocol prefix. It is very useful when someone has an url for example just "support.mozilla.com", but with FF5.0 one _has_ to paste it to urlbar instead of just middle-clicking into the browser window (long standing and usual *nix behavior). How can I make middlemouse.contentLoadURL load any clipboard content not prefixed with protocol specification?

    Oops, already found a solution: https://support.mozilla.com/ru/questions/824759
    But, how could it be done via something less freaky (ala about:config)?

  • FF4.0 wants to download a .asp page ratehr than open it. How do I change this behavior?

    I am on a OSX 10.6.7. One example of the page that I want to open is at http://tinyurl.com/3moz8fk When I click on the link, FF downloads the page. When I enter the link in Safari, it opens as expected. I don't see anywhere that I can change the behavior of the .asp documents in order to open as expected.

    I know that the doc is a PDF. Firefox isn't getting to the point of downloading the pdf, it thinks that it's supposed to d/l the ASP page.

  • Volume change 'clicks'?

    I've noticed that on few occasions after the 10.4.4 upgrade, my volume has behaved strangely, when changing it using the keyboard shortcuts -- the volume increases or decreases lags behind my keypresses, and my speakers emit a soft, percussive clicking noise as I make the changes.
    At first I thought it had something to do with my processor load, but it seems to do it even during regular use. It seems to only happen when I'm running it off the battery -- on one occasion when I plugged it into AC power, the problem disappeared. It also seems to emit a single click every time I select Sound in my Preferences pane when I have the problem. Opening the Sound preferences also seems to temporarily relieve it of the laggy, clicking behavior. Again, this problem is intermittent, and the described Sound preference-click only happens when the volume change problem arises.
    Anyone have any ideas? I don't really, besides that it might have something to do with 10.4.4 and battery power.

    Mine clicks too, and has always done so. I think it's called positive feedback and is quite intentional. The volume of the clicks is in proportion to the volume setting, but other than when at a very low volume I wouldn't expect it to vanish even when plugged in. The laggy behaviour however, I'm sure that's intentional ! Are you running a heavy load of other programs? I don't use audio much so I'm probably not the right chap to try to figure out what's happening there. Do you have any other audio programs running that might have to be notified of a change in volume, thereby slowing things down?
    Best wishes, Max

  • LR 5.5 double-click behavior on WB sliders (and other sliders in Basic tab)

    i recently upgraded to LR 5.5 from 5.4.
    sometimes i check the auto-WB recommendation by using the ability to Shift + double-click on a WB slider (in Dev. Module).  (this feature was introduced in LR 5, i believe, maybe LR 4.)
    before the upgrade, whether the WB sliders were already at a custom setting or still on the "as-shot" setting, you could Shift + double-click on either the Temp or Tint slider and get the "auto" recommendation.  Then, you could undo and redo, toggling back and forth between the auto setting and whatever you had before that.
    now, however, when i Shift + double-click, before the slider registers the double-click and produces the auto setting, it responds to the first part of the double-click.  that means that FIRST it moves the slider a little one way or the other, and THEN goes to the auto setting.
    this behavior makes it impossible to toggle back and forth between the auto setting and whatever it was before that.  instead, it now toggles between auto and that little adjustment that was registered in the first part of the double-click.
    for example:
    the Temp slider is set to a custom value of 5200 on a certain photo.
    i'm curious what is the auto recommendation, so i Shift + double-click on the slider.
    the slider registers the first part of my double-click, moving for an instant to 5384, before understanding that i actually double-clicked and producing the auto setting.
    this is annoying in any case, but it's a problem because now when i undo and redo to toggle between my custom setting (5200) and the auto recommendation, it's instead toggling between the auto and 5384.  (or whatever value happened to register in the first part of the double-click.)
    this changed behavior also affects the other sliders in the Basic tab where you can Shift + double-click to check an auto value.  personally, i never use this feature on the other sliders, but i do use it quite a bit on the WB sliders as a step in arriving at my custom WB.
    also, i just noticed that it also happens sometimes on black-and-white images, when adjusting the Black and White Mix sliders.  (these sliders can also revert to their auto value if you adjust one and then Shift + double-click.  this is beneficial for when you don't want to return the whole group of sliders to auto mix.
    note:
    i do not adjust the sliders by dragging.  instead, i mouse over a slider, and use up or down arrow keys to adjust in regular increments (or Shift + arrow key for a larger increment).  i find this is a much better way to work for a number of reasons, and especially with large numbers of images.  if i want to make a finer adjustment, i just click in the value field of a slider and use arrow keys to go in single-unit increments.  (or use Option + arrow key for a smaller-than-default increment.)
    For color Temp, camera settings already use 50-degree increments (5600, 5650, 5700, etc.), so they appear in LR with those kinds of rounded numbers, never 5611 or whatever.  using the arrow keys to adjust color temp also goes in 50-degree increments, and using Shift+arrow key goes in 200-degree increments.  For Tint, however, the camera does use single-unit increments, like 7 or 11.  the arrow key method of adjusting Tint goes in increments of 5 or 20, which for Tint is usually too broad of an adjustment.  
    sorry for the long post.  anyone else having this problem?  as someone who does a lot of toggling back-and-forth to compare things, i find this fairly small change in behavior incredibly disruptive.
    my system:
    late 2013, 15-inch rMBP;  2.3 GHz i7;  500gb SSD; 16gb RAM
    OS 10.9.2  (not yet on 10.9.3 as there seem to be problems)
    no Adobe CC items.

    bob,
    you are correct—what you said does work.
    {for the sake of clarity and consistency, when i say double-click on the "slider", i mean on the value-marker, the triangular point that actually moves (or what ssprengel is calling the "slider-thumb/handle" if i'm understanding him correctly)—not the range on which it moves, nor the label to the left side of the range.}
    but have i gone crazy??  has the behavior not changed at all??  i could have sworn that in the past, i was double-clicking (with or w/o shift key) on the value-marker of the slider, instead of on the label as you mention (although that instruction does sound familiar now, too).  this is not a rare action for me, but something i've done countless times on the WB sliders, and also on the Black and White Mix sliders to return them to their auto value.
    actually—now that i think about it, i do this action a ton on the HSL sliders, also:  use the arrow keys (or Shift+arrow) to adjust HSL values, which go in increments of 5 (arrow) or 20 (shift+arrow).  sometimes to return to zero i use the arrow keys again, but sometimes just double-click on the slider.
    Or, if i want to see a very large, imprecise adjustment, i don't use the arrow keys but just click once towards the extemes of the range: +83 or -100 or whatever.  and then to return to zero, i just double-click on that same spot—meaning on the slider/value-marker, wherever it happened to land on my first click.
    however, in the last couple major releases (LR4 and now LR5), i've noticed that feature doesn't work quite as well as it used to.  it used to be very easy to click once, get an extreme value, then very soon afterwards double-click and return to zero.  you could do it easily, without even looking carefully at the sliders (so you could look instead at the picture changing).  now, however, i find that i usually have to double-click two or three times before the slider responds and goes back to zero.  sometimes i have to reposition the mouse very slightly and double-click again for that action to happen (and not because my mouse strayed from the slider).
    i have noticed this to be true across many changing conditions:
    major releases and smaller updates of LR;
    different OS (10.6.8 snow leopard through 10.7, 10.8, and 10.9 mavericks);
    different machines: 2007 MBP and late 2013 rMBP;
    even different mice: used to have an old Kensington mouse; now using Logitech G500s, a fairly high-end gaming mouse (even though i don't do any gaming).
    when i first noticed this less-responsive behavior, i thought it was due to my mouse and/or computer being old, maybe outdated.  the kensington mouseworks software didn't really work, even on the older 2007 MBP.  so i chalked it up to mouse issues.  but it's exactly the same with my new, much more sophisticated mouse, whose software does work on my late 2013 rMBP.
    (and now, with LR5.5, there's the issue i mentioned originally, where the first part of the double-click records a value shift before LR realizes i was actually double-clicking.)
    why am i bothering to say all this??
    first, it's an additional problem, but similar to what i originally posted about.  second, it offers (at least some) support for my original idea—that in the past, i was, in fact, double-clicking on the slider itself, not on the label, to get auto or as-shot values.
    does anyone else have any thoughts on this?  am i the only one who "remembers" double-clicking on the slider, not the label, to get the auto or as-shot WB, or reset HSL sliders, or return to auto values of individual sliders in Black and White Mix?

  • Create Archive, how to change the behavior of the default file naming?

    From an earlier post on archiving via the contextual menu in the Mac OS X Finder:
    "If you archive a single item, the archived file has the name of the original item with a ".zip" extension. If you archive multiple items at once, the archived file is called Archive.zip."
    Is there a way to change the behavior of this?
    I ask because I want to archive a single file, say "photo.psd" and when I do I get an archive called "photo.psd.zip" - is there a way to create an archive from the contextual menu and have the original file extension be appended? - in this case I would want "photo.zip" to be the end result.
    Also, is there a way to change the behavior of archiving multiple files? To, say, create a differently named file afterwards instead of the default "Archive.zip" - perhaps something a little more descriptive but standard, like "YourFilesCompressed.zip" - something that would stay the same across each archive creation.
    Thanks, I've been manually renaming after all create-archive's. And I do realize other applications could probably do this, but I'm thinking there must be a way to do this in the finder, no? A terminal command? Any ideas would be appreciated.

    Try looking at the documentation for the ditto and zip Terminal commands.
    (14504)

  • Change the behavior for movement type 309 - Account post PRD

    Dear friends ,
    We need to transfer material to material using movement type 309.
    These material are using price control "S".
    When we transfer from material A to material B the price difference stay stopped in the PRD account.
    We need to revaluate the material B automatically and not let the price difference stopped in the PRD... when we run the Material Costs..via Material ledger.
    Does anyone knows a way to change this behavior ?
    best regards,
    Alessandro

    Dear Revi thanks for your answer !
    One more thing...
    We cannot change the valuation from S to V in the material B.
    Regarding the PRD postings... when the Controlling team runs the Material Ledger the price for material B should be changed/updated automatically, Am I right ?
    And then the PRD account must be cleared...
    Or I continue to do the MR22 manuall...or better... create an Abap program to run automatically clearing the PRD posting agains't the material via MR22 to correct the cost of this material.
    thanks once more.
    Ale

  • Changing the behavior of LOV's ...???

    Hi,
    Is it possible to change the behavior / appearance of LOV objects in Forms 6i and /or Forms10g..., or are they considered as 'black box'..????
    For example , is it possible to add two text fields in the upper side of the lov window titled as "Find" (the combination of the content of the first text field and/or the content of the second one...) , or to do the order of the displayed records dynamically as they appeared according to the first / second e.t.c. field ... or to order them in ascending or descending ....
    Thanks....
    Sim

    Hello,
    <p>This solution could show you one search direction.</p>
    Francois

  • When I nudge clips in Premiere CC they will "run over" other clips, how do I change this behavior so the clip will stop when it hits another clip?

    When I nudge clips in Premiere CC they will "run over" other clips, how do I change this behavior so the clip will stop when it hits another clip?

    Not sure what behavior you are exactly looking for, to move the clip and have it stop and the next clip in the direction of travel, drag the clip with the mouse with Snapping turned on in the timeline.
    MtD

  • How can I change/hack double-click behavior to include a preceding dollar symbol in the selection?

    99.999% of times I double-click a word preceded of a $ (dollar) symbol, it is a variable name, and I want to COPY it along with the word, so I don't have to re-type it when pasting it.
    Even in preview mode / visual view / when typing into actual text, I can't imagine a scenario where the dollar sign would not be part of the following word.
    Is there any way to make this dumb behavior smarter?
    Hacking into the DW files? Hacking into MacOS files?
    Thanks.

    epub is a specific format that may require another app - I don't know what that would be on 10.5.
    You can get info on the file in Finder (select the file, choose File Menu > Get Info…) the 'Open with' section will allow you to select other apps & you can also change this file & apply it to all files of that kind.
    That should solve your issue, but you still may need an ebook reader.

  • Double-click behavior

    I'd really like it when I double-click an image in the thumbnail view to NOT bring up the in-window adjustments/editing panel.
    I always prefer the floating HUD Adjustments window to the Adjustments panel.
    So as it stands I double-click the image to work with, it opens the viewer, and opens the Adjustments panel (ctrl-a), I close the Adjustments panel (ctrl-a) -- it's a huge workflow inhibitor for the way I want to use Aperture.
    Is there a way to modify what happens when you double-click a thumbnail? I just want the viewer open and nothing else until I am ready, at which point I will CHOOSE TO OPEN the Adjustments HUD.
    This would be a huge time saver is it's doable.

    I already sent feedback about this, many months ago, so maybe if 2.0 sees the light of day, there'll be an option to customize the behavior of double-clicking an image.
    In my case, I want double-clicking a thumbnail to invoke full-screen mode, and again to exit it. It drives me crazy how right now double-clicking a thumbnail rearranges the GUI to fit in the Adjustments panel.
    I also desperately want to be able to change the Return key to Enter so that I don't constantly throw myself into an unwanted Compare mode. Changing the keystroke via System Preferences doesn't seem to stick.

Maybe you are looking for