LOGIC QUESTION - Posting to an alternate account based on parent value

Hi
I need to calculate the value of an aggregate account and then if the value of that aggregate account is negative, post all of its base level accounts (whose values might be DR and CR values) to an alternate account stored as a property in the account dimension.
I started with the logic below with PKBS11002 being the aggregate account.
*MEMBERSET(%AccountsList%,"Descendants([Account].[PKBS110022],999,LEAVES)")
*XDIM_Memberset ACCOUNT = %AccountList%
*CALC_DUMMY_ORG ACCOUNT = Parenth1
*WHEN ACCOUNT
*IS #PKBS110022
*WHEN %VALUE%
*IS <0
//In this section i need to determine all the base accounts for PKBS110022 and then post their values to the alternate account.
*ENDWHEN
*ENDWHEN
Regards,
Byron

I tried removing the line
*XDIM_Memberset ACCOUNT = %AccountList%
but no luck
The two processes that I go through are as follows:
Unsuccessful process
Step 1: Import data
Step 2: Run logic as above
Result: No records posted
Successful process
Step 1: Import data
Step 2: Delete records that are not a parent of PKBS110022
Step 3: Run optimize to ensure update of OLAP
Step 2: Run logic as above
Result: Records posted correctly
What i did notice is that in the Unsuccessful Log contains "failed test:GET(ACCOUNT="#PKBS110022")<0  : 0<0"
Link to log files: [2 x Log Files (Successful and Unsuccessful)|http://sites.google.com/site/byronwahl/home/bpc]

Similar Messages

  • MIRO post with different KDM account based on AP recon. account

    Hi Gurus,
        I have one question on MIRO exchange rate difference posting.
        As user request, different AP Recon. account need post with different exchange rate difference account.
        In more detail: AP Recon. account has two kinds: Trading partner, none TP.
        For TP, post ex. rate different to one Inter company exchage rate diff. account,
        for none TP, post to the other exchange rate diff. account.
        But as I found, the exchange rate diff. accout is defined in OBYC, transaction KDM. It cannot config seperate by TP.
       Any one has encounter similar request?
    Thanks,
    Grace

    Unfortunately the MIRO exchange diff setup is not defined in FBKA exchange rate difference.
    It is defined in Materials Management postings (MM).
    So any more idea?
    Thanks,
    Grace

  • Amount posted to G/L Accounts

    When I save the billing document, the amounts are posted to G/L accounts. Can some explain me the logic for posting signs - like
    Customer account is posted +ve
    Sales Revenue is -ve
    Discount is +ve etc

    Hi Sunil,
    When ever you prepare a billing document it creates an entry in General Ledger as Trial Balance has to be generated for the company all the expenses for a company should be recorded in GL. So that a company can see view their profit/loss figures.
    As Billing is a sales related transaction it creates an GL Entry where in
    Debits    --> Customer Account
    Credit     --> Sales Revenue Account
    And when the Customer Makes a payment with reference to the bill
    One more GL Entry will be created i.e
    Debit     --> Bank Account
    Credit    --> Customer Account
    With this we can track the customer balance (What ever balance is there in Customer account is customer Balance)
    I think this is very clear with respect to the question you had asked.
    Reward points if it helps.
    Regards,
    Sreekanth

  • Change COPA from costing based to account based

    dear friends,
    one of our clients is upgrading from 4.6C to ECC 6.00.  as part of this upgrade they want to change the COPA from costing based to account based.
    Whether this can be done?
    If yes, how it can be done and what all precautions need to be take care of?
    If no,  what are the reasons due to which it should not be done?
    thank you for the help.
    bajee prasad

    Hi,
    Let me try to answer to get full points from you. It is a very tricky question.
    You can add Account based COPA in addition to Cost based COPA. It is advisable not to delete Cost Based COPA.
    Go to Tr. Code KEA0. In the Data Structure Tab, click the change button. Now you can tick the Account based type of PA.
    Then go to Environment tab, click the activation button. System will run for some time and both the types of PA gets the environment. These changes are not transportable. You need to do it by opening the system. You can test this in your quality system and then try in Production. I caution that you need to take a backup of the system so as to meet any worst scenario. All the best.
    Cheers,

  • Account based copa - operating concern currency significance

    Hello All,
    we have implemented Account based copa and the operating concern currency in EUR.
    no other fields in KEAo is activated like the company code currency and other fields.
    the company code currency and the controlling area currency is SEK (Swedish Kroner)
    sap note 69384 specifies that For account based PA, the operating concern currency is unimportant.
    when we are trying to post a FI document, it is not asking for conversion from SEK to EUR
    i tried posting to cost center and it got posted without asking for the conversion rate from SEK to EUR.
    but when we are trying to post a controlling document(Account based COPA), it is asking for a converision rate from SEK to EUR.
    can some one please clarify on why the conversion rate is required for account based copa.
    Kind regards
    SAP student

    Hi
    As far as posting to cost center is concerned, it is concerned with your controlling area.. It has nothing to do with your op concern.. Since your comp code and contr area currency is same, it does not ask for exchange rate
    But the moment you post into COPA, where in you have specified another currency EUR, it asks for a conversion reason being your comp code currency is not same as EUR...
    Even though op concern currency not reqd for account based COPA, but since you have specified it as EUR, it wud ask for a conversion rate
    Hope this clarifies
    Ajay M

  • KEA0 Deactivating Account-based PA

    Hello SAP Guru,
    Currently my COPA has both costing-based and account-based activated.  I would like to deactivate account-based but I am not sure of all the steps involved other than uncheck the box for account-based in the config. Also, we are currently live with COPA, what are some of the things I should watch out for by turning off account-based in the production environment.
    Thank you for your help.
    HT

    Kindly remove the activation in KEKE and save it without assigning the costing based COPA. Then in KEA0, select the operating concern and go to the menupath extras-settings where you will be able to remove the flag on account based COPA. Then you need to save the settings and generate the operating concern. After completing this, you may activate
    the costing based copa in KEKE.
    In the transaction OKKP (in the view activate components/control indicators) you have to change the customizing to Component active for costing based profitability analysis (2)
    The data for the account-based CO-PA is written into the already existing CO-tables: COEP, COEJ, COSP und COSS. So there will be no impact on the tables.
    Reposting existing documents ( like invoices) could be a problem since at the time of posting there was a account based COPA document. So at the time of reversal system will expect the same else will throw error KI144. This error message can be changed into an information or a warning message .Read note 98262 regarding this. This problem could also come for documents 'in process' i.e if sales order and GI has been done  with account based COPA and at the time of billing it is inactive.
    The cost accounting document created with account based CO-PA active is a different one than that with account based turned off. If account based isn't active the posting leaving CO-OM is put to a reconciliation object. If account based is active the same posting will go to a profitability segment for account based CO-PA. This 'trick' made the introduction of account based CO-PA possible without creating extra tables. The reconciliation object is naturally on a higher aggregation
    level, so that the number sum records in CO is smaller than with account based CO-PA active.
    There is a note that describes the differences between the
    costing-based and the account-based Profitability Analysis types. Please review the attached note 69384.
    Nevertheless please test this throughly first in your test-system before going live in production

  • Mapping an account based on a column in source file.

    I need to map an account based on the value of a different column. It is not used in FM so I don’t think I can use the varvalue function. So in this case based on store 1000 and account 1103-000 I need to map to 22222. For combination store 20000 and account 1203-000 I need to map to 33333. I can’t use concatenate in my import format because the mapping table would need to be huge to accommodate all possible combinations of account and store. Any ideas?
    co 005,fy2009,jan,1000,1103-000,529749.41 map to 22222
    co 005,fy2009,jan,2000,1203-000,1521.50 map to 33333
    co 005,fy2009,jan,1000,1203-000,-1182514.62 map to 33333
    co 005,fy2009,jan,0000,1203-000,-41480.28 map to 44444
    Edited by: user6464465 on Mar 16, 2010 10:26 AM

    Do you have any available user defined fields that you could use in FDM? You could have this mapped to a Custom 4 in HFM, or an available custom in Essbase depending on your application and utilize conditional map scripts (Look up VarValues in the Admin guide) if there is not a large number of accounts.
    JTF

  • Cost and account based copa

    hi,
    what is the difference for cost bases copa and account based copa?
    thanks

    In costing based COPA the values are captured at PGI where as in Account based copa teh values are captured at the time of Invoice.

  • Posting to different GR/IR account based on purchase order type

    We are implementing cross company stock transport orders that require an AP invoice to be posted against the goods receipt.  Our AP department does not want the GR/IR postings to go to the account used for traded AP.  I cannot determine a method using OBYC to specify a different account based on purchase order type.  Is there a way to do this?

    Hi Jud
    You should make these posting to a cost center then..The only way you can control account postings via PO type is having a account assignement category. You can make this as mandatory filed for this PO type..
    Please let me know if your requirement is different..
    CHeers
    R K Bolla

  • Post GL Accounts based on valauation class in EDI Postings

    Hi,
    We have a business requirement in intercompany billing postings.  At the time of posting the account receivable posting through intercompany billing, system also post account payable posing based on the EDI settings.  However standard EDI settings for determine GL Account is based on the vendor and company code not on the basis of valuation class.  Hence, we need to determine the account payable gl accounts based on valuation class instead of GL Accounts assigned in EDI.
    For that we through of using the Enhancement FEDI0001 and userexit EXIT_SAPLIEDI_001. However this exit is not trigerring while inbound idoc is processed.
    Kindly advice how we need to process and whether we are using the right userexit or not.
    Best Regards.,
    Goutham

    not answered

  • HT5624 how do I change the security questions on my daughters itunes account. I do not remember adding the questions and they do not make sence to me. can not figure out how to get to her  email account that it is showing for her altern

    I cant seem to be able to change the secutity questions on my minor daughters itunes account. I set the account up but I do not remember adding the security questions and they do not make sense to me. It says that the alternate account it would be sent to is@ me.com but I can not figure our how to get to it to retreive the email to reset the questions. My daughters account may have recently been hacked so I am trying to change all passwords. I changed the itunes account and added another email but I still can not change security questions in case I ever need them.
    <Email Edited by Host>

    We are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple - I've asked the hosts to remove your email address from your post (it's not a good idea to post personal info on any public forum).
    The reset link on an account will only show if there is a rescue email address on it, alternate email addresses are different and not used for resetting them. If she has a rescue email address on her account then steps 1 to 5 half-way down this page will give you a reset link on the account : http://support.apple.com/kb/HT5312
    Navigate to appleid.apple.com using your web browser.
    Click "Manage your account"
    When prompted, sign in using your Apple ID and password.
    Click Password & Security
    You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
    If she doesn't have a rescue email address (you won't be able to add one until you can answer your questions) then you will need to contact Support in your country to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use steps 1 to 7 half-way down the HT5312 link above to add a rescue email address for potential future use

  • Posting rules exist for account key

    Hi ,
    I got the message while creating PO AND WHEN I try to enter Tax code and Tax Jurisdiction i am getting the following error message :
    No posting rules exist for account key
    Message no. FF714
    Diagnosis
    No posting rules have been defined for the account key in the tax table in table T007B.
    Procedure
    Change the tax table, enter an account key already defined for the transaction in question or define the posting rules for a new account key in table T007B.
    can any one give me solution to solve this issue !!!
    Thanks & Regards,
    senthil.

    Hi Senthil
    Based on your explanation I can understand that the Configuration settings for Automatic Account Determination is not done perfectly for the Account Ket vs GL Account. Do cneck this process carefully because here we define the posting rule, posting keys for the determined account key and later assign the same to the GL Account.
    regards
    Murali Kanth Natti

  • COST ELEMENTS IN ACCOUNT BASED COPA

    Hi all,
    1. I understand that all FI/GL accounts correspond to COST   ELEMENTS in COPA.
    2. I also understand that there are NO value fields in an Account Based Profitability Analysis.So there is no VALUE FIELD to KEY FIGURE mapping.
    3. My question is: how do we map each individual GL account into BI?
    4. If we dont map each individual GL account, how do we report these accounts in BI?
    This part of Account based has been very confusing. I have searched numerous posts, but they all have the same answers, none that explains how we handle the numeric fields of account based profitability analysis.
    Cheers
    TJ

    You will have a KF lets say amount
    In account based COPA your Cost and revenue elements will identify what does the value in this KF corresponds to.
    your report will look something like below:
    Ex:
    Cost and Revenue Element #     Amount
    800 - Revenues                     1,000,000
    808 - Sales deductions             100,000
    800 - 808 = Net Revenue            900,000
    893 - Cost of Sales               90,000
    231 - Price Difference              10,000
    Total                               1,000,000
    You may get amount from source system in 2-3 diff currencies like controlling area curr, transaction curr...
    Sometimes range of accounts correspond to a value. Ex: Accounts 800-900 resemble revenue.
    In such a case you may create Text node in hierarchy called revenue and use it in report (if no hierarchy available from the source system) or create selection in the report.,

  • EBS- Automatic clearing & posting to customer on-account

    Hi FI Experts,
    I'm hoping that you can help with the following SAP electronic bank statement (EBS) setup:
    In EBS configuration, we have setup posting rule to clear customer sub-ledger (posting type 8). This is achieved using algorithm 31 u2013 Doc number search (customer no from doc line). So when MT940 file - note to payee field has correct doc number (invoice no), system clears the customer open item automatically
    Now the requirement is if the note to payee field doesnu2019t contain correct document number (or missing doc number) but has the correct customer number- Is it possible to post the amount to the customer account based on the customer number available in the file? Business team can clear it against the invoice later manually. In summary, if doc number is available system should clear customer open item; if doc number is missing but customer number is available system should post the incoming amount to the customer account.
    Is it possible to setup the above logic using standard EBS rules; if yes how? or do you reckon a development is needed?
    Appreciate your inputs
    Thanks,
    Kalyan

    Hi Experts,
    I got this resolved by using the enhancement FEB00001.  If the field "Distribute by age" is activated through this enhancement, then system will be able to match the paid amount and the combination of open items for automatic clearing.  If there is no exact match, then automatic clearing through FF.5 is not possible as indicated in SAP Note 124655.
    There is no more necessity to use BAdI FIEB_CHANGE_BS_DATA.  Complete relevant logic can be maintained directly in the enhancement itself.
    Have a nice day.
    Regards,
    Sridhar

  • Extract account Based COPA from R/3 using Business Object data services

    Hello,
    We have a requirement to extract Account Based COPA from SAP R/3 to Teradata using Business Objects data services.
    I have read couple of white papers which give information on Rapid Marts( which are built in packages) already available for some applications like inventory, GL, AP, AR etc. But I could not find anything for COPA.
    Would anyone give me any information on how to use BO data services for COPA?
    Also if there is no rapid mart available for COPA, does anyone know how to create custom data marts in BO Data services?
    Is there any document available on this?
    Please respond as soon as possible.
    Thanks.

    Hi,
    this forum is for the SAP Integration Kit. Would suggest you post your question into the EIM area for Data Services.
    Ingo

Maybe you are looking for

  • ITunes is duplication my purchases and clogging my hard drive

    Hi folks, it doesnt sound critical but this is my situation: I have a rather large music collection so ever since I started using iTunes I have always had my music on an external drive(a NAS more specifically). My music library has always been 'z:/mu

  • Looking for a specific Iphone alarm clock app

    Hello, I have been looking on the apple store for an app that I came across a while a go. It's an alarm clock app with a calculator for morning tasks, so it will ask the user how many tasks and how long each task is going to need, and then it will ca

  • MacPro has recently become slow (5+ hour boot times!)

    Hi all, Let me say in advance that I very much appreciate all patience and assistance with my problem. I'm the kind of guy who's never run Terminal, so that's what you're dealing with. In the past few weeks I've had some booting problems where the gr

  • JDBC spurious connections

    Set up a JDBC pooled cache with min=5 and max=20 with FIXED WITH WAIT scheme. Load test with 100 users - all is okay and only get 20 conections. Load test with about 250 or more get 21 or 22, or 23 connections. What is going on and how can this be fi

  • How to change language in iBook Mac template?

    how do we change the language selection for the iBook templates?