HR Query using two diffferent master data attribute values

I have a requirement to calculate headount based on certain condition.
Example: The condition is as follows:
For each "Performace Rating" (ROW)
Count Headcount for "Below MIn" (COLUMN)
- Below Min = "Annual Salary" less than "Pay Grade Level MIn"
- "Annual Salary" and "Pay Grade Level" are attributes of "Employee" Master data and is of type CURR
-"Pay Grade Level Min" in turn is an attribute of "Pay Grade Level" master data.
I am trying to build this query based on a standard  Infoset 0ECM_IS02 that has an ODS (Compensation Process), Employee and Person" .
Any help in the required approach is appreciated like creating a restricetd KF using ROWCOUNT (Number of Records) and implement the logic for "Below Min"
Thanks
Raj

Hi
Have you tried to create a variable for ths kf with exit. I thnk it is possible here
Assign points if useful
Regards
N Ganesh

Similar Messages

  • No Master Data Attributes Value Loaded

    Hi
       I have a custom Master Data Info Object which gets it feed for a simple master data attribute data source.
        However none of the Master Data Attributes actually are populated though my request load is successful.
        I get 144913 records transferred but only 78596 added. Despite this I have not a single attributes value populated.
        Could the reason the data is dropping because I have 3 key fields in my datasource VIEW but only 1 Key defined in the Update Rule ? If yes, how can I change the Update Rule to include more Key Fields ?

    Hi Chris
    I request you to check the transforamtion between your data source and data target once again.
    When loading to data target, according to your transformation only the records will be updated to your data target. But all the records will get populated.
    Yes, Key fields are also one reason, if the duplicate rows being populated.
    Compare your data target data & RSA3 Extractor checker.Whether the duplicate records being added together or not
    Regards
    Saravanan.ar

  • How to convert  unit of measures in bex on master data attribute values

    Hi All,
    i need to convert the unit of measure in Masterdata Attribute values... that means ) ' 0grooss_wt'. this is attribute as a keyfigure of ' 0material' .. this ' 0gross_wt' values has to convert in KGs. at Present ' 0gross_wt' values are in KG and Grams...
    I can change these values in update rules by writting Routine.. But I need to convert it in KGS at BEX Query Designer Level..
    I need calculate like this
    quantity sold * Gross Weight.
    here Gross Weight is the formula variable which replacing the values of gross weight...
    i tried by creating conversion types in RSUOM t-code. but it works on keyfigures of infocube.. not on attribute values of master data...
    is there procedure in formula variable it self to convert unit of measure before replacing the values.....
    or is there any other  solution to  this Problem...
    Thanks in advance..
    regards
    ravi.p

    Hi
    Have you tried to create a variable for ths kf with exit. I thnk it is possible here
    Assign points if useful
    Regards
    N Ganesh

  • Assign Master data Attribute value to PARENTH1

    Dear All,
    I have the requirement to load Employee master data from BI to BPC system using data manager package.
    Dimension Name (BPC)            InfoObject  Name(BI)
    Employee                                      0EMPLOYEE
    In Employee master data there is an Attribute, now need to assign this Attribute value to PARENTH1 in BPC.
    Waiting for your valuable answers

    Hi Edwin,
    After making the changes as u suggested, i tried to activate the transfer rule, but Iam getting the following eerror msg
    Error generating program
    Message no. RSAR245
    Diagnosis
    An error occurred in the program generation:
    Program / Template:   RSTMPL80
    Error code / Action: 6
    Row:        6,083
    Message:    Statement is not accessible.
    Procedure
    If the problem occurred during the data load or transport, activate the transfer rule.
    If the problem persists, search in the SAP note system under 'RSAR 245'.
    How can Iresolve this?/ Why is this happening??
    DV
    Any Help???
    null

  • Assign master data attribute value to Time Infoobject in Transfer Rule Rout

    Hi Experts,
    I want to assign value for Time Infoobject ZTIME from a Master data Infoobject's attr.  The value for this ZTIME exists as an attr of Infooject ZMMM. I want to do at Transfer Structure level so that the assigned value can be used for another calculation in the update rule..
    Any help on the routine is highly appreciated.
    Thanks,
    DV

    Hi Edwin,
    After making the changes as u suggested, i tried to activate the transfer rule, but Iam getting the following eerror msg
    Error generating program
    Message no. RSAR245
    Diagnosis
    An error occurred in the program generation:
    Program / Template:   RSTMPL80
    Error code / Action: 6
    Row:        6,083
    Message:    Statement is not accessible.
    Procedure
    If the problem occurred during the data load or transport, activate the transfer rule.
    If the problem persists, search in the SAP note system under 'RSAR 245'.
    How can Iresolve this?/ Why is this happening??
    DV
    Any Help???
    null

  • Pupulating Char with Master data attribute

    Hi,
    I need to populate the characteristic with a master data attribute value at the tranfer rules.
    Can anybody send me the code to do so.
    If it is at Update rules we have the option of Master data attribute of.
    But I need to do it at transfer rules.
    Thanks in advance.

    Hi Indira,
    It is difficult to give the exact code but, here is the pseudo code:
    In the start routine:
    select * from /bic/m<characteristic>
    into itab for all entries in datapak
    where ..............
    if sy-subrc = 0.
    sort itab by....
    endif.
    In the mapping for the info object, create a routine and the following code goes in there:
    read table itab with key ......
    if sy-subrc = 0.
    result = itab-********
    endif.
    Make sure you handle time dependencies if the master data attribute is time dependent.
    Hope this helps.
    Thanks and Regards
    Subray Hegde

  • Using master data attribute in BEx Query u0096 formula

    Hello,
    I want to use the master data attribute (Eg. Customer master 0CUSTOMER, 0ALTITUDE (Geo Location Height)) in query formula calculation. How do I do this?
    Please help me.
    Thank you
    Subbu

    Hi Subramaniam,
    You can definately use the master data attributes in the formula calculation if that is a numeric value (logically u can use a characteristic in formula).
    for e.g Net weight from 0MATERIAL can be used through formula variable in formula but Color is a characteristic and there is no point in using that in a formula.

  • Webi error for master data attributes if universe is on top of BI query

    Hi All,
    We are using BO XI R2 SP5 integrated with SAP BI 7.0.
    We have built a universe on top of a BI query and when we try to build a web intelligence report that includes master data attributes like Customer City,Customer Region etc BO throws the following error:
    Error 1:
    Database error: [SOFA Driver] : Error getting members for hierarchy (level=ZFI_I03/ZFI_I03_Q0003, member=[ZFI_I03___F172], opcode=[ZFI_I03___F172]) . System error in program CL_RSDM_READ_MASTER_DATA and form VALUEREAD-02- (see long text). Contact your Business Objects administrator or database supplier for more information. (Error: WIS 10901)
    For a universe built on a different BI query with master data attributes mentioned above,a different error occuring.
    Error 2:
    Your Web Intelligence session has timed out. Log out and log in again to InfoView. (Error: WIJ 77778)
    We have tried:
    1) We have executed the function module BAPI_MDPROVIDER_GET_DIMENSIONS with necessary inputs query/cube and we got correct output, like members, optional properties, selected properties and restrictions.But, still our problem remains same.
    2) Transaction u201CRSRTu201D and executed the query,transaction RSRV to check SID-tables and the related masterdata.
    Above steps we performed in response to SAP tickets 541052 / 2009,541131 / 2009 based on logs generated,but still the error persists.
    What is working:
    If a universe is built on top af an infocube directly, then there is no problem with master data attributes in webi report.
    Please let us know if you need more details to help us resolve this issue.

    Hi Naresh,
    based on the MDX you can identify that those are navigational attributes and thats why the issue is not happening when talking to the cube directly because when you connect to the cube directly the navigational attributes are not available.
    Take a look at note : 996197
    not sure if it will solve the problem because there are other notes when you search for the error message but this was most of the times the one that resolved the issue.
    the issue is in the BAPI functions
    Ingo

  • Force read/refresh of master data attributes on query

    Hi there,
    We're having troubles with one input ready query that changes and attribute value (KYF) of one characteristic. That works fines and whe can save changed data on the infoprovider via DTP. Problem is when data is saved we need to refresh query as whe have both values on screen (original value as char attribute on rows) new value as input ready KYF, so after save we would like to see that both values are the same.
    Is there any way of force query no to read from caché as whe are changing master data attributes. I read something about IF_RSMD_RS_ACCESS class that can be implemented on Master Data access and force it there but sounds really hard so if this is the way can some of you guys give us some help.
    I hope I make myself clear on the explanation...
    Thanks in advance,
    Regards
    Carlos

    Dear All,
    The recent days that I tried working on changing master data attributes through BPS didn't work out.The Primary reasons was  that some of the attributes that I needed to change were not present in the transaction or planning cubes and the characteristics that are not part of your cube on which the planning area is based then you can not do changes on them.
    This is my undestanding .Please correct me if I am wrong.
    Besides , I was also thinking if we can do the same through portal.i.e retriving the master data infoobject ( based on the value seleceted for that infoobject by the user  )  and its attributes in the portal , edit them and save them back so that the updated values goes back to BW master data infoobject data base tables and updates the value.
    Eg . I have Natural Account master data infoobject in the BW with attributes fucntional area and expense center.Based on the user selection of any values for the Natural account lets say  01110 , then for 01110 natural account the portal should display the correspoding attributes values of fucntional area and expense center.Lets take this values as 10 , 20 respectively for fucntional area and expense center . What I want to do now is to change these attrbute values to 30 and 40  and I would like to save it back as the changed attribute values for that natural account for 01110 with new attribute values 30 & 40 respectively for fucntional area and expense center .
    Is this possible through portal and BW?
    Any idea on this would be appriciated.
    Regards,
    Ankit
    Edited by: Ankit Bhandari on Nov 21, 2008 12:21 PM
    Edited by: Ankit Bhandari on Nov 21, 2008 12:32 PM

  • How to use Master Data Attribute of in Update Rule's Formula

    Hi experts.
    In update rule, there is an option to use <b>Master Data Attribute of</b>. However, due to user requirement, I need to use that in <b>Formula</b> instead.
    <b>Field to update:</b>
    Profit Center
    <b>Logic:</b>
    If Cost Center is empty
    Then Profit Center
    Else
    Master Data Attribute of Cost Center
    I use the following formula at the moment but it is not 100% correct.
    <b>IF( Cost Center = '', Profit Center, Cost Center )</b>
    Appreciate if anyone could help me out.
    Thanks!

    Hi,
    The easier thing to do will be to use a Update Routine.
    Logic will be as follows :-
    If Cost center iss initial.
    Result = Profit Center
    else.
    result = Cost center.
    endif.
    Regards
    SM

  • Using "Master Data Attribute of" in the Update Rule

    Hi,
    In my update rule of, i want to replace the master data attribute of my characteristic instead of using its source characteristic. For example. <i>InfoObject ZSTORECODE</i> has an attribute <i>ZSTORENAME</i>. My objective is to use the Store Name instead of a Store Code.
    I initially thought of using <i>"Master Data Attribute of"</i> in the update rules. However, I always end of with having an error of <i>"No Values."
    </i>
    Hope you guys can help me with this!
    Thanks,
    Raomon

    DATA: V_NSTC_SN2,
    V_KFC_COSTC LIKE RSGENERAL-CHAVL.
    V_KFC_COSTC = DATA_PACKAGE-KFC_COSTC.
    CALL FUNCTION 'RSAU_READ_MASTER_DATA'
        EXPORTING
          I_IOBJNM                      = 'KFC_COSTC'
          I_CHAVL                       = V_KFC_COSTC
    *   I_T_CHAVL                     =
    *   I_DATE                        =
    *   I_FLG_WHOLE_TABLE             =
          I_ATTRNM                      = 'NSTC_SN2'
      IMPORTING
    *   E_STRUCTURE                   =
    *   E_TABLE                       =
          E_ATTRVAL                     = V_NSTC_SN2
        EXCEPTIONS
          READ_ERROR                    = 1
          NO_SUCH_ATTRIBUTE             = 2
          WRONG_IMPORT_PARAMETERS       = 3
          CHAVL_NOT_FOUND               = 4
          OTHERS                        = 5
    RESULT = V_NSTC_SN2.
    Another Example Code:
    index on infoObject

  • Can't assign an infoobject using master data attribute of

    I've added in 0purch_group to my cube and I want to assign it using the master data attribute selection but it doesn't bring back anything to choose from.  the attribute is 0mat_plant_purch_group and I've made it navigational.  any ideas?

    So do you say that you dont have mat_plant included in ur cube.
    Then what are trying to get into the field with out a source field. How do you want to fill the value if you dont have mat_plant - i mean which of 100 values of matplant and attribute values should be populated.

  • Where to set lock while loading master data attributes

    Hello Experts,
    I have two different datasources from ECC which loads into 0CUST_SALES attributes. I'm using two different DTP & transformation which are loading data in the this infoobject attributes.
    When i try to load data, the DTP fails with an error message at "Updating attributes for InfoObject 0CUST_SALES Processing Terminated" & the job log says: "Lock NOT set for: Loading master data attributes".
    Here what exactly  LOCK means?
    Thanks in advance.
    Zakir Khan.

    Hi,
    The lock means that some program is updating the master data (a table) and at the same time other program can not update that same master data. When the first program completes the updation it will release the lock so that the other program can update this.
    In your case you and schedule the DTP one after another.
    Thanks

  • How to  extract  master data  attribute from  r/3 to bw give steps details

    how to  extract  master data  attribute from  r/3 to bw give steps details screenshots

    Hi
    Go through the below process to extract Master Data Attribute from R/3
    Hi,
    Maintaining Generic DataSources
    Use
    Regardless of the application, you can create and maintain generic DataSources for transaction data, master data attributes or texts from any transparent table, database view or SAP Query InfoSet, or using a function module. This allows you to extract data generically.
    Procedure
    Creating Generic DataSources
    1. Select the DataSource type and specify a technical name.
    2. Choose Create.
    The screen for creating a generic DataSource appears.
    3. Choose the application component to which you want to assign the DataSource.
    4. Enter the descriptive texts. You can choose any text.
    5. Select the datasets from which you want to fill the generic DataSource.
    a. Choose Extraction from View if you want to extract data from a transparent table or a database view. Enter the name of the table or the database view.
    After you generate the DataSource, you have a DataSource with an extraction structure that corresponds to the database view or transparent table.
    For more information about creating and maintaining database views and tables, see the ABAP Dictionary Documentation.
    b. Choose Extraction from Query if you want to use a SAP Query InfoSet as the data source. Select the required InfoSet from the InfoSet catalog.
    Notes on Extraction Using SAP Query
    After you generate the DataSource, you have a DataSource with an extraction structure that corresponds to the InfoSet.
    For more information about maintaining the InfoSet, see the System Administration documentation.
    c. Choose Extraction Using FM if you want to extract data using a function module. Enter the function module and extraction structure.
    The data must be transferred by the function module in an interface table E_T_DATA.
    Interface Description and Extraction Process
    For information about the function library, see the ABAP Workbench: Tools documentation.
    d. With texts you also have the option of extracting from fixed values for domains.
    6. Maintain the settings for delta transfer, as required.
    7. Choose Save.
    When performing extraction, note SAP Query: Assigning to a User Group.
    Note when extracting from a transparent table or view:
    If the extraction structure contains a key figure field that references a unit of measure or a currency unit field, this unit field has to be included in the same extraction structure as the key figure field.
    A screen appears on which you can edit the fields of the extraction structure.
    8. Edit the DataSource:
    &#9675; Selection
    When you schedule a data request in the BI scheduler, you can enter the selection criteria for the data transfer. For example, you can determine that data requests are only to apply to data from the previous month.
    If you set the Selection indicator for a field within the extraction structure, the data for this field is transferred in correspondence with the selection criteria in the scheduler.
    &#9675; Hide field
    You set this indicator to exclude an extraction structure field from the data transfer. The field is no longer available in BI when you set the transfer rules or generate the transfer structure.
    &#9675; Inversion
    Reverse postings are possible for customer-defined key figures. Therefore inversion is only active for certain transaction data DataSources. These include DataSources that have a field that is marked as an inversion field, for example, the update mode field in DataSource 0FI_AP_3. If this field has a value, the data records are interpreted as reverse records in BI.
    If you want to carry out a reverse posting for a customer-defined field (key figure), set the Inversion indicator. The value of the key figure is transferred to BI in inverted form (multiplied by –1).
    &#9675; Field only known in exit
    You can enhance data by extending the extraction structure for a DataSource by adding fields in append structures.
    The Field Only Known in Exit indicator is set for the fields of an append structure; by default these fields are not passed to the extractor from the field list and selection table.
    Deselect the Field Only Known in Exit indicator to enable the Service API to pass on the append structure field to the extractor together with the fields of the delivered extract structures in the field list and in the selection table.
    9. Choose DataSource ® Generate.
    The DataSource is saved in the source system.
    Maintaining Generic DataSources
    &#9679; Change DataSource
    To change a generic DataSource, in the initial screen of DataSource maintenance, enter the name of the DataSource and choose Change.
    You can change the assignment of a DataSource to an application component or change the texts of a DataSource. Double-click on the name of the table, view, InfoSet or extraction structure to get to the appropriate maintenance screen. Here you make the changes to add new fields. You can also completely swap transparent tables and database views, though this is not possible with InfoSets. Return to DataSource maintenance and choose Create. The screen for editing a DataSource appears. To save the DataSource in the SAP source system, choose DataSource ® Generate.
    If you want to test extraction in the source system independently of a BI system, choose DataSource ® Test Extraction.
    &#9679; Delta DataSource
    On the Change Generic DataSource screen, you can delete any DataSources that are no longer relevant. If you are extracting data from an InfoSet, delete the corresponding query. If you want to delete a DataSource, make sure it is not connected to a BI system.
    NR

  • Master data, attributes, texts: ETL process

    Hi,
    I am new to SAP BW and have a question concerning the difference between master data attributes and texts. I am currently learning with the "sflight" example provided by SAP. There I have, e.g., a table like this:
    CARRID  CARRNAME          CURRCODE
    AA      American Airline   USD
    AB      Air Berlin         EUR
    AC      Air Canada         CAD
    These are my master data because these data won't change often - correct?
    What are then my attributes and texts?
    Thanks!

    Thanks Choudhary.
    I am Karthik, new to both, the community and SAP BI. I have a doubt similar to the main question, that goes like this.
    CARRID  CARRNAME          CURRCODE   TIME             COUNTRIES_OPERATION
    AA          American Airline     USD               9:00  AM       America
    AB          Air Berlin                EUR             10:00  AM       Germany
    AC          Air Canada             CAD             11:00  AM       Canada
    Similar to the above table, if suppose there are two other columns TIME and COUNTRIES_OPERATION,
    1.  Will TIME be included as "attributes" or "time characteristics" as TIME is an additional information of the master data key and there is  dimension table where we can define TIME ?
    2.  Will COUNTRIES_OPERATION be included as "attributes" or can this be included in "hierarchy"
    3. If not what can be used into "hierarchy" from the above table.
    Kindly excuse if my question is silly or if it does not make sense. I am very new to these terms and still in the learning curve.
    Thanking you in advance,
    Karthik.

Maybe you are looking for

  • Unable to publish a single site when I have created two

    Using iWeb 08, I have created two separate sites. When I select one and attempt to publish to a folder, both sites are included. I cannot find a way to publish one site only. Am I overlooking the obvious or is iWeb so impressed with my work that it i

  • To fetch data from MS Outlook using JAVA

    Hi, I want to know about any api that helps in fetching MS Outlook data using JAVA code. Any help will be appreciated. Thanks Rohit

  • Two billing for one sales order for same customer

    Dear All , I have a requirement of posting a two billings for one sales order. One is for Sales and another is for commission... Entry could be Sales Entry - Db Customer                     Cr  Sales Commission entry could be Db - Cusomter Cr- Sales

  • Exception in Approval Process

    Hi, I am working on creating an approval process. To block an account I need it to go through some approval first. I have followed all the steps as mentioned in the help doc but I am facing some issues. I have created a custom BO (CustomerBlock.bo) a

  • WAAS 4.1.15b and two windows domain

    Hi I have two data centers and two windows domains (lets call them X and Y)- in data center X I have to WAE - CM and Core, in date center Y I have one configured as Edge and Core as well (peple in data senter Y have to access to resources in doman X)