Using alv objects for mouseover events

Hello again with the same problem.
on my previous post my requirement was to show a table about a field when mouse is on that field.
all of the comments were negative about this requirement.
later, i have learnt that this requirement can be done by creating an alv object.but i dont know how to do that.
i hope someone knows it?

hello masters,
at least give me some ideas to search for.
regards
cem

Similar Messages

  • Using ALV Grid for data Input

    Hi experts.
    Can someone assist me with information on using ALV grid for data input. Please give a simple example if possible.
    I am mainly interested in the part in which we can transfer data from the grid changing the internal table's data.

    Try this code:
    REPORT z_demo_alv_jg.
    TYPE-POOLS                                                          *
    TYPE-POOLS: slis.
    INTERNAL TABLES/WORK AREAS/VARIABLES                                *
    DATA: i_fieldcat TYPE slis_t_fieldcat_alv,
          i_index TYPE STANDARD TABLE OF i WITH HEADER LINE,
          w_field TYPE slis_fieldcat_alv,
          p_table LIKE dd02l-tabname,
          dy_table TYPE REF TO data,
          dy_tab TYPE REF TO data,
          dy_line TYPE REF TO data.
    FIELD-SYMBOLS                                                       *
    FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
                   <dyn_wa> TYPE ANY,
                   <dyn_field> TYPE ANY,
                   <dyn_tab_temp> TYPE STANDARD TABLE.
    SELECTION SCREEN                                                    *
    PARAMETERS: tabname(30) TYPE c,
                lines(5)  TYPE n.
    START-OF-SELECTION                                                  *
    START-OF-SELECTION.
    Storing table name
      p_table = tabname.
    Create internal table dynamically with the stucture of table name
    entered in the selection screen
      CREATE DATA dy_table TYPE STANDARD TABLE OF (p_table).
      ASSIGN dy_table->* TO <dyn_table>.
      IF sy-subrc <> 0.
        MESSAGE i000(z_zzz_ca_messages) WITH ' No table found'.
        LEAVE TO LIST-PROCESSING.
      ENDIF.
    Create workarea for the table
      CREATE DATA dy_line LIKE LINE OF <dyn_table>.
      ASSIGN dy_line->* TO <dyn_wa>.
    Create another temp. table
      CREATE DATA dy_tab TYPE STANDARD TABLE OF (p_table).
      ASSIGN dy_tab->* TO <dyn_tab_temp>.
      SORT i_fieldcat BY col_pos.
    Select data from table
      SELECT * FROM (p_table)
      INTO TABLE <dyn_table>
      UP TO lines ROWS.
      REFRESH <dyn_tab_temp>.
    Display report
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program       = sy-repid
          i_structure_name         = p_table
          i_callback_user_command  = 'USER_COMMAND'
          i_callback_pf_status_set = 'SET_PF_STATUS'
        TABLES
          t_outtab                 = <dyn_table>
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
      IF sy-subrc <> 0.
      ENDIF.
    *&      Form  SET_PF_STATUS
          Setting custom PF-Status
         -->RT_EXTAB   Excluding table
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'Z_STANDARD'.
    ENDFORM.                    "SET_PF_STATUS
    *&      Form  user_command
          Handling custom function codes
         -->R_UCOMM      Function code value
         -->RS_SELFIELD  Info. of cursor position in ALV
    FORM user_command  USING    r_ucomm LIKE sy-ucomm
                               rs_selfield TYPE slis_selfield.
    Local data declaration
      DATA: li_tab TYPE REF TO data,
            l_line TYPE REF TO data.
    Local field-symbols
      FIELD-SYMBOLS:<l_tab> TYPE table,
                    <l_wa>  TYPE ANY.
    Create table
      CREATE DATA li_tab TYPE STANDARD TABLE OF (p_table).
      ASSIGN li_tab->* TO <l_tab>.
    Create workarea
      CREATE DATA l_line LIKE LINE OF <l_tab>.
      ASSIGN l_line->* TO <l_wa>.
      CASE r_ucomm.
      When a record is selected
        WHEN '&IC1'.
        Read the selected record
          READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX
          rs_selfield-tabindex.
          IF sy-subrc = 0.
          Store the record in an internal table
            APPEND <dyn_wa> TO <l_tab>.
          Fetch the field catalog info
            CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
              EXPORTING
                i_program_name         = 'Z_DEMO_PDF_JG'
                i_structure_name       = p_table
              CHANGING
                ct_fieldcat            = i_fieldcat
              EXCEPTIONS
                inconsistent_interface = 1
                program_error          = 2
                OTHERS                 = 3.
            IF sy-subrc = 0.
            Make all the fields input enabled except key fields*
              w_field-input = 'X'.
              MODIFY i_fieldcat FROM w_field TRANSPORTING input
              WHERE key IS INITIAL.
            ENDIF.
          Display the record for editing purpose
            CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
              EXPORTING
                i_callback_program    = sy-repid
                i_structure_name      = p_table
                it_fieldcat           = i_fieldcat
                i_screen_start_column = 10
                i_screen_start_line   = 15
                i_screen_end_column   = 200
                i_screen_end_line     = 20
              TABLES
                t_outtab              = <l_tab>
              EXCEPTIONS
                program_error         = 1
                OTHERS                = 2.
            IF sy-subrc = 0.
            Read the modified data
              READ TABLE <l_tab> INDEX 1 INTO <l_wa>.
            If the record is changed then track its index no.
            and populate it in an internal table for future
            action
              IF sy-subrc = 0 AND <dyn_wa> <> <l_wa>.
                <dyn_wa> = <l_wa>.
                i_index = rs_selfield-tabindex.
                APPEND i_index.
              ENDIF.
            ENDIF.
          ENDIF.
      When save button is pressed
        WHEN 'SAVE'.
        Sort the index table
          SORT i_index.
        Delete all duplicate records
          DELETE ADJACENT DUPLICATES FROM i_index.
          LOOP AT i_index.
          Find out the changes in the internal table
          and populate these changes in another internal table
            READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX i_index.
            IF sy-subrc = 0.
              APPEND <dyn_wa> TO <dyn_tab_temp>.
            ENDIF.
          ENDLOOP.
        Lock the table
          CALL FUNCTION 'ENQUEUE_E_TABLE'
            EXPORTING
              mode_rstable   = 'E'
              tabname        = p_table
            EXCEPTIONS
              foreign_lock   = 1
              system_failure = 2
              OTHERS         = 3.
          IF sy-subrc = 0.
          Modify the database table with these changes
            MODIFY (p_table) FROM TABLE <dyn_tab_temp>.
            REFRESH <dyn_tab_temp>.
          Unlock the table
            CALL FUNCTION 'DEQUEUE_E_TABLE'
              EXPORTING
                mode_rstable = 'E'
                tabname      = p_table.
          ENDIF.
      ENDCASE.
      rs_selfield-refresh = 'X'.
    ENDFORM.                    "user_command

  • Message in Status Bar while using ALV Objects

    Hi All,
    If we use ALV in objects (Build in class and methods for ALV),is it possible to display a error message using Message statement in Status bar.
    Thanks in advance.

    Hi,
    Yes, it is possible.  You can do it using the ALV Object Model (ALV OO methods) within an event handler method.  For example, the event "added_function of cl_salv_events" can be used and you can add code similar to the following code within the event handler method:
    CASE e_salv_function.
      WHEN 'XYZ'.
        MESSAGE w001(00) WITH 'Message text goes here...'.
    ENDCASE.
    The warning message will either show up as a popup or in the status bar depending on your user settings.  Of course, you can also use other message types (e.g. I, E, S) or other message techniques besides the message statement.
    Best Regards,
    Jamie

  • Problem in using View Object for validation

    Hi,
    I have defined a simple swing form to practice. It has one Entity Object and two View objects. One of these view objects is an updatable VO based on the EO and the other one has a simple "select count(*)" from a table. I defined a method validation on one of the EO attributes to see how can i use the VO for validation. On the other hand i defined the Application Module to use both of my views. As far as i undrestood, when i define a VO for AM, the AM will instantiate it the first time it starts running. Here is the code inside the method validation for FirstName attribute:
    /**Validation method for FirstName
    public boolean validateFirstName(String data) {
    ViewObject vo = getDBTransaction().getRootApplicationModule().findViewObject("CountEmployeeInstance");
    if (vo == null) {
    System.out.println("vo is null");
    else {
    vo.executeQuery();
    if (vo.hasNext()){
    System.out.println("count = " + ((CountEmployeeRowImpl) vo.next()).getCount());
    else {
    System.out.println("vo has no next");
    return true;
    The problem is that vo.executeQuery() does not return any record. In fact the vo.hasNext() returns false and i get the message "vo has no next" on the console. Please pay attention that the VO's sql statement is SELECT COUNT(*) and it always returns a record. I found that if i use vo.closeRowSet() before vo.executeQuery() everything works fine.
    Please tell me that what is my problem and why is it working like this?
    Best Regards,
    Alireza Vali

    Chris,
    1- Every thing is fine with the ADF model layer in this practice. I have tested it by using Test option on AM and it works. It works exactly the same as how it works throug swing UI that i use for it.
    2- The VO is beeing found and as you see in the code, i have tested it by "if (vo == null)" just after the statement which finds it and vo is not null which means it has been instantiated by AM as it was supposed to.
    3- The VO's SQL statement is "SELECT COUNT(*) FROM EMPLOYEE" with no where clause. I have 14 records in this table.
    Every thing is OK with swing form. It runs and shows the records and all the binded operations like "next record", "previous record" and so on work perfectly on the records.
    4- The code i used is a combination of two examples. Example 9-7 and 9-8 in pages 9-12 and 9-13 of mentioned document.
    Now my findings:
    I changed the code to the following:
        /**Validation method for FirstName
        public boolean validateFirstName(String  data) {
            ViewObject vo = getDBTransaction().getRootApplicationModule().findViewObject("MaxEmployeeIdInstance");
            if (vo == null) {
                System.out.println("vo is null");
            else {
                //vo.closeRowSet();
                vo.executeQuery();
                System.out.println("Row Count = " + vo.getRowCount());
                System.out.println("Default Slot = " + vo.getCurrentRowSlot());
                vo.next();
                System.out.println("Slot after next() = " + vo.getCurrentRowSlot());
                vo.reset();
                System.out.println("Slot after reset() = " + vo.getCurrentRowSlot());
                vo.first();
                System.out.println("Slot after first() = " + vo.getCurrentRowSlot());
                vo.last();
                System.out.println("Slot after last() = " + vo.getCurrentRowSlot());
                System.out.println("----------------------");
                vo.executeQuery();
                System.out.println("Deafault index = " + vo.getCurrentRowIndex());
                vo.next();
                System.out.println("Index after next() = " + vo.getCurrentRowIndex());
                vo.reset();
                System.out.println("Index after reset() = " + vo.getCurrentRowIndex());
                vo.first();
                System.out.println("Index after first() = " + vo.getCurrentRowIndex());
                vo.last();
                System.out.println("Index after last() = " + vo.getCurrentRowIndex());
                System.out.println("Slot Before First = " + vo.SLOT_BEFORE_FIRST);
                System.out.println("Slot Beyound Last = " + vo.SLOT_BEYOND_LAST);
            return true;
        }Here are the results :
    Row Count = 1
    Default Slot = 0
    Slot after next() = 3
    Slot after reset() = 0
    Slot after first() = 0
    Slot after last() = 0
    Deafault index = 0
    Index after next() = -1
    Index after reset() = 0
    Index after first() = 0
    Index after last() = 0
    Slot Before First = 2
    Slot Beyound Last = 3
    As you see, after the execution of the statement "vo.executeQuery()" the The RowIterrator pointer is not pointing to the slot before the first record but it is pointing to the first record itself. And that is why the statement "if (vo.hasNext()" returns false because we just have one record and RowIterrator Index is standing on that record and there is no next record present. The very important thing is that even reset() method does not set the index to the slot before the first record and it sends it to the first record.
    After that, i took the statemet "vo.closeRowSet()" out of the comment and here are the results:
    Row Count = 1
    Default Slot = 2
    Slot after next() = 0
    Slot after reset() = 2
    Slot after first() = 0
    Slot after last() = 0
    Deafault index = -1
    Index after next() = 0
    Index after reset() = -1
    Index after first() = 0
    Index after last() = 0
    Slot Before First = 2
    Slot Beyond Last = 3
    These are the exact things that we expected from the first. After query execution, the pointer is set to the slot before first record and the reset() method does its defined job which is sending the pointer to the slot before the the first record.
    My Assumptions:
    The Rowset which is created by AM is somehow different from the RowSet which you create in your program. I am absolutely sure that this functionality is not a bug but a design decission. I look at my simple program and see that when it runs, the data is queried and shown on the screen which is all done by AM by instantiating my VO and executing the query on it. AM reasonably must put the RowSet pointer on the first record and not the slot before first record. And i am sure that if i use reset() method on the shown RowSet, the pointer goes to the first record and the data on the screen does not get cleared. Whe we use vo.closeRowSet() and execute the query again, the AM made RowSet is closed and a new one is created and the new RowSet is your's not AM's so it functions as you expect.
    Best Regards,
    Alireza Vali

  • Is it mandatory to use Business object for data transfer and work flow?

    <font size="3">
    <pre>
    In our enterprise projects we deal with some screens where we add or update some data and again
    we retrieve that data and display to user in various ways like displaying on screen as
    a report or viewing in excel etc.. Most of the times, though we identify the business objects
    based on the nouns in requirements document, really while implementing there will not be any
    business logic in the objects. Almost all the objects which we identfy as business objects
    may have methods like add, delete, update and retrieve methods. Still in these cases, is it required to
    have business objects or can we use transfer object to send the data for saving and retriving or any other
    pattern/guideline is there for dealing such cases?
    I really appreciate your comments on this topic.
    Also I apologize ahead of time if my explanation is not clear to you.
    </pre>
    </font>
    <p>
    Thanks in advance.
    <p>
    Regards,
    <p>
    Rizwan.

    In my opinion, DAO pattern would be suitable for you. Generally the DAO (Data Access Object) will have the CRUD (create, read, update, delete) methods to retrieve data from data-source (e.g. database). Based on the data it will create the DTOs (Data Transfer Objects) and pass them to the caller. It will also receive the DTOs from the caller and save it the data-source. Thus in your case you can
    - remove the CRUD methods from the Business Objects (BO) and make them pure DTOs and use them with DAOs (If you are using JDBC codes inside your application and you don't have much of validation or processing logic in your BOs).
    http://www.corej2eepatterns.com/Patterns2ndEd/DataAccessObject.htm
    OR
    - use BOs in combination in DAOs (if using the database connection from a pool and BOs are having complicated processing logic).
    http://www.corej2eepatterns.com/Patterns2ndEd/BusinessObject.htm

  • Is it a good idea to use ABAP objects for reports?

    Hello Experts,
    Is it a good idea to use ABAP objects instead of the traditional ABAP for coding reports?

    Hi,
    Go throught Document it will Give you eight Reasons why OOABAP Should be used.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/37c5db90-0201-0010-3a9b-d0a5288f3c15
    Must go through
    Regards,
    Gurpreet

  • Using serialized objects for 'static' perso

    Hi,
    I guess this is food for thought. I am looking at the following avenue.
    use serialized objects - compliant with the back office software - as 'static' perso. by static I mean all perso data that the card simply stores and does not need to use/modify to function.
    These objects could change over time (data and methods) without having to re-issue card applications; and many "genertions" of cards could exist on the field as the back office software would know how to adjut to them.
    Has this been done/looked at before ?
    Regards,
    Philippe

    Hi,
    What I meant was use objects serialized by software (outside of the card) to personalize easily all data that:
    1) have the same access security level
    2) do not need any modification/understanding from the applet
    My post is quite old now ...
    I actually have done it and it is quite useful, at least to setup prototypes.
    Regards,
    Philippe

  • System crash while using Callable objects for SAP transaction !!

    Hi all,
    i have created a CO to use SAP transaction, i have created a system, its connection test is successfull.when i create the CO and specify the system and Tcode, and Test it, its giving a Short dump saying its crashed, do anyone knows the rerason??please guide me
    Thanx in advance

    Hi Audrey
    The Help for SAP Transactional iView can be found here - but although I have followed these steps and an associated blog it still does not work for me.  Perhaps you will have more luck.  See below for my particular error (if your able to help me ;-).)
    SAP Help for SAP Transactional iView
    http://help.sap.com/saphelp_nw04/helpdata/en/02/f9e1ac7da0ee4587d79e8de7584966/frameset.htm
    SAP Blog for the same
    Create SAP Transaction iView using SAPGUI for Windows
    NOTE :  Sadly I cannot get mine to work !! ****
    I'm also trying to create a SAP Transaction iView. Following these steps.
    I can preview the iView OK. So it seems that System and Alias are OK.
    BUT when I logon as a user on the Portal with that iVew it fails with the same type of error you had.
    "Unable to lookup System &#39;SAPDBEAlias&#39;. Please check the system object and the alias.."

  • Stoping a group of child components from listening for mouseover event.

    Hi,
    I am trying to create a type of navigation system in this little app i'm working on which executes a function when the mouse is rolled over a canvas container. There are four of these canvas container which carry child components like labels, image, and text controls. These canvas containers have an initial alpha values of 0.5 so i want the fade effect to gradually animate to 1.0 when the mouse is rolls over it. When the mouse rolls out i want the alpha to animate the alpha values back to 0.5. I have sucessfuly done this here is a sample code.
         public function rollOverEffect(e:Event):void
              var ROFadeEffect:Fade=new Fade(e.target);
              ROFadeEffect.duration=500;
              ROFadeEffect.alphaFrom=0.5;
              ROFadeEffect.alphaTo=1;
              ROFadeEffect.end();
              ROFadeEffect.play([e.target]);
         public function rollOutEffect(e:Event):void
              var ROFadeEffect:Fade=new Fade(e.target);
             ROFadeEffect.duration=500;
              ROFadeEffect.alphaFrom=1;
              ROFadeEffect.alphaTo=0.5;
              ROFadeEffect.end();
              ROFadeEffect.play([e.target]);
    So this is working but not perfect...everytime my mouse rolls over the canvas it comes to life (Fades in).....but when it rolls over its child components, it fades out. I really dont follow why. Do i need to stop these child components from recieving events or what
    here is the MXML code for the UI
         <mx:Canvas  alpha="0.5" id="newMemCanvas" mouseOver="rollOverEffect(event)" mouseOut="rollOutEffect(event)"  x="448" y="32" width="252"      height="218" backgroundColor="#FBFBFB" borderColor="#15B5F7" borderStyle="solid" borderThickness="1" cornerRadius="4">
              <mx:Label x="61" y="24" text="New Members" fontWeight="bold" fontSize="14" color="#0EB6DA"/>
              <mx:Label x="10" y="65" text="0 New Member(s)" fontWeight="normal" fontSize="12" color="#434343"/>
              <mx:Image x="17" y="10" source="resource/studentUser.png" width="36" height="42"/>
              <mx:HRule x="14" y="55" width="226"/>
         </mx:Canvas>
         <mx:Canvas  alpha="0.5" id="recPosted" mouseOver="rollOverEffect(event)" mouseOut="rollOutEffect(event)" x="448" y="252" width="252"               height="218" backgroundColor="#FBFBFB" borderColor="#15B5F7" borderStyle="solid" borderThickness="1" cornerRadius="4">
              <mx:Label x="42" y="16" text="Recently Posted" fontWeight="bold" fontSize="14" color="#0EB6DA"/>
              <mx:Label x="14" y="65" text="No Post Yet!" fontWeight="normal" fontSize="12" color="#434343"/>
              <mx:Image x="10" y="10" source="resource/blog_post_new.png"/>
              <mx:HRule x="10" y="51" width="226"/>
         </mx:Canvas>
         <mx:Canvas  alpha="0.5" mouseOver="rollOverEffect(event)" mouseOut="rollOutEffect(event)" x="702" y="32" width="252" height="218"      backgroundColor="#FBFBFB" borderColor="#15B5F7" borderStyle="solid" borderThickness="1" cornerRadius="4">
              <mx:Label x="78" y="23" text="Unread Messages" fontWeight="bold" fontSize="14" color="#0EB6DA"/>
              <mx:Label x="17" y="64" text="0 Unread Message(s)" fontWeight="normal" fontSize="12" color="#434343"/>
              <mx:HRule x="14" y="54" width="226"/>
              <mx:Image x="10" y="20" source="resource/unreadMess.png" width="60" height="30"/>
         </mx:Canvas>
         <mx:Canvas  alpha="0.5" mouseOver="rollOverEffect(event)" mouseOut="rollOutEffect(event)" x="703" y="253" width="248" height="218"      backgroundColor="#FBFBFB" borderColor="#15B5F7" borderStyle="solid" borderThickness="1" cornerRadius="4">
              <mx:Image x="10" y="10" source="resource/mainLogo.png" width="41" height="35"/>
              <mx:Label x="55" y="18" text="Guided Tours" fontWeight="bold" fontSize="14" color="#0EB6DA"/>
              <mx:HRule x="11" y="51" width="226"/>
              <mx:Label x="10" y="66" text="Tower Building Video" fontWeight="normal" fontSize="11" color="#434343" textDecoration="underline"/>
              <mx:Label x="10" y="89" text="Student Interviews" fontWeight="normal" fontSize="11" color="#434343" textDecoration="underline"/>
              <mx:Label x="10" y="111" text="Social Events" fontWeight="normal" fontSize="11" color="#434343" textDecoration="underline"/>
              <mx:Label x="10" y="132" text="Living the School Life" fontWeight="normal" fontSize="11" color="#434343" textDecoration="underline"/>
         </mx:Canvas>
    ...any help will be greatly appreciated...thanx                                                                                    

    Hi l33tian,
    Check the below code with small modifications that I have made to your code in order to make it work...
    Observe the changes that I have made in your rollOver and rollOut functions and also in the mxml code in which I have taken a seperate canvas for all the canvases and added the mouseOver and mouseOut events on this canvas instead of outer canvas so that we can eliminte the problem of FadeOut when we mouseOver on the child components of canvas...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" >
    <mx:Script>
      <![CDATA[
       import mx.effects.Fade;
       import mx.controls.Alert;
       public function rollOverEffect(e:Event):void
                var ROFadeEffect:Fade=new Fade(e.currentTarget.parent);
                ROFadeEffect.duration=500;
                ROFadeEffect.alphaFrom=0.5;
                ROFadeEffect.alphaTo=1;
                ROFadeEffect.end();
                ROFadeEffect.play([e.currentTarget.parent]);
           public function rollOutEffect(e:Event):void
               var ROFadeEffect:Fade=new Fade(e.currentTarget.parent);
               ROFadeEffect.duration=500;
               ROFadeEffect.alphaFrom=1;
                ROFadeEffect.alphaTo=0.5;
                ROFadeEffect.end();
                ROFadeEffect.play([e.currentTarget.parent]);
      ]]>
    </mx:Script>
    <mx:Canvas  alpha="0.5" id="newMemCanvas" x="448" y="32" width="252" height="218" backgroundColor="#FBFBFB" borderColor="#15B5F7" borderStyle="solid" borderThickness="1" cornerRadius="4">
              <mx:Label x="61" y="24" text="New Members" fontWeight="bold" fontSize="14" color="#0EB6DA"/>
              <mx:Label x="10" y="65" text="0 New Member(s)" fontWeight="normal" fontSize="12" color="#434343"/>
              <mx:Image x="17" y="10" source="resource/studentUser.png" width="36" height="42" maintainAspectRatio="false"/>
              <mx:HRule x="14" y="55" width="226"/>
         <mx:Canvas  width="100%" height="100%" mouseOver="rollOverEffect(event)" mouseOut="rollOutEffect(event)" />
         </mx:Canvas>
         <mx:Canvas  alpha="0.5" id="recPosted" x="448" y="252" width="252" height="218" backgroundColor="#FBFBFB" borderColor="#15B5F7" borderStyle="solid" borderThickness="1" cornerRadius="4">
              <mx:Label x="42" y="16" text="Recently Posted" fontWeight="bold" fontSize="14" color="#0EB6DA"/>
              <mx:Label x="14" y="65" text="No Post Yet!" fontWeight="normal" fontSize="12" color="#434343"/>
              <mx:Image x="10" y="10" source="resource/blog_post_new.png"/>
              <mx:HRule x="10" y="51" width="226"/>
        <mx:Canvas  width="100%" height="100%" mouseOver="rollOverEffect(event)" mouseOut="rollOutEffect(event)" />
         </mx:Canvas>
         <mx:Canvas  alpha="0.5" x="702" y="32" width="252" height="218"      backgroundColor="#FBFBFB" borderColor="#15B5F7" borderStyle="solid" borderThickness="1" cornerRadius="4">
              <mx:Label x="78" y="23" text="Unread Messages" fontWeight="bold" fontSize="14" color="#0EB6DA"/>
              <mx:Label x="17" y="64" text="0 Unread Message(s)" fontWeight="normal" fontSize="12" color="#434343"/>
              <mx:HRule x="14" y="54" width="226"/>
              <mx:Image x="10" y="20" source="resource/unreadMess.png" width="60" height="30"/>
        <mx:Canvas  width="100%" height="100%" mouseOver="rollOverEffect(event)" mouseOut="rollOutEffect(event)" />
         </mx:Canvas>
         <mx:Canvas  alpha="0.5" x="703" y="253" width="248" height="218"      backgroundColor="#FBFBFB" borderColor="#15B5F7" borderStyle="solid" borderThickness="1" cornerRadius="4">
              <mx:Image x="10" y="10" source="resource/mainLogo.png" width="41" height="35"/>
              <mx:Label x="55" y="18" text="Guided Tours" fontWeight="bold" fontSize="14" color="#0EB6DA"/>
              <mx:HRule x="11" y="51" width="226"/>
              <mx:Label x="10" y="66" text="Tower Building Video" fontWeight="normal" fontSize="11" color="#434343" textDecoration="underline"/>
              <mx:Label x="10" y="89" text="Student Interviews" fontWeight="normal" fontSize="11" color="#434343" textDecoration="underline"/>
              <mx:Label x="10" y="111" text="Social Events" fontWeight="normal" fontSize="11" color="#434343" textDecoration="underline"/>
              <mx:Label x="10" y="132" text="Living the School Life" fontWeight="normal" fontSize="11" color="#434343" textDecoration="underline"/>
              <mx:Canvas  width="100%" height="100%" mouseOver="rollOverEffect(event)" mouseOut="rollOutEffect(event)" />
         </mx:Canvas>
    </mx:Application>
    Check this out and please let me know..
    Thanks,
    Bhasker

  • Simple tutorial for using alv-grid for data entry into table, please!

    Hi friends,
    I urgently need a basic, simple tutorial or step-by-step or sample code on the following:
    I want to have a alv-grid like entry list where i can add/remove additional lines/entries that then are saved into an internal table. Please help me with that, as i studied already some documents but do not really get the idea of how to do - <REMOVED BY MODERATOR>
    Thanks in advance,
    Edited by: Alvaro Tejada Galindo on Jan 11, 2008 6:18 PM

    hi clemens,
    follow this link it may be useful to u
    http://www.sap-basis-abap.com/sapab033.htm
    http://www.abapprogramming.blogspot.com/2007/04/alv-details.html
    for tutorial on alv:
    http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/ALV_tutorial.html
    i have pdf material also ican give it to you if u give your email id.
    hope this helps you
    regards,
    sravanthi

  • How to use a object for both key figure and as a charcteristc

    Dear all,
    we have a requirement where in we have to use Version Field as a key figure and as well as a charecteristc.
    Regards
    venu

    Dear Mayank Gupta
    Thxs for ur reply
    We are creating a EBIDTA Report which is already developed in R/3 and these result will be stored in Z table.
    we have created a DSO which will store this Z table data.
    Now the req is we have a created a field called ZVersion which is there in the Key fields of DSO. ok
    But in report we want to use the condition TOP1 on the version. as the version is a not a key figure we cant create the Conditon on the characteristc.
    If we use version as a key figure then the records are summurised in DSO as u have to insert it in Data Field.
    we want to use version as a primary key.
    so how to go abt it?
    regards.
    venu

  • Send mail using ALV tree(for excel file) outlook

    Hello Gurus!!!
    The code is as follows :-
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
      BIN_FILESIZE                    =
        FILENAME                        = 'C:\exceldown\tree2.xls'
       FILETYPE                        = 'ASC'
      APPEND                          = ' '
       WRITE_FIELD_SEPARATOR           = 'X'
      TABLES
        DATA_TAB                        = lt_project.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CREATE OBJECT outlook 'Outlook.Application'.
    CALL METHOD OF outlook 'CREATEITEM' = outmail EXPORTING #1 = 0.
    SET PROPERTY OF outmail 'TO' = '[email protected]'.
    SET PROPERTY OF outmail 'SUBJECT' = 'Project Management'.
    SET PROPERTY OF outmail 'BODY' =  'This is excel attachment'.
    *SET PROPERTY OF outmail 'Insert File' = 'C:\exceldown\tree2.xls'.
    <b>CALL METHOD OF outmail 'Insert File'.   <b>****NOT WORKING</b>
    SET PROPERTY OF outmail 'Attach' = 'C:\exceldown\tree2.xls'.</b>
    CALL METHOD OF outmail 'SEND'.
    FREE OBJECT outlook.
    Kindly suggest your answers.
    Helpful points will be rewarded
    Thanks,
    Sachin.

    Achieved the requirement using FM RS_TREE_CONSTRUCT

  • How to add search help for field in ALV object

    Hello,
    In a program, we use ALV object ( container) to create a liste like : field1, field2 .. but when display we do not have search help for this . Could you please help me how to add match code in this case for field 1 and field2, We use set_table_for_first_display
    Thanks,

    Hi,
    when you define your field catalogue you can create data elements with search help in se11 and use them for field 1 and field 2.
    But maybe it is enough to use data elements belonging to a domain with a value help and to set field F$AVAILABL in the field catalogue or to fill the name of the field CHECKTABLE.
    Regards,
    Klaus

  • Business objects and start events required for CO11N and CO13 transactions

    Hi,
    We do production order <b>confirmation</b> and <b>cancellation</b> in CO11N and CO13 respectively. Can somebody please tell me the corresponsing business objects and the start events for them? This is a very urgent issue, I will surely rewad good points.
    I guess we need to use AFVC_PM object and "finalconfirmation" event for the confirmation.
    Please confirm this and kindly suggest the same for cancellation.
    Thanks,
    Max

    Hi Max,
    You will have to use the object BUS2005 - which is for Production order.
    If you do not have Required events in the BO, you will have to extend object to add those custom events e.g. Cancellation event.
    In this case you wil have to use Status management technique for raising events if standad transaction is not raising them.
    Hope following SAP Help link might help you  to start off..
    http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4aed5453d11d189430000e829fbbd/content.htm
    Regards,
    Akshay Bhagwat

  • Business Object for Event trigering

    Hi All:
    I want to use Business Object for Event trigering so just wondering if anybody has detail steps required for it.I already looked at transaction SWO1 but I don't know all the required steps.
    I need to call a program/function to send data to external system when user changes following objects.
    1) Customer master
    2) Quote
    3) Contact
    Thanks in advance.
    Nilesh

    Hi nilesh
    you need to find the appropriate standard business object first . this can be don eby using event trace . switch on the trace by swe4 perform the required transaction and then display the trace in swel. if a standard object is there you will get it listed there with the event that got triggered when u performed the transaction.then u can eventually make a zcopy of it and use
    do let me kno if anything else is required
    regards
    ravish
    reward points is the best way of saying thanks in sdn
    Message was edited by:
            Ravish Garg

Maybe you are looking for

  • After upgrade to 4.1 from 3.2, admin logon page error with "done error load

    Hello all, Just upgraded 3.2 to 4.1. ran @apexins.sql sysaux sysaux temp /i/. Installation was successful and upgrade completed with no errors. When trying to log on to admin page, url changes to admin workarea but with IE we get "done error loading

  • IPhoto and Aperture crash on launch, iPhoto and Aperture crash on launch

    Hi everyone. Recently when I launch iPhoto it crashes immeadiately and I have to 'Force quit' the application. I haven't been able to use it for weeks! I decided to purchase Aperture and when I open it I get the same problem! Both iPhoto and Aperture

  • How can I change and create new events?

    iPhoto for iPad seems to stick some naming convention for creating Events.  Is there a way to: 1. change the Event name? 2. Split events? 3. Rearrange photos to certain events? pacpac

  • I am having trouble Installing Acrobat XI Pro...

    I am having trouble Installing Acrobat XI Pro... I'm receiving an error that says I need Adobe Application Manager to verify my license.  Each time I try to install Adobe Application Manager 8.0, I receive an error that says the installer failed to i

  • Problems with uploading application

    Hi, I have recently uploaded application into InMarket, but suddenly I'm unable to binary packages after recent changes. It was not submitted to any shop yet, as it is still in testing phase. My application was created with Flex 3.5 and was intended