Need to show Counter at report level based on Position

Chaps,
one of my HR report requires a counter value based on Position. exactly what i required is want to show the no. of positions count based on Resource type. ( Resource type is a navig. attr of Position). How to define counter for this?
Thanks.
Rgds,
ST.

Hi Sathish,
   Create a formula variable with replacement with position and attribute resource type. Here write formula.
   Example: (formula variable >= 0)*1+0
Regards
Prasad

Similar Messages

  • ALV Output - Need to show count of line items based on 1 key field.

    Hi All,
           In my prog i need to show an ALV ouput which is having Matnr,Material type and Division . MATNR is the key field. I need to show how many line items are present against a  particular MATNR in that ALV ouput itself. Not in the top of page. I think there might be some field in SLIS which can be use for the same. If any one has come across such a requirement then please revert back.
    thanx,
    Shyam.
    PS: Useful answers will be rewarded.

    Ok, so we are back to using the COUNT field and now using the SORT functionaity, the SORT will allow us to subtotal by MATNR.
    REPORT  zrich_0001.
    * Global ALV Data Declarations
    TYPE-POOLS: slis.
    * Internal Tables
    TYPES: BEGIN OF talv ,
           matnr TYPE mara-matnr,
           mtart TYPE mara-mtart,
           spart TYPE mara-spart,
           count TYPE i,
           END OF talv.
    DATA: ialv TYPE TABLE OF talv WITH HEADER LINE.
    DATA: fieldcat  TYPE slis_t_fieldcat_alv.
    DATA: sort     TYPE slis_t_sortinfo_alv.
    DATA: layout    TYPE slis_layout_alv.
    START-OF-SELECTION.
      PERFORM get_data.
      PERFORM call_alv.
    *      Form  GET_DATA
    FORM get_data.
      SELECT matnr mtart spart INTO TABLE ialv
                FROM mara UP TO 500 ROWS.
    ENDFORM.                    "GET_DATA
    *  CALL_ALV
    FORM call_alv.
      PERFORM build_field_catalog.
      PERFORM build_sort.
      layout-countfname = 'COUNT'.              "<-----  HERE
    * Call ABAP List Viewer (ALV)
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          it_sort     = sort
          is_layout   = layout
          it_fieldcat = fieldcat
        TABLES
          t_outtab    = ialv.
    ENDFORM.                    "CALL_ALV
    * BUILD_FIELD_CATALOG
    FORM build_field_catalog.
      CLEAR: fieldcat. REFRESH: fieldcat.
      DATA: tmp_fc TYPE slis_fieldcat_alv.
      tmp_fc-reptext_ddic = 'Material'.
      tmp_fc-fieldname    = 'MATNR'.
      tmp_fc-tabname      = 'IALV'.
      tmp_fc-outputlen    = '18'.
      APPEND tmp_fc TO fieldcat.
      tmp_fc-reptext_ddic = 'Material Type'.
      tmp_fc-fieldname    = 'MTART'.
      tmp_fc-tabname      = 'IALV'.
      tmp_fc-outputlen    = '4'.
      APPEND tmp_fc TO fieldcat.
      tmp_fc-reptext_ddic = 'Division'.
      tmp_fc-fieldname    = 'SPART'.
      tmp_fc-tabname      = 'IALV'.
      tmp_fc-outputlen    = '2'.
      APPEND tmp_fc TO fieldcat.
      tmp_fc-reptext_ddic = 'Count'.
      tmp_fc-fieldname    = 'COUNT'.
      tmp_fc-tabname      = 'IALV'.
      tmp_fc-outputlen    = '5'.
      tmp_fc-do_Sum       = 'X'.
      append tmp_fc to fieldcat.
    ENDFORM.                    "build_field_catalog
    *&      Form  build_sort
    *       text
    FORM build_sort.
      DATA: tmp_sort TYPE LINE OF slis_t_sortinfo_alv.
      CLEAR sort. REFRESH sort.
      CLEAR tmp_sort.
      tmp_sort-fieldname = 'MATNR'.
      tmp_sort-tabname   = 'IALV'.
      tmp_sort-up        = 'X'.
      tmp_sort-subtot    = 'X'.
      APPEND tmp_sort TO sort.
    ENDFORM.                    "build_sort
    Regards,
    Rich Heilman

  • Need to display count and report both by using single Query

    Hi All,
    I got any requirement in that i need to display count and report both.
    Like
    Count os Unassigned=20
    Count of Assined=23
    Sr   name     summary        etc ......
    1     dssss        sdsds         dsds
    2     sdada       sdsd          sdsds
    3     dadad       afds          sdada    And the problem is ,My Application is providing the single window where i can put a single query
    so pls help me with this

    I think you need to do it like this:
    WITH x AS (
        SELECT DECODE(name,NULL,0,1) AS ind, COUNT(*) AS counter FROM your_table
        GROUP BY DECODE(name,NULL,0,1)
        UNION SELECT 1,0 FROM dual
        UNION SELECT 0,0 FROM dual)
    SELECT DECODE(ind,0,'Count os Unassigned=','Count of Assined=') ||
           TO_CHAR(SUM(counter)) FROM x GROUP BY ind;Replace your_table with whatever your table is called.

  • Problem with Non Cumilative key figs at report level.

    Hi Gurus,
    I got an issue with the below keyfigures when I tried to display them in the report Stock Overview.
    0TOTALSTCK
    0VALSTCKVAL
    0QMSTOCK
    0TRANSSTOCK
    0BLOCKEDSTK
    0CNSSTCKQTY
    These keyfigs are non-cumulative keyfigures. I wonder why these keyfigures show nothing at report level. The cube is IC_C03 which has the datasources 2lis_03_BX, 2LIS_03_BF and 2LIS_03_UM.
    Please help.
    Regards,
    Sasi

    Did you initialize the inventory properly?
    Check if inflow and outflow exists in cube for the values you are trying to execute the report

  • Need to show No applicable data in the report.

    Hi All,
    We ave a key figure in the selection screen. And user will enter the value. based on the input, the report has to display less than or equal to the entered value as a result in the output of the report.
    Input NIV as 67,169.48 then below results -
    If user gives input NIV as 16,544.14 , the below output is showing.
    But we need to show zero as result or no applicable data in the report. Is it possible to achieve through FORMULA.Please help on this
    Thanks.

    Hi Jalina,
    Yasemin already asked few questions.
    but this is what we may do:-
    to create a formula variable and use it for user input. use this formula variable in a formula , if your NIV kf<= formula variable, then NIV KF, else, 0.
    then make a condition on this KF, not equal to zero to suppress this record.
    regards,
    Sakthi.

  • We need to show User's subordinates hierarchy wise in Reports

    Hi,
    In CRM OD report Reporting level shows user's upper hierarchy..But we need Subordinates also.How can that be done in Report.

    Raju Madari wrote:
    Hi,
    In CRM OD report Reporting level shows user's upper hierarchy..But we need Subordinates also.How can that be done in Report.Most probably you post in wrong forum. this is Application Development in PL/SQL » Reports forum.

  • Query regarding Level Based Measure on Reports

    Hi All,
    I am facing an issue in OBIEE while using aggregate measures.
    Scenario
    My Report has the following columns. There is security applied on the report ie an Employee who logs in gets to see only his/her data.
    1) Employee
    2) Month
    3) Monthly Sales
    4) Org Sales(Aggregate Sales at Organization Level)
    My Issue is that even when an Employee does not have any Monthly Sales for a Month (no entry for the employee in the dimension table)  it displays results for Org Sales. So I have a report that looks like given below.
    Please note - There is no entry for this employee in the Dimension table for this month.
    Employee
    Month 
    Monthly Sales 
    Org Sales
    12000
    I do not want the report to display any value when there is no monthly Sales for the Employee. From the back end, I can see that there are 2 separate queries generated for this report. 1 for the fetching the Monthly Sales for the Employee and 1 for fetching the Org Sales. If I apply a condition saying Employee IS NOT NULL, it gets applied on the first query.
    Is there some workaround to make sure that the report does not come up or show some message when Employee data is not returned by the first query
    Thanks
    X

    hi Devarasu,
    Thanks mate.
    I know how level based measure works.
    But in my case The Hierarchy is bit different The UDA is part of Product hierarchy but its not the Child of Subdivision,
    I think problem is occurring because of that only but i am not sure
    anyone have any idea about this kind of hierarchy and level based measures?
    Thanks

  • I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1.

    I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1. I am not sure how to do it. SOmeone please help me out.

    Hi ,
    In your write back XML  try the below  query insert
    INSERT INTO TABLE_XYZ (attribute1)  values (SELECT CASE  WHEN @{C1}=’Yes’ then 1 when @{C1}=’No’ then 0 else null end from dual)
    Regards
    Rajagopal

  • How to count records from 2 tables and show in RDLC Report

    hi all,
    its being a one day searching for the solution but No Luck.
     I have two SQL tables tblstudetail and tblfeereceiptdetail.
    i just want to count records from both tables and show in RDLC report.
    I tried SQl Query Like This:
    select a.session, a.course,
    Count(CASE a.ADstatus WHEN 'OK' THEN 1 ELSE 0 END ) AS Admission,
    Count(CASE s .I_receiptstatus WHEN 'OK' THEN 1 ELSE 0 END) AS Feeprint
    from
    tblstudetail a
    FULL join
    tblfeereceiptdetail s on s.studentID = a.studentID
    where a.session = '2015' AND s.Fsession = '2015' AND a.adcat = 'Regular'
    GROUP BY a.session,a.course
    ORDER by a.course
    The result Show the Same Value in Both columns
    Session    Course      Admission       FeeDetail
    2015          B.A. I               275              275
    2015          B.A. II              307             307
    2015         B.A. III             255            255
    2015          B.Sc. I             110             110
    2015           B.Sc. II           105            105
    2015          B.Sc. III            64               64
    Actully I want to Count How many ADMISSION have been Taken(FROM tblstudetail) and How many FEE RECEIPT have been Print (From tblfeereceiptdetail).
    please guide me for this as soon as possible.
    thanks in advance...

    I am counting 'OK' in both the table columns I.e 'ADstatus' in tblstudetail and 'feereceiptstatus' in tblfeereceiptdetail
    please suggest me

  • Blank Records showing at Infoprovider level..how to eliminate@ Report level

    Hello Experts,
    I am facing an issue. For a particular matierial in the Bex Report 2 KF values must be equl.
    this is the complete scenario:
    Matirial Total Target Actual Val BIO Actual Val
    81271071 9550,52 4,793,67
    In the above scenario Total Target Actual Val must be equl to Bio Actual Val.
    I checked all the restrictions on the KF. 2 KFs are restricted by the same KF (Condition Base Value I ) .
    Other than that for KF Total Target Actual Val restrictions are on Condition Type, Matierial Group 3. And for the KF BIO Actual Val restrictions are Red Group For Rebate.
    I checked the data @ Infoprovider level for both the Good and Bad Test Cases. And found that for the Bad Test Case, if i give the input for Red Group for Rebate charactoristic there is no blank records are showing and where as if i will not give the input for Red Group for Rebate there are some blank records are showing up and adding those blank records.
    Where as for the Good Test Case even if i provided the input for Red Group for Rebate or not, there is no blank records are showing up and in the report both the KFs are showing the equal values itself..
    user requirement is at the report level both the KFs must be equal.
    Here in the above up to now what i have done,  i have provided the information.
    requesting all, kindly give me the reply how can i solve this issue. Expecting more and more bright suggestions .
    Thanks,
    SN.

    Just a quick question. Have you restricted your KFs unnecessarily? Are the semantic keys valid if debited? Like, sometimes the clearing doc #s are no entered for a open po# and necessary for a closed one. In such case, have you checked if the semantic key is correctly defined? Cubes must help you aggregate data & reflect them within one line item as in your case.

  • Management report doesnt show violations at user level.

    Dear all,
    I have a problem that the management report in 5.3 SP04 doesnt show violations at user level. At role level it works fine.
    I've tried full sync and generated a new management report. The problem remains.
    No. of Users Analyzed 859
    Users with no Violations 859 100%
    Users with Violations 0 0%
    Number of Roles Analyzed 2,986
    Roles with no Violations 2,510 84%
    Roles with Violations 476 16%

    Hi Vit,
      Follow both the notes mentioned by Sahad. Check the data in virsa_cc_prmvl table. Run the following script and see if you can see any data:
    select * from virsa_cc_prmvl where genobjtp=1
    If you don't have any data then there was some issue with user analysis so you will have to run the analysis again. If there is data then run the management report again and you should see the data.
    Regards,
    Alpesh

  • Need Help: Could WEBI report directly based on EXCEL file be refreshed?

    In 3.0, Could WEBI reports directly based on EXCEL file be refreshed, after exporting to BOE platform?
    I've made a test on that and find out WEBI report could not be freshed in Infoview while DESKI report could.
    Some colleague suggest me to build the WEBI report based on a Universe created based on the EXCEL file.
    I want to confirm, is it a by-design that we could only refresh WEBI report based on universe? or I could do some setting to made the refreshment of WEBI based directly on EXCEL file works?
    Please Help!! Thanks a lot~~~

    Hi Rachel,
    You could try the Rich Client Product Guide [http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_web_intelligence_rich_client_en.pdf] but I don't think it is a problem...more like a feature by design - it makes sense.
    You could try the route of creating a universe on top of excel... See posts
    [DBMS Independent universe;
    [how to connect to excel sheet and create a universe on top of that;
    Hope this helps
    Jacques

  • Help needed - OBIEE - Level Based Hierarchy - Expanding Month for one year affects all previous years

    I am creating a level based hierarchy for the Date Dimension
    year --> quarter --> month --> date (one path)
    year .--> month --> date (the second path).
    I create the pivot table using these dim hierarchies. But the problem is,
    when I click on, say "Month" under year 2012, it expands everything above 2012 (such as 2010, 2011 etc).
    I don't want to expand all the years, but only the one I clicked. Anyone knows what is the solution for that.
    I am sorry that I cannot attach any screen shots to explain better.
    I would really appreciate your help on this.
    Thanks
    JD

    I am using OBIEE 11.1.1.7.0.
    ok, I tried one hierarchy per dim table but didn't work too. When I created a logical column as Month + Year (e.g Jan 2014) and added to the hierarchy, its working fine. But that creates other issues on the
    client side.
    I guess, since the month is common to all the years its expanding when clicked. I also added month and year as "chronological key", but that didn't work either.
    Please advice any solution if you know it.

  • Reporting Level - Can someone please explain this attribute?

    All - I am a relative newbie to Siebel on Demand but creating reports with other tools for years. I recently came across some reports that I have inherited that are constantly giving us trouble. They are basic reports that look at the count of calls, meetings, etc. for a given user. What we are finding is that we have used this reporting level attribute to filter but depending on the level of manager logging in it is causing problems. Some people can't see the data and some get a massive amount of duplicated data.
    When it is all said and done we are looking for a simple manager-to-rep list of the counts of these activities. After looking at the reporitng level value it would look like an indicator of relative position from the lowest level in the reports-to heirarchy. We will generally filter for a level = 0 (or maybe 1) in most reports but what I want is a way to control that based on the user. My requirement is to have the level they can see and the detail at one level lower but I dont' fully understand how that gets created or how I can use system variables to find the user's level to control it.
    Anyone that has any background info on this or how I can control a basic anaylytic report in a more maintainable fashion to show my stuff and subtotals at one level lower that would be greatly appreciated.

    Not sure if I can help with the specific report, but I will try to shed some more light on Reporting Level.
    In any report where the Owned By User dimension is exposed, you can find the Reporting Level field. Each user is part of a reporting hierarchy, derived from the "Reports To" value in their user profile.
    The best way to see this is to create a simple report with the User Email, Reporting Level, and Manager Email. This will show you the manager at each level. You can use this to expose and filter on the full management hierarchy.
    Level 0 = the user. All users have a value of themselves as Manager at Level 0.
    Level 1 = Reports To - who the user directly reports to.
    Level 2+ = Up the chain...
    You may want to take a look at some of the pre-built reports to see how this can be used to achieve Team based reports, such as "Team Pipeline Analysis", "Team Sales Effectiveness Analysis", and "Team Activity Analysis". You can open any of the pre-buiilt reports to use as starting points as well.

  • Logic at reporting level to compare two dates .

    Dear Friends,
    I have a scenario here , where i have a counter keyfigure in my DSO which has constant value 1 . there is two dates : Stock issue date & stock receipt date .  At the reporting level , in selection screen there is an input on stock receipt date . Now i want to show key figure counter for which stock issue date lies between the stock receipt date which the user enters .
    Kindly suggest on this matter .
    Thanks & regards,
    Ashutosh Singh

    1. Create a customer exit variable on Stock issue date. Pass on the value the user enters through exit to this variable.
    2. Create a New formula with the counter keyfigure and restrict it based on the customr exit variable.
    This will work correctly if Stock issue date and stock receipt date are not displayed in the report.
    If it is displayed, then if the stock issue date lies between the stock receipt date it will have the value as 1 else 0.
    Hope this helps.
    rgds, Ghuru

Maybe you are looking for

  • How to create a ListDefinition with multiple ContentTypes

    Hi, i need to create a list definition with two contenttypes. When is use the Visual Studio SharePoint ListDefinition from ContentType, i am only able to add one contenttype to the list. But i have two contenttypes. I don't know how to add them to a

  • I Cannot Watch Showtime Using The App

    Hi, So I have Fios HD Prime which includes Showtime for free. I am trying to use showtime's website, which I am linked to directly from Verizon's website when I go to "Channels." I follow the link to my shows and when asked to choose a providers and

  • Issues in parameter passing to DataControl(WebService based) method

    Hi , Created a dataControl based on webservice ( Available via SOA composite containing mediator and business rule component ) . It needs a CustomerType as input and returns multiple parameter values. Issue :- When I drag and drop the method availabl

  • HP Server 2008 R2 keeps restarting

    Ok, so I have a HP Server in my office and this morning, I had to restart and afterwards, it wont load again. Its odd because it shows the BIOS screen, and when it starts loading to ask me for password, it just restarts again and then tells me Window

  • Forum for SEEBURGER Adapter

    Hi ALL,            I have been posting quiet a few questions on SDN regarding SEEBURGER Adapter, But I don't seem to be getting much help in SDN. I understand there is not much information avaiable on net about SEEBURGER Adapter. Is anyone aware of a