Financial Statement Version Extract

Hi,
I have to down load the Financial Statement Version.
We can see it using T-Code 'FSE3'.
Requirement is to download the structure in CSV file.
File layout is:
PARENT,CHILD,DESCRIPTION OF CHILD
Is there any BAPI or Function module available that gives the structure or any other way to get it.
Will appreciate response.
Thanks
Rohit

See report bellow, execute and see content of internal table <b>node_tab</b> before "WRITE 'Hello'.":
REPORT ztemp_estructura_balance MESSAGE-ID fe.
TYPE-POOLS:
  fibs.
TABLES: t011, rfgbst.
TYPES:
  t_flag TYPE c,
  t_bs_node_id TYPE fibs_bs_node_id,
  t_bs_node_tab TYPE t_bs_node_id OCCURS 50,
  t_bs_type TYPE i.
TYPES:
  BEGIN OF t_bs_info,
*   info about BS given out to clients
    ktopl LIKE t011-ktopl,
    xauto LIKE t011-xauto,
    type TYPE t_bs_type,
  END OF t_bs_info.
CONSTANTS:
  true TYPE t_flag VALUE 'X',
  false TYPE t_flag VALUE ' '.
DATA: versn LIKE t011-versn VALUE 'CTIY'.
DATA: node_tab LIKE snodetext OCCURS 0 WITH HEADER LINE.
DATA: bs_info TYPE t_bs_info.
SELECT SINGLE * FROM t011
       WHERE versn = versn.
*   Load the structure from DB
PERFORM load_versn
        USING versn.
*   Create the node table for the function module displaying the tree
PERFORM create_node_tab
        TABLES node_tab.
WRITE 'Hello'.
*  Load the version (again)                                            *
FORM load_versn
     USING  versn.
* Load the version
  CALL FUNCTION 'FI_BS_LOAD'
       EXPORTING
            version = versn
       IMPORTING
            bs_info = bs_info.
* Load the texts
  PERFORM load_versn_text.
ENDFORM.                               " LOAD_VERSN
*&      Form  LOAD_VERSN_TEXT
* Load the texts of the version                                        *
FORM load_versn_text.
  DATA:
    flg_langu_maint TYPE t_flag VALUE false,
    flg_sylangu_not_found TYPE t_flag,
    maint_langu LIKE sy-langu.
  CALL FUNCTION 'FI_BS_LOAD_LANGU'
       EXPORTING
            flg_langu_maint       = flg_langu_maint
       IMPORTING
            flg_sylangu_not_found = flg_sylangu_not_found
            maint_langu           = maint_langu
       EXCEPTIONS
            OTHERS                = 1.
* if maintenance language was loaded, because sy-langu was not found
  IF flg_sylangu_not_found = true.
    MESSAGE s741 WITH sy-langu maint_langu.
  ENDIF.
* if maintenance language is wanted, but is different from SY-LANGU
* tell him
  IF flg_langu_maint = true AND
    maint_langu <> sy-langu.
    MESSAGE s742 WITH maint_langu versn.
  ENDIF.
ENDFORM.                               " LOAD_VERSN_TEXT
*&      Form  CREATE_NODE_TAB
*       text                                                           *
FORM create_node_tab
     TABLES node_tab STRUCTURE node_tab.
  REFRESH node_tab.
  DATA:
    root_id TYPE t_bs_node_id.
* Get the root
  CALL FUNCTION 'FI_BS_GET_ROOT'
       IMPORTING
            root_id   = root_id
       EXCEPTIONS
            not_found = 01.
* Recursively add nodes
  PERFORM add_node_with_subtree
          TABLES node_tab
          USING 1
                root_id.
ENDFORM.                               " CREATE_NODE_TAB
*&      Form  ADD_NODE_WITH_SUBTREE
* Recursively add a node with its subtree                              *
FORM add_node_with_subtree
     TABLES node_tab STRUCTURE node_tab
     USING value(level) TYPE i
           value(node_id) TYPE t_bs_node_id.
  DATA:
    children_node_tab TYPE t_bs_node_tab WITH HEADER LINE.
* Get the display info
  CALL FUNCTION 'FI_BS_NODE_GET_SNODETEXT'
       EXPORTING
            node_id          = node_id
            with_gl_accounts = rfgbst-glac_on
       IMPORTING
            attr             = node_tab
       EXCEPTIONS
            node_not_found   = 01.
  node_tab-tlevel = level.
  APPEND node_tab.
* And do the same for its children
  level = level + 1.
  CALL FUNCTION 'FI_BS_NODE_GET_CHILDREN'
       EXPORTING
            node              = node_id
            with_gl_accounts  = rfgbst-glac_on
       TABLES
            children_node_tab = children_node_tab
       EXCEPTIONS
            node_not_found    = 01.
  LOOP AT children_node_tab.
    PERFORM add_node_with_subtree
            TABLES node_tab
            USING  level
                   children_node_tab.
  ENDLOOP.
ENDFORM.                               " ADD_NODE_WITH_SUBTREE

Similar Messages

  • Financial statement version extraction

    Hi friends,
    I want to extract financial statment version(different accounts range ) information from R/3 to BI7 system.
    simply tr.code: fse3 information. What datasources are suitable to my requirement? could anybody tell procedure for extraction?
    thanks,
    naresh

    Hi,
    Check this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/57/dd153c4eb5d82ce10000000a114084/frameset.htm
    [Data source - 0GLACCEXT_T011_HIER.]
    Infocube : 0FIGL_VC1 General Ledger: Balance Sheet and P&L Statement
    0FIGL_VC2 Cost of Sales Ledger: Balance Sheet and P&L Statement (for cost of sales accounting
    Cost-of-Sales Ledger: Balance Sheet and P&L
    0FIGL_VC2
    This is a virtual cube with services. This means that it contains no data. Queries based on this cube are supplied by the implemented services with data from BasisCube 0FIGL_C02.
    For queries for displaying a balance sheet and P&L according to a balance sheet/P&L structure, these services calculate the result (profit / loss) and ensure correct display of the balance-dependent accounts assigned in the balance sheet/P&L structure.
    For Extraction   check this link
    Extraction from R/3 to BW
    Thanks ,
    Hema

  • How to extract the Financial statement version from R/3 to BW

    Hi all,
    I've used the business content to extract the details of SAP R/3 G/L account details to BW. Now, I need to extract the Financial statement version also from R/3 to SAP. Is there any business content object available for the same?
    Thanks in advance,
    Sam.

    Use cube: 0FIGL_C01 with 0GL_ACCOUNT. Load the text and attributes for 0GL_ACCOUNT and the hierarchy based on FSVs in R/3.Build your Balance Sheets and Income Statemments in this.
    If your FSV has balance dependancies: say if the accounts in the FSV move from one node to another depending on their balance at run time, then you will have to use the virtual cube (0FIGL_VC1) along with info-object 0GLACCEXT. However from my experience with VC1, there are a lot of restrictions and inconsistencies that you will have to contend with while working with this cube.
    Cheers
    Anand

  • How to Extract Customized Financial Statement Version from R/3 to BW

    Hi Gurus,
    Could anybody tell me how to Extract Customized Financial Statement Version from R/3 to BW. Also send me docs on FICO and COPA extraction from R/3 to BW.
    Thanks in advance...
    Regards
    Rafi

    Sayed
    Please see this BW Best Practice link
    http://help.sap.com/bp_biv133/
    http://help.sap.com/bp_biv235/BI_EN/html/BW/COPABaselineAnal.htm
    http://help.sap.com/bp_biv235/BI_EN/html/BW/ControllingAnalysis.htm
    COPA Business content
    http://help.sap.com/saphelp_nw04/helpdata/en/28/3dc7393b26da1de10000000a114084/content.htm
    Hope this helps
    Thnaks
    Sat

  • ALE Distribute Financial Statement version /Cost Element group

    Hi SAP guru,
    Would any of you advise me of Standard SAP transaction to send Financial statement version or Cost Element Group via ALE(IDOC)?
    I am aware of BD18 to send GL master data (program: RBDSEGLM) to send IDOC out of SAP but also looking for a similar function to send FSV or Cost element group
    Kind regards
    taro

    Hi
    Thanks for your note.
    Please advise me on the financial statement version, as well.
    The reason for investigating this is to find out standard way to distribute/extract FSV out of SAP for both nodes of FSV and assignment of the GL accounts to the nodes.
    If you could give me some hint, i would be more grateful.
    Kind regards
    taro

  • Table for finding out all the G/L accounts of a financial statement version

    Hi all,
      is there any table to find out the G/L accounts which will come under the tree of financial statement version(OB58). Please help.

    With FM FI_IMPORT_BALANCE_SHEET_POS, you will get the account list in the internal table I011Z.
    You will get a list of intervals  I011Z-VONKT -  I011Z-BILKT.

  • Runtime Error while creating FINANCIAL STATEMENT VERSION

    Hi Experts,
    The major concern of the problem is related with the new creation of FINANCIAL STATEMENT VERSION.
    (SPRO --> IMG --> Financial Accounting --> General Ledger Accounting --> Business Transactinons --> Closing > Document> Define Financial Statement Versions.)
    My quries is that is it possiable to maintain more then one FSV for the same company code or for same chart of account.
    If yes then we are trying to do it . But the problem reflect, be the indication that we can`t maintain more then one code.
    Its giving an runtime error
    Runtime Errors         SAPSQL_ARRAY_INSERT_DUPREC                                               
    Except.                CX_SY_OPEN_SQL_DB                                                        
    Date and Time          15.03.2008 18:36:04                                                                               
    Short text                                                                               
    The ABAP/4 Open SQL array insert results in duplicate database records.                                                                               
    What happened?                                                                               
    Error in the ABAP Application Program                                                                               
    The current ABAP program "SAPLFAGL_FSV" had to be terminated because it has                
         come across a statement that unfortunately cannot be executed.                                                                               
    Error analysis                                                                               
    An exception occurred that is explained in detail below.                                   
         The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught              
          in                                                                               
    procedure "FSV_TEXTS_CONVERT" "(FORM)", nor was it propagated by a RAISING                 
          clause.                                                                               
    Since the caller of the procedure could not have anticipated that the                      
         exception would occur, the current program is terminated.                                  
         The reason for the exception is:                                                           
         If you use an ABAP/4 Open SQL array insert to insert a record in                           
         the database and that record already exists with the same key,                             
         this results in a termination.                                                                               
    (With an ABAP/4 Open SQL single record insert in the same error                            
         situation, processing does not terminate, but SY-SUBRC is set to 4.)                       
    We are trying Its giving an abap dump
    Rest the technicall aspect that is comming in ABAP Dump i am not
    getting.....so pls inquire according to yourself.
    Kind Regards,
    Sudhanshu

    Hello
    Logically speaking, a company code can have more than one FSV as long as they share the same chart of accounts.
    When COA is common, the FSV pattern can be designed seperatly to serve the purpose of varied reporting.
    The dump you are getting is a temporary snag. Take a screen shot from SM54 after you execute the report and pass it to BASIS for analysis. They would fix that.
    Reg
    assign points if useful

  • Financial statement version in fs00 how do i change the lanugage to english

    Hi Experts
    I am currently asked to train a beginners course AC010 for FI. Below is one of the tasks i have to take the students through.Please look at F is where my question is??
    Enter the new G/L account 700## in the financial statement version INT so that it
    appears as the correct balance sheet item when the balance sheet is run.
    1. The new account has to be entered in financial statement version INT. Enter
    it in the same financial statement item as reference account 70 000.
    a) If you have exited the previous screen, choose Accountingu2192Financial
    Accounting u2192 General Ledger u2192 Master Records u2192 G/L Accounts u2192
    Individual Processing u2192 In Company Code.
    Fill in the following data.
    Field Name Value
    G/L account 700##
    Company Code 1000
    b) Choose Change.
    Continued on next page
    68 © 2006 SAP AG. All rights reserved. 2006/Q2
    AC010 Lesson: G/L Master Records
    c) Choose Edit Financial Statement Version.
    d) Enter the following in the Select Financial Statement Version dialog
    box.
    Field Name Value
    Financial statement version INT
    e) Click Choose.
    If you did remain in the screen from the previous exercise, the financial
    statement should be automatically expanded to show you where the
    reference account, 70 000, is located in the financial statement version.
    If you have to call up the screen again, the financial statement version
    does not automatically open at account 70 000. In this case, execute
    the following step.
    f) Drill down to the Liabilities u2192 Equity Capital u2192 Subscribed Capital
    balance sheet item by clicking the folder icon in front of the balance
    sheet item.(ALL these are displayed in another language how do i change to english??????????????????????????????????????????)
    g) Select Subscribed Capital and choose Assign Accounts at the top of the
    screen. Insert in the line From acct. To acct. the interval 700## to
    700##. Select D & C (for debit and credit balance). If you do not see a
    free row where you can enter your account, use the Next Page icon at
    the bottom right of the dialogue box to insert an empty row. Do not type
    over an existing account, as you will replace it with your account!
    h) Choose Continue (Enter).
    i) Choose Save.

    Hello,
    If you want to change the GL account language, then FS00 check last tabs.
    If you want to change FSV language, then copy the FSV to another language in OB58
    Regards,
    Ravi

  • Creation of retained earnings statement in Financial Statement Version-OB58

    Hi Gurus,
    I am facing one problem as i didnot prepare the reports till now.
    One financial statement version has created for Balance sheet and P&L account.they asked me to extended that same report by adding the Statement of Retained earnings in the same financial statement version.
    How to proceed for this.plz help me.it would be a great help for me.will assign points...
    Regards
    Sap Guru

    hi sapguru,
    please cheek your mail and assign points.

  • Financial Statement Version

    Guru's
    Everytime when we want to change the Financial Statement Version we are getting an erro " client 900 has status 'not modifiable'.
    At the same time we are not interested in client(900) to be opened for one such transaction.
    Is there any other way to solve this issue.
    Please help.
    Thanks

    Harish,
             It is standard to Transport FSV, the only complication in transporting is if it has been translated into additional Languages.
    Kind regards

  • Financial statement version without data?

    Hi,
    we use F.01 (RFBILA00) to show the Financial statement.
    Question: Is there any Program / tcode etc. to show only the
    financial statement version without any data, only the structure?
    Thanks,
    Regards, Dieter

    Hi!
    Press F1 button on the financial statement structure field. On the popup, press button Customizing. This will guide you to the structure.
    Regards
    Tamá

  • Financial statement  version:functional area

    Hi,
    I created a financial statement  version with functional area and run it(S_PL0_86000032 ) , most items are correct, however, the item which assigned function area always 0, this means that system can not get any data via function area. would anyone help me?
    Rgds,
    Wubin

    Hello
    If you want to define a financial statement version with functional areas, these functions are limited. You cannot use the following functions:
            Balance-Dependent Display
    You cannot display functional areas dependent on the balance, that is, assign them to a different item dependent on the balance.
    ·        Debit/Credit Shift
    You cannot define items to which you have assigned functional areas as debit/credit shift items.
    ·        Check for Completeness
    You cannot use the check for completeness for financial statement versions with functional areas.
    You also have to carry out the following additional activities:
           1.      When you enter the general data, set the Functional area permitted indicator.
    You then have the option of assigning either accounts or functional areas to an item in your financial statement version.
           2.      Assign the required functional areas or functional area intervals to your P&L items
    Before setting the indicator please go through this help link
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/b5/688b8ea30d11d39759006094b969cf/frameset.htm
    regards

  • Financial statement version-OB58 required in current settings

    Hello Group,
    I want to bring Financial statement version-OB58 in current settings like others such as OB08, OB52 and FTXP.
    Can anybody suggests me about how to bring in current settings wherin I can directly modify my FSV thru OB58 in production client.
    Pl.guide me.
    Thanks in advance,
    Regards,
    Kedar.

    I applied FSE2 to the Role for my Control Team to update and change the FSV.
    Not sure about that note.
    We find a transaction in the IMG, add it to a role and test before moving it to Production.  Not all IMG activites have transactions....

  • Financial statement version in gl accounting

    hello all,
    What is a financial statement version in G/l accounting. How do we replicate it on BW side. I am trying to do reports like cash flow, net assets, and the functional consultant provided me with information saying that you will get financial statement version so we do we use that.
    Are there any particular tips that someone can provide to develop queries for there reports?
    Thanks in advance

    Have loaded hierarchy of FSV from R/3 to BW. Hierarchy is getting displayed in 0GL_ACCOUNT. There is a second level node called Net Profit / Loss, where there is no child node. But when we run the query then some value comes corresponding to that node also under 0COA/0PLRESULT (which is some sort of a calculation or net off happening & value gets correspond to this node).
    Now this value is getting displayed, similarly here is a node getting displayed under Source of Funds node, called Share holders Funds, now a child node of this is P & L Profit which is similar to the earlier blank node i.e. without any child node. In R/3 side this corresponds to
    0COBSPLRESULT. But this is not getting displayed in the query. That particular node itself is not appearing in the query. In the query instead of appearing under the respective node this value is appearing under unassigned nodes.
    What checks can be made to bring the value in query corresponding to the hierarchy how it is in hierarchy screen ??

  • Import / Export Financial Statement Version

    My customer wishes to edit the Financial Statement Version, particularly the Account Group Hierarchies, in the Production environment.  This can be accomplished by implementing OSS Note 200674.
    However, our issue is, how do we get those changes to the FSV to be reflected in our lower (Development) environment?  We have an ALE in place for GLMAST which pushes down the account numbers themselves.  But changes to the FSV, movements of an account from one node in the hierarchy to another, are not reflected in the lower environment.  Is it possible to export the FSV from Production to an external file, then import that file into the Development environment?  Is there an ALE object that could handle this task.
    Thanks in advance for any help you may be able to provide.
    Regards,
    Shawn

    Hi,
    You can transport the FSV from the producton system.
    Go to SPRO to Define Financial Statement Versions node. select your FSV, click on "Tableview" on left corner of screen & click "Transport".
    Create a transport request. Here you may need BASIS help---Download the CO file & Data file of this request on your system (desktop).
    Import these files to development system. This will bring the necessary changes to FSV on Development system.
    Hope this helps.
    Regards,
    Ashutosh

Maybe you are looking for

  • Run Windows 8.1 on Mac Air 100%?  How to update Mac Firmware?

    I know it's possible to run Windows 100% on my Mac through BootCamp (I have small SSD hard drive so it is one or other).  My question is if I install Mavericks on a USB thumb drive will I still receive firmware updates from Apple via keeping the USB

  • OVM Manager 2.2.2: server pool error with file system type

    I'm just getting started with OVM. I've installed OVM on one machine and the manager on another. I created a server pool, which seemed to work OK but shows "Error" in the table under the "Server Pools" tab in the manager interface When I edit it I se

  • How to online datafile of rollback segment of NO archive log available

    I set offline datafile of rool back segement and rename it but when I try to online , get error to recover I try to recover but unfortunately all archive log was deleted ( kind of cron job in unix aotu delete these file) Pls advice how can I set this

  • Windows 7 how to restore file type...can't find "open with"

    windows 7 i clicked on the open with box and apparently changed alot of program shortcuts to exe files now when i click on the shortcut or the program, i get a fast flash of a dos box that says incorrectcommand line (i think)and i can't use those pro

  • Email Folder Help

    Not sure what happen but as of last Friday, I am no longer able to see any emails that were in my inbox or in any subfolders within Outlook.  I talked to my IT department today and they are still researching it but I figured I would turn here for hel