Event for Default BACK button in a window

Hi,
I am trying to edit marketing attribute set. If I click on back without save, I am getting the popup "do you want to save". It is happening for all the standard fields in that page.
I have one value attribute. If I change this field, and say back, popup is not coming. I tried to debug this back, however, I am unable to find the event which is getting triggered for this back function. And I am clue less how this popup is coming for all the standard bol attributes.
Component : ATRAE_SET
I added value attribute in : ATRAE_SET/VHeader ---> context node HEADER.
Could you please help me out?
Thanks,
Sandeep

Hi,
usually the window of the UI component will implement an event handler method ON_BEFORE_WA_CONTENT_CHANGE to change whether the data loss popup (IF_BSP_WD_DATA_LOSS_HANDLER) needs to be triggered. The events from the data loss pop-up are again handled by IF_BSP_WD_EVENT_HANDLER~HANDLE_EVENT of the window, e.g. the save event if_bsp_wd_data_loss_handler=>save_event.
Best Regards,
Michael

Similar Messages

  • Iview - back button opens new window

    hi,
    i have an standard-iview in the portal (ESS-travelmanagement).
    when i push the 'back' button in portal OR the 'leave' button from a step in the iview a NEW windows opens. but i don't want that, i want to stay on the same window.
    any ideas how to do this ? i have this behaviour only on this one iview.
    reg, Martin

    Hi Martin,
    It looks like the check WorkProtect Popup feature is configured on your portal, that allows us to choose our actions when we are trying to navigate from unsaved object.
    By default the mode is set to 1: When you open object for editing, edit the object and navigate to another entry point without saving a new window will open with the new navigated entry point and the original window will stay with the edited object.
    To change the default setting or more information please attend to SAP Note 734861 - WorkProtect Mode - Global Settings
    The end user can also personalize the WorkProtect mode for his login:
    Click on the personalize link in the right up corner of the portal. Navigate to WorkProtect mode tab. Change to mode - open page in same window.
    Save changes & Close this window.
    Log-off from the portal, re-login and check if the changes are effective.
    Hope this helps.
    Regards,
    Anagha

  • Back button in new window not working

    When opening a new window and navigating to further pages the back button is still grey and does not work.
    When opening a new tab in the same window and navigating to further pages it works correctly.
    Therefore the problem is only when opening a new page.
    This is different to problems other people are having on this forum as they have problems on all tabs/pages.
    Mac OSX 10.4.11
    Firefox version 3.6.17

    Thanks cor-el for the reply. Your reference to Add-on was very helpful.
    It was the add-on called Image Tweak that was causing the problem.
    Just as a side point and this is aimed at Firefox, as usual the instructions within the help section of Firefox are for PCs and not Macs. The basic instruction for Safe Mode does not seem to apply to Macs even the 'Hold down shift key' instruction.
    Putting in 'Start with Safe Mode Mac' in the search facility comes up with 294 results - none about starting in safe mode.
    Thanks again cor-el.

  • Default Back Button ( F3 ) with mandatory fields ( module pool program )

    Guys,
    I'm editing another persons dialog program and as mentioned in the subject line, there are mandatory fields. WIthout them being filled, I cannot use the back button to exit the program as it prompts me to first fill the mandatory fields.
    How can I get past this?
    I did a /h for debug mode and pressed Back but it did not even show the debugger.
    Regards,
    Kevin

    <b>Use AT exit-command.</b>
    MODULE mod [ AT {EXIT-COMMAND|CURSOR-SELECTION} ]
               [ ON {CHAIN-INPUT|CHAIN-REQUEST} ]
               [ SWITCH switch ].
    Extras:
    1. ... AT EXIT-COMMAND
    Effect
    The statement MODULE of the dynpro flow logic calls the dialog module mod of the ABAP program. You can use MODULE either as a keyword or as an addition of statement FIELD. When using it as an addition, the call of the dialog module depends on conditions for the screen fields.
    As a keyword, the statement calls the dialog module mod of the respective ABAP program. At the event PAI, you can use the additions AT and ON to specify conditions for the call of the dialog module.
    At the event PBO, you can call any dialog module defined in the ABAP program with the addition OUTPUT. At the events PAI, POH and POV, you can call any dialog module defined with the addition INPUT or without any addition. If the dialog module mod does not exist in the ABAP program, an untreatable exception is triggered. After processing a dialog module in the ABAP program, processing of the dynpro flow logic is resumed after the position of the call, unless the screen processing is completed within the dialog module.
    You can use MODULE as a keyword only at the events PBO and PAI. At the events POH and POV, you can use MODULE only as an addition to the FIELD statement.
    Note
    Do not mix up the MODULE statement of the dynpro flow logic with the identically called statement MODULE for defining dialog modules in the ABAP program.
    Addition 1
    ... AT EXIT-COMMAND
    Effect
    Addition AT EXIT-COMMAND at the event PAI causes module mod to be called exactly if:
    The function used to trigger event PAI has function type "E"
    Into the input field of the standard toolbar, the user entered a character string starting with "E" and confirmed it using ENTER.
    The dialog module is called before the automatic input checks defined in the system or in the ABAP Dictionary and independent of its position in the event block. The only screen field transported to the ABAP program is the OK field. If the function that triggered the PAI event does not fulfill any of the above prerequisites, the MODULE statement is not executed.
    If several MODULE statements have the AT EXIT COMMAND addition, only the first one is executed. If no MODULE statement has the addition AT EXIT COMMAND, a normal PAI processing is executed: The predefined input checks are executed and then the PAI event block is processed sequentially. Provided the screen processing is not terminated in the dialog module mod, after the return from the dialog module, the complete PAI processing is executed. You must not use the addition AT EXIT COMMAND in connection with the statement FIELD.
    Note
    The function type of a function is determined in the Screen Painter or Menu Painter. Usually those functions of the user interface are defined with function type "E" that are assigned to the icons Back, Exit and Cancel in the standard toolbar of the GUI status. Therefore, the called dialog module should terminate the screen processing and allow security checks, if required.

  • Upon updage, I cannot use back button on new windows that pop-up on link clink but back button is available on the browser window and google toolbar stopped working.

    I just updated my firefox and would really like to uninstall the update. My google toolbar is no longer compatible and I am having other issues. When I visit a site that links me to other parts of their site via new windows, the new window i get to has back and foward buttons, but I am unable to use them. Even though I have changed pages, the back button does not go bold and I am unable to get back to any previous pages. I dont have this problem with IE using the same site. I really want to keep using firefox but the new update is making it really hard!

    Extensions that may '''interfere with the Back Button''' that are already listed in [http://kb.mozillazine.org/Problematic_extensions Problematic extensions] as creating other problems
    *McAfee Site Advisor (update perhaps 3rd week July 2011)
    *Yahoo Toolbar (https://support.mozilla.com/questions/845691)
    '''Google Toolbar''' [https://support.mozilla.com/kb/Add-ons%20are%20disabled%20after%20updating%20Firefox Add-ons are disabled after updating Firefox]
    * GBookmarks (Google Bookmarks for Firefox) 25.6KB<br>https://addons.mozilla.org/firefox/addon/gbookmarks-google-bookmarks-fo/
    * http://kb.mozillazine.org/Problematic_extensions
    * '''https://support.mozilla.com/en-US/questions/837473''' <===LOOK
    * https://support.mozilla.com/en-US/questions/850863

  • Item Details - Event for 'Create', 'Close' buttons - possible?

    Hi Friends,
    I am looking for EPCF Events for Item Details iView. I am able to show the record in this iview by selectIdHandler. Now, i want to clear the iView content - the functionality when we click 'Close' button.
    So, does any one of you know any Events to fire Create, Close buttons on Item Details iView?
    Thanks,
    Raags

    Hello Raags,
    Have you discovered how to trigger any of those events? I'm having a similar issue.
    I need when I open the record to have it in Edit mode already, not to click the Edit button in order to get there.
    Let me know if you discovered a solution.
    Best regards,
    Boris

  • Do you know a way for Java to support event for my 5 button mouse?

    I have MS mouse with 5 buttons
    I want the option in my app to support events for button number 4 and 5
    anyone knows a way?

    Could you be more clearer with your requirements. What you really want to achieve and what you get?
    And use the code tag to post the codes.

  • How to customize the code for default scroll buttons provided in the table?

    Hi Everyone,
    I want to customize the code for default 'next page' navigation button provided in a table. If this is possible then how it can be done?
    Thanks,
    Swati

    do you mean 'footer' of table, which used to scroll table contents?
    Table footer button is not editable.
    Instead you can try buttons in the table tool bar and can swap elements in the table.And also table footer can be set to showfootoer: false.
    refer thread: [Table Element Swapping|Re: Table with special requirement]
    nikhil

  • My Macbook air 11" suddenly lost the color for the back button and some of the other buttons in Safari

    Can anyone help me my Macbook air 11' has lost the color for the back and forward button in Safari as well as the battery and wifi connections

    Hey Maha08,
    Thanks for the question. Let’s try resetting your computers PRAM/NVRAM:
    About NVRAM and PRAM
    http://support.apple.com/kb/HT1379
    Thanks,
    Matt M.

  • Help with creating multiple events for a single button

    I have a basic gui that is used to view a query. There is a JTextArea where the infromation from the query displays. Now i also have JTextAFields that correspond to each column from the table that i am querying from. I have an edit button that will take the current query (which i have a reference to) and put in each JTextField the correct information (it re exectutes the query given the id of the current result in the query, and sets the text in each field).
    All this works fine.. Now the text fields have been filled in, and the user can change them accordingly. I set the text of the edit button to say update, and i add an action listener within the current listener for that button.. When the update button is pressed, everything is fine.. However, after that, the listener has changed and i get exceptions everytime i press edit.. Below i have made it so that i create a new action when the edit button (named update that after they press it, it then displays update.. and the insert button changes to insert.. now an insert query is different than an update so i can't just enable only insert or anything like that).
    is there any way to have 1 button that can do different things depending on the context? I can't figure out how to do it..
    here is what i have as far as listeners for my buttons
              ButtonHandler buttonHandler = new ButtonHandler();
             exit.addActionListener(buttonHandler);
             first.addActionListener(buttonHandler);
             prev.addActionListener(buttonHandler);
             next.addActionListener(buttonHandler);
             last.addActionListener(buttonHandler);
              insert.addActionListener(new insertButtonAction());
              delete.addActionListener(new deleteButtonAction());
              update.addActionListener(new editButtonAction());
              rollback.addActionListener(new rollbackButtonAction());
              commit.addActionListener(new commitButtonAction());
              sendQuery.addActionListener(new sendQueryButtonAction());
         class ButtonHandler implements ActionListener {  // this is a Controller class
           public void actionPerformed (ActionEvent e) {
              JButton b = (JButton)e.getSource();
              try {
                 if (b==first) {
                    if (result.first())
                       updateText();
                 else if (b==prev) {
                    if (result.previous())
                       updateText();
                    else
                       prev.setEnabled(false);
                 else if (b==next) {
                    if (result.next())
                          updateText();
                    else
                       next.setEnabled(false);
                  else if (b==last) {
                     if (result.last())
                        updateText();
                  else if (b==exit) {
                     db.close();
                     f.dispose();
                     System.exit(0);
               catch(SQLException ex) {
                     System.out.println("Could not perform operation()\n" +  ex.getMessage());
         private class insertButtonAction implements ActionListener {
              public void actionPerformed( ActionEvent e ) {
                   feedback = insertEntry();     
         private class editButtonAction implements ActionListener {
              public void actionPerformed( ActionEvent e ) {
                   try {
                        int ID = result.getInt(1);
                        update.setText("update");
                        insert.setText("cancel");
                        delete.setEnabled(false);
                        rollback.setEnabled(false);
                        sendQuery.setEnabled(false);
                        Statement qStatement = conn.createStatement();
                        String qs = "select EMPNO, ENAME, JOB, MGR, HIREDATE, " +
                             "     SAL, COMM, emp.DEPTNO " +
                           "from emp WHERE empno = " + ID;
                      ResultSet rs = qStatement.executeQuery(qs);
                        rs.next();               
                       enoField.setText(rs.getString(1));
                        enameField.setText(rs.getString(2));
                        jobField.setText(rs.getString(3));
                        mgrField.setText(rs.getString(4));
                        hdateField.setText(rs.getString(5));
                        salField.setText(rs.getString(6));
                        commField.setText(rs.getString(7));
                        dnoField.setText(rs.getString(8));
                   } catch (SQLException ex) {
                       area.setText("Could not fetch row because of " + ex.getMessage());
                   update.addActionListener(new updateButtonAction());
                   insert.addActionListener(new cancelButtonAction());
                   /*Although this compiles and works the first time, after i've
                    it no longer works after that */
              class updateButtonAction implements ActionListener {
                   public void actionPerformed( ActionEvent e ) {
                        feedback = updateQuery();
                        area.setText(feedback);
                        resetButtons();
                        clearFields();
                        update.setEnabled(false);
              class cancelButtonAction implements ActionListener {
                   public void actionPerformed( ActionEvent e ) {
                        resetButtons();
                        area.setText("Operation Canceled");
                        clearFields();
                        update.removeActionListener(e);
         private class deleteButtonAction implements ActionListener {
              public void actionPerformed( ActionEvent e ) {
                   try {
                        feedback = deleteEntry(result.getInt(1));
                        area.setText(feedback);
                   } catch (SQLException ex) {
                      area.setText("Could not fetch row because of " + ex.getMessage());
         private class rollbackButtonAction implements ActionListener {
              public void actionPerformed( ActionEvent e ) {
                   try {
                        Statement rstmt = conn.createStatement();
                        rstmt.executeQuery("rollback");
                        area.setText("Rollback Successfull.");
                   } catch (SQLException ex) {
                        area.setText("Could not rollback.");
         private class commitButtonAction implements ActionListener {
              public void actionPerformed( ActionEvent e ) {
                   try {
                        Statement rstmt = conn.createStatement();
                        rstmt.executeQuery("commit");
                   } catch (SQLException ex) {
                        area.setText("Could not commit changes.");
         private class sendQueryButtonAction implements ActionListener {
              public void actionPerformed( ActionEvent e ) {
                   query(db, selectQ);
        void resetButtons(){
             insert.setText("Insert");
             update.setText("Edit");
             delete.setEnabled(true);
             rollback.setEnabled(true);
             sendQuery.setEnabled(true);
       any suggested would be appreciated

    App message delivery is not retried in B2B, rather failed messages are delivered to the IP_IN_QUEUE. Please enable the logging for B2B engine in TRACE 32 mode and run a test to reproduce the behaviour. Post the log here or mail across to my id (in my profile).
    Regards,
    Anuj

  • What happened to the drop down menu for the back button in Firefox 4?

    There used to be an arrow that allowed me to go back a few pages which seems to be missing in Firefox 4. Please bring it back.

    You can also get the drop-down list by holding down the left button until the list appears.

  • Back button & Replay button for Flash movie on website

    Three questions all related:
    1. I need to add a "Back"  and a "Replay" button to a Flash movie that plays full screen when the link is clicked on a website. I have created the two buttons and placed them on the stage. I've given them the names back_btn and play_btn. I've tried several scripts from postings on the Forum for the replay button but all of them come up with errors such as, "1119: Access of possibly undefined property onRelease through a reference with static type flash.display:SimpleButton" when I use this script:
    stop();
    play_btn.onRelease = function()
    play();
    I also tried this script:
    stop();
    play_btn.addEventListener(MouseEvent.CLICK, playMovie);
    function playMovie(event)
    play();
    It didn't report any errors, but it didn't work.
    2. I saw a posting that said one needs to name the movie clip and reference it in the script. Would this be the file name of the movie after it is exported? I am unclear on this.
    3. For the "Back" button, would I include the whole url to get the viewers back to the previous page or is there a shortcut way to get them back there?
    If you can help, please provide detailed script as I do not know Action script.
    Thank you,
    Marilyn

    Hi, Ned:
    I have a presentation completed that is already up  on a website and now I need the "Back" button and "Replay" button, so whether I'm ready or not, I have to find a solution. I know I'm missing some important step. I have Lynda.com and I can usually figure out what's wrong with the lessons on there, but this one has me stumped.
    I did try the code change you sent and I was unable to get the movie to replay. I'm attaching two screen shots so you'll see that I did have the button instance named properly and the Action Script correctly written. You can "Ctrl" "Scroll" to enlarge the images on your screen.
    Marilyn

  • How to get the values retained on clicking the back button in jsp page

    Hi All,
    I had two jsp's search and results. In the search page when i enter some values in the text fields, the rsults will be displayed for that search criteria. I had a back button in the results page. When i click on this back button i will get back to my search page. I am using the following code for this back button.
    <INPUT TYPE="button" VALUE='Back' onClick="javascript:history.go(-1)" class="button">
    Now the problem is when i get back to search page using this back button, i am not able to get the values in the search page which i entered, i am getting all blank values. What should i change to get these values back in the search page. Should i maintain any sessions for this?

    You have no control at all over the back button process. To the server, it's indistinguishable from the user simply tying the URL of your search page. So, you need to store this data server side*.
    When your search page is submitted and processed, store the values you received for each of the fields into the user's session. Then, when the search page is generated, check the session for these values, and for any values that are not null, put their values into the html as the default values for the textboxes and controls you are using. This lets you handle the whole matter on the server's side.
    *barring convoluted, unportable, black-magic javascript trickery which you should definitely avoid                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Problem with ALV Grid Display screen Back Button

    Dear Friends ,
    I have an ALV Grid Display,Here am facing a problem for my 'Back' button,i haven't defined any PF Status and is using the standard one.But after the Display when i press Back Button a blank Screen is appearing n then again i have to press back button to go to my Selection Screen.
    Please Suggest if i have to take care of something else.
    I want my Selection Screen when i press Back on my Display Screen.
    DATA:  IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
           FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
            EXPORTING
             I_BYPASSING_BUFFER          =
             I_BUFFER_ACTIVE             =
             I_INTERFACE_CHECK           = ' '
                 I_CALLBACK_PROGRAM          = 'ZRMMPD01A'
             I_CALLBACK_PF_STATUS_SET    = ' '
             I_CALLBACK_USER_COMMAND     = ' '
             I_CALLBACK_TOP_OF_PAGE      = ' '
             I_CALLBACK_HTML_TOP_OF_PAGE = ' '
             I_CALLBACK_HTML_END_OF_LIST = ' '
             I_STRUCTURE_NAME            =
             I_BACKGROUND_ID             = ' '
             I_GRID_TITLE                =
             I_GRID_SETTINGS             =
               IS_LAYOUT                     =  I_LAYOUT
               IT_FIELDCAT                 =  IT_FIELDCAT
             IT_EXCLUDING                =
             IT_SPECIAL_GROUPS           =
             IT_SORT                     =
             IT_FILTER                   =
             IS_SEL_HIDE                 =
             I_DEFAULT                   = 'X'
             I_SAVE                      = ' '
             IS_VARIANT                  =
             IT_EVENTS                   =
             IT_EVENT_EXIT               =
             IS_PRINT                    =
             IS_REPREP_ID                =
             I_SCREEN_START_COLUMN       = 0
             I_SCREEN_START_LINE         = 0
             I_SCREEN_END_COLUMN         = 0
             I_SCREEN_END_LINE           = 0
        IMPORTING
             E_EXIT_CAUSED_BY_CALLER     =
             ES_EXIT_CAUSED_BY_USER      =
             TABLES
                  T_OUTTAB                    = IT_FINAL
            EXCEPTIONS
                 PROGRAM_ERROR               = 1
                 OTHERS                      = 2
    Thanks and Regards,
    Ashwini

    Hi Vijay ,
    No i dont have any write statement in my proggram.
    Here it is
    REPORT ZRMMPD01A  NO STANDARD PAGE HEADING.
    TABLES : EQUI,SER03,MKPF,OBJK.
    TYPE-POOLS : SLIS.
    DATA  IT_EQUI LIKE EQUI OCCURS 0 WITH HEADER LINE.
    DATA  IT_OBJK LIKE OBJK OCCURS 0 WITH HEADER LINE..
    DATA  IT_SER03 LIKE SER03 OCCURS 0 WITH HEADER LINE.
    DATA  IT_MKPF LIKE MKPF OCCURS 0 WITH HEADER LINE .
    DATA : BEGIN OF IT_DISPLAY OCCURS 0,
                MATNR LIKE EQUI-MATNR,
                SERNR LIKE EQUI-SERNR,
                BWART LIKE SER03-BWART,
                WERK LIKE SER03-WERK,
                CHARGE LIKE SER03-CHARGE,
                LAGERORT LIKE SER03-LAGERORT,
                MBLNR LIKE SER03-MBLNR,
                MJAHR LIKE SER03-MJAHR,
                ZEILE LIKE SER03-ZEILE,
                BUDAT LIKE MKPF-BUDAT,
                BKTXT LIKE MKPF-BKTXT,
                USNAM LIKE MKPF-USNAM,
                XBLNR LIKE MKPF-XBLNR,
            END OF IT_DISPLAY.
    DATA : WA_DISPLAY LIKE IT_DISPLAY.
    DATA  IT_FINAL LIKE IT_DISPLAY OCCURS 0 WITH HEADER LINE.
    DATA  IT_TEMP LIKE IT_DISPLAY OCCURS 0 WITH HEADER LINE.
    DATA:  IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
           FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    DATA :I_LAYOUT TYPE SLIS_LAYOUT_ALV,
          I_EVENTS TYPE SLIS_T_EVENT.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : S_MATNR FOR EQUI-MATNR MATCHCODE OBJECT MCD,"OBLIGATORY
                    S_SERNR FOR EQUI-SERNR, "MATCHCODE OBJECT MCD OBLIGATORY
                    S_MBLNR FOR SER03-MBLNR MATCHCODE OBJECT MCD,
                    S_BWART FOR SER03-BWART MATCHCODE OBJECT MCD,
                    S_WERK FOR SER03-WERK MATCHCODE OBJECT MCD,
                    S_LAGET FOR SER03-LAGERORT MATCHCODE OBJECT MCD,
                    S_BUDAT FOR MKPF-BUDAT MATCHCODE OBJECT MCD,
                    S_XBLNR FOR MKPF-XBLNR MATCHCODE OBJECT MCD.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X',
                 R2 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN END OF BLOCK B2.
    START-OF-SELECTION.
    *Fetch Data.
      PERFORM GET_DATA.
    *Fill Display Fields.
      PERFORM FILL_TABLE.
    *Segregate data according to radio button selection.
      PERFORM SELECT_CONDITION.
    *Fill The Feild catalog.
      PERFORM FIELD_CATALOG.
    *Display Output.
      PERFORM OUTPUT_DISPLAY..
    *&      Form  GET_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DATA.
      SELECT * FROM EQUI INTO TABLE IT_EQUI
        WHERE MATNR IN S_MATNR
        AND SERNR IN S_SERNR.
      SELECT * FROM OBJK INTO TABLE IT_OBJK
      FOR ALL ENTRIES IN IT_EQUI
      WHERE EQUNR = IT_EQUI-EQUNR.
      SELECT * FROM SER03 INTO TABLE IT_SER03
      FOR ALL ENTRIES IN IT_OBJK
      WHERE OBKNR = IT_OBJK-OBKNR
      AND MBLNR IN S_MBLNR
      AND BWART IN S_BWART
      AND WERK IN S_WERK
      AND LAGERORT IN S_LAGET.
      SELECT * FROM MKPF INTO TABLE IT_MKPF
      FOR ALL ENTRIES IN IT_SER03
      WHERE MBLNR = IT_SER03-MBLNR
      AND BUDAT IN S_BUDAT
      AND XBLNR IN S_XBLNR.
    ENDFORM.                    " GET_DATA
    *&      Form  FILL_TABLE
          text
    -->  p1        text
    <--  p2        text
    FORM FILL_TABLE.
      LOOP AT IT_EQUI.
        LOOP AT IT_OBJK.
          IF IT_OBJK-EQUNR <> IT_EQUI-EQUNR.
            SKIP.
          ELSE.
            READ TABLE IT_SER03 WITH KEY OBKNR = IT_OBJK-OBKNR.
            IF SY-SUBRC = 0.
              WA_DISPLAY-MATNR = IT_EQUI-MATNR.
              WA_DISPLAY-SERNR = IT_EQUI-SERNR.
              WA_DISPLAY-BWART = IT_SER03-BWART.
              WA_DISPLAY-WERK = IT_SER03-WERK.
              WA_DISPLAY-CHARGE = IT_SER03-CHARGE.
              WA_DISPLAY-LAGERORT = IT_SER03-LAGERORT.
              WA_DISPLAY-MBLNR = IT_SER03-MBLNR.
              WA_DISPLAY-MJAHR = IT_SER03-MJAHR.
              WA_DISPLAY-ZEILE = IT_SER03-ZEILE.
             READ TABLE IT_MKPF WITH KEY MBLNR = IT_SER03-MBLNR.
              IF SY-SUBRC = 0.
                WA_DISPLAY-BUDAT = IT_MKPF-BUDAT.
                WA_DISPLAY-BKTXT = IT_MKPF-BKTXT.
                WA_DISPLAY-USNAM = IT_MKPF-USNAM.
                WA_DISPLAY-XBLNR = IT_MKPF-XBLNR.
              ENDIF.
            ENDIF.
          ENDIF.
          IF NOT WA_DISPLAY IS INITIAL.
            APPEND WA_DISPLAY TO IT_DISPLAY.
            CLEAR WA_DISPLAY.
          ENDIF.
        ENDLOOP.
      ENDLOOP.
    ENDFORM.                    " FILL_TABLE
    *&      Form  FIELD_CATALOG
          text
    -->  p1        text
    <--  p2        text
    FORM FIELD_CATALOG.
      FIELDCAT-TABNAME = 'IT_DISPLAY'.
      FIELDCAT-FIELDNAME = 'MATNR'.
      FIELDCAT-SELTEXT_M = 'Material Number'.
      FIELDCAT-OUTPUTLEN =  18.
      APPEND FIELDCAT TO IT_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME = 'IT_DISPLAY'.
      FIELDCAT-FIELDNAME = 'SERNR'.
      FIELDCAT-SELTEXT_M = 'Serial number'.
      FIELDCAT-OUTPUTLEN =  18.
      APPEND FIELDCAT TO IT_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME = 'IT_DISPLAY'.
      FIELDCAT-FIELDNAME = 'MBLNR'.
      FIELDCAT-SELTEXT_L = 'Number of material document'.
      FIELDCAT-OUTPUTLEN =  18.
      APPEND FIELDCAT TO IT_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME = 'IT_DISPLAY'.
      FIELDCAT-FIELDNAME = 'BWART'.
      FIELDCAT-SELTEXT_M = 'Movement type'.
      FIELDCAT-OUTPUTLEN =  18.
      APPEND FIELDCAT TO IT_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME = 'IT_DISPLAY'.
      FIELDCAT-FIELDNAME = 'WERK'.
      FIELDCAT-SELTEXT_M = 'Plant'.
      FIELDCAT-OUTPUTLEN =  5.
      APPEND FIELDCAT TO IT_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME = 'IT_DISPLAY'.
      FIELDCAT-FIELDNAME = 'CHARGE'.
      FIELDCAT-SELTEXT_M = 'Batch number'.
      FIELDCAT-OUTPUTLEN =  18.
      APPEND FIELDCAT TO IT_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME = 'IT_DISPLAY'.
      FIELDCAT-FIELDNAME = 'LAGERORT'.
      FIELDCAT-SELTEXT_M = 'Storage Location'.
      FIELDCAT-OUTPUTLEN =  18.
      APPEND FIELDCAT TO IT_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME = 'IT_DISPLAY'.
      FIELDCAT-FIELDNAME = 'MJAHR'.
      FIELDCAT-SELTEXT_M = 'Material doc. year'.
      FIELDCAT-OUTPUTLEN =  18.
      APPEND FIELDCAT TO IT_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME = 'IT_DISPLAY'.
      FIELDCAT-FIELDNAME = 'ZEILE'.
      FIELDCAT-SELTEXT_L = 'Item in material document'.
      FIELDCAT-OUTPUTLEN =  18.
      APPEND FIELDCAT TO IT_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME = 'IT_DISPLAY'.
      FIELDCAT-FIELDNAME = 'BUDAT'.
      FIELDCAT-SELTEXT_L = 'Posting date in the document'.
      FIELDCAT-OUTPUTLEN =  10.
      APPEND FIELDCAT TO IT_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME = 'IT_DISPLAY'.
      FIELDCAT-FIELDNAME = 'BKTXT'.
      FIELDCAT-SELTEXT_L = 'Document header text'.
      FIELDCAT-OUTPUTLEN =  25.
      APPEND FIELDCAT TO IT_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME = 'IT_DISPLAY'.
      FIELDCAT-FIELDNAME = 'USNAM'.
      FIELDCAT-SELTEXT_M = 'User name'.
      FIELDCAT-OUTPUTLEN =  15.
      APPEND FIELDCAT TO IT_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME = 'IT_DISPLAY'.
      FIELDCAT-FIELDNAME = 'XBLNR'.
      FIELDCAT-SELTEXT_L = 'Reference document number'.
      FIELDCAT-OUTPUTLEN =  25.
      APPEND FIELDCAT TO IT_FIELDCAT.
      CLEAR FIELDCAT.
    ENDFORM.                    " FIELD_CATALOG
    *&      Form  DISPLAY_OUTPUT
          text
    -->  p1        text
    <--  p2        text
    FORM OUTPUT_DISPLAY.
      IF R1 = 'X'.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
              I_CALLBACK_PROGRAM          = 'ZRMMPD01A'
              IS_LAYOUT                   =  I_LAYOUT
              IT_FIELDCAT                 = IT_FIELDCAT
          TABLES
              T_OUTTAB                    = IT_DISPLAY
            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.
        REFRESH IT_DISPLAY.
        CLEAR IT_DISPLAY.
      ELSEIF R2 = 'X'.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
            EXPORTING
                 I_CALLBACK_PROGRAM          = 'ZRMMPD01A'
                 IS_LAYOUT                     =  I_LAYOUT
                 IT_FIELDCAT                 =  IT_FIELDCAT
             TABLES
                  T_OUTTAB                    = IT_FINAL
            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.
        REFRESH IT_DISPLAY.
        CLEAR IT_DISPLAY.
      ENDIF.
    ENDFORM.                    " DISPLAY_OUTPUT
    *&      Form  SELECT_CONDITION
          text
    -->  p1        text
    <--  p2        text
    FORM SELECT_CONDITION.
      IF R2 = 'X'.
        CLEAR WA_DISPLAY.
        SORT IT_DISPLAY BY MATNR SERNR MBLNR ZEILE.
        DELETE ADJACENT DUPLICATES FROM IT_DISPLAY.
        LOOP AT IT_DISPLAY WHERE ZEILE = '0002'.
          READ TABLE IT_DISPLAY WITH KEY MATNR = IT_DISPLAY-MATNR
          SERNR = IT_DISPLAY-SERNR ZEILE = '0001'.
          IF SY-SUBRC = 0.
            DELETE IT_DISPLAY.
          ENDIF.
        ENDLOOP.
        SORT IT_DISPLAY BY MATNR SERNR BWART MBLNR.
        DELETE ADJACENT DUPLICATES FROM IT_DISPLAY.
        LOOP AT IT_DISPLAY.
          IF WA_DISPLAY IS INITIAL.
            WA_DISPLAY =  IT_DISPLAY.
          ENDIF.
          LOOP AT IT_DISPLAY WHERE MATNR = WA_DISPLAY-MATNR
          AND SERNR = WA_DISPLAY-SERNR.
            IF IT_DISPLAY-BUDAT > WA_DISPLAY-BUDAT.
              WA_DISPLAY = IT_DISPLAY.
            ELSE.
              DELETE IT_DISPLAY.
            ENDIF.
          ENDLOOP.
          APPEND WA_DISPLAY TO IT_TEMP.
          CLEAR WA_DISPLAY.
        ENDLOOP.
        DELETE ADJACENT DUPLICATES FROM IT_TEMP.
        IF NOT IT_TEMP[] IS INITIAL.
          IT_FINAL[] = IT_TEMP[].
        ENDIF.
      ENDIF.
    ENDFORM.                    " SELECT_CONDITION
    Regards,
    Ashwini

  • Is it possible to change the "back button" arrow in iDVD5?

    I would rather have a different icon than the same arrow that's always been used for the back button on the idvd menu options. Do I need to get a different program to make my DVD menu's look less like it was obviously made in idvd?

    Yes, it is possible to change the arrow in iDVD but it takes a lot of work.
    1) Chose the theme you want to use. (I will demonstrate with the theater theme)
    2) In Finder go to your applications folder then right or ctrl click on iDVD. You should have a window like this click on the Show Package Contents button like this http://i29.photobucket.com/albums/c261/Matt_Skorina/Picture3.png. You should be in another window with one folder in it called Contents. Go through that folder then click on the folder called Resources. This should be a big folder, scroll down it to where the themes are. Right or ctrl click on the theme you will be using like this http://i29.photobucket.com/albums/c261/Matt_Skorina/Picture2.png. You should again be in a window with only a folder called Contents, go through this. Then go through the Resources folder. Now go through the BackButton.Media.pox folder near the top. Again go through the Contents folder. Then go through the Material folder. You need to leave this window open. http://i29.photobucket.com/albums/c261/Matt_Skorina/Picture4.png
    3) Go back to the window that you chose your theme in. You should duplicate your theme and put it somewhere else.
    4) You first need to create two of your own arrow images. One of the arrows will be for when you select it on the dvd the other will be when you don't select it. The size of the images does not matter but the arrows need to be the same size. Also there can't be any background like white. I would recommend using a program like photoshop for this. You need to save the images as .tiff (I am using an image that I found on the internet)
    5) In the Material folder you will see to documents. The one called 557BE9DA-09B4-11D7-925B-00039343AC9A is the image of the arrow when you don't select it. The document called 557C2F14-09B4-11D7-925B-00039343AC9A is the arrow when you do select it. Delete these files.
    6) Put your two .tiff arrows you made into the Material folder. Copy and paste the file 557BE9DA-09B4-11D7-925B-00039343AC9A into the file when you don't select the arrow. Copy and paste 557C2F14-09B4-11D7-925B-00039343AC9A into the file where you select the arrow.
    7) Open iDVD and load your project in the theme that you have modified.
    Here are what it looks like for my images.
    When not selecting arrow.
    http://i29.photobucket.com/albums/c261/Matt_Skorina/Picture5.png
    When selecting the arrow.
    http://i29.photobucket.com/albums/c261/Matt_Skorina/Picture6.png
    This is not esay. Make sure you back up the theme you change.
    Hope this helps,
    Matt Skorina

Maybe you are looking for

  • EPM 11.1.2.0.0 Install

    Hi All, Has anyone install planning / essbase 11.1.2.0.0 on windows 7 64bit. Thanks!

  • Cannot Boot (Partition Help)

    Ok so I got a new hard drive, a WD 500gb Scorpio Black. I had a nice Arch installation for awhile now, but i can't get running on this new drive. I read something about 4096 (?) being a part of new drives and everytime I install I get warnings. I tri

  • BSP string handling

    Hi, I'm currently in the process of modifying some ITS Templates for our ESS Open Enrollment application. Based on who is logging in, I must either prompt them for a screen to allow employees to reset their passwords or proceed to reset their passwor

  • Re: Lion Update 10.7.2 Home Directory on another volume

    Hi all, Fought this for a few days. Machine MacMini 2007 with 500GB Hard drive installed. On OS X 10.6.x and OS X 10.7.1.x I had moved my home directory to another volume, as my Home directory was initially as big, and is now bigger than my boot driv

  • IMac monitor seems darker

    Hi. I just noticed that the screen on my iMac seems darker than usual. When the screen saver starts to kick in, and the display gets a little darker before it turns off? That's what it looks like right now. Do I need to get this into the Mac store be