Derived Opening Balances

Hi All,
Could anyone please advise if it is possible to get the opening balance from a derived value which is not a real data stored?
I have few accounts which have derived balances from prior periods in the last month (M12) of a year in the Entity Currency Adjustment member. We have a rule which copies the value from the last month (M12) of a year and puts it into the first month (M01) of the next year. The Entity Currency member does not have any value in M12 and it is empty. Similarly the ECA is also empty but has a derived value.
When we copy the data using HS.SetDataWithPOV function, nothing happens. No rules error. Rule runs but the derived value is not copied.
So is it possible to copy derived values using HS.SetDataWithPOV function? Or should we use HS.EXP?
The version is 11.1.2.1.
The doubt I have is, when I try to build a new function using function builder in HFM Rules Eidtor, I dont see the function HS.SetDataWithPOV. But the admin guide says the function is supported. However it des not work.
Please let me know if you need more details.
Thank you,
Siva Bhojan

Hi JTF,
I started writing the WRITETOFILE function when I received your response. I will keep you posted on the results.
However, the reason why I suspect the function is because, normally when we open the rules file in rules editor, the HFM functions such as HS.OpendataUnit, HS.GetCellNodata, HS.EXP and etc., will be in a blue colour which says that it is an in-built function.
But HS.SetDataWithPOV does not look like that. It is in black colour instead. I know this might be silly. But I am just curious to know why there is a difference when other functions look normal.
I could not upload a screenshot here. I can email if you wanna have a look.
I will come back with the test result on my WRITETOFILE function. Thank you so much for your help.
Thanks to Jeofpick49.
Actually we use this fucntion only for certain accounts and our other normal accounts are written with HS.EXP function and they work just perfectly. The application has been live for a while and only now, we are enabling this rule for those specific accounts with HS.SetDataWithPOV function. So basically we are ok with the rules that is written for the normal accounts to copy the Openning Balance but  not for the ones that I mentioned above.

Similar Messages

  • Opening balance and closing balances for discounts?

    Hi all,
    I have a typical sceanario where in
    opening balance for discounts 10,000 (balance of last month)
    actual discounts  from the sales order 5,000
    manual upload is   from flat file            2,000
    closing balance is 7,000 (which is opening balance + manual upload - actual discounts)
    opening and closing balance needs to be calculated, how to calculate nor handle this on every month?
    level of granularity of the data is
    sku, month, rebate category and rebate amount?
    Thanks

    Hi Pooja,
    can you please let us know few things about your report requirements
    What is the extractor you are using?
    What are the KFs ?
    what are the selection parameters that you want to enter at the reporting level?
    is it the report related to FI AR. do you want to display the values based on the customer -->profitcenter?
    Bcoz we had a same requirement where our requirement was global recievables aging report in which the report need to display opening bal, sales,adjustment,colelction and closing balance and the aging values.
    here what we did is changed the modeling of the DSO and infocube.
    we had used non-cumulative KF in order to calculate closing balance and from that derived opening balance and again create a new formula to get the closing balance.
    if you can be specific with your requirement hope can help you with your report.

  • Opening Balances and Closing Balance of customer

    Hi,
    Does SAP provide any standard customer account statement for Opening Balances and Closing Balance for specific date range have given in selection screen?
    The statement also contains reference number, order, and Delivery number.
    Note: FBL5N Transaction code will not sufficient for the requirement, so looking for any other transaction code / report provided by SAP already for it.
    Thanks in advance,
    Shwetha

    Hi,
    There are several standard reports which could be easily accessed through the menu (Accounts Receivable - Information systems). If none of these reports does not suit your requirement, you have to develop your own.
    Regards,
    Eli

  • Table for Customer and vendor open balance on a key date

    Dear All,
    Can anyone please let me know Table for Customer and vendor open balance on a key date. We are developing one customized report.
    I have checked with the below table :
    Customer-KNC1, KNC3,BSID, BSAD
    Vendor-LFC1, LFC3, BSIK, BSAK.
    But these are not working properly for all customers and vedors. Also, in open items, there are items with clearing documents.
    Plesae let me know, how to go for it.
    Please suggest.

    Hi
    Use BSID and BSIK for open items
    And pass company code, year and from date and to date range in Posting date selection option
    Reg
    Vishnu

  • Fixed Asset Opening Balance

    Hi,
    Any idea to do (by import and manual create) the opening balance for fixed asset Mmaster data? Tried to search SAP notes or guide, only can find related topic on Import FA Master Data and not manual create of FA Master Data, and how to import the FA Master Data with belong to same Asset Type (same life-span) but due to purchase at different timing, now having different remaining life span).
    Thank you.

    Hello,
    I am sorry for unclear answer. I did not mean that you have to develop addon.
    after checking our client database, I see that one asset class will have same useful life and depreciation type which it means that different asset class can only the way to have different useful life (UL), and of course it will be different in depreciation type (DT).
    For example : machine A : UL : 96, DT : SL12.5
                         land        B ; UL 250  DT : SL25.
    Hope you also could discuss with SAP support about this.
    Rgds,

  • Fixed Asset - Manually enter opening balance

    Hi,
    It's possible to manually enter fixed asset opening balance? anyone wanna share ways of manually enter? l only tried on import way.
    Thanks in advance!
    Phoebe

    Hi,
    There is no feature that can be used to upload FA opening balance amount in the fixed asset addon.
    If you refer to fixed asset master data import, you can use template fixed asset master data to import the master data.
    JimM

  • Customer line items with balance carry forward no opening balance

    Hello FI Experts,
    We have ticket where the user is using a Z* Report for Customer line items with balance carry forward. In 31.01.2007 user has posted some legacy data, latter he was executing this Z* report then user can see the values posted on the same day (31.01.2007) as line items. But he was executing the report on 01.02.2007 then he was not able to see the line item as well as the values posted on 31.01.2007 as opening balance as on 01.02.2007. But if we run the report as on 01.01.2008 then we are able to see the values which are carry forwarded as opening balances. Did anyone have worked on this type of scenario?
    Requirement Here Is:  The values that have been posted on 31.03.2007 which are still open line items should get displayed as opening balance as on 01.02.2007.
    Thanks for helping on this issue.

    Hi,
      Any report will get data from Tables. Please check whether the table you have used to develop this report has opening balance.
    Balance will be carry forwarded only when you run the balance carry forward program. Check whether this was run for the date you have specified. This can be done in the year end.
    If you are checking in the middle of the year, then the balance will not be carry forwarded.
    Regards,
    B. Radhika.

  • Debit,credit ,opening balance,closing balance..doubt.

    Dear friends,
                   I am working in FI report (vendor balance for date ranges) .Its a ALV report. I want to fetch the datas for debit ,
    credit,opening balance,closing balance,for the paticular vendor or all vendors for date ranges.the table for this iam using is BSIK AND LFC1.
    all the datas stored in the table is for month wise,but my programe (my user needs even for day wise) how to calculate this,
    or is there any function modules avaliable  or can u konw any other table storing day wise balances...this report is urgent ..
    any one pls suggest me .advance thanks..
    regards
    veera

    if user wants day wise then make use of BSAK+BSIK, here u will get all line items daywise , i mean to say Posting daywise.
    BUDAT        31.03.2003---->posting date
    BLDAT        31.03.2003
    CPUDT        31.03.2003
    WAERS        INR
    XBLNR        T&E-29-30.3-PNPT
    BLART        PA
    MONAT        3
    BSCHL        31
    ZUMSK
    SHKZG        H------------>D/C
    GSBER--------------------->Business Area
    MWSKZ-------------------->tax Code.
    DMBTR        1,507.00
    WRBTR        1,507.00
    regards
    Prabhu

  • Posting Open Balance to a All Currencies G/L Account

    Hi All,
    I have a situation for which some assistance is required.
    I am trying to post opening balance to the G/L bank account which is defined as ALL Currency.
    On the G/L the system show that Account as Currency = All Currencies and adjacent to the Balance it shows that currency ID  as GBP.
    This account is a $ Account and I want to post the Open Balance in $. However, when I try to create the Open Balance the FC columns are disabled.
    What am I missing?
    Best regards
    Earl

    Hi Earl,
    There is nothing wrong.  If it is a MC account, all JE would be based on LC.  Hence only LC would be allowed for Opening Balance. If it is not LC, convert it to LC for posting.
    Thanks,
    Gordon

  • How to create a first row in crystal report as opening balance which contains two columns with debit and credit

    I have created a crystal report with credit and debit column. Balance column created on the report. Report running with cummulative balance. THis report contain an option for date range. If i filtered this report its not showing the actual balance. I need
    a first row to indicate previous balance as opening balance in this report.  And following is the formula for balance column.
    Whileprintingrecords;
    Shared Numbervar balance;
    Shared Numbervar display;
    balance:={@debit}-{@credit};
    display:=display+balance;
    display

    As this question is out of the T-SQL queue, thus I would suggest you consult Crystal Report questions to the correct forums.
    C#
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=csharpgeneral
    VB
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral
    people there have more knowledge on Crystal Report.

  • Opening Balance

    Hi,
    How do i get opening balance and closing balances in reports?
    where i have the time chars 0fiscper3 and 0fiscyear and the values for the 0fiscper3 are 1 to 16.
    Thanks,
    Venu.

    Hi venu,
    this is sudharsan, working on abap, here i have seen that u have worked on that, printing Opening and closing balance for GL a/c,
    i got the same requirment, so could u plz help me that if u have a solution. it is very urgent for me..
    my id is: [email protected]
    regards,
    sudharsan.

  • To caluclate the opening balances

    I want to calulate the opening balances and closing balances for each month in the result like this :
    Month uom Opening Closing
    Apr
    May
    Jun
    Jul
    Aug
    sep
    Oct
    Nov
    Dec
    Jan
    Feb
    Mar
    SELECT UOM,
    SUM(OPSTK) OPSTK, SUM(OPVAL) OPVAL
    SUM(INQTY) INQTY, SUM(INVAL) INVAL,
    SUM(OUTQTY) OUTQTY, SUM(OUTVAL) OUTVAL,
    SUM(CLSTK) CLSTK, SUM(CL_VAL) CL_VAL
    FROM
    SELECT
    UOM, ITEM_CODE, ITEM_NAME,
    ROUND(OPSTK/CNV/ML,2) OPSTK, ROUND(OPVAL,3)OPVAL,
    ROUND(INQTY/CNV/ML,2) INQTY, ROUND(INVAL,3) INVAL,
    ROUND(OUTQTY/CNV/ML,2) OUTQTY, ROUND(OUTVAL,3)OUTVAL,
    ROUND((NVL(OPSTK,0)+NVL(INQTY,0)-NVL(OUTQTY,0))/CNV/ML,2) CLSTK,
    ROUND((NVL(OPVAL,0)+NVL(INVAL,0)-NVL(OUTVAL,0)),3) CL_VAL
    FROM
    SELECT
    ITEM_UOM_CODE UOM, ITEM_CODE, ITEM_NAME,
    IU_CONV_FACTOR CNV,
    IU_MAX_LOOSE_1 ML
    FROM OM_ITEM,OM_ITEM_UOM
    WHERE ITEM_CODE = IU_ITEM_CODE AND IU_UOM_CODE = ITEM_UOM_CODE
    SELECT
    SL_ITEM_CODE OP_ICODE,
    SUM(DECODE(SL_RCVD_ISSD,'R',1,'I',-1)*SL_QTY_BU) OPSTK,
    ROUND(SUM(DECODE(SL_RCVD_ISSD,'R',1,'I',-1)*SL_VAL_1),2) OPVAL
    FROM OS_STK_LEDGER
    WHERE SL_DT < TO_DATE(:P249_DATE1,'DD-MM-YYYY')
    GROUP BY SL_ITEM_CODE
    SELECT
    SL_ITEM_CODE TX_ICODE,
    SUM(DECODE(SL_RCVD_ISSD,'R',1)*SL_QTY_BU)INQTY,
    SUM(DECODE(SL_RCVD_ISSD,'R',1)*SL_VAL_1) INVAL,
    SUM(DECODE(SL_RCVD_ISSD,'I',1)*SL_QTY_BU)OUTQTY,
    SUM(DECODE(SL_RCVD_ISSD,'I',1)*SL_VAL_1) OUTVAL
    FROM OS_STK_LEDGER
    WHERE SL_DT BETWEEN TO_DATE(:P249_DATE1,'DD-MM-YYYY') AND TO_DATE(:P249_DATE2,'DD-MM-YYYY')
    GROUP BY SL_ITEM_CODE
    WHERE ITEM_CODE = OP_ICODE(+)
    AND ITEM_CODE = TX_ICODE(+)
    AND ITEM_CODE LIKE 'R%'
    --AND   ITEM_CODE LIKE :P249_ITEMCODE
    ORDER BY ITEM_CODE
    GROUP BY UOM
    The below given query gives me the opening and closing balances, for the date range entered by me.
    For ex. if I enter the date in TO_DATE(:P249_DATE1,'DD-MM-YYYY') field as '01-04-2008', then i get the opening balance for the month April. The SL_DT is the date column in the table.
    Kindly guide me for this to solve..

    There seems to be a problem with your query formatting. I've formatted it and the ORDER BY clause is not needed in the In line view. Remove it. I have added new GROUP BY column.
    SELECT UOM,
           SUM(OPSTK) OPSTK, SUM(OPVAL) OPVAL
           SUM(INQTY) INQTY, SUM(INVAL) INVAL,
           SUM(OUTQTY) OUTQTY, SUM(OUTVAL) OUTVAL,
           SUM(CLSTK) CLSTK, SUM(CL_VAL) CL_VAL
    FROM ( SELECT UOM, ITEM_CODE, ITEM_NAME,
                  ROUND(OPSTK/CNV/ML,2) OPSTK, ROUND(OPVAL,3)OPVAL,
                  ROUND(INQTY/CNV/ML,2) INQTY, ROUND(INVAL,3) INVAL,
                  ROUND(OUTQTY/CNV/ML,2) OUTQTY, ROUND(OUTVAL,3)OUTVAL,
                  ROUND((NVL(OPSTK,0)+NVL(INQTY,0)-NVL(OUTQTY,0))/CNV/ML,2) CLSTK,
                  ROUND((NVL(OPVAL,0)+NVL(INVAL,0)-NVL(OUTVAL,0)),3) CL_VAL
           FROM ( SELECT ITEM_UOM_CODE UOM, ITEM_CODE, ITEM_NAME,
                         IU_CONV_FACTOR CNV,
                         IU_MAX_LOOSE_1 ML
                  FROM OM_ITEM,OM_ITEM_UOM
                  WHERE ITEM_CODE = IU_ITEM_CODE AND IU_UOM_CODE = ITEM_UOM_CODE
                 ( SELECT SL_ITEM_CODE OP_ICODE,
                          SUM(DECODE(SL_RCVD_ISSD,'R',1,'I',-1)*SL_QTY_BU) OPSTK,
                          ROUND(SUM(DECODE(SL_RCVD_ISSD,'R',1,'I',-1)*SL_VAL_1),2) OPVAL
                   FROM OS_STK_LEDGER
                   WHERE SL_DT < TO_DATE(:P249_DATE1,'DD-MM-YYYY')
                   GROUP BY SL_ITEM_CODE
                 ( SELECT SL_ITEM_CODE TX_ICODE,
                          SUM(DECODE(SL_RCVD_ISSD,'R',1)*SL_QTY_BU)INQTY,
                          SUM(DECODE(SL_RCVD_ISSD,'R',1)*SL_VAL_1) INVAL,
                          SUM(DECODE(SL_RCVD_ISSD,'I',1)*SL_QTY_BU)OUTQTY,
                          SUM(DECODE(SL_RCVD_ISSD,'I',1)*SL_VAL_1) OUTVAL,
                          trunc(SL_DT, 'MM')
                   FROM OS_STK_LEDGER
                   WHERE SL_DT BETWEEN TO_DATE(:P249_DATE1,'DD-MM-YYYY') AND TO_DATE(:P249_DATE2,'DD-MM-YYYY')
                   GROUP BY SL_ITEM_CODE, trunc(SL_DT, 'MM')
           WHERE ITEM_CODE = OP_ICODE(+)
           AND ITEM_CODE = TX_ICODE(+)
           AND ITEM_CODE LIKE 'R%'
           --AND ITEM_CODE LIKE :P249_ITEMCODE
    GROUP BY UOM;Cheers
    Sarma.

  • Opening Balance and closing balance

    Dear All,
                 Can i create a calculated field for ledger opening balance and closing balance. we are using  epicor. I dont know the exact table which captures opening balance and closing balance, where as i got credit balances and debit balances for the segments, i could not find opening and closing balances in this table. table name is GLjrntdtl . Any ideas on this subject please.
    Thanks & Regards,
    Akram

    hi Akram,
    this is a question that you may wish to ask at the epicor forums
    -jamie

  • Opening balances in RG1

    Hi All,
    As per the new excise requirement we have to show the opening and closing balances of all the materials in RG1 register.
    Please help me how to get this?
    What is Extraction Indicator in J2irg1bal table?
    Please help
    Thanks
    Prasad

    Hi Satyendra ,
    For initial  upload in RG1 there are 2 tables you need to manually update. J_2IRG1BAL  from CIN or SD side. And Accounts to be updated for Balance in J_2IACCBAL.
    There are 2 ways for updating balance tables
    On last day of month enter Balance in Closing balance field.
    OR enter opening balance on 1 st day of month.
    Also check Material form P ,can be maintained in user exit for permanent effect.
    After  updating balances ,
    perform any one transaction on system.
    and then  Extract  the Rg1 table .
    Ask FI consultant to put in  FI JV after balance upload in ACCBAL table.
    If you have not done table entries before performing transaction and extraction of RG1  then balances will not appear .
    Check with your senior there and use table edit in such case (I hope you are not on production server  at the moment) .Then again perform Extraction and check once.
    SD FI and ABAP to be present and take decision accordingly.

  • GL balances differences between Year end closing and opening balances

    Hi friends,
    One GL account balances showing differences between year end closing & year opening balances.
    Example: 2006 closing balance is  250000 $
                   2007 opening balance is 150000 $
    difference is 100000 $ . why should coming like this. already completed balances carryforward (F.16) in 2006 & 2007 year. 
    any programe for this solution ?
    One more point is  just 2 days back i posted 2 entries for 2006 year equal to 100000 $ . after this entries shall we need go for F.16 (carry forwarded balances).
    please do the needful. It is very urgant issue.
    Raj

    HI,
    There shouldn't be any more postings to a GL Account once Balance carry forward has been executed.
    If postings have been made then you should execute the Balance carry forward again, otherwise you will see difference in opening and closing GL balance (as mentioned by you).
    Regards

Maybe you are looking for

  • BW error with Excel 2007

    Hi Expert, I found some critical issues that in Excel 2007 1, can not read 20000 records at one time, it will pop upan issue window with the error message "Client out of memory" , but it works well in Excel 2003. 2, When I tried to open the other rep

  • Issue in Data & Hierarchy sync.

    Hi, I am new to Essbase database creation. I am currently working on ver 6.5.7. My data file is such that it conatins data columns for all months and every month the data for current month gets reflected in that column. For eg. if i am in March my da

  • Problem with TOC levels (Bug?)

    Hi! Im using Layout -> Table of contents to generate the TOC for my magazine. My pages basically have two paragraph styles that will be used in the TOC window. They are Section and Tittle, and are defined as paragraph style and well syncronized with

  • What type of iPhone do i have to buy, if i travel a lot?

    i want to buy iPhone 5s (in U.S), but i'm afraid that i buy the wrong one, and couldn't use it in other countries. is it the unlocked phone that i should buy? (sim free)? so that i could use it(change the sim card when i arrive in other countries)??

  • MS Sql to oracle conversion

    I am woking on small project, on which i am to convert data from SQL Server to Oracle. I am using Oracle Data Integrator. Can any body tell me the steps for it to do ? what i have done uptil now is that i have created master and work repsitories, now