To Display the summary

Hi
i m trying to print the summary of the subarea that How many employees hav more than 6000 salary and how many have less than 6000 . for example if we have 25 records of more than 6000 PKR than it should display 25 rather than 1 to 25. kindly examine the following code and help me out.
<pre>
TABLES: pernr,
        pa0001,
        pa9999.
INFOTYPES: 0000,
           0001,
           9999.
TYPE-POOLS: slis.
DATA: fieldcat TYPE slis_t_fieldcat_alv,
      fc_str TYPE slis_fieldcat_alv,
      event TYPE slis_t_event,
      event_str TYPE slis_alv_event,
      layout   TYPE slis_layout_alv,
      title    TYPE lvc_title,
      repid    LIKE sy-repid.
DATA: heading TYPE slis_t_listheader,
      heading_str TYPE slis_listheader,
      duration-months TYPE i.
*ranges period for pa9024-begda .
DATA: BEGIN OF itab OCCURS 0,
     temp1 TYPE i,
     temp2 TYPE i,
     loc_code LIKE pa0001-btrtl,
     total TYPE i,
            END OF itab.
DATA v_zztel0069b LIKE pa9999-zztel0069b.
SELECT-OPTIONS s_btrtl FOR pa0001-btrtl OBLIGATORY.
START-OF-SELECTION.
GET pernr.
  IF ( pernr-btrtl IN s_btrtl ).
    SELECT  zztel0069b
     INTO (v_zztel0069b)
      FROM pa9999
      WHERE pernr = pernr-pernr
      AND   begda = pnpbegda   AND   endda = pnpendda.
        READ TABLE itab WITH KEY itab-loc_code.
        IF sy-subrc EQ 0.
          MODIFY itab.
        ELSE.
          itab-loc_code = pernr-btrtl.
        ENDIF.
      IF v_zztel0069b  > 6000.
        ADD 1 TO itab-temp1.
         MODIFY itab.
       READ TABLE itab WITH KEY itab-loc_code.
       IF sy-subrc EQ 0.
         MODIFY itab.
       ELSE.
         itab-loc_code = pernr-btrtl.
       ENDIF.
      ELSEIF v_zztel0069b < 6000.
        ADD 1 TO itab-temp2.
      ENDIF.
      itab-total = itab-temp1 + itab-temp2.
       APPEND itab.
    ENDSELECT.
  ENDIF.
  APPEND itab.
end-of-selection.
fc_str-col_pos = 5.
  fc_str-tabname = 'ITAB'.
  fc_str-fieldname = 'LOC_CODE'.
  fc_str-outputlen = 15.
  fc_str-seltext_m = 'LOCATION CODE'.
  APPEND fc_str TO fieldcat.
  fc_str-col_pos = 15.
  fc_str-tabname = 'ITAB'.
  fc_str-fieldname = 'TEMP1'.
  fc_str-outputlen = 20.
  fc_str-seltext_m = 'EMPLOYEE ABOVE 6000'.
  APPEND fc_str TO fieldcat.
  fc_str-col_pos = 25.
  fc_str-tabname = 'ITAB'.
  fc_str-fieldname = 'TEMP2'.
  fc_str-outputlen = 40.
  fc_str-seltext_m = 'EMPLOYEE BELOW 6000'.
  APPEND fc_str TO fieldcat.
  fc_str-col_pos = 35.
  fc_str-tabname = 'ITAB'.
  fc_str-fieldname = 'TOTAL'.
  fc_str-outputlen = 50.
  fc_str-seltext_m = 'TOTAL EMPLOYEE'.
  APPEND fc_str TO fieldcat.
  CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
   EXPORTING
     i_list_type           = 0
   IMPORTING
     et_events             = event[]
EXCEPTIONS
  LIST_TYPE_WRONG       = 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.
  READ TABLE event WITH KEY name = 'TOP_OF_PAGE' INTO event_str.
  IF sy-subrc = 0.
    MOVE: 'TOP_OF_PAGE' TO event_str-form.
    APPEND event_str TO event.
  ENDIF.
  heading_str-typ = 'H'.
  heading_str-info = 'LOCATION SUMMARY OF EDUCATION'.
  APPEND heading_str TO heading.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
   EXPORTING
  I_INTERFACE_CHECK                 = ' '
  I_BYPASSING_BUFFER                = ' '
  I_BUFFER_ACTIVE                   = ' '
     i_callback_program                = sy-cprog
  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                         = layout
     it_fieldcat                       = fieldcat[]
  IT_EXCLUDING                      =
  IT_SPECIAL_GROUPS                 =
  IT_SORT                           =
  IT_FILTER                         =
  IS_SEL_HIDE                       =
  I_DEFAULT                         = 'X'
     i_save                            = 'X'
  IS_VARIANT                        =
     it_events                         = event[]
  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
  IT_ALV_GRAPHICS                   =
  IT_HYPERLINK                      =
  IT_ADD_FIELDCAT                   =
  IT_EXCEPT_QINFO                   =
  I_HTML_HEIGHT_TOP                 =
  I_HTML_HEIGHT_END                 =
IMPORTING
  E_EXIT_CAUSED_BY_CALLER           =
  ES_EXIT_CAUSED_BY_USER            =
    TABLES
      t_outtab                        = itab.
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.
      FORM TOP_OF_PAGE
FORM top_of_page.
heading_str-typ = 'H'.
heading_str-key = 'K1'.
heading_str-info = 'Stop Loan Report'.
APPEND heading_str TO heading.
  CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
   EXPORTING
     it_list_commentary       = heading[]
    i_logo                   = 'DADEX'
        I_END_OF_LIST_GRID       =
ENDFORM.                   
</pre>
Regards
Ammad
Edited by: Vijay Babu Dudla on Jun 10, 2009 1:27 AM

Hi Avinash,
Thank you for the prompt reply.
The DFF is a context sensitive DFF and by default it was not visible in the create absence window.
I had used the below metalink note to activate the context sensitive DFF in the above screen when the employee launches the LOA.
"Unable To Display Context Sensitive Additional Absence Details Dff In SSHR. [ID 466881.1]"
However my problem is that neither the supervisor nor the final HR approver sees this context sensitive DFF fields in the "Notification Summary" page.
The HR person can approve the leave and then go to core HR absence screen and then only see the DFF fields.
Some decision regarding air tickets etc. needs to be decided before the leave can be approved.
regards

Similar Messages

  • After upgrading to 10.2.2.12  on windows XP SP3 , itunes does not display any summary info or buttons/options. The buttons work but it does not display the text on the button or the options available.

    I recently upgraded the iTunes software to 10.2.2.12 on my Windows XP laptop. Since then, iTunes stopped displaying the Summary info
    , the text on the buttons, the various drop down options. The buttons seem to be working but I can't tell what that button is supposed to do
    or the option I am selecting. This is preventing me from syncing my photos to the laptop.
    this was not a problem with the previous version of iTunes.
    Actions taken :
    - I tried downloading iTunes again and repairing the install. That did not fix it.
    - Don't want to uninstall it as I am worried that I would lose all the songs and the purchases etc.
    1. Has anyone encountered this ?
    2. Is there a solution for this ?
    Many thanks in advance for your time and help
    Nitin

    bmalones44 wrote:
    b noir, my Windows 7 machine is having the exact same issue as nsadal, and I have already confirmed that all six of the Segoe UI fonts are installed on my computer.  Are any other Windows users having this problem with the 10.2.2.12 iTunes release?
    Yeah it does, although the problem predates version 10.2.2.12. It's been around since earlier-on in the version 10s (at least).
    It's usually Segoe UI font trouble on the Windows 7 systems too. Unfortunately, the Vortical troubleshooting technique only works on XP and Vista systems, so dealing with the issue on a Windows 7 system is trickier. (There's a bunch of different possible issues relating to the fonts that could be in play, and so the treatment tends to depend on which issue in particular you've got with the Segoe_UI fonts.)
    For discussions of various Windows 7 variations of the "Missing text" thing, and possible treatments, see the following (unfortunately, rather long) topic:
    iTunes 10.1 Missing Text

  • Displaying Document Name With The Summary in a Single Column Using Document Library View.

    Hi All,
    I have a question that relates to SharePoint Document Library Views. I want to view the Documents name with the summary in a single column. Below image shows an example of it. I need this within a SharePoint Document Library. Also I want the height of the
    row to be increased more than the default height. I cannot figure it out how to do that? Could you someone help me to do this. I have inserted the Document Library as an App Part to the page. 
    So could you someone help me to solve this matter?
    Thanks and regards,
    Chiranthaka

    HI Chiranthaka,
    You can create DataView webpart using SPD and then modify the display template according to your need.
    http://deannaschneider.wordpress.com/2012/07/10/item-counts-dvwp-sp2010/
    Hope this will help to solve your problem.
    Best Regards,
    Brij K

  • Displaying Document Name & The Summary in a Single Column Using Document Library View

    Hi All,
    I have a question that relates to SharePoint Document Library Views. I want to view the Documents name with the summary in a single column. Below image shows an example of it. I need this within a SharePoint Document Library. Also I want the height of the row
    to be increased more than the default height. I cannot figure it out how to do that? Could you someone help me to do this. I have inserted the Document Library as an App Part to the page. 
    So could you someone help me to solve this matter?
    Thanks and regards,
    Chiranthaka

    HI Chiranthaka,
    You can create DataView webpart using SPD and then modify the display template according to your need.
    http://deannaschneider.wordpress.com/2012/07/10/item-counts-dvwp-sp2010/
    Hope this will help to solve your problem.
    Best Regards,
    Brij K

  • Why is my tv show displaying incorrect summary artwork for the season when each episode as correct artwork?

    In iTunes 11, I have a TV Show with correct artwork for every episode. However, iTunes displays a completely different image for the "summary" image displayed on the main TV Shows page. Why is that?

    In iTunes 11, I have a TV Show with correct artwork for every episode. However, iTunes displays a completely different image for the "summary" image displayed on the main TV Shows page. Why is that?

  • Displaying the error summary.

    Hi All ....
    I Installed Sneak Preview 2004 in my local system,
    while running an application, if there are any run time errors, it just says "Failed to process request. Please contact your system administrator." and not displaying the error summary.
    To display the error summary where and how to configure that.
    Thanks & Regards,
    Sai.K.K

    Hi Anil,
    The window name is correct with case.
    Now I could see the error with respect to the new window like this in the defaultTrace3.trc
    #1.5#00173193E440005E0000003800000614000424761EAC2A74#1165989646187#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#Guest#0####458d69608a6f11db813800173193e440#SAPEngine_Application_Thread[impl:3]_31##0#0#Error##Plain###Processing HTTP request to servlet [dispatcher] finished with error. The error is: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Duplicate instance exception: The interface view Witness_WindowInterfaceView in component EHS_WSOComp is already in use.
         at com.sap.tc.webdynpro.progmodel.controller.Component.addUsageOfInterfaceView(Component.java:177)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.<init>(WebDynproWindow.java:79)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.<init>(WebDynproWindow.java:93)
         at com.sap.tc.webdynpro.clientserver.window.InternalWindow.<init>(InternalWindow.java:32)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createModalWindow(ClientComponent.java:953)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createWindow(ClientComponent.java:942)
         at com.sap.tc.projects.ehswso.EHS_WSOCust.OpenNewWindow(EHS_WSOCust.java:322)
         at com.sap.tc.projects.ehswso.wdp.InternalEHS_WSOCust.OpenNewWindow(InternalEHS_WSOCust.java:531)
         at com.sap.tc.projects.ehswso.Incident_Form.onActionShowWitnessWin(Incident_Form.java:656)
         at com.sap.tc.projects.ehswso.wdp.InternalIncident_Form.wdInvokeEventHandler(InternalIncident_Form.java:563)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
    I want the trace to be displayed in the browser window, rather than searching for the log in the path every time.
    Regards,
    Sai.k.k

  • TS3274 my ipad displays "ipad disabled,connect to i tunes",but if connected to itunes it doesnt recognizes it because of the wrong passcodes entered several times.and when i go to restoring, i could not find the summary in the device panel in my i tunes.h

    my ipad displays" ipad disabled, connect to i tunes" but if connecyed to i tunes, it doesnt recognizes it bec.of the wrong passcodes entered several times.so when i go to restoring ipad, i couldnt see the 'summary' in the device panel in my i tunes.what will i do? pls help...

    You have to restore the device within iTunes. You want to use the same computer that you always sync with so that you can restore your app data and settings. You can restore with any other computer, but you will lose everything on the iPad.
    Try using Recovery Mode
    iPad: Unable to update or restore

  • Display only a part of a blog post in the summary view

    Hello,
    Has anyone come across an effective way to set the size, either by pixels or the number of characters, that is displayed for blog posts in the summary view? I'm working with a blog that has some very lengthy posts, and we want to reduce the amount that people
    have to scroll down the page on the homepage of the blog.
    It's worth noting that I've come across a couple different potential solutions, but have had issues because the body of the post is an "enhanced rich text" field.
    Thanks in advance for any help!

    Hi Bogan,
    According to your description, my understanding is that you want to display only a part of the blog post in the summary view.
    I recommend to edit the homepage in SharePoint Designer and modify the XSLT to achieve your goal.
    Here is a link for you to refer:
    http://heatherwaterman.com/2011/05/customizing-the-blog-posts-in-a-sharepoint-blog-template/#lightbox/10/
    Here is a similar thread for you to take a look:
    http://social.technet.microsoft.com/Forums/en-US/77465d4d-0db7-4736-8358-e9b853a644d7/default-blog-site-summary-view-of-posts?forum=sharepointgeneralprevious
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • IPhone displays the wrong number in iTunes Summary page

    had to change my phone number due to a hacker, now my summary page for my iPhone in iTunes still shows the old number. I've updated my details in every page I can think of but I seem to be missing the one that displays the correct number? any idea's?

    sorted it myself after some proper research.
    Change the number in Settings on your phone and when you next sync it resets the number in iTunes to match.

  • I have downloaded itunes 10.3.1.55, when my device connects and syncs, the Summary, Info and Music tabs display, but no text is shown.

    I have downloaded iTunes 10.3.1.55, but when I attach my device and attempt to sync, the screens appear, but all the text is gone from the Summary, Music and info tabs.   Books, Movies and Apps  are ok.   I can see buttons, but no text is on the box, so I don't remember what it does.  I can see check boxes, but no text.

    Don't reset your phone.  Resetting will return the phone to factory settings and you will loose everything.  Spend some time working toward a fix.
    You might want to try a different USB cable.  It is possible that your cable conincedentally went bad.  I have had this problem before - even cables that will chrage the phone sometimes stop working for data purposes.

  • How to display the last value of a field in a group in the group header

    I need to display the last quiz score from a group of quiz scores as part of the header of a group of units (the quiz score values are in the detail record).  I can not use the group footer, which would be the natural place to find the last value.  It must be in the group header because there will be a subsequent group within the unit group.  In other words, the grouping is as follows:
    Unit Group Header (Display last quiz score in unit)
    SubUnit Group Header (Display other detail summaries)
    Detail Record (including quiz score)
    SubUnit Group Footer
    Unit Group Footer
    While there is a minimum/maximum summary function, there is not a first/last function.
    Fuskie
    Who is constantly amazed at the ability of users to request report features that are not easily implented through Crystal Reports...

    Hi Fuskie,
    One suggestion to display the last quiz score in the Group Header, other than what had already been suggested, will be to use a linked subreport in the Group Header. It is not an efficient way to display the information, but it could do the trick.
    Another suggestion will be to insert a subreport in the report header, then store the last quiz score in an array for each group, then share it with the main report and display the  values in the appropriate group. In this way it will only connect twice to the data source, one for the main report and once for the subreport, instead of multiple connection for each group.
    Finally, the most efficient way will be to have this value calculated on the database side using a command object or a stored procedure.
    Patrick

  • How to avoid the Summary Fields in CrossTab

    Hi all,
    I have created a report using crosstab view,,,in that i have selected two fields in the value column..but in the summary field i need to select only one column....
    but i cann't select only one field in the summary..Is that possible....if so please help me on this.....
    Thank You,
    Katchsathish

    Hi Kuldeep,
    Condition 1:
    If you try to take one Dimension and one measure like Year and sales revenue using e-fashion demo universe then new column inserted will be nested when using cross tab where the measure values will be spread across multiple columns.
    In this case you have to use condition to refer individual column names like
    =[Sales revenue] Where([Year]="2001" )+ [Sales revenue] Where([Year]="2002")
    and calculate the sum.
    Select the measure column in the cross tab then click  the u201CInsert Sumu201D button it will display the sum in the last column of the cross tab then you can modify the formula generated to specify the condition which columnu2019s sum you want o display in that column.
    Ex:  Use e-Fashion universe and take Year and sales Revenue turn it to cross tab and follow the process I mentioned.
    Condition 2:
    However if you use one dimension and multiple measure like the one you are using where you are trying to calculate sum of col1+col2 and so on. In this case you can directly insert the column and calculate the sum of column referring their names.
    Ex: Use e-Fashion universe and take objects Year, Sales revenue. Quantity sold, Discount, margin here you can directly sum individual column values like sales revenue, quantity sold and discount +margin by inserting the column in between the columns using u201Cinsert Columnu201D
    I  Hope this helpsu2026
    Thanksu2026
    Pratik

  • How can I display the vendor associated with result of my running total sum

    I have a report that lists vendors with their most vecent order dates.  I need to set up a rotation so that the vendor with the latest order date is next to be selected.  I used the running total summary to pick the latest date.  How can I display the vendor associated with result of my running total summary?

    If your "latest" order date means the "oldest" order date, why don't you try this:
    Go to Report tab -> Record Sort Expert -> Choose your order date in ascending order
    This will make your oldest order your first record shown. 
    You can then create a running total count for each record.
    Lastly, in your section expert under conditional suppress X+2 formula, write this:
    {#CountRecords}>1
    The result will only show the oldest record in your report.
    I hope that helps,
    Zack H.

  • How do I find the summary page on ITunes. Have new Windows 8 and have to change to manually manage music

    I have downloaded audiobooks from the library using Overdrive for years. I have a new computer with Windows 8 and now it's been difficult. I have a book ready to transfer to ITunes to download to my Ipod but in order to transfer it a message came up saying go to the summary page in ITunes and check Manually Mange Music.  I can't find the summary page anywhere on itUNES

    The Summary screen is what you see in the main part of the iTunes window, when you select the iPod in iTunes.
    To select the iPod in iTunes when the iTunes sidebar is NOT visible, there is a "device button" near the upper right corner of the iTunes window.  If your iPod is the only connected device, it should say "iPod."  Click it to select your iPod in iTunes.
    If the iTunes sidebar IS visible (along left side of window), the iPod appears in the sidebar, under DEVICES.  Click it there to select it.
    When the iPod is selected, there is a row of buttons that starts with Summary.  Summary should be the initially displayed screen.  That setting (a checkbox) is actually Manually manage music and videos for an iPod touch.

  • HT1386 Recently I updated iTunes on my PC and now the "Summary" for syncing my iPhone no longer appears near the top of my iTunes Window. The Summary lists items that I can sync with my iPhone such as "Music, Photos, Apps" etc.

    Recently I updated iTunes on my PC and now the "Summary" for syncing my iPhone with iTunes no longer appears near the top of my iTunes window.  "Summary" lists items I can sync such as "Music, Photos, Apps", etc with drop-down boxes I can use to manage how I sync those items.  An icon for my iPhone does appear near the top right corner of the iTunes window; however, when I click on the icon, the sync automatically begins and there is no display of what is syncing or how much space has been used or how much space is left for syncing music, photos, apps, etc. The new iTunes window no longer lists "Devices" on the left-hand side of the window.  Has anyone had the same issue?

    In iTunes go to View>Show Sidebar.

Maybe you are looking for