Rent Amount

Hi Gurus,
  am updating the infotype 0581 through T-code pa30. When am updating the Rent amount it is showing the warning messages "No Automatic Updation for IT0008. Caluclation method not found" and "Eligibility amount for HRA/CLA/COA is zero  for employee ".
  Any one give me suggestion how to eliminate this warning messages.
Points will be awarded.
Thanks
SC

Hi
Where u are giving % just check there.
What value you are giving i suppose u hadnt given any value and for PRNZT u had assigned it.
I dont think you are doing it by SAP method also.
You doing by other way is it?
So do one thing correct the settings.
It will work.
Manoj Shakya.

Similar Messages

  • Rent amount distribution for multiple vendors in Contract.

    hi all,
    As per my client Business scenario the rent amount need to distribute multiple vendors as ratio wise.Currently we are using version ECC 6.0 with SR3. I know that we have multiple vendors concept where we can distribute the amount as ratio wise.
    But I am unable assign multiple vendors and where I can give percentage  for each vendor.
    Any patches I need to apply for getting this? Please provide the solution for this.
    Thanks in advance
    CM

    This functionality is available in RE-FX (Flexible Real Estate). Check if this is active in your system.
    Then in the contract condition tab you can maintain the multiple vendors alongwith their percentage details for a particular condition and effective date.
    Hope it helps.
    Thanks
    SM

  • Eligibility Amount for HRA/CLA/COA is zero for employee 2

    Hi expert,
    HRA  is not calculating properly, in IT581 eligibility value is calculated as zero.
    If suppose if I am changing this Rent amount to 10000, I am gettiing this error message
    Eligibility Amount for HRA/CLA/COA is zero for employee 2324 on 01.04.2011. employee hiring date is 01.07.2009.
    Thanks in advance

    Please find the HRA calculation
      BEGDA      ENDDA   ACC     BASIS         ELIGI         RENT          DIFF
    01112011   30112011   1     22,000.00     11,000.00     10,000.00          0.00
    Finding the Rent for HRA/CLA/COA in the Financial year and the no. of days for HRA/CLA/COA in coming months
      BEGDA      ENDDA   ACC     RENTFY        TOTMONS
    01042011   31032012   1    120,000.00    4.00000E+00
    Finding the annual basis
    Elig (Annual) = Elig(YTD) + Elig (Curr Mon) + Proj Months * Latest Value
    Basis (Annual) = Basis(YTD) + Basis (Curr Mon) + Proj Months * Latest Value
    Non Metro HRA Elig
             129,000.00 =  74,000.00 +  11,000.00 +    4.00E+00 *  11,000.00
    Non Metro HRA Basis
             269,880.00 = 159,880.00 +  22,000.00 +       0.00 +    4.00E+00 *  22,000.00
    Find the annual payments and add to the CLA/COA basis to get Total Basis for the year.
    Basis = Basis + { /134(CRT) + /134(RT) - /133(RT)}  / Total No of Months * CLA/COA Months
    Finding HRA Exemption for METRO and NON-METRO
    Non-Metro HRA Exemption is       0.00
    the minimum of the following three
    107,952.00 =      40.00 * 269,880.00 /     100.00
    129,000.00
      93,012.00 = 120,000.00 - {      10.00 * 269,880.00 / 129,000.00
    Finding Perk value for CLA/COA
    Total HRA Exemption =  93,012.00
    total amount suppose to be   94,200/-
    Please help me to resolve this issue
    Edited by: sheeba01 on Jan 2, 2012 11:26 AM

  • House rent recovery configuration

    Dear Expert,
    My company is not giving any house rent allowance to any employee.But it has started house rent deduction from employee and the house is the company owned accommodation. How to take care of this situation.
    What I did : I simply put the rent amount in Infotype 581 against company owned accommodation and not created any record in IT0008.
    I'm finding the tax calculation is coming correct.But I don't know,whether I'm doing correct or not .

    I had created a wagetype 3000 and in Infotype 581 against this wagetype I just put 3000 and against Rent Amount  I put the rented amount (Let it 100000/-).So system is doing the correct housing perk calculation and also it is deducting the rented amount from salary.But  error is coming at the time of my FI posting,So with which symbolic account I have to link this wagetype 3000.
    Regards
    Sujata

  • SAP REFX – Usage of (RECN - Condition Tab ) Formula : E1 – Percentage Share in a condition.

    Dear Experts,
    I would like have a clarification on the usage of Formula: E1 – (Percentage Share in a condition) for a contract type in Refx  - contract ( In conditions Tab ).
    Lets take the scenario as below for example :
    Whenever I am adding a condition    ZREN - Basic Rent : XXXXXX  Rs/ month.
    System has to pick a second condition ( Over head charges ) as default and it should be calculated 20% of the amount as overheads on BASIC RENT amount.
    This 20% should come as default ( Because user cant change this % for anything while creation of contract).
    So I have adopted the config changes as below.
    SPRO - Flexible Real Estate Management (RE-FX) -- Conditions and Flows -- Default Conditions -- Define Default Conditions – selected my condition group – added new entries- assigned a new condition type as my over heads –
    Unit price as – 20 %
    Formula: E1
    Formula Parameter: selected - BASIC RENT condition ( ZREN )
    Is there any other config to be done ( Like adding the Derivation rules - if need Pls Clarify) to fulfill my requirement, B cas after  doing above config my overhead charges condition is not flowing by default, even after manual insertion of Over head charges condition its not taking 20 % as default.( Its asking to enter manually).
    Kindly advise to get the same.
    Regards,
    Subbarao.Narne

    Hi Mr. Narnei,
    If both the conditions are added manually, the condition with E1 as the calculation formula, say ZE1- Perc Share can automatically pick up the value from ZREN - Basic Rent and do the calculation.
    For this you just need to specify the condition in the parameter field in the path: Flexible Real Estate Management (RE-FX) -> Conditions and Flows -> Condition Types and Condition Groups -> Define Condition Types. Also specified in the pictorial below.
    For populating default conditions at contract creation based of different parameters, you would need to implement the badi BADI_RECN_CONTRACT. You can also add additional validation such as, if ZREN - Basic Rent is added to the contract it is mandatory to add ZE1.
    Hope this helps.
    Best Regards,
    Hardik Sharma

  • Decimal places in Measurement tab for Land

    We lease-in Land in Acres. Typical land sizes require area to be defined in decimal units e.g 18.963 ACR or 256.755 ACR.
    However, in the measurement tab for creating Land the amount column is rounding off all decimal values to whole numbers. Like in the above example what gets entered is 18 ACR and 256 ACR respectively.
    I did not find any decimal options while defining the measurement type. Any clues how to go about resolving this issue?
    Hamdan

    Hello Hamdan,
    You need to define new custom or change the existing unit of measurements assigned in respective dimensions. In this node you specify the number of decimal places you wish to have on particular unit. for example usually ACERS have 3 to 4 decimals as the unit is too high and the rent amount can differ a lot if we omit the decimals.
    SPRO -> SAP Netweaver -> Check Units of Measurement
    On the next screen select the dimension and click on the unit of measurement. create or edit the unit and specify the rounding decimals and other attributes as needed.
    Assign this Unit of measurement to the measurement types in REFX and the Measurement types of the object types, which I am sure you know already.
    Enjoy,
    Jag

  • Usage of Cost Centers, Profit Centers and Internal Orders

    Hello everyone,
    i have perhaps for some of you a simple question but it bothers me alot.
    Imagine we are using Cost centers and Internal Orders. For them we create statistical key figures using transaction KB31N.
    Now we are installing SAP BI and want to create a report which would be generated acording to cost centers but with statistical key figures.
    The question would be how to make a connection between cost centers orders and those stat.key.figs?
    In our case the economists say that we are using this kind of scenario:
    Dist.chanel ->
    Sender: Cost center, Cost element
    Receiver: Int.Order
    and Stat key fig.
    This is the only place where we have a connection between thos objects. Is there other way how to connect them. perhaps using profit centers?
    If somebody didnt understand it, maybe ill try to explain it a bit better
    Reagards
    Laurynas Prikockis

    Hi Laurynas,
    Pls try to understand the concept as explained hereunder...
    Cost Element:
    Primary Cost Element : Replication of GL to bring costs into CO module when they are posted in FI 
                                       module
    Secondary Cost Elements: Carriers of costs between two Cost Objects (when we want to transfer the
                                            cost from Cost Centers to Internal Orders, vice versa and more, we create
                                            Secondary Cost Elements to carry the costs and transfer them to the 
                                            reciever objects from sender objects)
    Cost Center: It is a Cost Object, maintained on long-term basis, where we can capture the costs (Ex:
                        Marketing Cost Center)
    Internal Order: It is also a Cost Object, maintained on shor-term basis, where we can capture the costs
                         (Ex: Internal Order for Special Marketing Campaign). Ultimately, whatever the costs
                          posted to this Internal Order, will get settled to Marketing Cost Center.
    Staitistical Key Figure: It is used as a basis for allocation of certain expenses (Simple example would
                                      be, Total rent paid for office is $100000 per month. This cost has to go to
                                      different Cost Centers like Finance and Accounts, Marketing, Purchase Dept
                                      etc on the basis of "Area Occupied". So, We will define "Area Occupied" as a 
                                      Statistical Key Figure in our system.
                                     Now, when the Rent amount is posted in FI, it wil reach a Virtual Cost Center
                                     (An "Allocation Cost Center" with name "Rent" to be created under your
                                     Controlling Area) "Rent". From there, it has to reach the other Cost Centers (lie
                                     F&A etc as explained above) on the basis of Area Occupied (SKF Created
                                     for "area occupied")
    For this, you need enter the Area Occupied values (Ex:Sq Ft) in KB31N and you need to create an Allocation Cycle (Distribution / Assessment) where in you will select "Area Occupied" (SKF) as your Receiver Tracing Factor.
    I hope I am clear, don't hesitate to revert back for more explanation...
    Srikanth Munnaluri
    Edited by: Srikanth Munnaluri on Mar 3, 2009 7:26 PM

  • Customer PDC Solution

    Hello,
    Here in our project, we need to design Post Dated Cheques (PDC) through SAP. I did not find any standard functionality in SAP for handling PDCs.
    We are designing it for two company codes.
    First company code is in leasing operations. They give apartments on rent and receive advance PDCs against rent amount. We are implementing Flexible Real Estate (RE-FX) but still this module does not provide any standard solution for PDCs. Following should be the normal flow of accounting entries:
    Scenario - There is a contract booked for 12 month (1st January to 31st December) with Rs. 60,000 PA. We will get 12 PDCs in advance for 12 months. Rent will be booked every month.
    1. Booking Rent against the Contract - January
    Customer A/c Dr. 5000
    Rent Revenue Cr. 5000
    2. PDCs received: (12 entries of Rs. 5000)
    PDC on hand A/c Dr. 5000
    Customer A/c Cr. 5000
    3. Check (PDC) Deposit in the bank on due date:
    Bank Incoming A/c Dr. 5000
    PDC on Hand A/c Cr. 5000
    4. Receipt of Bank Statement:
    Bank Incoming A/c Dr. 5000
    Main Bank A/c Cr. 5000
    Challenges in posting the above four entries in SAP:
    1. First entry for booking rent against the contract will be done in RE-FX module by running the contract. Please note that this will be posted every month in the life of the contract.
    2. Second entry for recording PDCs needs to be posted in FI module. Challenge is that we can post incoming payment for the entire 12 cheques by clearing customer account as the rent is not booked in advance. We explored the option of using special GL indicator (debiting Special GL Recon Account and Crediting normal Recon a/c with the same customer), but the issue is how to post this entry against customer line item. Because PDCs are for Rs. 60,000 and the rent is not booked in advance.
    Client has suggested to post the PDC on the respective posting date by keeping the period open of the required accounts. will it be a good practice keeping periods open for another year or so.
    3. Client is asking us to develop a program for automating the third entry by which they just have to enter the bank account and then select open PDCs and post the entry. On my opinion, we can use "Check Deposit Transaction" for performing third entry. When I try this option, I found that we can not clear the Customer open item with Special GL Indicator.
    4. If we can perform the first three entries, setting up bank recon statement will not be an issue.
    In the second Company Code they are using Credit Management. In this company Customer Invoice will be booked with full amount and PDCs will be received in advance. We can use Special GL indicator here and set up "Check Deposit Transaction" However I am facing difficulty for clearing the customer account with Special GL.
    Request you to provide your suggestions on this issue.
    Thanks,
    Ankish Chaudhari
    Cell - 9022784370

    Yes, you can continue your development by creating a patch in Customer Test tenant later on but better understand the advantages of creating patch in Partner tenant first. If you are still Ok, then go ahead for deployment.

  • Accruals/Deferrals

    Hi All,
    I am familiar with the accrual and deferrals in accounting but I am having a hard time mapping scenario in SAP. the t.code FBS1 (enter accrual) and F.81(reverse accrual) are just creating an entry and reversing it at end of month. But I dont get the big picture as how it overall affects the expense account and the deferral account.
    Eg: if company pays prepaid rent (deferred rent - asset) 3 months in advance (jan feb mar), how does this map to the system? This is what I have so far (monthly rental $300):
    Company receives invoice (jan 1):
    Dr prepaid rent $300  (jan)
    Dr prepaid rent $300  (feb)
    Dr prepaid rent $300  (mar)
             Cr vendor      $900
    (i am ignoring the vendor payment here to make it short)
    End of Jan - Jan 31st:
    Dr rent expense $300
        Cr prepaid rent   $300   (jan)
    End of Feb - Feb 29:
    Dr rent expense $300
         Cr prepaid rent $300 (feb)
    End of Mar - Mar 31:
    Dr rent expense $300
         Cr prepaid rent  $300 (mar)
    The end of month entries can be added as recurring but I don't see where I would setup accrual and reverse it at end of month in this case?  Is there any online document with scenario on how accruals/deferrals work in SAP?
    Thanks

    Hi Kashif ,
    Attached is some info....have a look.Take it to a word document & read it. Award points if useful.
    Prepayments and Accrued Income / Accrued Expense and Deferred Income
    Accrual / Deferral Posting
    Use
    To fulfill the period definition of expenses, you can enter accrual / deferral documents and, in a subsequent step, cancel them (collective processing).
    The reversal date you define in the accrual / deferral document becomes the posting date of the canceling document.
    Reverse posting:
    The program creates a list of all documents and specifies whether a reverse posting is possible (test run) or has been made (update run). You can print the list out. After the test run, the reverse postings can be created from the list of all the documents for which a reverse posting is possible.
    Prerequisites
    You have posted a document in this fiscal year, but the expense, for example, also applies to the following year.
    For example, you post an invoice for rent amounting to INR 11,000.00, which is issued over a period from 01.03.current FY to 28.02.current FY+1.
    1.   Access the activity using one of the following navigation options:
    Menu path     Accounting  Financial Accounting  Accounts Payable  Document Entry  Invoice
    Transaction code     FB60
    2.   In the Enter Vendor Invoice: Company Code BP01 screen, enter the required data.
    Description     R/O/C     User action and values     Comment
    Company Code          BP01     
    Vendor          A2000     
    Invoice Date          01.03.Current FY     
    Posting Date          01.03.current FY     
    Reference          User-defined text     
    Amount          12000     
    G/L Acct           58062000     
    D/C          Debit     
    Tax Code          V0     If required make the entry
    Jurisdiction Code          IN00     If required make the entry
    Amount in Doc. Curr.          *     
    Cost Center          1101     
    3.   Post this document.
    4.   Access the activity using one of the following navigation options:
    Menu path     Accounting  Financial Accounting  General Ledger  Account  Display/Change Line Items
    Transaction code     FBL3N
    5.   In the G/L Account Line Item Display screen, enter the required data.
    Description     R/O/C     User action and values     Comment
    G/L Account Selection               
    G/L Account          58062000     
    Company Code          BP01     
    Line Item Selection               
    Status          Select “All Items”     
              Execute (F8)     
    The total expenditure pertains to the next financial year also debited in the current financial year.  The amount pertains to the next financial year about Rs.11000/- to be transferred to next financial year by using the Accrual / Deferral postings option.
    Entering Accrual / Deferral Postings
    1.   Access the activity using one of the following navigation options:
    Menu path     Accounting  Financial Accounting  General Ledger  Periodic Processing  Closing  Valuate  Enter Accrual/Deferral Doc.
    Transaction code     FBS1
    2.   On the Enter Accrual/Deferral Doc.: Header Data screen, enter the required data.
    Description     R/O/C     User action and values     Comment
    Document Date          31.03.current FY     
    Posting Date          31.03.current FY     
    Type          SA     
    Company Code          BP01     
    Currency          INR     
    Reversal Reason          05     Accrual / deferral posting
    Reversal Date          01/04/current FY      
    PstKy          50     First line item
    Account          58062000     
              Enter     
    Amount          11,000.00     
    Tax Code          V0     
    Jurisdiction Code          IN00     
    Cost Center          1101     
    PstKy          40     Second line item
    Account          24700000
              Enter     
    Amount          *     
    Text          Accrual / deferral posting     
    3.   Post this document.
    4.   Call up the line items for account 58062000 of 31.03.of the current fiscal year as follows:
    Menu path     Accounting  Financial Accounting  General Ledger  Account  Display/Change Line Items
    Transaction code     FBL3N
    5.     In the G/L Account Line Item Display screen, enter the required data.
    Description     R/O/C     User action and values     Comment
    G/L Account Selection               
    G/L Account          58062000     
    Line Item Selection                
    Status          Select “All Items”     
    Posting Date          31.03.current FY     
              Execute (F8)     
    Reversing Accrual / Deferral Postings
    Prerequisites
    The document number for the next financial year has been defined.
    Posting period must be allowed to post the document.
    Procedure
    1.   Access the activity using one of the following navigation options:
    Menu path     Accounting  Financial Accounting  General Ledger  Periodic Processing  Closing  Valuate  Reverse Accrual/Deferral Document
    Transaction code     F.81
    2.   On the Reverse Accrual/Deferral Documents screen, enter the required data.
    Description     R/O/C     User action and values     Comment
    Company Code          BP01     
    Fiscal Year          Current fiscal year     
    Execute     Test run          
         Update run          
    3.   Call up the line items for account 58062000 and compare with the descriptions provided in the
          previous steps.

  • Working with duration and numbers

    I have rental apartments and I am building a spreadsheet to show how many months each tenant has occupied his apartement and how much rent he paid in total.
    Column A shows the move-in date
    Column B shows the move-out date
    Column C shows the number of months : (B-A)/30
    Column D shows the monthly rent amount
    Column E shows the total amount paid for the duration of the tenancy : C*D
    Everything works out fine except for the amount shown in Column E.  Here is an example :
    Column A (move-in date) : 2011-08-01
    Column B (move-out date)  : 2012-05-31
    Column C (total months) : 10
    Column D (monthly rent)  : $500.00
    Column E (total paid) : $5066.67
    Column E should show $5000.00. 
    I know that Column C is the problem.  Although the number shown in the cell is 10, the real number in the background looks like this : 10:3:12:00.
    How do I get Numbers to multiply the amount in Column D by the number that appears in the cell (number 10)?

    You are working with three types of value here: Date and Time values, Durations, and numbers.
    When you subtract a Date and Time value from another, the result is a Duration. If both D&T values were entered as dates, the time part of those values will have been set to 00:00:00 (midnight at the beginning of that day), and the duration value will be an even umber of days.
    The equation in column C assumes that all months have 30 days. Makes things neat, but unfortunately doesn't jibe with reality as defined by the calendar makers. B-A in your example returns 304d (304 days)
    The result (5066.666666...) is correct for a rate of 304 days @ 500/30 days
    The easiest fudge factor to make the number in C work out correctly is to convert the value in C to a number, then ROUND the number to the nearest whole number. For long periods, this will differ from the number of whole months, and it will not correctly calculate the results where the tenant moves in (or out) mid-month. If that's an issue, we can look for a more detailed solution (or check in the files to find a previous one, assuming I kept a copy).
    Replace the formula in C with: =ROUND(DUR2DAYS(B3-B2)/30,0)
    Regards,
    Barry

  • Calculate difference in value based on two date parameters

    Hi All,
    I have a table and need to calculate the difference in rent amount for a property based on two date parameters.
    I have uploaded sample data here:
    https://app.box.com/s/pu8oa4f3jhrhm0ylshdz2fuo7541vn4z
    Thanks
    Jag

    Hi jaggy99,
    Do you have the knowledge of
    Excel Add-In? If you don't have knowledge of C#/VB.NET language and Visual Studio, I don't think Excel Add-In is what you want. As I said previously, your problem is totally about the business logic, we don't provide solution for a complete requirement.
    Based on your sample data, I think VBA code is suitable.
    If you're not familiar with VBA, please take a look at the MSDN documents for scratch:
    Getting Started with VBA in Excel 2010
    The steps should be like this:
    1. Sort all the records by [Rent Change Date] field
    2. Loop throuth the records and find the FromDate and ToDate as well as the corresponding [Rent Charged] field
    3. Calculate the difference and save the data into a new range
    It's not so hard, please have a try, if you encounter any development problems, you can post in this forum.
    Thanks.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • FM HR_INFOTYPE_OPERATION to update IT581

    Dear Freinds,
    I'm trying to upload / update the infotype 581 thru excel data sheet by using FM HR_INFOTYPE_OPERATION.
    the FM HR_INFOTYPE_OPERATION returing the error message "Rent amount is required".
    please help.
    Regards,
    R R Suthar

    Hi,
    Many times  this FM  behaves like this and return Errors like this.same error encontered  was  of infotype 14 upload. than  i have used BDC  tools for the same.
    If u have to  Upload data  than try to use BDC/LSMW objects inseted of  Std.FM  for more control on the code.
    Hope this will help u ....

  • Assigning multiple withholding tax codes of the same witholding tax type

    As described in note 363650, I have configured a withholding tax type FE to include a range of withholding tax codes of 0% for US 1099 reporting only. I also carried out the conversion to extended withholding and resolved all errors. My requirement is that I need two different withholding tax codes of this type to be open and editable in MIRO and FB60. I am receiving error Message no. 7Q005 when I attempt to add another code of the same type.
    What is the best practice for configuring/recording withholding tax in this case?
    Example:
    Vendor XYZ
    Header amount of invoice: $1000.00
    Amount relevant for withholding tax type FE code 01: $600.00 (rents)
    Amount relevant for withholding tax type FE code 07: $400.00 (nonemployee compensation)
    Thanks in advance

    Thanks for the input. My problem occurs when attempting to assign the second tax code in the vendor master. The system doesn't allow for the second code of  the same type to be added.
    I can assign one code in the vendor master without issue, and all fields are editable in the withholding tax tab for the first code, both for invoicces and for payments.
    I have been offered one suggestion to configure a differrent range of codes with a new tax type. This would mean that if I had only one vendor relevant for 3 tax codes (rent, royalties, unemployee compensation) then I would have to configure two additional withholding tax types with all the codes associated with them. This doesn't seem like the best approach -- am I missing a setting or some other minor config to solve this?

  • Migrate Flex Chart to AS

    Hi,
    I've put together a simple test app that pulls data from blazeds and inserts the results in a PieChart defined in mxml. However when I try to create the same chart in AS the chart doesn't show up. I suspect that it is perhaps related to the sequence of how things are initialized? but I'm not sure
    Here is my code. I've created 3 charts. The first (mxml) chart is the one that works fine. The second (AS) is my attempt to recreate the mxml chart in AS and it does not work. The third is a sanity check of another test AS chart just to see if I can actually make an AS PieChart and it also works fine.
    If anyone has any insight it would be much appreciated.
    Thank you,
    Kaveh
    <?xml version="1.0" encoding="utf-8"?>
    <!-- intro\intro_remoting.mxml -->
    <mx:Application     xmlns:mx="http://www.adobe.com/2006/mxml"
                        xmlns:data="com.kg.data.*"
                        width="100%"
                        height="100%"
                        initialize="getPokerParameterNumbers()"
                        backgroundColor="#FFFFFF">
        <mx:Script>
            <![CDATA[          
                import mx.rpc.events.FaultEvent;
                import mx.rpc.events.ResultEvent;
                import mx.collections.ArrayCollection;
                import mx.charts.PieChart;
                import mx.charts.series.PieSeries;
                import mx.charts.Legend;           
                [Bindable]
                public var paramCount:ArrayCollection;
                [Bindable]
                 public var expenses:ArrayCollection = new ArrayCollection([
                    {Expense:"Taxes", Amount:2000},
                    {Expense:"Rent", Amount:1000},
                    {Expense:"Bills", Amount:100},
                    {Expense:"Car", Amount:450},
                    {Expense:"Gas", Amount:100},
                    {Expense:"Food", Amount:200}
                // Get the initial data set from the poker db
                private function getPokerParameterNumbers():void {
                    //remoteObject.getParameterTypesAndCount();
                    remoteObject.getParameterCount();
                    addSecondChart();
                    add3rdChart();
                // Handle the recevied message.
                private function resultHandler(event:ResultEvent):void {
                    statusTextArea.text += "Server responded [] : \n";
                    var myObject:Object = event.result;
                    paramCount.removeAll();
                    for (var key:* in myObject)
                      var value:* = myObject[key];
                      statusTextArea.text += "Parameter: " + key + " Count: " + value + "\n";
                      var paramItem:Object = new Object();
                      paramItem.parameterization = key;
                      paramItem.count = value;
                      paramCount.addItem(paramItem);
                    paramCount.refresh();
                private function newResultHandler(event:ResultEvent):void {
                    var collectionResult:ArrayCollection = ArrayCollection(event.result);
                    statusTextArea.text += "-" + collectionResult.length + "-";
                    paramCount = ArrayCollection(event.result);
                // Handle a message fault.
                private function faultHandler(event:FaultEvent):void {
                    statusTextArea.text += "Received fault: " + event.fault + "\n";
                public function addSecondChart():void {
                    //var medalsAC:ArrayCollection;
                    var chart:PieChart;
                    var series:PieSeries;
                    //medalsAC = getDataProvider();
                    /* Define pie series. */
                    series = new PieSeries();
                    //series.nameField = "label";
                    //series.field = "data";
                    series.nameField = "name";
                    series.field = "count";
                    /* Remove default dropshadow filter. */
                    series.filters = [];
                    /* Define pie chart. */
                    chart = new PieChart();
                    chart.percentWidth = 100;
                    chart.percentHeight = 100;
                    chart.showDataTips = true;
                    //chart.dataProvider = medalsAC;
                    chart.dataProvider = paramCount;
                    chart.series = [series];
                    /* Add chart to the display list. */
                    topHBox.addChild(chart);
                private function add3rdChart():void {
                    var medalsAC:ArrayCollection;
                    var chart:PieChart;
                    var series:PieSeries;
                    medalsAC = getDataProvider();
                    /* Define pie series. */
                    series = new PieSeries();
                    series.nameField = "label";
                    series.field = "data";
                    /* Remove default dropshadow filter. */
                    series.filters = [];
                    /* Define pie chart. */
                    chart = new PieChart();
                    chart.percentWidth = 100;
                    chart.percentHeight = 100;
                    chart.showDataTips = true;
                    chart.dataProvider = medalsAC;
                    chart.series = [series];
                    /* Add chart to the display list. */
                    p1.addChild(chart);
                 * Create and return a simple ArrayCollection to
                 * use as a data provider.
                private function getDataProvider():ArrayCollection {
                    var arr:Array = [];
                    arr.push({label:"Product 1", data:3});
                    arr.push({label:"Product 2", data:1});
                    arr.push({label:"Product 3", data:4});
                    arr.push({label:"Product 4", data:1});
                    arr.push({label:"Product 5", data:5});
                    arr.push({label:"Product 6", data:9});
                    return new ArrayCollection(arr);
            ]]>
        </mx:Script>
        <mx:RemoteObject id="remoteObject"
            destination="pokerDataSource"
            result="newResultHandler(event);"
            fault="faultHandler(event);"/>
        <mx:HBox width="100%" id="topHBox">
            <mx:VBox>
                <mx:PieChart id="myChart"
                    dataProvider="{paramCount}"
                    showDataTips="true"
                    selectionMode="single"
                    itemRollOverColor="#FF0066">
                    <mx:series>
                        <mx:PieSeries
                            field="count"
                            nameField="name"
                            labelPosition="callout"
                        />
                    </mx:series>
                </mx:PieChart>
                <mx:Legend dataProvider="{myChart}"/>
            </mx:VBox>
            <mx:TextArea     id="statusTextArea"
                            width="100%"        
                            height="100%"               
                            backgroundAlpha="0"
                            focusAlpha="0"
                            selectable="false"/>       
        </mx:HBox>
        <mx:Panel id="p1"/>
    </mx:Application>

    Hi,
    Simply let a IE or FireFox window display your Flex chart,
    and hold [Alt] and press [PrtSc] in your keyboard, Then, paste it
    into Word or Paint to be edited.
    Have fun!
    Jeffrey

  • Set pie slice color

    Hey guys,
             I am creating pie chart based on xml data, which can have at most 6 categories, but not every time.  For consistency sake I would like pie slice to be colored by category, i.e every time I see category 1 it should be colored with c1, category 2 should be colored c2 etc.  By just setting fill property I don't always get the same color for category 2 if category 1 is missing. 
         Hope my objective is clear, does anyone have any idea, I have been nosing around adobe forms and google but no luck so far.
    Thank you
    Jay

    Instead of a switch statement you could do this, the colors use the fieldname as id's so you then have a single line in your fillfunction.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768" xmlns:local="*">
    <fx:Declarations>
    <s:SolidColor id="Taxes" color="blue" alpha="1"/>
    <s:SolidColor id="Rent" color="red" alpha="1"/>
    <s:SolidColor id="Bills" color="green" alpha="1"/>
    <s:SolidColor id="Car" color="gray" alpha="1"/>
    <s:SolidColor id="Gas" color="black" alpha="1"/>
    <s:SolidColor id="Food" color="yellow" alpha="1"/>
    </fx:Declarations>
    <fx:Script>
    <![CDATA[
    import mx.charts.series.items.PieSeriesItem;
    import mx.graphics.IFill;
    import mx.charts.ChartItem;
    import mx.collections.ArrayCollection;
    [Bindable]
    public var expenses:ArrayCollection = new ArrayCollection([
    {Expense:"Taxes", Amount:2000},
    {Expense:"Rent", Amount:1000},
    {Expense:"Bills", Amount:100},
    {Expense:"Car", Amount:450},
    {Expense:"Gas", Amount:100},
    {Expense:"Food", Amount:200}
    private function myFiller(item:ChartItem, index:Number):IFill
    return(this[expenses[index].Expense]);
    ]]>
    </fx:Script>
    <mx:Panel title="Pie Chart">
    <mx:PieChart id="myChart"
    dataProvider="{expenses}"
    showDataTips="true"
    innerRadius=".3"
    >
    <mx:series>
    <mx:PieSeries
    field="Amount"
    nameField="Expense"
        fillFunction="myFiller"
    />
    </mx:series>
    </mx:PieChart>
    </mx:Panel>
    </s:Application>

Maybe you are looking for

  • Upgrade from 10.1.0.5 to 10.2.0.3 in RAC system / What about ASM ?

    Hi, I have trouble finding this information but answer may be simple. We have customers running 10gR1 and we would like to upgrade them to 10gR2 (10.1.0.5 -> 10.2.0.3) These are cluster configurations with ASM. I've found interesting documents about

  • Closing of Applet(Very Urgent)

    Hai All A issue to be solved. I have on JApplet and a JOption is displayed on some conditions..on the click of the button in the JOption the applet has to be closed. How can the Applet be closed on some conditions. I used system.exit..it is not doing

  • Trying to try livecycle designer on a trial basis

    Trying to try livecycle designer on a trial basis as advertised under "free trial offer".  After download, file cannot be used without the product key.

  • OCCI ERROR:  (ORA-24392 ) !!

    hello all: After my OCCI connection pool runs a moment. it Crash: Error number: 24392 ORA-24392: 没有与服务器句柄相关的连接池 ORA-24392: no connection pool to associate server handle follow is my occi connection pool source code. help me to find problem. thanks. c

  • PE 9 does not run smoothly in Clip Timeline

    I'm running PE9, I import a HD video clip with a plug-in... the software runs perfectly. If i add text, it starts to jump. I'm running a PC with an i7 Processor and 10 gig of RAM, Windows 7. Is there something I'm doing incorrect?