Account Transformation with 13 periods

Hi All,
Has anyone had experience using the account transformation using 13 periods/months?  The Account Transformation business rules have properties for SourceYear and SourcePeriod.  These fields can hold either a specific value (2009, 2010, JAN, P01, etc) or a relative value (+1, -3, etc).
The class that implements the transformations, CL_UJP_CALC_ACCOUNT, has a method, CALC_TIMESCOPE_P, that converts a relative SourcePeriod to an absolute SourcePeriod by first adding the relative number (example +2) to the period the transformation program is being run for (example monthNum 11) and the "rolling" years.
We are using a fiscal year variant for 13 periods and the code appears to assume that a year has 12 months.  In the example above, Monthnum 11 + 2 = 13  ==>  Month 13 is treated as month 1 of next year.  We need it to be treated as "month" 13 of the current year.
Any, and all, suggestions are appreciated.
Thanks,
Pam

Opened message with SAP; scheduled to be an enhancement in a future BPC 7.5 NW service pack.

Similar Messages

  • Account Transformations with wildcards

    Hi Forum,
    I was wondering if anyone knew if the 'source account' field within account transformations accepts wildcards or a property from the account dimension. Basically I have a number of accounts which classify as 'additions' and I want to transpose them from their account code into a member in a subtable dimension (Additions) but I don;t want to name each source account code explicitly as my account transformation table would become very big ( I need to do this for disposals, charges etc...). Can anyone suggest the best approach ?
    Thanks,
    Brian

    Hi Brain,
    All the business rules run SQL stored procedures which use the values passes in the business rules table. As the SQL syntax is different when you pass the excat string and wild characters, I dont think it will accept wild chars.
    But you can use the values of properties in Business rules. You can define a property named DIMLIST(or DIMLISTn - n is number)  or TYPELIM(typelim is only for transformation rules), in your case for account dimension and filter on the values of the properties by selecting the property tab in the pop up you get to select account dimension in business rules table and you can use this property values only for source account dimension.
    Hope this helps,
    Kranthi

  • Account Transformation Error

    Hi,
    I am trying to run account transformation with following
    Business Rule:
    Source Account : NETINCOME
    Destination Account: ACCOUNT_TRANSF
    Logic
    *SysLib Stored_Procedure_wrapper.lgl
    RunCalcAccount(FINANCE,ACTUAL,LC)
    *Commit
    Now, when I run evdre it works fine. like If I ran it with BAS members for 2008.Total than all the values for 2008.Jan till 2008.Dec matched perfectly for two accounts.
    But when I try to roll up the account, the amounts does not matches. Say when I run both the account just for 2008.Total(SELF value) then the value does not matches. The issue here is that the destination account is not rolling up properly.
    Any suggestions.
    Regards,
    Diksha.

    Hi,
    'Cancelled' status would likely to give a dump in the backend. Have a look at the dump and analyse where the program is failing and it would be looking for a specific input. Could you please put the entity in square brackets in your code.
    *RUN_PROGRAM CALC_ACCOUNT
    CATEGORY = %P_CATEGORY_SET%
    CURRENCY = %RPTCURRENCY_SET%
    TID_RA = %P_TIME_SET%
    CALC=MV
    OTHER = [ENTITY=%P_ENTITY_SET%]
    *ENDRUN_PROGRAM
    And also. I beleive you are send the RPTCURRENCY vallue from your package. If not please hardcode as LC.
    Thanks,
    Sreeni

  • Business rules: Account transformation

    Hi everyone.
    I am trying to populate my cash flow statement using the Account Transformation. E.g For the changes in my inventories: I want the difference between the closing balance of DEC (of the previous year) and the closing balance of the current month.
    I thought I could use "Source Period" and "Source Year" in the account transformation. Any idea how they can be used? I want to use a property: u201CPrevious yearu201D to make the time dynamic. Is that possible?
    Thanks for your help
    Esther

    I would suggest using the dimension Account library functions and a dimension calculations or script logic calculations to create the value from the cube values, rather than during the data load process.Script Logic might look something like the following:
    INCLUDE SYSTEM_CONSTANTS.LGL
    *SYSLIB CONSOLIDATION_LIBRARY.LGL
    // MOVE INCOME STATEMENT ITEMS TO CASH FLOW STATEMENT
    RUNSUMMARIZE(ThisApp,CF_SUMM,%CATEGORY_SET%,%LC_RPT_CURR%)
    //CALCULATE BALANCE SHEET MOVEMENTS AND POST TO CASH FLOW STATEMENT
    *SELECT(%FROM_ACCOUNT%, "[ID]", "ACCOUNT", "[CF_TO_ACCT] <> ''")
    *XDIM_MEMBERSET ACCOUNT = %FROM_ACCOUNT%
    *XDIM_ADDMEMBERSET TIME = PRIOR
    *XDIM_MEMBERSET RPTCURRENCY=%LC_RPT_CURR%
    *WHEN TIME
          *IS %TIME_SET%
                *REC(ACCOUNT=ACCOUNT.CF_TO_ACCT)
          *IS PRIOR
                *REC(FACTOR=-1,ACCOUNT=ACCOUNT.CF_TO_ACCT,TIME=NEXT)
    *ENDWHEN
    *COMMIT
    But this will require a few properties on the accounts members to support the calculations. The idea for cash flow is to have the basic values in the accounts, and then provide the calculations to place values into another set of accounts that build the CAshFLow statement.  The most difficult part will be dealing with the exceptions, changes to the Cash Flow statement process a customer will need to work with each reporting period.  But Script logic generally works the best.

  • Account Transformation CALCACCOUNT.LGF returns 0 records

    Hi,
    Account transformation through CALCACCOUNT.LGF returning 0 records.
    Created a Account Transformation Business rule as follows -
    Transformation group Name - AST
    Source Account - CASH
    Category - ACTUAL
    Source Flow - NONE
    Source DatsSrc - SYSTEM
    Similarly maintained values for -
    Destination Account  - D_CASH
    Destination Category - ACTUAL
    Destination Source Flow - ENDBAL
    Destination DatsSrc - SYSTEM
    Source period = -1
    all other values like Source Year,Apply to YTD,Remark,Level, Forced into Member are left blank.
    Scrip Logic -
    *RUN_PROGRAM CALC_ACCOUNT
    CATEGORY = %CATEGORY_SET%
    CURRENCY = %RPTCURRENCY_SET%
    TID_RA = %TIME_SET%
    ENTITY=%ENTITY_SET%
    CALC=AST
    *ENDRUN_PROGRAM
    Script runs succesfully, however returns 0 records.
    RUN CALC_ACCOUNT
    0  SUBMITTED, 0  SUCCESS, 0  FAIL.
    SCRIPT RUNNING TIME IN TOTAL:1.94 s.
    LOG END TIME:2011-06-28 01:38:25
    Can some one please advise on the "checks" to be performed to run the script succesfully.
    I know out of experience even if a simple property is not set, script does not run.
    Inputs appreciated.
    Thanks.

    With this, one thing to be aware of is that if you have run an account transformation rule on a data set already, and you a re-running it yet the data has not changed - there will be 0 records generated.
    I recommend changing the data - do a simple zero and input data then save - then re-run, check if that works.
    Nick

  • Currency Translation and Account Transformation Business Rules Together?

    Hi I am fresh out of college and working on a BPC project. I have this working but fear down the road problems.
    We are using currency translation and struggling with getting our NetIncome to write the correct value to the Current Year Retained Earnings when it converts from LC to USD; USD value did not match Net Income in P&L.
    Initially, we did the Account Transformation first in our default logic only on LC, then FX runs and creates the corresponding USD value which does not match the Net Income.
    It looks like the logic is correctly summing the YTD value but it converts using the AVG rate for the period (as opposed to multiplying each month by that monthu2019s average rate) creating a variance.
    Weu2019ve moved the account transformation to run after FX and have it also running on USD. This currently works but seems like a workaround, and as we configure the remaining CTA rules will we run into problems?
    Have any experts run into this issue before and what should I do?
    Edited by: MichaelUCF2010 on Oct 12, 2010 10:18 PM

    Hi, perhaps this is my lack of accounting knowledge rearing itself.
    RE = BS = End (if you take into account translation adjustment for Net Income and Additions/Substractions & OB)
    However If you are talking about the RE Reserve (and computing that correctly)
    RE Reserve
    OB - Opening
    Inc - Avg
    Sub - Avg
    NI - Avg [I assume it is this line you are talking about - please try the apply periodic option for avg]
    CTA - calculated
    CB - End

  • Open item account line with flow type has to contain a partner

    Hi,
    I am getting the following error while doing periodic posting in flexible real estate management.
    " Open item account line with flow type Z240 has to contain a partner"
    " Open item account line with flow type Z820 has to contain a partner"
    Message no. RERACA005
    I have found a similar message in this forum.
    This error is not coming for other flow type Z120 in the contract.
    The accrual type for accruals is set  as ANRVCN and Accrual type for deferrals is set as TRRVCN in the definition of flow type with S Debit posting.
    For ANRVCN , posting supported is " Only periodic"  and for TRRVCN " All"
    Please guide as to where I need to check and correct.
    Regards,
    T Saravanan

    Hi Saravanan.
    I have the same problem, could you help me to solve it?
    thanks in advance!
    Lucas

  • Error while running Account Transformation...

    Hi Experts,
    I'm trying to run Account Transformation using the script logic below but unfortunately nothing gets calculated. When I check the package, it status is mark "CANCELED" though I did not cancel the execution of the package. Checking the detail of the status it only show the below info:
    Script Logic:
    *RUN_PROGRAM CALC_ACCOUNT
    CATEGORY = %CATEGORY_SET%
    CURRENCY = %CURRENCY_SET%
    TID_RA = %TIME_SET%
    OTHER = [COMPANY=%COMPANY_SET%]
    CALC = CALC_RE
    *ENDRUN_PROGRAM
    Package Detail Log:
    /CPMB/MODIFY completed in 0 seconds
    [Selection]
    (Member Selection)
    COMPANY: 1403
    CATEGORY: ACTUAL
    CURRENCY: LC
    TIME: 2005.JAN
    [Messages]
    Application: CONSOL Package status: SUCCESS
    By the way, I used the process chain for ALLOCATION, I put the code for Account Transformation in the ALLOCATION.LGF since it's the logic being called by the said process chain. Checking further using the TCODE ST22 it gives the following error:
    Runtime Errors: GETWA_NOT_ASSIGNED
    Short Text: Field symbol has not been assigned.
    What happened: Error in ABAP Application Program. The current ABAP program "CL_UJK_UTIL================CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.
    Cheking "Information on where terminated" code is terminated here...
        READ TABLE <lt_mem> ASSIGNING <l_member> INDEX 1.
        ASSIGN COMPONENT 'TIMEID' OF STRUCTURE <l_member> TO <l_timeid>.
        MODIFY ct_timeid FROM <l_timeid>.
        "ASSIGN COMPONENT 'TIMEID' OF STRUCTURE <l_member> TO <l_string>.
    I checked the properties and the TIMEID property is existent. Was there anything wrong with my syntax? Any idea regarding this kind of error?
    Thanks,
    Marvin

    After checking all the dimension and using TCODE RSA1 to check the server side, I found that INTCO property is existent in the member worksheet but not in the server so I maintain the dimension properties and re-add INTCO property in the Entity dimension. After that package runs successfully.

  • Open item account line with flow type 0178 has to contain a partner

    At the time of RERAPP Periodic posting getting the error msg
    " Open item account line with flow type 0178 has to contain a partner"
        Message no. RERACA005
    Please guide me on the same.

    Hi,
    As per your suggestion  i have posted the setting for flow type
    In Define Flow type
    140     Security Deposit     S Debit Posting     ANRVCN     TRRVCN
    Assign Reference Flow Types
    10 Follow-Up Postings Due to Condition Increase     140     Security Deposit     140     Security Deposit
    20 Follow-Up Postings Due to Condition Reduction     140     Security Deposit     140     Security Deposit
    30 Distribution Postings (Object Transfers)     140     Security Deposit     140     Security Deposit
    Please guide me

  • BPC NW - Error in Business Rule for Account transformation rule table

    hi
    I have given the Account transformation Rule to move Amount from Account A to Account B and then I have given the following script logic in the default script
    **RUN_PROGRAM CALC_ACCOUNT*
    *CATEGORY = Category*
    *CURRENCY = RptCurrency*
    *TID_RA = %TIME_SET%*
    *CALC=A*
    *OTHER = ENTITY=C1000*
    **ENDRUN_PROGRAM*
    But when I try to load data through Input schedule in Account A and expect amount to transfer to Account B, I m getting an error
    Book Name:Book4
    Application : PLANNING*
    Status : Failed*
    Submitted Count : 1*
    Accepted Count : 1*
    Rejected Count : 0*
    - Error Message -*
    Error running default logic (Business rules are not available)
    - Rejected record list -*
    Error converting records: The root element is missing.
    Can someone please advice me what to do ....

    hi Marcel,
    Lot of thanks for your answer.
    But I have used your logic after removing GROUPS as I dont have GROUPS dimension in my application.
    *RUN_PROGRAM CALC_ACCOUNT
    CATEGORY = %CATEGORY_SET%
    TID_RA = %TIME_SET%
    CALC=FX
    OTHER = [ENTITY=%ENTITY_SET%]
    *ENDRUN_PROGRAM
    This is the error I m getting
    Book Name:Book3
         Application     :     PLANNING
         Status          :     Failed
         Submitted Count     :     1
         Accepted Count     :     1
         Rejected Count     :     0
              - Error Message -
    Error running default logic (Business rules are not available)
              - Rejected record list -
    Error converting records: The root element is missing.
    Can you please advice
    a) Does it mean some issue with my client installation as I dont see these LGF files. I even dont see the data folder in which lgf files are supposed to be present
    b) Where to find information for this interface CALC_ACCOUNT? How did you decide to use 'FX' and how do you know which dimensions to use. Like I dont have GROUPS.
    Please give me your comments.
    regards
    Gaurav

  • Account Transformation Business Rules: Apply to YTD is not working

    Hello Friends,
    I am using Account Transformation Rules for Re-classification of Accounts in MS version of BPC. And i am trying to use Apply to YTD. But it is not working and i am getting the same periodic values in YTD column also. For example if i am running a report for Dec 2009, i am getting the only Dec 2009 values under YTD also.
    I appreciate any ideas on resolving the issue.
    Regards,
    Mohan

    Hi Nilanjan,
    I observed the following:
    1. If I check the Apply to YTD in Account Transformation rules, it is always showing YTD only irrespective of what i choose in in Measures in CV.
    2. If i do not check the Apply to YTD in Account Transformation rules, it is showing only monthly values irrespectinve of what i choose in Measures in CV.
    YTD is working fine in the same Appset for other dimension members eg not used in the Account Transformation Rules.(for other reports).
    Thank you,
    Mohan

  • Someone can help me here with posting period error in doing GR post in SAP

    Hi Seniors,
    I've been getting below error while doing GR post. could someone help me to step on further with this error.
    "Check table T001B for record type "0", the selected company code, account type S and G/L account 191***  If required, make sure that an entry is made in the table or an interval is changed."
    i'm using test system as am a student of SAP MM.
    Thank you very much..
    Shivakumar

    Open and Close Posting Periods
    In this activity, you can specify which periods are open for posting for each variant. You have two time intervals (time period 1 and time period 2). In each interval, specify a period lower limit, a period upper limit, and the fiscal year.
    You close a period by selecting the period specifications so that the period to be closed does not fall within them.
    You can also assign authorization groups for permitted posting periods. This means that in month-end or year-end closing for example, you can open some posting periods for specific users only. The authorization group only has an effect on time period 1. The authorization object is F_BKPF_BUP (Accounting document: Authorizations for posting periods). For more information about assigning authorizations, see the corresponding section for User Maintenance.
    Note
    Specify G/L account numbers for your specifications. You define the permitted posting periods for the subledger accounting accounts using the relevant reconciliation accounts. To do this, specify the account type for the subledger accounting, such as D or K, and the relevant reconciliation account.
    Caution
    There must be a minimum entry for each variant. This entry must have + in column K, and the columns From Account and To Account must not contain entries. In the columns for the posting periods, specify the periods you want to always be open in this variant. With further entries, you define more specifically which periods are to be open for which accounts.
    Activities
    1. Specify the periods permitted for posting.
    2. First enter the periods permitted for posting for all variants (minimum entry).
    3. Then add entries for account types or account areas if the periods are to be further restricted for specific accounts.
    4. In addition, enter an authorization group for each time period 1 in order to limit user access.

  • Account Transformation- Other Dimension..

    Hi all,
    As stated in the many Business Planning and Consolidation reading materials that i have read we can do account transformation on the account, data source, account flow and time dimensions. Is it possible to use account transformation having another dimension rather than the others that i have mentioned above?
    More power.
    Thanks,
    Benniejay

    Hi
    When i say SQL scripts these are the SQL scripts customised for BPC.
    you can just log into BPC for Administration.
    Go to manage applications in the explorer which would open the BPC administration screen.
    In the help of the administration you can get the SQL Script logic with detailed explanations, and then once you expand application/script logic/default.lgx u get an editor where you need to write the script or call other .lgf or .lgx file.
    if you go through the help you would get better information.
    Thanks and regards
    harish b ki

  • Account transformation accumulating values

    Hi Forum,
    A quick question is there an option for account transformations not to 'add' to values that exist in the bpc database already. I want to overwrite values in existing accounts but the account transformation seems to be accumulating the value.
    Thanks,
    Brian

    Hi..
    I'm working on CAPEX application. My problem is :- 1st time data loading, opening and closing are correct but the subsequent data uploading, opening and closing figure will accumulate. Please advice what coding should I include in my script logic.
    In my testing,
    1) I'll upload - Jan'2006 opening, Jan'2006 to Dec'2006 Movement
    2) use account transformation to calculate "opening + movement = closing" 
    3) use script logic for carry-forward monthly opening 
    Account Transformation business rule:
    Transf group   Source Acc  Source flow            Source d/source  Destination acc
    A                        1410220          FA_ExistDepr_OPE                                1410220
    A                        1410220          FA_ExistDepr                                         1410220
    A                        1410220          FA_AddDepr_OPE                                  1410220                 
    A                        1410220          FA_AdditionsDepr                                   1410220
    A                        1410220          FA_ADepr_OPE                                      1410220
    A                        1410220          FA_ADepr                                               1410220
    A                        1410220          FA_DispDepr_OPE                                  1410220
    A                        1410220          FA_DisposalDepr                                     1410220
    A                        1410220          FA_TranInDepr_OPE                                1410220
    A                        1410220          FA_TransferInDepr                                    1410220
    A                        1410220          FA_TranOut_OPE                                     1410220
    A                        1410220          FA_TransferOutDepr                                  1410220
    Dest. flow          Dest. d/source   Rev sign Source Period  AppytoYTD  Remark  LEVEL
    FA_ExistDepr_CLO                                                                         Y
    FA_ExistDepr_CLO                                                                         Y
    FA_AddDepr_CLO                                                                           Y
    FA_AddDepr_CLO                                                                           Y
    FA_ADepr_CLO                                                                               Y
    FA_ADepr_CLO                                                                               Y
    FA_DispDepr_CLO                                                                           Y
    FA_DispDepr_CLO                                                                           Y
    FA_TranInDepr_CLO                                                                         Y
    FA_TranInDepr_CLO                                                                         Y
    FA_TranOutDepr_CLO                                                                      Y
    FA_TranOutDepr_CLO                                                                      Y
    Default.lgf Script logic:
    *INCLUDE SYSTEM_CONSTANTS.LGL
    *SYSLIB  SYSTEM_LIBRARY.LGL
    // Default base level logic - applies to all base members in all dimensions
    //Move Net Income to Balance Sheet
    //ROLLTOBS( CYNI, CALCNI, FINSTMT, PL, DEC )
    // Perform Currency translation
    *INCLUDE FXTrans
    Perform ACCOUNT TRANFORMATION
    *RUN_STORED_PROCEDURE = SPRUNCALCACCOUNT([CAPEX],[%CATEGORY_SET%],[LC],'%SCOPETABLE%','%LOGTABLE%', 'A')
    *COMMIT
    //-- ACCOUNT TRANFORMATION END--
    TO CALCULATE MONTH OPENING
    *SELECT(%AccountList%, "ID", "CapAccount", "[Group] = 'Test1'")
    *xdim_memberset CapAccount= %AccountList%
    *xdim_memberset CapAcctDetail = FA_ExistDepr_OPE,FA_ExistDepr_CLO,FA_AddDepr_OPE,FA_AddDepr_CLO,FA_ADepr_OPE,FA_ADepr_CLO,FA_DispDepr_OPE,FA_DispDepr_CLO,FA_TranInDepr_OPE,FA_TranInDepr_CLO,FA_TranOutDepr_OPE,FA_TranOutDepr_CLO
    *When CapAcctDetail
      *IS FA_ExistDepr_CLO
      *REC(CapAcctDetail=FA_ExistDepr_OPE,TIME=NEXT)
      *IS FA_AddDepr_CLO
      *REC(CapAcctDetail=FA_AddDepr_OPE,TIME=NEXT)
      *IS FA_ADepr_CLO
      *REC(CapAcctDetail=FA_ADepr_OPE,TIME=NEXT)
      *IS FA_DispDepr_CLO
      *REC(CapAcctDetail=FA_DispDepr_OPE,TIME=NEXT)
      *IS FA_TranInDepr_CLO
      *REC(CapAcctDetail=FA_TranInDepr_OPE,TIME=NEXT)
      *IS FA_TranOutDepr_CLO
      *REC(CapAcctDetail=FA_TranOutDepr_OPE,TIME=NEXT)
    *EndWhen
    *COMMIT
    Please advice. Thanks.
    Regards,
    Clarissa Chung

  • VENDOR/GL/CUSTOMER  ACCOUNT STATEMENT WITH OPENING BALANCE

    Can anybody  tell me the tcodes in SAP for Vendor/Gl/Customer Account Statement with opening balance.
    Best Regards,
    Sudhanshu Dang
    0124-3081015

    hii
    As per my knowledge no such reports  for GL are there in sap.. we also had a same requirement but could not find it... we wanted reports with opening and closing balalnces...
    u can go to SAP1 and check all the standard reports available. check wheather any report fulfills ur need or else go for abap reports...
    Check f.42 T code for Vendor Report. and s_alr_87012172..for customer.
    thanks
    sejal

Maybe you are looking for

  • Converting a word document to a pdf file

    I know how to convert a pages document to a pdf but not a word one

  • ESS MSS Configuration

    i am new to configure the ESS and MSS. When i am trying to make configuration i am not able to find the IMG PATH PERSONNEL MANAGEMENT->Employee Self Service. For getting this path what i will have to do.

  • BI publisher on Microsoft word dissapeared

    Hello Experts, I was working on BI publisher reports, i have BI publisher desktop installed on my system, until last night i was working on modifying the RTF files. All of a sudden the BI publisher in the menu of the word document disappeared and i c

  • Once the aggregated cube how to run the query

    hai , i had cube havind lot of data . so i was used aggregation . after that how to run  query from aggragated cube when ever i went to rrmx . but it has showing not aggregated cube. once aggregate the cube where is stored plz let me know

  • iframe tag + disable horizontal scroll-bar

    Hi.. I want to disable horizontal scroll-bar only.The code is:: <iframe> style="overflow-x:hidden;overflow-y:visible" </iframe> It's working in IE but not in mozilla firefox. Can anyone plz help. regards Sonia