Rules and functions (PE04)?

hi
while passing the parameters(embedded in the schema) on calling any function..can u see where those parameters are stored at the run time?table or syst variable..
like whenver operations are called in payroll the OP is getting populated ...
like that way can we call function from rule by passing parameters?
regards
gunjan

Thanks siki
Since i am new to this forum n SAP HR....
your wish makes me encouraging...........
Rgds,
Jose

Similar Messages

  • Rules and function(pe04)!!

    Hi,
    can we use function(custom) in the rule and pass the parameters at run time like we do in case of operation(ie in the rule itself..eg zcustX...where X is an indicator)?
    regards
    gunjan

    HI
    GOOD
    PE04   Create functions and operations 
    GO THROUGH THIS LINK WHICK WILL GIVE YOU MORE IDEA ABOUT PE04
    http://www.sap-press.de/download/dateien/725/sappress_mysap_hr_technical_principles_engl.pdf
    THANKS
    MRUTYUN

  • Custom functions and operation - PE04

    Hi,
    I required a solution for my scenario.
    I have two absence quota type QA1 and QA2,  if a employee has the basic pay less than 8000 then he will get assigned with QA1 and if a employee has a basic pay is equal to or greater than 8000 then he get assigned to QA2.
    Similarly leave carry forward, QA1 employee has 120 days and QA2 has 240days.
    I am using RPTIME00 to generate my Quota QA1 and QA2.
    I need to create a custom functions and operation(PE04) for my requirement, can u help me for the same

    Sughy,
    If for some reason, you cannot do what Antoine suggested here's another idea.
    Is your basic salary based on a pay scale structure? If it is may be you can query the pay scale group and level by using OUTWPxxxx opertation (TRFAR, TRFGB, TRFGR, TRFST). However you have to first configure generation rules for the quota buckets correctly esp for the base entitlement to be a day balance time type. Then you can write a PCR to add this time type during time evaluation by looking up the values in pay scale structure of individual employees.
    There are probably several other ways to group these employees together like having the same additional time ID indicator in 0007 or having a different Daily DWS class indicator etc. The concept is to have a unique identifier if a simple grouping as mentioned by Antoine is not possible. You can seperate them and write your own PCR for both accruals as well as limiting the carry forward balances.
    Hope this helps.
    Good Luck.
    Regards,
    Raj.

  • FIM RCDC drop down and function evaluator vs functions within sync rules

    Hi,
     I have several hundred buildings in my organisation and I would like to to give users the ability to select their building name from a custom RCDC - straight forward enough, however I'd also like the following to be automatically selected within FIM:
    Address, City, Post Code, Country
    I believe this can be done in 2 ways:
    An outbound sync rule using a function (.e.g IF(Eq(Address),"Beverly Hills"),"90210",""))
    A function evaluator using a similar expression.
    Whilst I'm comfortable with sync rules I don't know much about function evaluators in workflows and would like some advice on the best approach to take and how to go about it?
    In addition, given there'll be a lot of sites, is there a way to input the RCDC drop down list of sites from a CSV or XML file, rather than having to manually edit the FIM pages and functions?
    Thanks
    IT Support/Everything

    Hi Aetius,
    Yeah, they're the two methods I'm familiar with in the portal to do something like what you're saying automatically: either do it in the sync from source to MV or apply a workflow in the Portal.
    The general idea with the workflow method would be to have a set called something like "Users With Address" and scope it to only users with the address attribute. Have a transition-in MPR that looks at that set and fires off a workflow when a user enters
    that set. There are a lot of options when it comes to how to implement the workflow. You can write your own custom workflow/s. There are some good tutorials by Ross Currie around that http://www.fimspecialist.com/fim-portal/custom-workflow-examples/ and
    there are some that have already been built by Soren Grandfeldt http://fimactivitylibrary.codeplex.com/.
    So if you leave the workflows for a sec, all the associated data about what will be populated if the address is x can be loaded into the portal by creating a custom object type and then adding them all in one by one. You can probably script the part of actually
    adding the data. Or even the custom object type creation if you want. So then you have a central place where that information is all together.
    With the workflow when it's triggered, using the workflows that are floating around the internet you should be able to read the attribute off the user and then lookup the value in the list of custom objects and then update the other attributes of the user,
    City, Post Code, Country using the lookup value. You kind of chain the custom workflows together and pass data from one to other.
    You do need to be careful when you do this sort of thing though. The FIM event queue can get pretty clogged up if you have a huge amount of users in the set and it's trying to process all of these users at once. When you're testing probably better to apply
    the MPR to a manual set and add users one or a few at a time and see how it handles it.

  • Agent Determination Rule using Function Module

    Hi all,
    I am trying to create a custom agent determination rule using function module. But my rule is not getting invoked when the workflow is executed.
    I created a custom rule and linked my function module (with proper signature).
    FUNCTION 'ZRULEXXX''
    ""Local Interface:
    *"  TABLES
    *"      AC_CONTAINER STRUCTURE  SWCONT
    *"      ACTOR_TAB STRUCTURE  SWHACTOR
    *"  EXCEPTIONS
    *"      NOBODY_FOUND
    And I am hard coding some values into table ACTOR_TAB
    REFRESH ACTOR_TAB.
    CLEAR ACTOR_TAB.
    IF SY-SUBRC NE 0.
        RAISE NOBODY_FOUND.
      ELSE.
        ACTOR_TAB-OTYPE = 'US'.
        ACTOR_TAB-OBJID = 'XXXX'.
        APPEND ACTOR_TAB.
        ACTOR_TAB-OTYPE = 'US'.
        ACTOR_TAB-OBJID = 'XXXXXX'.
        APPEND ACTOR_TAB.
      ENDIF.
    But a worklist item is not being created for the users appended to ACTOR_TAB.
    Is there anything am missing. Please let me know.
    Thanks in advance
    Regards
    Raju

    Hi,
    Change it to following code. It will work.
    REFRESH ACTOR_TAB.
    CLEAR ACTOR_TAB.
    *IF SY-SUBRC NE 0.
    *RAISE NOBODY_FOUND.
    *ELSE.
    ACTOR_TAB-OTYPE = 'US'.
    ACTOR_TAB-OBJID = 'XXXX'.
    APPEND ACTOR_TAB.
    ACTOR_TAB-OTYPE = 'US'.
    ACTOR_TAB-OBJID = 'XXXXXX'.
    APPEND ACTOR_TAB.
    *ENDIF.
    Regards,
    Vaishali.

  • Oscillioscope and function generator

    Hello,
    How difficult is it too create a virtual oscillioscope and a function generator that outputs through ethernet or usb to some NI module (Chassis, analog, digital etc) that will send signals to a circuit? So, basically instead of having an oscillioscope or a function generator, you create a virtual one on labview and can send signals to the circuit in the real world. Is that even possible? And if it is how hard do you think the task would be? 
    Thanks in advance for all the input!

    So I happen to have a myDAQ at home and I thought I would try to use it as a scope.  Checkout this video after a 1:30 for a demo of some of this software.  The software it comes with has all the test panels for various instruments for scopes, DMM, function generator, aritrary waveform generator and several others.  The hardware also appears as a normal DAQmx device if you so choose to write your own software.
    Honestly it isn't half bad.  Maybe it's because the software mirrors normal scope functionality but I was able to see my signal and understand it, when I had no other hardware that was capable.  It won't replace a desktop scope but it's what I had on hand.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Is it possible to sort Mac Mail Rules into alphabetical order?  I have in excess of 50 rules and everytime I want to add to a rule, such as "delete incoming" I have to go through the entire list to find it.

    Is it possible to sort Mac Mail Rules into alphabetical order?  I have in excess of 50 rules and everytime I want to add or amend a rule, such as "delete incoming" I have to go through the entire list to find it.  I have tried clicking on the heading "Description" but it does not sort.  Any assistance would be greatly appreciated

    Hi,
    According to your description, my understanding is that use CMAK to configure split tunneling on VPN clients, traffic to specified devices can be routed via their own default gateway.
    If the manually added route entries all have default metric and interface, clients will select one by the default routing rule, can’t select one of them according to clients’ own conditions. So, I am afraid that CMAK can’t implement the function which you need.
    A blog described about How to configure split tunneling on VPN clients using CMAK, for your reference:
    http://blogs.technet.com/b/rrasblog/archive/2007/06/11/split-tunnelling-using-cmak.aspx
    Best Regards,
    Eve Wang 
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Rule 11 functionality for India Localization OSP Process

    Hi
    Can Any one tell us How to implement Rule 11 Functionality for India Localization OSP Process.
    Pls let us know how to map this functionality either to incorporate it in Purchasing or Order management module
    Also can any one provide us the document/link to understand and implement it in Oracle Application on 11.5.10.2 with IN60107 localization version
    Thanks in Advance

    Also can any one provide us the document/link to understand and implement it in Oracle Application on 11.5.10.2 with IN60107 localization versionHave a look at Note: 471249.1 - Documentation repository for Oracle Financials for India
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=471249.1

  • Need information on the new RAR Rule Architect/Rule Set functions

    Does anyone have any information on the new 5.3 functions listed under Rule Architect/Rule Sets, specifically the Compare function?
    My 5.3 Config manual mentions this area but doesn't describe anything about it.  I have a request from our user group and need to determine if this can fit that request.
    What they are looking for is an easy way to compare our RAR Rule Set with the latest SAP version (Q2 2010 is the most recent I believe).  Just from the screen shots, it looks like we could maybe use the Rule Sets functions for that.  Load the new SAP one into RAR as a separate ruleset and then run this Compare function.  However I haven't been able to find any documentation on this function, so I don't know if it really does what we are looking for.
    Thanks.

    Hi,
    the error 'NullPointerException ' is very common error in GRC.
    kindly search, you will find lots of threads and notes on thi.
    check you permission TXT file. It contain null value some where.
    especially check SD01 & SD02 tcodes.
    Also open permission file in word and check all TAB's and ENTER's in technical view.
    Regards,
    Surpreet

  • Information about the rules and regulations to take to create reports in BI

    Hi Gurus,
    i got the next project in a client where is working with SAP BI since a few years, they have the next problem:
    - no set rules and standards that kind of reporting should be migrated and used by BI
    (Examples of the problem in BI:
    Reports with hundreds of records in detail. 
    Many files export to unix trough the list cube to get a large file with detail.
    reports that serve as daily operations and not analysis, etc)
    Now you can imagine the many problems that arise when a report is not ready in the morning because a infopackage failed or there were delays, or the Unix disk capacity is full, delay in run of the reports, etc.
    My mission is first create a series of rules and regulations to serve both functional and technical area of the BI team to know so when I  request is reviewed first by the functional and evaluate first is this request is  a candidate to be created in BI, although BI team arrives, also be aware of these rules and approve if it will be developed in BI.
    through this form either creates a culture and norms of the role of BI for new projects or requirements, i m a SAP BI consultan certified, i know tha basic rules, but i am looking for some file or some informatión that support my rules tu be presented to the managers and the team, i will really appreciat your help, thanks !

    Dear Richard,
    For sending the data into external system or in app server, we have differnt types of approches.
    1) via APD.
    2) Via Open Hub destination.
    3) Via transaction: RSCRM_Report.
    In the above process we pros and cons:
    >>but best one is using open hub destination which will extract the data into flat file fast.
    >> We can do calculation in a easy way at open hub level.
    I beleive OH is fexible and am interseted to know why we are going with LISTCUBE and wat is added advantage by comparing with process above.
    Best Regards,
    Maruthi

  • How to handle rules and activities in AII

    Hi experts,
                     How to handle rules and activities in AII. Is there any transaction code for it. please give some information, it will be hepful for me

    In IMG go to Conditions & Rules to configure the relevant rules.
    Rules in AII represent business process you intend to RFID enable. Each rule is made up of multiple activities that defines exactly how a particular rule functions.
    SAP delivers standard rules & activities for standard scenarios of Pack, Load etc. processes.
    For more information on AII rules and activities refer to the performance assistant available in IMG or read more at the link below:
    http://help.sap.com/saphelp_autoid40/helpdata/en/index.htm
    Hope this helps.
    -Ashish

  • Business rules and calculation manager

    Hi ,
    Could anyone pls tell me the difference between the calculation manager and business rules?

    Calculation manager is a web component that is designed to manage business rules from a web interface. It is enabled to build calculations also using a graphic interface, although this mode is more suitable for simple calculations than for complex ones. Calculation manager allows you also to use complex templates that you can customize with prompts in order to adapt them to each rule without being force to change the code. Basically it is an evolution of the essbase business rules macro function. Once a business rule is created it has to be deployed in order to be used with planning applications. The deploy activity copies the rule on the database, both in the calculation manager tables in and the planning tables.
    Business rules are instead essbase artifacts. They aren't available any more from version 11.1.2.2 on.
    In versions older than the 11.1.2.2 you were forced to use calculation manager for epma applications, while essbase business rules were used in classic applications. In terms of calculations there is no difference between the two technologies, they behave exactly in the same way. There is only a small difference in the prompts syntax, {} in calculation manager and [] in essbase business rules.
    Although i find the calculation manager web editor quite slow and imprecise to use, I anyway advice to use it in order to make eventual release upgrades easier.

  • Difference between aggregation rule and column formula in edit formula

    Anybody please help what is the use of aggregation rule and column formula in edit column option.
    What is the difference if I apply sum in aggregation rule with apply sum(column name) in column formula.
    When do I need use which one.
    Thanks in advance

    When you build a column in the rpd, you have the option of determining if the column should be aggregated in some way or not. For dimension columns, you wouldn't put aggregation. For say, an accoun ledger balance column, you might put the aggregation SUM or AVERAGE. Whatever aggregation you put on this column will be the "default" aggregation of the column in Answers.
    So in Answerrs, if you use the Account Ledger Balance column and you only have Region as the dimension, OBIEE will aggregate or SUM the ledger balances so you have a SUM for the region level. If you had district, than the ledger balance column will aggregate to the district level. This is a convenient way to build reports without having to specify what the aggregation should be.
    However, OBIEE gives you the ability to override what the default aggregation is for a particular column. This is the purpose of the drop down in the bottom left of a column when you click the fx button.
    Say the default aggregation of ledger balance is SUM in the rpd, but for the report you are building, you want the average, you can apply the AVERAGE function in the fx window and it will overridge the SUM aggregation rule that was in the rpd.
    Got it?

  • Problems to activate transfer rules and infosource 2lis_02_itm and 2lis_02_

    hello,
    now I am working with the 0PUR_C01 cube of purchasing and I want to active the data flow before for it.
    I try to do it directly selecting data flow before in the activation settings of the cube, but I coludn´t
    after that, I try to do it activating the transfer rules and the infosource separately  but I get some errors, teh most important thing (because I have the same situation in other areas) is:
    The creation of the export DataSource failed
    Message no. RSBM035
    Diagnosis
    The creation of the DataSource &v1& was unsuccessful.
    System Response
    Whilst generating the export InfoSource, the metadata for a DataSource must be generated. An error arose when doing this.
    Procedure
    Consult the appropriate developer (function module: RSB1_OLTPSOURCE_GENERATE).
    I hope that some can help me with this issue,
    Thanks in advance and best regards,
    Niurka

    Thank you very much Chetal,
    I activated others Infocubes, but I have the same problem for Infocubes with ODS inside they data flow,
    I tried with some notes like: 538052 and I enter the client but not the user or the server, I proved the RFC Connection too.
    But the bug issue is the export data source creation that failled everytime, right now  I try to solve this and the log says some error about the syntax error in transfer routine for the infobject 0GN_R3_SSY this object exist as characteristic and his convertion routine is ok (because I verificated) and exist as part of the transfer rule but I don't know how to go to the routine creator for check this point.
    Thank you very much in advance,
    Niurka.

  • Read cluster in schema function (PE04)

    Hi All,
    Anyone can help me to read payroll cluster using payroll function (PE04) .
    Thanks and regards,
    airawan

    Hi airawan,
    You can directly use
    LOOP AT IT (or RT, etc.) ... WHERE LGART EQ /101 (wage type)
    it-betrg : is the amount of that wage type
    ENDLOOP.
    functionality in your function if this is what you're asking.
    Regards,
    Dilek

Maybe you are looking for