Code behind the button in ME23N

can any one give me the code behind the
"COLLAPSE HEADER" & "EXPAND HEADER" Button in ME23N?
Or just tell me the include of the main program.
Thanks,
Kiran

So it means that when we click on "Save" - "Disk Icon" it calls
DO_KEY('commit_form') which inturn checks at each block level if the on-insert , on-update triggers have any logic or not. based on which it will perform that activity.
So can we conclude that for each commit_form it will check on-update n on-insert trigger at block level if it set to true. ?
pls clarify for any discrepancies.

Similar Messages

  • How to find out the code behind a button

    Hi,
    What technique should I use to find out what java code is invoked when I click on a button in the portal?
    More concrete: I want to know the code behind the button I'm talking about <a href="https://forums.sdn.sap.com/thread.jspa?threadID=188251">here</a>.
    T h a n k s !
    Jeroen

    I would suggest you use HTTPWatch in your browser to see what is happening behind you button click.
    You can get it here
    <a href="http://www.simtec.ltd.uk/">http://www.simtec.ltd.uk/</a>

  • Code behind a button

    Hi All,
    My requirements are that I have a page button which when selected calls another page and displays values for certain fields. I have to modify the query behind the Button to default values from another field. How do I check and modify the code behind the Button? Appreciate your help.
    Thanks,
    Hari

    If you say that the button press opens up another page, then there is nothing much to do in the button press event.
    You would probably need to look at the processRequest of the new page that is opening up and change the query through the VO that is being executed .
    Thanks
    Tapash

  • How to see the complete code behind the tile?

    Hi All,
    I am working on MSA 4.0. I am able to see the code by double clicking on the methods in the tile but unable to view the complete code behind the tile. I want to see the complete code behind the tile. Can anyone help me with this?
    Best regards
    Vasudha

    Hi Boyai,
    Thanks for the reply. I am able to open the code. Two VBA windows for UI and BOL source code are opened.
    1) I compiled the code.
    2) I selected a particular tile. The methods , event handlers are displayed there.On double clicking one of the method i am able to view a particular code.
    But i want to view the complete code behind that tile like in MSA 5.0 when we right click on the tile-> view code.
    How can i view the complete code behind the tile in MSA 4.0?
    Best Regards
    Vasudha.

  • In CRM 2007 what is the code behind the Navigation bar?.

    In CRM 2007 what is the code behind the Navigation bar?.
    Jason

    It might be in component CRMCMP_NAVBAR. However, so far I have been unable to get a break point to activate. Ideally on choosing an option from the navigation bar, like Service ticket, I would like the debug session to start before call the Service Ticket component.
    This is all in the aim of trying to determine why the initial startup of the Service Ticket is so slow.
    Jas.

  • Even with Apple Quick Time 7.7 I cannot open, much less play, any wmv files.  It gives me only the code behind the file, never the video. What's going on?

    I never have been able to open wmv files/attachments with the Apple Quick Time player I've got on this MacBook Pro.  A click on any wmv file leads me only to Text/Edit and all the code behind the file.  What is going on?  I have Quick Time 7.7 (1680.25).

    Those are Windows Media files, and they're not supported natively in any version of QuickTime. You can view them in some third-party applications, such as VideoLAN Client, or you can install the Flip4Mac QuickTime component which makes them playable in QT Player.

  • How can I execute certain code once the button on stake is hit at runtime? (in Flash CS4(AS3))

    Hi
    I am trying to figure out how to execute code once a button_btn is hit on stage at runtime.
    Thank you for help and tips!

    You can also try to create an event listener for the button itself.  (In as2.0 it was onClick or onPress or something to that effect, now I'm not sure what they are syntaxed as but there are event listeners for buttons which "listen" to see if the button has been pressed.  Mouse Events are good because it makes sure that the mouse is actually performing the action.  Don't know about accessibility with Mouse Events though since you can use a Tab key to direct input of buttons so try the Button event listeners.

  • Streamlining the code for the button group with individual links and rollover imgs

    I am looking for a solution to streamline the code for the array of 20+  buttons located inside the scroll pane.
    I know I can make an array if all the buttons would have a unified code executable change, i.e. they would become larger and brighter.
    My problem is that each button represents an product image in the lights off stage, then of rollover it is a lights on stage so I have to import two images in the on and off stage and play around with the opacity.
    Additional problem is that each button has to ling to a different label.
    My question is: is it possible to unify the code if buttons have that much individuality or I have to make each one of them as in the example below.
    // makes a hand cursor appear over a mc acting as a button for all the buttons inside the scrollpnaeBckgrnd_mc.scrollpaneBckgrnd_btns_mc.
    MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.buttonMode = true;
    MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.useHandCursor = true;
    ///////////////INDIVIDUAL BUTTONS
              MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.FloraLyte _btn.FloraLyte_ON.alpha = 0;
                        var  FloraLyte_btn_Tween:TweenLite = TweenLite.to(MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.F loraLyte_btn.FloraLyte_ON, .5, {alpha:1, paused:true});
                        MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.Flor aLyte_btn.addEventListener(MouseEvent.ROLL_OVER, overHandler_FloraLyte_btn);
                        MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.Flor aLyte_btn.addEventListener(MouseEvent.ROLL_OUT, outHandler_FloraLyte_btn);
            MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.FloraLyte_btn. addEventListener(MouseEvent.CLICK, onClick_floralytePopUp);
                      function onClick_floralytePopUp(event:MouseEvent) :void {
                                            gotoAndPlay("floralytepp");
    function overHandler_FloraLyte_btn(e:MouseEvent):void{
             FloraLyte_btn_Tween.play();
             trace("you rolled over me");
    function outHandler_FloraLyte_btn(e:MouseEvent):void{
             FloraLyte_btn_Tween.reverse();
             trace("you rolled off me");
    MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.FloraLytell_btn .FloraLytell_ON.alpha = 0;
                        var  myTween:TweenLite = TweenLite.to(MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.F loraLytell_btn.FloraLytell_ON, .5, {alpha:1, paused:true});
                        MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.Flor aLytell_btn.addEventListener(MouseEvent.ROLL_OVER, overHandler);
                        MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.Flor aLytell_btn.addEventListener(MouseEvent.ROLL_OUT, outHandler);
            MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.FloraLytell_bt n.addEventListener(MouseEvent.CLICK, onClick_floralytellPopUp);
                      function onClick_floralytellPopUp(event:MouseEvent) :void {
                                            gotoAndPlay("floralyte2pp");
              function overHandler(e:MouseEvent):void{
             myTween.play();
             trace("you rolled over me");
              function outHandler(e:MouseEvent):void{
             myTween.reverse();
             trace("you rolled off me");

    as ned suggested, plan your flow and code into it. here is one example:
    var buttonArray = [someButton, someOtherButton, aDifferentButton];
    for(var i = 0; i < buttonArray.length; i++){
         //get reference to county movieclip
         var mc = buttonArray[i];
         //then add listeners
         mc.addEventListener(MouseEvent.ROLL_OVER, overMe);
    function overMe(e:MouseEvent){
         var mc = e.target;
         switch(mc){
              case: someButton:
                       someOtherButton:   doThis();
                                                     break;
              case: aDifferentButton:     doThat();
                                                     break;
              default:                            //do nothing;
                                                     break;
    function doThis(){
         trace("do this")
    function doThat(){
         trace("do that")

  • How to find function codes of the buttons in ABAP Webdynpro

    I had 2 buttons in my input screen of the WebDynpro, for both buttons some piece of logic is common. So i wrote that common logic in the default method 'WDDOBEFOREACTION', which will be triggered always before the corresponding methods got triggered.
    Now my problem is the method 'WDDOBEFOREACTION' triggering even when user hits ENTER in the input screen, to prevent the common logic not to execute need to write some condition based on the user action. But unfortunately was not able to find the way. Could any one suggest me on this.

    For your specific requirement :
    you should first determine the current action which triggered this WDDOBEFOREACTION method,
    as this method triggers for every action performed on the webdynpro view.
    For that below is the code
      DATA lo_api_view_controller    TYPE REF TO if_wd_view_controller.
      DATA lo_action                 TYPE REF TO if_wd_action.
      lo_api_view_controller = wd_this->wd_get_api( ).
      lo_action = lo_api_view_controller->get_current_action( ).
      IF lo_action IS NOT BOUND.
              IF lo_action->name EQ 'BUTTON1'   OR   lo_action->name EQ 'BUTTON2'.
    Where BUTTON1 and BUTTON2 are the actions associated with both the buttons.
    Write your common logic here and now it would get executed only for both these button cliks only
               ENDIF.
    ENDIF.
    Edited by: Avasarala Sampath on Oct 28, 2011 7:26 AM
    Edited by: Avasarala Sampath on Oct 28, 2011 7:29 AM

  • How to call function behind the button and update only specific record

    Greetings,
    1 - i wnat to ask few things as i m new to apex, i am using apex 4.1, and created 3 select list and a button in seleting of parameter,
    1 select list : select area
    2 select list: select product
    3- select list - size of the product
    i want to generate Ids for the follwing. for that i created query for INSERTING RECORD FROM ONE TABLE TO ANOTHER , generation the ids when button pressed "Generate" after selecting parameters,
    Now where i call that QUERY on button ? because when i create button its gives me option to submit, defined dynamic action, etc, pls gudie me where i call the function name id_generation when button pressed?.
    2- second thing i creared tabular " select user_id, product_name, product_type from product".
    by defualt check box list are create delete submit button are created, first when i insert record it saves that was fine, e.g i entered 50 records and afterward i want to update only one record, e.g there is a record product name = box, if i change it to box small and click submit then it saves all the page means all 50 records,
    i want to submit only that record that i changed, for that i use the logic that only those records should be updated which are checked but the user. how will i do this ? where to use the preocess , please guide
    Edited by: Omzz on Oct 2, 2012 11:28 PM

    If I understand what you are trying to do is correct you could possibly do this by:
    Creating and AFTER INSERT trigger on the table based on the tabular form which inserts the record into a seperate table after the record is inserted something like:
    CREATE OR REPLACE TRIGGER copy_records
    AFTER INSERT ON table a
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    BEGIN
    INSERT INTO table b
    VALUES :NEW.col1, :NEW.col2 etc......
    END;
    There is also a way that you could do it within the form using a cursor on the tabular form with APEX_APPLICATION.G_ ......
    Chris

  • How to write ABAP code behind, the OLAP navigation functions

    Hi SDN Community,
    We have created an artificial hierarchy within BEx, using order structure elements, or characteristic key figures as SAP calls them.
    Now, the only feature that dosent seem to be present within the OLAP, is to expand all hiearchy nodes.
    It allows you to expand one hierarchy node, but not all the structure element nodes.
    I have tried command sequencing by specifying the technical id's of the the structure elements found via RSRT2, but this dosen't work.
    I have seen that when the nodes are expanded, that there is indeed standard SAP ABAP code executing back in the datawarehouse.
    Hence, do you know
    - Where to make ABAP enhancements for OLAP functionality
    - How to execute this ABAP (will it be by using Web API and javascript enhancements)
    - Is this possible, or has it been done by anyone?
    Thank you.
    Simon

    Hi Thomas,
    I have been working with a brilliant ABAP'er, and together we
    implemented a solution in the START method, that makes use of the
    following methods and expands all the hierarchy nodes at start.
    And this class can be omitted in the Print all view we have formulated
    as only a collapsed view has been specified there.
    thank you.
    Simon
    I found this all in that class interface CL_RSR_REQUEST
    for N_R_REQUEST
    for N_R_DATA_SET
    Initial Value: Set Drilldown State of a Hierarchy
    Description: 'SET_DRILL_STATE'
    this looks like the method that gets executed. what do you think?
    can you code this in the program
    constants C_CMD_SET_DRILL_STATE type RSRCMDID
    value 'SET_DRILL_STATE'. "#EC NOTEXT
    methods SET_DRILL_STATE
    importing
    value(I_AXIS) type RRXAXIS optional
    value(I_POSITION) type I optional
    value(I_FOCUS_IOBJNM) type RSIOBJNM optional
    value(I_DRILLSTATE) type RRXDRILLSTATE optional
    value(I_TOGGLE) type RS_BOOL default RS_C_FALSE
    !I_R_PARAMETER type ref to CL_RSR_PARAMETER optional
    exporting
    !E_KEEP_LAST_LINES type I
    !E_KEEP_FIRST_LINES type I
    !E_NEW_LINES_FROM type I
    !E_NEW_LINES_TO type I
    !E_NODE_POSITION_FROM type I
    !E_NODE_POSITION_TO type I
    exceptions
    NO_PROCESSING
    X_MESSAGE .

  • Is there anyway that I can view the program code behind the vi diagram?

    e.g. to view the vi code in C++ instead of G.

    G is translated into assembly code directly.
    There is no low level language like c needed.
    So there is nothing to view except assembly coding.
    greetings from the Netherlands

  • Code behind an exit button

    I have just started learning Java.
    I want to place a logout button on my application that will close the browser. Any ideas on the code behind the button???

    Hi there,
    Quite confusing statement in your query but lets look at the possibilities.
    1. If it is a browser( ie or ns ) you are trying to close then look at this link http://www.michael-thomas.com/javascript/ex_window_openclose.htm which contains possible answer to your question and other helpful topics.
    2. If it is an application that you wish to close, then something like this
    public void your_close_Button_method(ActionEvent e){
    System.exit(0);
    does the closing act. No questions asked.
    Hope that helps,
    best wishes & regds
    gaurav

  • Where is the code behind buttons?

    Hi,
    I need to modify some forms developed several years ago. There are some buttons on a horizontal toolbar. They all work ok except one button. I tried to find code behind these buttons by clicking the "+" sign in front each button item, but it looks like no trigger is attached to any of the buttons. Where can the code be hidden? Even if the buttons are inherited from object group or property class, I should be able to see some code, right? Any idea?
    Thanks.
    Sherry

    Hi,
    I think if the buttons do default actions e.g Exit does EXIT_FORM, tnen there is no need for triggers - try creating a WHEN-BUTTON-PRESSED trigger under one of the items with MESSAGE('Hello World'); and see what happens. Forms can work with no triggers at all if all that is required is default functionality. When you require, for example, conditional validation/navigation a trigger is needed. Take a text item: pressing RETURN will fire the NEXT_ITEM built-in unless you explicitly change Forms behaviour by coding a KEY-NEXT-ITEM trigger (which could contain any PL/SQL e.g. EXECUTE_QUERY if you want a query block to execute a query upon hitting RETURN from an item.
    Hope this helps

  • I am trying to create a button in flash that will display 4 separate images at the same time when clicked.  I can't get the images to stay on when I take the mouse of the button.  I need the actions script code to make this happen.

    I am trying to create a button in flash that will allow the user to click on the button and 4 separate images show up at the same time.  I can get the images to appear when I click the button but they will not stay on the screen.  I need to know what code I use to make the images stay once the button is clicked, then I need to know exactly where I place that code.  It does not appear to be possible to add the action code to the buttons layer since each time I add a new layer I just get another "up" "over" "down" and "hit" line.
    Thank you in advance
    AP

    It is not clear how you are trying to realize this from your description.  If you are trying to create this within a button symbol it will not work.  Explain your approach and if there is code involved, show what you have so far.

Maybe you are looking for

  • IPhone 3G Lack of compatibility with Alpine CDE-9852 car stereo system

    So I have a Alpine CDE-9852 car stereo system along with the Alpine iPod adapter in my 1994 Toyota Celica and I've come across a little problem ever since I upgraded to iPhone 3G. See, when I had my 2G iPhone and plugged it in via the dock connector,

  • [SOLVED] Arch Linux Guest Virtual Box OSE problem

    So I am installing my Arch Linux as a Guest in my Ubuntu partition, through Virtual Box OSE (3.2.8). I followed the wiki ( https://wiki.archlinux.org/index.php/Ar - lBox_Guest ) but still have an issue: sudo pacman -S kernel26-headers xorg gcc make s

  • Regarding Runtime Analyzer in ECC 6.0

    Hi All, Please tell me what is the use of "In parallel session " and "Scheduling" in Runtime Analyzer (SE30) ? Please tell me how to use these things and where i can see the results ? Thanks , Sabu.

  • Reader: retry upon error copying text to clipboard

    Dear Adobe, since years I'm seeing the same behaviour on different machines: I select text in a PDF opened in Reader, hit ctrl+c and once upon maybe every 5 occasions a window pops up "an error occured while copying the data to the clipboard". I clic

  • Elements 8 ALWAYS reduces widescreen 16:9 to 4:3 - Please help!

    I've got a new Panasonic camcorder and have recently taken some film of the Festival of Speed. I've tried to edit it and save it to the PC but in the viewing pane during editing it was clearly 4:3. There seemed no way of correcting this so I plugged