HOW TO ROLLBACK BUDGET BALANCE

제품 : FIN_GL
작성날짜 : 2005-05-10
HOW TO ROLLBACK BUDGET BALANCE
==============================
PURPOSE
GL Budget Balance 의 Period 설정이 잘 못 되었거나 Budget Balance 가 잘 못 지정되었을 경우에 아래와 같은 step으로 Budget Balance 를 Roll back 한다.
Problem Description
고객이 Budget 화면에서 End Date 설정을 잘 못 하여 Period 가 잘못 지정되었는데 Budget Journal이 생성된 후에 End Date 설정을 강제로 변경 하고자 할 경우나 Budget Balance 자체에 문제가 있을 때 아래와 같은 Step 으로 Rollback 한다.
Solution Description
Step 1. 관련 데이타는 미리 Back up 받아 놓는다.
Step 2. Delete 할 Period를 결정한다.
Step 3. GL_BALANCES table에서 해당 period 의 budget balance 를 Delete 한다.
DELETE from GL_BALANCES
where set_of_books_id = <set of books id which has the corruption >
and actual_flag = 'B'
and budget_version_id = <Budget version id of the corrupt budget >
and period_year >= <Fiscal year which has the corruption >
Step 4. Journal Statuses 를 Update 한다.
UPDATE GL_JE_BATCHES set status = 'U', status_verified = 'N'
where default_period_name in <List of periods in the
corrupt fiscal year starting with the first period in that year
up to the latest open for that budget>
and actual_flag = 'B'
and set_of_books_id = <set of books id which has the corruption>
and je_batch_id in
(SELECT je_batch_id
from GL_JE_HEADERS
where budget_version_id = <Corrupt budget version id>
and actual_flag = 'B'
and set_of_books_id = <Corrupt Set of books Id>
and period_name in <List of corrupt periods starting
with the first period in the corrupt fiscal year
up to the latest open for that budget>
UPDATE GL_JE_HEADERS set status = 'U'
where period_name IN <List of periods in the corrupt fiscal year
starting with the first period in that year up to the latest
open for that budget>
and actual_flag = 'B'
and budget_version_id = <Corrupt budget version id>
and set_of_books_id = <Corrupt set of books id>;
update GL_JE_LINES set status = 'U'
where period_name IN <<List of periods in the corrupt fiscal year
starting with the first period in that year up to the latest
open for that budget>
and set_of_books_id = <Corrupt set of books id>
and je_header_id IN
(select je_header_id
from GL_JE_HEADERS
where period_name in <List of periods in the corrupt fiscal
starting with the first period in that year up to the latest
open for that budget>
and actual_flag = 'B'
and budget_version_id = <Corrupt budget version Id>
and set_of_books_id = <Corrupt Set of Books Id>
Step 5. Latest Open Budget Period 를 update 한다.
UPDATE GL_BUDGETS
set latest_opened_year = <Year prior to the corrupt fiscal year>,
last_valid_period_name = <last period for the year prior to the
corrupt fiscal year>
where budget_name = <Budget name of the corrupt budget>
and budget_type = 'standard'
and set_of_books_id = <Corrupt set of books id>;
DELETE from GL_BUDGET_PERIOD_RANGES
where budget_version_id = <Corrupt budget version id>
and period_year = <Corrupt budget fiscal year >;
Step 6. Budget Year 를 Reopen한다.
GL Responsibility 로 Applications에 접속하여 Budget Year를 Open
Step 7. Budget Journals 을 Repost 한다.
해당 Budget Journals 를 Repost 처리 한다.

If you want to load balances at the time of go live.
Create a clearing account like data take over A/c
MM will upload material balances using tcode MB1C and movement type 561
it will generate the following accounting entry
Finished goods stock a/c          Debit
Semi-Finished goods stock a/c Debit
Raw Material stock a/c             Debit
Packing Material stock a/c        Debit
Stores and spares a/c              Debit
Data take over                          Credit
Customer a/c (not recon G/l) Debit
Data takeover a/c                  Credit
Data takeover a/c                Debit
Vendor a/c (not recon GL) Credit
For Asset - tcode OASV
Plant and Machinery a/c          Dr
Accumulated depreciation a/c Credit
Data takeover a/c                    Credit
Cash balance through FBCJ
G/L Tcode F-02,
Data takeover a/c     Debit  (Balancing figure)
Bank a/c                    Debit
Advances                 Debit
Share capital a/c       Credit
Short term Loan a/c   Credit
Long term loan a/c     Credit

Similar Messages

  • HOW TO ROLLBACK ENCUMBRANCE BALANCE

    제품 : FIN_GL
    작성날짜 : 2003-11-24
    HOW TO ROLLBACK ENCUMBRANCE BALANCE
    ===================================
    PURPOSE
    balance table의 data 에 corrput 가 발생했을 경우 예산 가집행에 대한 rollback script를 제공한다.
    Explanation
    1. 관련 data를 모두 backup 받아 놓는다.
    2. data가 corrupt 된 기간을 확인한다.
    3. gl_balance table에서 corrupt 된 data를 delete한다.
    delete from GL_BALANCES
    where set_of_books_id = <set of books id which has the corruption >
    and actual_flag = 'E'
    and encumbrance_type_id = <Encumbrance type id of the corrupt balances>
    and period_year >= <Fiscal year which has the corruption >
    4. GL_SETS_OF_BOOKS table 을 update 한다.
    Update gl_sets_of_books
    set latest_encumbrance_year = <last correct encumbrance year>
    where set_of_books_id = <set of books id>
    5. Encumbrance Year 를 재오픈한다.
    Period 화면에서 해당 encumbrance year를 재오픈한다.
    6. Journal Status를 update 한다.
    update GL_JE_BATCHES set status = 'U', status_verified = 'N'
    where default_period_name in <List of periods in the
    corrupt fiscal year starting with the first period in that year
    up to the latest open for that encumberance type>
    and actual_flag = 'E'
    and set_of_books_id = <set of books id which has the corruption>
    and je_batch_id in
    (SELECT je_batch_id
    from GL_JE_HEADERS
    where encumbrance_type_id = <Corrupt encumbrance type id>
    and actual_flag = 'E'
    and set_of_books_id = <Corrupt Set of books Id>
    and period_name in <List of corrupt periods starting
    with the first period in the corrupt fiscal year
    up to the latest open for that encumbrance type>
    update GL_JE_HEADERS set status = 'U'
    where period_name IN <List of periods in the corrupt fiscal year
    starting with the first period in that year up to the latest
    open for that encumbrance>
    and actual_flag = 'E'
    and encumberance_type_id = <Corrupt encumbrance type id>
    and set_of_books_id = <Corrupt set of books id>
    update GL_JE_LINES
    set status = 'U'
    where period_name IN <<List of periods in the corrupt fiscal year
    starting with the first period in that year up to the latest
    open for that encumbrance>
    and set_of_books_id = <Corrupt set of books id>
    and je_header_id IN
    (select je_header_id
    from GL_JE_HEADERS
    where period_name in <List of periods in the corrupt fiscal
    starting with the first period in that year up to the latest
    open for that encumbrance>
    and actual_flag = 'E'
    and encumberance_type_id = <Corrupt Encumbrance Type Id>
    and set_of_books_id = <Corrupt Set of Books Id>
    7. encumbrance journal 들을 repost 한다.
    Example
    Reference Documents
    Note 99415.1

    If you want to load balances at the time of go live.
    Create a clearing account like data take over A/c
    MM will upload material balances using tcode MB1C and movement type 561
    it will generate the following accounting entry
    Finished goods stock a/c          Debit
    Semi-Finished goods stock a/c Debit
    Raw Material stock a/c             Debit
    Packing Material stock a/c        Debit
    Stores and spares a/c              Debit
    Data take over                          Credit
    Customer a/c (not recon G/l) Debit
    Data takeover a/c                  Credit
    Data takeover a/c                Debit
    Vendor a/c (not recon GL) Credit
    For Asset - tcode OASV
    Plant and Machinery a/c          Dr
    Accumulated depreciation a/c Credit
    Data takeover a/c                    Credit
    Cash balance through FBCJ
    G/L Tcode F-02,
    Data takeover a/c     Debit  (Balancing figure)
    Bank a/c                    Debit
    Advances                 Debit
    Share capital a/c       Credit
    Short term Loan a/c   Credit
    Long term loan a/c     Credit

  • JAEHYLEE (R11i GL) Budget Balance Rollback 방법

    Purpose
    Rolling back Budget Balances corruption시 하나의 예산명을 계속 사용하는 경우와
    해다마 다른 예산 명을 사용할때의 처리 방법
    Solution
    Steps to Rollback Budget Account Balances
    Step 1. Use a Test System to ensure accuracy.
    -Do this on a test system first!
    Step 2. Backup Your Database.
    -Backup your existing data/system before proceeding
    with any updates included in this bulletin.
    Step 3. Ensure you are using Budget Journals ONLY.
    -Make sure that the ONLY way you enter budget data is
    through Budget Journals.
    Step 4. Determine periods to delete.
    -Determine the periods which have corrupt data and the
    fiscal year which contains the earliest period would be
    the year that you want to rollback to
    Step 5. Purge Translated Budget Balances
    -Proceed with this step ONLY if you translate budget
    account balances.
    -Purge the translated budget balances for the earliest
    period in the corrupt fiscal year.
    Step 6. Delete From GL Balances.
    -To delete corrupt data from GL_BALANCES using the following SQL:
    DELETE from GL_BALANCES
    where set_of_books_id = <set of books id which has the corruption >
    and actual_flag = 'B'
    and budget_version_id = <Budget version id of the corrupt budget >
    and period_year >= <Fiscal year which has the corruption >
    Step 7. Reset Journal Statuses.
    -Reset journal statuses so that the budget journals can
    be reposted using the following SQL:
    UPDATE GL_JE_BATCHES set status = 'U', status_verified = 'N'
    where default_period_name in <List of periods in the
    corrupt fiscal year starting with the first period in that year
    up to the latest open for that budget>
    and actual_flag = 'B'
    and set_of_books_id = <set of books id which has the corruption>
    and je_batch_id in
    (SELECT je_batch_id
    from GL_JE_HEADERS
    where budget_version_id = <Corrupt budget version id>
    and actual_flag = 'B'
    and set_of_books_id = <Corrupt Set of books Id>
    and period_name in <List of corrupt periods starting
    with the first period in the corrupt fiscal year
    up to the latest open for that budget>
    UPDATE GL_JE_HEADERS set status = 'U'
    where period_name IN <List of periods in the corrupt fiscal year
    starting with the first period in that year up to the latest
    open for that budget>
    and actual_flag = 'B'
    and budget_version_id = <Corrupt budget version id>
    and set_of_books_id = <Corrupt set of books id>
    update GL_JE_LINES set status = 'U'
    where period_name IN <<List of periods in the corrupt fiscal year
    starting with the first period in that year up to the latest
    open for that budget>
    and set_of_books_id = <Corrupt set of books id>
    and je_header_id IN
    (select je_header_id
    from GL_JE_HEADERS
    where period_name in <List of periods in the corrupt fiscal
    starting with the first period in that year up to the latest
    open for that budget>
    and actual_flag = 'B'
    and budget_version_id = <Corrupt budget version Id>
    and set_of_books_id = <Corrupt Set of Books Id>
    Step 8.
    a. 하나의 예산 Period를 계속 사용할 경우 Reset Latest Open Budget Period
    -Reset the latest open period for the budget:
    UPDATE GL_BUDGETS
    set latest_opened_year = <Year prior to the corrupt fiscal year>,
    last_valid_period_name = <last period for the year prior to the
    corrupt fiscal year>
    where budget_name = <Budget name of the corrupt budget>
    and budget_type = 'standard'
    and set_of_books_id = <Corrupt set of books id>
    DELETE from GL_BUDGET_PERIOD_RANGES
    where budget_version_id = <Corrupt budget version id>
    and period_year = <Corrupt budget fiscal year >
    (기존 note에 step b추가)
    b.해마다 새로운 예산 period를 만들어서 사용할 경우
    아래 key column을 참고 하여 기존의 예산을 삭제하여야만 , 같은 이름으로
    예산을 다시 등록 할수 있다
    1. GL_BUDGETS -- budget_name
    2. GL_BUDGET_ENTITIES -- BUDGET_VERSION_ID
    3. GL_BUDGET_VERSIONS -- BUDGET_VERSION_ID
    4. GL_BUDGET_PERIOD_RANGES -- BUDGET_VERSION_ID
    5. GL_ENTITY_BUDGETS -- BUDGET_ENTITY_ID , BUDGET_VERSION_ID
    Step 9. Reopen Budget Year
    -Reopen the budget year for the fiscal year which was corrupted
    Step 10. Repost Budget Journals
    -Repost the budget journals for the year.
    Reference
    98637.1

    Check this..
    BI Apps load - DAC variables not substituted.....
    Its very common error message.
    Ensure that you restart the informatica services and DAC services once you follow above resolution.
    please mark correct if it resolves your issue.
    Regards,
    Veeresh Rayan

  • Budget balance carry forward to new year fiscal year

    Hi,
    Currently, our setting for Funds Management Master
    Data is year-dependant. Now, our user request for a budget carry
    forward from one year to another year. So, we are trying to the fix the
    configuration.
    My question is, can we do the budget balance carry forward if the master data is year-dependant. If can, how to do that?
    For your information, our system is SAP R3 version 4.7C and using the BCS.
    Appreciate your advise on this matter.
    Thanks and regards

    Hi,
    copy cost center planning:
    kp97  - copy plan to plan
    kp98  - copy  actual to plan
    Internal order copying
    ko14 - copy plan to plan
    ko15- copy actual to plan
    all the best
    prasad

  • Can any 1 tell me how to create budget journal and how to enter journal ?

    hi all+
    Can any one tell me how to create budget journal and how to enter journal against that budget ?+
    Regards+
    Yasir+

    http://download.oracle.com/docs/cd/A60725_05/html/comnls/us/gl/budjrnl.htm#index-Budget-journals-Entering--0
    Enter budget journals to maintain an audit trail for your budget balances. You can use budget rules to calculate budget journal amounts automatically.
    When you post budget journals, the journal amounts update existing budget balances. You can review and change your budget journals before posting them.
    Attention: When you use budget rules in Journal Mode, General Ledger calculates the appropriate debit or credit needed to achieve the balance you enter for the account type.
    Prerequisites
    1. Define a budget
    2.Open one or more years for your budget
    3.Define a budget organization
    4. Assign the "Entered" budget entry type to the accounts for which you want to enter budget journals
    To enter budget journals for a single account:
    1. Navigate to the Enter Budget Journals window.
    2. Specify the Budget Organization for the account to which you want to budget. If the budget organization is password-protected, you must enter the password before you can enter budget journals.
    3. Enter the Budget you want to update. You cannot use a budget that is frozen.
    4. Enter the range of Accounting Periods to which you want to budget.
    5. Enter the Currency of the budget amounts you are entering. The accounts must be assigned to the budget organization for this currency.
    6. Choose Journal Mode from the region poplist to enter budget amounts in a journal format.
    You can also use Single Row Mode or Worksheet Mode to enter budget journal amounts. However, you can only generate budget journals from these entry modes when you use the Enter Budget Journals window.
    Additional Information: When you use Journal Mode, Balance Type is a display-only field. It displays Budget when you are entering budget journals. In the Enter Journals window, this field displays Actual when you are entering actual journals.
    7. Enter or query the Account to which you want to budget. You can also switch to Worksheet Mode to easily query accounts, then return to Journal Mode to enter budget journals.
    8. Enter a Debit or Credit amount for each period. Do not enter journal amounts if you want to use budget rules to calculate and distribute budget amounts.
    9. Choose Create Journals to create a budget journal batch. If you are using budgetary control, you specify a funds action when you create the batch.

  • How to use budget amount from previous years

    Dear Values Consultant
    How to use budget amount from previous years
    I create budget for 2007 and I use it .in 2008 I create new budget with new amount for account, but still there are amount from 2007-I want to use or transfer it to 2008,
    How to do this? Please give me details step to implement to this feature
    Thanks for caring

    Hi,
    There are two ways to do it:
    1. Define the account range in your Budget Organization and in the Budgetary Control region, out the Amount Type as "PJTD" and Boundary as "Project". This method is useful when you have project as a segment in your chart of accounts and the Budgets are defined for the full project.
    2. The Other way is to carry forward your funds available from last year. Go to Journals -> Generate -> Carry Forward and carry forward the balance for a certain range of account from one financial year to the next one.
    Gajendra

  • Urgent: GL budget balances, AR payments.

    All,
    Current conversion requiment I have is:
    ==> Would like to know how I can migrate budgets(balances) from old set of books to new set of books using gl_interface or gl_budget_interface.
    ==>Need a query for AR to get 'any payments that cannot be applied to invoices'. Requirement is any un-applied payments needs to be converted credit memo in new set of books.
    Thanks in Advance.
    Harish.

    For unapplied receipts , you can use the report "Unapplied Receipt Register" in Reports--> Collection.
    Regards

  • How Project-To-Date Balance Created

    Hello Everyone:
    Does anyone understand how Project-To-Date Balances get created in the GL_BALANCES table when you create Budget Journals.

    Thanks for the response. That's what I want to do, but I get the following error when I try (I used a level called "total") :
    Any ideas would be appreciated. thanks
    Incorrect hierarchy detected : The time hierarchy on this sheet is invalid.
      Each level must have only one level type associated with it.
    Detail information:
       The Level(2) has 2 level type(MONTH,QUARTER).
       The Level(3) has 2 level type(QUARTER,YEAR).
       The Level(4) has 2 level type(TOTAL,YEAR).
    Shawn

  • How to maintain budget in 2006 when user in 2008 & vice versa?  frame 1 y

    Problem:
    User could not save changes in  original budget in 2006 & in 2008 also.
    Description
    When user tried to change original budget (FR04) in 2006 year,
    then getting a Message on screen
    “ Payment for yearly  budget 2008 samller than distrubuted budget”
    with fund center – commitment item list &
    “ Payment for the annual budget 2006 are less than annual release “
    with fund center – commitment item list.
    User add & release fund in specific fund center-commitment item which was showing in error list.
    After the ‘check’-
    then getting error ‘’ Payment for yearly  budget 2008 samller than distrubuted budget”
    with fund center – commitment item list
    Time frame only shown 2006.
    Here how to maintain budget in 2008 when user in 2006?
    In Next step
    When user tried to change original budget (FR04) in 2008 year,
    then getting a Message on screen
    “ Payment for yearly  budget 2008 samller than distrubuted budget “
    with fund center – commitment item list &
    “Payment for the annual budget 2006 are less than annual release”
    with fund center – commitment item list.
    User add & release fund in specific fund center-commitment item which as  showing in error list.
    After the ‘check’-
    then getting error
    ‘’ Payment for the annual budget 2006 are less than annual release”
    with fund center – commitment item list
    Time frame only shown 2007 2008 2009.
    here how to maintain budget in 2006 when user in 2008?
    Means user can only change budget in 2007 to 2009” when more years coming in timeframe.
    Current year :2008
    Closed year: 2006 
    In Fund Management, need change original budget payments in 2006 which is already closed.
    Purpose:
    Maintain the positive budget in fund center -Commitment item in 2006 & in 2008 which is shwoing in error.
    Can we see past-current timeframe at the same time ?

    1. copy the frames of your looping animation.
    2. create a new movieclip and paste those copied frames onto
    this movieclip's timeline
    3. from your library drag a copy of the above movieclip to
    frame 1 of your main timeline and attach a stop() to that frame.
    4. place your login textfield and ok button on frame 1 of
    your main timeline.
    5. when ok is pressed (and login) passes some condition
    direct your main timeline to frame 20.

  • How to Upload Closing balances of ECS and SHECS

    Hi Experts ,
    Please let me know how to upload closing balances of Education cess and Higher Secondary Education cess of Excise duties
    Thanks in advance
    GMR

    hi
    Through Table J2_IACCBAL (OPENING/CLOSING ACC.BALANCE TABLE)

  • How to Calculate Opening balance

    Hi BW Gurus,
    How to calculate Opening balance for previous period using variables in Reports using debit and credit.
    Example:
    Opening balance is the balance for an account for the previous period. In other words, if the user is running a report for Period 1, 2006, the opening balance is actually the ending balance from Period 12, 2005 (December 31st, 2005).
    Thanks in advance
    DJ

    Hi Friend,
    If Your Prob is solve then tell me how to find perticular month balance amount.
    i m create cash book report for perticuler GL Account , i use BKPF + BSEG for this
    i found all entries,
    But at last i want to Opening Balance for perticuler date.
    like     01/05/2007 opening balance = 10000 as per tcode FS10N
    and in 26/05/2007 ??????
    how to find exact date opening balance is there any function for same
    or any procedure..
    Thanks
    From
    Gaurav

  • How to get loan balance

    Dear Friends,
    How to get loan balance in HR module.
    any help higly appricated.
    Regards,
    Malik

    Hi,
    Use the Function Module "PYXX_READ_PAYROLL_RESULT".
    Check Tables PA0045 & PA0078 (If loan amount is more than Salary).
    Cheers,
    Sunil B.

  • How to update RG23D balance.

    Dear all,
    how to update RG23D balance for a depot. Its a new depot.
    i am getting error "no balance in RG23D"

    Dear Jeevan,
    please mention the Complete Scenario for a solution.
    Thanks & Regards,
    SAP FC

  • HOW TO CALCULATE OPENNING BALANCE

    HI Experts..
    How to calculate Opening balance for previous period using variables in Reports using debit and credit.
    Example:
    Opening balance is the balance for an account for the previous period. In other words, if the user is running a report for Period 1, 2006, the opening balance is actually the ending balance from Period 12, 2005 (December 31st, 2005).
    I am Using 0FIAR_O03 ODS ..
    Very Urgent Issue..
    If Possible Stp by Step..
    Cheers
    Purushottam
    09891683828
    [email protected]

    Hi Saloni,
    to get the debit and credit you would be using a variable 0I_FPER(Fiscal year / period), which is a user entry interval variable.
    now to get the opening balance you will have to create a customer exit valiable and the low value of 0I_FPER will have to popuplated by writied the code for the customer exit valiable. you will have to restrict the key figure DEB_CRE_LC for this customer exit variable with the operand as less than(< Fiscal Year /Period from 0I_FPER)).
    If the above was useful please assign reward points.
    Regards
    Venkata Devaraj

  • How to load beginning balance

    Hi :
    How to load beginning balance to repective g/l account in SAP?

    If you want to load balances at the time of go live.
    Create a clearing account like data take over A/c
    MM will upload material balances using tcode MB1C and movement type 561
    it will generate the following accounting entry
    Finished goods stock a/c          Debit
    Semi-Finished goods stock a/c Debit
    Raw Material stock a/c             Debit
    Packing Material stock a/c        Debit
    Stores and spares a/c              Debit
    Data take over                          Credit
    Customer a/c (not recon G/l) Debit
    Data takeover a/c                  Credit
    Data takeover a/c                Debit
    Vendor a/c (not recon GL) Credit
    For Asset - tcode OASV
    Plant and Machinery a/c          Dr
    Accumulated depreciation a/c Credit
    Data takeover a/c                    Credit
    Cash balance through FBCJ
    G/L Tcode F-02,
    Data takeover a/c     Debit  (Balancing figure)
    Bank a/c                    Debit
    Advances                 Debit
    Share capital a/c       Credit
    Short term Loan a/c   Credit
    Long term loan a/c     Credit

Maybe you are looking for

  • ITunes library 11.0 (Windows 7) bug

    I updated my iTunes libray and I puchased a new song using version 11.0 iTunes library and in my songs Get Info my Apple ID and the Label Records was not in there.

  • Can I ? - XSQL dynamic database connection

    [raised this a couple of days ago on the 9iJDeveloper forum - but that's vanished] How do you write XSQL without knowledge of username and passwords. The physical user will be supplying their DbUser and DbPassword in a web login page and these are to

  • I just converted wav to mp3, but now I can't locate the files.

    I just converted wav to mp3, but now I can't locate the files.

  • Macbook keeps turning off and won't turn back on easily

    My Mac keeps turning itself off randomly. This has been happening for a while now but it is far more frequent- perhaps once a day. It turns off during use and when I attempt to turn it back on it for some reason it makes a strange noise and wont turn

  • Actions won't play back transformations properly

    The transformations 'skew', 'distort', and 'perspective' wont' play back properly in PS CC2014. You can record an action, but it will play back differently. Not just a few pixels different, but a lot. I also tested a number of existing actions that I