Profit Center pros & cons

Dear Experts
We have implement of SAP in our business by using Profit Center accounting
I  want to know, what is the problem or limitation accrued during transactions ( Like P&L transactions & Balance sheet transactions)
Thanks in advance
Regards
M.Yousuf
Edited by: M.Yousuf Memon on Feb 4, 2010 12:23 PM

Yes i know PCA accounting is ideal scenario but nothing is perfect......there is same gap in very system otherwise there is no required for improvement.
Actually i want to know which is better scenario individual co.code or PCA for product wise PNL & balance sheet.
Thats why i am asking thats what types of entry, which made a difficulty for end user or management.

Similar Messages

  • Cons profit center

    Hi,
    I assign company and cons profit center to the cons unit characteristic role in the databasis.
    And then in the master data of cons profit center, i create hierachy , cons profit center group,cons profit center. But the hierarchy of profit centers doesnt appear in the consolidation monitor. It works for hierarchy of company (it appears in the consolidation monitor). Do i miss something?
    Note : I dont want to use the combination of cons unit. I just want to have 2 versions in the same consolidation area. one version for company hierarchy and the other version for profit center hierarchy.
    Thanks in advance.

    In the usual matrix ConsArea hierarchies are switched by chosing the upper level (icon of hierarchy itself) in the 1st column - right click - Swap Characteristic with ... and select another ConsUnits hierarchy.
    But, in my experience without setting of ConsUnits combination the hierarchy of units do not appear in the monitor at all.
    You may have as many hierarchies of ConsUnits as you want.
    But to have not linked (by setting combinations) hierarchies of units in case of matrix do not have any sense for me at all. You'll not be able to post entries to both units at ones. Moreover, only one units is currency-bearing.
    If you want just separate consolidation process for companis and profit centers you'll have to use at least separate data basises.
    Or maybe profit center as a subassignment will serve you better?

  • Pros & Cons of Currency Types of Profit Center

    Hello,
    I would like to know pros & cons of using group currency as a currency type of the profit center when PCA is implemented (TCode : 0KE5). We can set either Controlling Area Currency, Profit Center Currency or Group Currency as the Profit Center Currency Type. What precaution we need to take in each of these cases? It would be really great if somebody can explain with the help of example or shares practical experience of taking decision on which type to be used.

    Hi
    Trans currency is the currency you used in the transaction.. This is always recorded
    I dont see any -ve impact of using it in BI in a Live System
    br, Ajay M

  • Role of cost center, profit center, G/L & internal order in pro. costing...

    Hi all,
    What is the role of cost center, profit center, G/L accounts & internal order (if any) in product costing? If not in product costing then in controlling?
    How the cost centers & g/l accounts are updated while overhead calculation, variance calculation & settlement of an order?
    I had gone through the SAP library & relevant threads on SDN but still not so clear about the functionality.
    Please explain me in details from a scratch .
    Also is it necessary to have a thorough knowledge of FI to study product cost planning?
    Waiting for your valuable reply.
    SmanS

    Hi,
    No it is not possible to transfer to GL Account from Cost Center. Assessment functionality is with in CO Module. In Internal Orders it is settlement and in Settlement Profile we can have GL Account as a receiver.
    I am wondering what is the Business requirement for assessing it to GL Account?
    Thanks
    Murali.

  • Report - P&L Report by Profit Center

    Hi All,
    Have a reporting reqmt in BPC 10 for which trying to figure out the best way.
    There are about 20 profit centers and wrt every profit centers, there would be certain GL accounts which need to be considered while being displayed in report.
    Ex - Combination of Profit Center A with Accounts 100001 - 100010, 420000, 430000 etc.
    Combination of Profit Center B with Accounts 100001 - 100010, 520000, 530000 etc.
    In the report, we need to display the profit center wise consolidated results
    When the data for A is displayed, it should correspond to all those accounts.
    2 Options which I can think of -
    1. Create a static report with profit center and account in rows, with member recognition, get the data for all desired combination of Profit Center and Account, then create a local member to do a summation of data. hide the individual rows.
    Pros - Easy to create
    Cons - If business asks to add few accounts, the report needs modification. Also, it's a local member so result not stored anywhere and the same can't be used anywhere else in other reports.
    2. Create additional members in account dim and use script logic to write the data to these members. Use these members in report.
    Cons - With this calculation to help for 30 odd company codes, 20 odd profit centers, performance may be a thing to consider.
    Any thoughts?
    Regards,
    Ashish

    Hi Ashish,
    If you have hierarchy node like "ALL" which have all the base members of Account and there is no data for other combination.
    Ex - Combination of Profit Center A with Accounts 100001 - 100010, 420000, 430000 etc.
    Combination of Profit Center B with Accounts 100001 - 100010, 520000, 530000 etc.
    In this case if there is no data for combination of Profit Center A and Account 520000, 530000 etc.
    and Profit Center B and Account 420000, 430000
    then you can use hierarchy node.
    Regards,
    Shrikant

  • Single Business Area versus multiple profit center issue

    Dear Experts,
    My client is basically an infrastructure company. We have received a roll out
    project under a department which inturn is  billed to another department
    under the same company code. Now I am planning to create a single business
    area and multiple profit centers under that BA. This is because the business
    is same but responsible areas of profit are two different departments.
    Now I am not sure on the set up process and how do knock off etc are achieved
    to get the financial reports balanced.
    Cost of dept 1 is revenue of dept 2. For this I create a BA and also
    2 profit centers. I do assignment in OKB9. What are other settings required.
    Which profit center would be assigned in the material master?
    My whole idea is to use a single BA with multiple profit centers, if one to one
    relationship is the best way of approach then I shall follow that. But kindly give
    inputs if I use single BA with multiple PC's how effective usage can I make of the
    whole system. client is using MM, SD, PM, PP, FI, CO, PS modules.
    Regards
    Komal

    Hi,
    Recently we have got a business requirement for the concept of Single Plant which is assigned to multiple profit centers. I would request any of you to help me with any points which has the pros and cons of this set up.
    First think why many profit center required for one plant explain it ?
    Now you know from where system will take profit center in accounting docuement ?
    as per me system take from Material master costing view
    you have project base company or client or WBS at your end ?
    In one material we can assign single profit center
    In on cost center we can assign single profit center
    so can you explain your requirement exactly
    Regards
    Kailas Ugale

  • Bus Area & Profit Center activatin in ECC 6

    Hello Experts...
    I am not well versed with new functinality of ECC 6 .. I want to know the pros and cons of activating Business Area when profit center is activ. As I heard tht SAP is not going to support Business Area in near future. and encouraging for profit center.. but one problem with profit center is that in so many transaciton Profit center is not the selection creteria liek clearing transactions..
    So anyone can give me brief about this
    thanks a lot
    Regards
    Pooja

    PROFIT CENTERE ACCOUNTING IS PROFITABILITY PRODUCTWISE ,PRODUCT GROUP WISE OR LOCATION WISE IF BUSINESS AREA ISNOT ACTIVATED.
    IN FUTURE IN CASE OF ECC6.ONLY CLIENTS WIL GO FOR PROFIT CENTERES BECASUE IN THIS CASE DOCUMENT SPLITING ALSO WIL EFFECT TO AND GIVE THE BALANCE SHEET PROFIT LOSSACCOUNT THROUGH PROFIT CENTERE WISE
    S

  • One Legal entity two company code - pros & cons

    Hi SAP GURUS,
    We are having one legal entity with multiple products. I want each plant  to be a profit center. But i am loosing plant wise profitability when we are transferring the same product from different plants, in a common depot. This is because we are not having batch & hence profitabilty for plant is lost when it is sent to depot for sale.
    In this case I am thinking to  go for two company code. One manufacturing & Other selling. What will be the pros & cons in this case.
    Thanks
    CHEERS

    Yes ! kishore You are obsolutly correct !
    Hi Nitin,
    As per my understanding your issue seems profit cannot be determined while sending goods sending plant to another palnt. For that SAP suggested to use Transfer pricing in Prrofit centre accouting & your valuation must be profit centre valuation not company code to get internal reports.
    Rgds
    ManiSuma

  • The Design of Profit Center Code

    Dear SAP Gurus,
    In the design of profit center code, you can design a profit center code that is common across all company codes by flagging the company code assignment in KE51. Alternatively, you can also design a company code specific profit center code. Unlike profit center accounting, this kind of feature is not available in cost center accounting.
    If you would to design your profit center codes in this manner, you can no longer in use of all standard pca reports because there is no company code selection criteria when executing the reports. This is quite inconsistent with the above featute in pca. You can definitely customize your pca reports by bringing in the company code as selection criteria.
    Besides it will help you to reduce the number of profit center codes, can anyone share of any other rationales or pros/cons of designing a common profit center code across all company codes? Thanks in advance for your help.
    Cheers,
    Rebi

    Dear SAP Gurus,
    Anyone has any inputs for my question?
    To elaborate further, here is the example of my question:
    a. When designing profit center code PC1, you can create the code as PC1 and flag it as applicable to company code 1000, 2000
        and 3000 in KE51
    b. Alternatively, you can design company specific profit center code of 1000PC1, 2000PC1 and 3000PC1.
    I need your help to share with me the pros and cons of the above 2 options. Thanks in adavance for your help.
    Cheers,
    Rebi

  • Company code vs profit center in FI

    Hi all,
       I have a question in restructuring our financial organization in sap.  We are one company with one operating concern, one controlling area, one company code and one chart of account.  We also have several locations in America.  Lately, we have acquired another company with several other locations in America.
    There are 2 ways of including the new company when we restructure in sap financial side.
    A) Use company code to represent each company.
    Thus, under our holding company, we would have our company, new company location A, new company location B, new company location C and one  company for real estate purpose for our building.   This means 5 new company codes with multiple chart of accounts.
    B) Use profit centers to represent each company
    Thus, we would have 5 new profit centers.
    Both ways work very well for income statement. Option B is a little iffy on Balance Sheet.
    Question is:  How easy is it to maintain separate Balance Sheet between option A and B ?
    What are the pro and cons of both options ?
    Have anyone come across this ?
    thanks
    Joyce

    Hi ,
    It is always recommended to go with , 1 co code per seperate legal entity as explained by ajay .
    Moreover you can have balance sheet and profit and loss a/c at profit center level with New GL .
    Also check on the operational issues like for Eg. depritiation run can be executed at co code level only and not at profit center level just for example . then a question should not come why have we not considered this at the time of org structure finalization .
    Secondly , also check on the authorization issues in case of Assets account to be particular as the authorizations work at co code level and at asset class level . so if a requirement comes that profit center wise viewing should happen then you will have to move on to have modifications .
    I would suggest that along with your considerations on legal reporting and keeping in mind the operation issues that may crop up take a final call on the same .
    Regards ,
    Dewang T

  • How can I use firefox with pro con latte extention on a linux OS that runs via a USB?

    What linux distro to use?
    What version of firefox to use? (Since it has to be compatible with pro con latte)

    Firefox tarballs from Mozilla Org use prefs within Firefox for updates. The "toggle" for not automatically updating - '''app.update.enabled''' and where to look for updates - '''app.update.url'''. The first needs to be '''''false''''' and the second could be a '''''null''''' string, do an update can't be found.
    ''I use both prefs to keep Firefox from updating by itself. I install each new version of Firefox as it is released, and keep the older versions around for reference purposes. Those prefs are the same since Firefox 1.5 came out.''
    The versions of Firefox that are part of an operating system installation usually are that OS's own build of Firefox, and don't use the same update setup as Mozilla uses, in most cases. I am not familiar with Cent OS, but Ubuntu and Debian look for Firefox updates and from their own program repository servers outside of Firefox - as with the tarballs from Mozilla.

  • Hi Profit center descriptions

    Hi Experts,
         For this design only profit centers under the following level 4 nodes will need to be extracted and sent to PROS SOI7CR0326 , SOI7FU0763 , SOI7FU0764 , SOI7FU0765.  All profit centers under these nodes will need to be sent although only level 4, level 6, and level 7 descriptions should be sent for each profit center.  I used transaction KCH3 to view the hierarchy below.
         I need descriptions for all the profit centers for the above mentioned nodes,  please see the code and give me some solution.
        5  SOI_STREAM      Downstream                                                                               
    4  SOI4000011      DOWNSTREAM (OIL)                                                       
            4  SOI5000001      DOWNSTREAM REFINING 1 PEER GRP                                         
            4  SOI5000002      DOWNSTREAM REFINING 2 PEER GRP                                         
            4  SOI5000003      DOWNSTREAM COMMERCIAL PEER GRP                                         
            5  SOI5000004      DOWNSTREAM RETAIL PEER GROUP                                                                               
    4  SOI6AC0001      ACCELERATOR BUSINESS UNIT                                          
                4  SOI6CR0001      US CONVENIENCE OPERATIONS                                          
                5  SOI6FU0001      US FUELS OPERATING UNIT                                                                               
    5  SOI7FU0692      SECONDARY TRANS / PIPELINE                                     
                    5  SOI7FU0762      RESTRUCTURING HIERARCHY                                        
                    5 <b> SOI7FU0763</b>      US FUELS MARKETING - EAST/GULF COAST         <--           Level 4 Description                                                                               
    5  SOI7FU0766      EGC FUELS SUPPLY GEOGRAPHY                                                                               
    5  SOI7FU0017      NORTHEAST GEOGRAPHY                                     <--          Level 6 Description
                                                                                    18026650   EAST S&H OPPORTUNITY PROJECTS EXPENSE       <--          Level 7 Description                                                                               
    5  SOI7FU0033      NEW YORK HARBOR - SUPPLY ENVELOPE                                                                               
    5  SOI7FU0034      TERMINALS&SUPPLYPLANTS -NEW YORK HARBOR                                                                               
    5  SOI7FU0174      GASOLINE - NEW YORK HARBOR                                                                               
    18000063   MA FIELD DISTRIBUTION                          
                                            18000070   WASHINGTON DC-20003 (LPOB)                     
                                            18000361   WILMINGTON DE-19801 (LPOB)                     
                                            18000371   CORAOPOLIS PA-15108 (LPOB)                     
                                            18000396   PHILADELPHIA PA-EXXON (LTOZ)                   
                                            18004753   BROOKLYN TERMINAL
    * This program can be used to export profit center hierarchies or other groups in a level table (format used by RGSIMPH1)
    * To actively use this program:
    *   - copy it to a local object
    *   - adapt DATA_TAB to the data structure in your foreign system
    *     (change positions, length of fields, remove TOVALUE if
    *      hierarchies contain single values only, ...)
    *   - write an export routine for DATA_TAB if you don't want to
    *     download it to the presentation server
    * Example hierarchy that will be exported by this program
    *    HIER-TOP                      Top node
    *      |
    *      |---- HIER-010              Node 10
    *      |       |
    *      |       |---- HIER-011      Node 11
    *      |       |       - CC 1      Profit center 1
    *      |       |       - CC 2      Profit center 2
    *      |       |
    *      |        ---- HIER-012      Node 12
    *      |               - CC 3      Profit center 3
    *      |               - CC 4      Profit center 4
    *      |
    *       ---- HIER-020              Node 20
    *              - CC 5              Profit center 5
    * The level table  DATA_TAB will look like this:
    *    Level  Groupname    Fromvalue  Tovalue           Descript
    *    0001   HIER-TOP                                  Top node
    *    0002   HIER-010                                  Node 10
    *    0003   HIER-011                                  Node 11
    *    0004                CC 1       CC 1
    *    0004                CC 2       CC 2
    *    0003   HIER-012                                  Node 12
    *    0004                CC 3       CC 3
    *    0004                CC 4       CC 4
    *    0002   HIER-020                                  Node 20
    *    0003                CC 5       CC 5
    *  Standard Architecture Data Structures
    INCLUDE: zbiod001,
             zbiud002,
             zbiud007.
    DATA: c_text_write(5) TYPE c VALUE 'Write'.
    TABLES: CEPC,
            CEPCT.
    *------------------------ Data ---------------------------------*
    DATA: I_CEPCT  LIKE CEPCT OCCURS 0 WITH HEADER LINE,
          WA_CEPCT LIKE CEPCT,
          I_CEPC   LIKE CEPC OCCURS 0 WITH HEADER LINE,
          WA_CEPC  LIKE CEPC.
    DATA: W_OBJECTID LIKE CDHDR-OBJECTID,
          W_LEVEL_CODE(30) TYPE C,
          W_LEVEL_NAME(50) TYPE C,
          W_LEVEL_CODE1(30) TYPE C,
          W_LEVEL_NAME1(50) TYPE C.
    DATA: BEGIN OF I_PROFIT OCCURS 10,
      ID(15)                TYPE C,
      CODE(10)                 TYPE C,
      NAME(20)                 TYPE C,
      DESC(40)                 TYPE C,
      HIER_LVL1_CODE(30)       TYPE C,
      HIER_LVL1_NAME(50)       TYPE C,
      HIER_LVL2_CODE(30)       TYPE C,
      HIER_LVL2_NAME(50)       TYPE C,
      HIER_LVL3_CODE(30)       TYPE C,
      HIER_LVL3_NAME(50)       TYPE C,
      HIER_LVL4_CODE(30)       TYPE C,
      HIER_LVL4_NAME(50)       TYPE C,
      HIER_LVL5_CODE(30)       TYPE C,
      HIER_LVL5_NAME(50)       TYPE C,
      HIER_LVL6_CODE(30)       TYPE C,
      HIER_LVL6_NAME(50)       TYPE C,
      HIER_LVL7_CODE(30)       TYPE C,
      HIER_LVL7_NAME(50)       TYPE C,
      HIER_LVL8_CODE(30)       TYPE C,
      HIER_LVL8_NAME(50)       TYPE C,
      HIER_LVL9_CODE(30)       TYPE C,
      HIER_LVL9_NAME(50)       TYPE C,
      HIER_LVL10_CODE(30)      TYPE C,
      HIER_LVL10_NAME(50)      TYPE C,
      HIER_LVL11_CODE(30)      TYPE C,
      HIER_LVL11_NAME(50)      TYPE C,
      CREATED_BY(15)                         TYPE C,
      CREATED_DATE(10)                       TYPE C,
      LAST_UPDATED_BY(15)                    TYPE C,
      LAST_UPDATED_DATE(10)                  TYPE C,
      BATCH_ID(15)                           TYPE C,
      STAGE2_DIM_ID(15)        TYPE C,
      SOURCE_SYSTEM_ID(20)                   TYPE C,
      ALT_ACCOUNT_SET_HIERARCHY_IND(1)       TYPE C,
    END OF I_PROFIT.
    *Structure required by Essbase. Str_PC1.TXT
    DATA: BEGIN OF I_STR_PC1 OCCURS 10,
      HIER_LVL1_CODE(30)       TYPE C,
      FILLER1(1)                TYPE C VALUE '|',
      HIER_LVL1_NAME(50)       TYPE C,
      FILLER2(1)                TYPE C VALUE '|',
      HIER_LVL2_CODE(30)       TYPE C,
      FILLER3(1)                TYPE C VALUE '|',
      HIER_LVL2_NAME(50)       TYPE C,
      FILLER4(1)                TYPE C VALUE '|',
      HIER_LVL3_CODE(30)       TYPE C,
      FILLER5(1)                TYPE C VALUE '|',
      HIER_LVL3_NAME(50)       TYPE C,
      FILLER6(1)                TYPE C VALUE '|',
      HIER_LVL4_CODE(30)       TYPE C,
      FILLER7(1)                TYPE C VALUE '|',
      HIER_LVL4_NAME(50)       TYPE C,
      FILLER8(1)                TYPE C VALUE '|',
      HIER_LVL5_CODE(30)       TYPE C,
      FILLER9(1)                TYPE C VALUE '|',
      HIER_LVL5_NAME(50)       TYPE C,
      FILLER10(1)                TYPE C VALUE '|',
      HIER_LVL6_CODE(30)       TYPE C,
      FILLER11(1)                TYPE C VALUE '|',
      HIER_LVL6_NAME(50)       TYPE C,
      FILLER12(1)                TYPE C VALUE '|',
      HIER_LVL7_CODE(30)       TYPE C,
      FILLER13(1)                TYPE C VALUE '|',
      HIER_LVL7_NAME(50)       TYPE C,
      FILLER14(1)                TYPE C VALUE '|',
      HIER_LVL8_CODE(30)       TYPE C,
      FILLER15(1)                TYPE C VALUE '|',
      HIER_LVL8_NAME(50)       TYPE C,
      FILLER16(1)                TYPE C VALUE '|',
      HIER_LVL9_CODE(30)       TYPE C,
      FILLER17(1)                TYPE C VALUE '|',
      HIER_LVL9_NAME(50)       TYPE C,
      FILLER18(1)                TYPE C VALUE '|',
      HIER_LVL10_CODE(30)      TYPE C,
      FILLER19(1)                TYPE C VALUE '|',
      HIER_LVL10_NAME(50)      TYPE C,
      FILLER20(1)                TYPE C VALUE '|',
      HIER_LVL11_CODE(30)      TYPE C,
      FILLER21(1)                TYPE C VALUE '|',
      HIER_LVL11_NAME(50)      TYPE C,
      FILLER22(1)                TYPE C VALUE '|',
      CODE(10)                 TYPE C,
      FILLER23(1)                TYPE C VALUE '|',
      DESC(40)                 TYPE C,
      FILLER24(1)                TYPE C VALUE '|',
      NAME(20)                 TYPE C,
      FILLER25(1)                TYPE C VALUE '|',
    END OF I_STR_PC1.
    *Variable declaration
    DATA: CTR(2) TYPE C,
          INC TYPE I,
          W_CTR1(2) TYPE C,
          W_INC1 TYPE I.
    DATA: w_file_prft LIKE w_prc_files.
    *Field symbols.
      FIELD-SYMBOLS: <CD1>,
                     <NM1>.
    * External level table will be using the following structure
    DATA: BEGIN OF data_tab OCCURS 0,
            level(4)      TYPE n,          "level in hierarchy
            groupname     LIKE grpdynp-name_coall, "name of node
            fromvalue     LIKE setvalues-from,  "From-Value of interval
            tovalue       LIKE setvalues-to,    "To-Value of interval
            descript      LIKE sethier-descript,"description of this entry
          END OF data_tab.
    *Constants
    CONSTANTS: c_setclass LIKE sethier-setclass VALUE '01++'.
    *------------------------ SelectionScreen--------------------------*
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    * Parameters
    PARAMETERS: g_setid   LIKE sethier-setid OBLIGATORY MEMORY ID gse.
    SELECTION-SCREEN END OF BLOCK B1.
    * Tables to read sets
    DATA: sethier   LIKE sethier OCCURS 0 WITH HEADER LINE,  "hierar. nodes
          setvalues LIKE setvalues OCCURS 0 WITH HEADER LINE, "hier. values
          g_setval_index LIKE sy-tabix,    "index for setvalues,
          g_int     TYPE i,
          g_rc      TYPE c,
          g_old_file LIKE lgrwo-exp_file.
    *------------------------ AT Selection screen----------------------*
    AT SELECTION-SCREEN.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR g_setid.
    * Value request for group name
      CALL FUNCTION 'G_RW_SET_SELECT'
           EXPORTING
                class           = c_setclass
                set             = g_setid
                typelist        = 'BS'
                show_field_name = ' '
                show_table_name = ' '
           IMPORTING
                setid           = g_setid
                set_name        = g_setid.
    *peform to read profit center hierarchy
    PERFORM READ_SETHIER.
    *perform to change the output format to flat file format
    PERFORM PROFIT_CENTER_HIER.
    *Fill remaining details from profit center master tables
    PERFORM FILL_PRCTR_DETAILS.
    *perform to download the details
    PERFORM F_WRITE_TO_FILE.
    FORM READ_SETHIER.
    * Preparations: check authority to read sets
        CALL FUNCTION 'G_SET_OR_GROUP_AUTHORITY'
             EXPORTING
                  i_setid = g_setid
                  i_actvt = '03'.
    * Read set
      REFRESH: sethier, setvalues.
      CALL FUNCTION 'G_SET_TREE_IMPORT'
           EXPORTING
                no_rw_info    = 'X'
                setid         = g_setid
           TABLES
                set_hierarchy = sethier
                set_values    = setvalues.
    * Copy set into DATA_TAB
      REFRESH data_tab.
      g_setval_index = 1.
      LOOP AT sethier.
        CLEAR data_tab.
        data_tab-level = sethier-level.
        data_tab-groupname = sethier-shortname.
        data_tab-descript = sethier-descript.
        APPEND data_tab.
        CHECK sethier-vcount > 0.
        CLEAR data_tab.
        data_tab-level = sethier-level + 1.
        g_int = g_setval_index + sethier-vcount - 1.
        LOOP AT setvalues FROM g_setval_index TO g_int.
          data_tab-fromvalue = setvalues-from.
          data_tab-tovalue = setvalues-to.
          data_tab-descript = setvalues-descript.
          APPEND data_tab.
        ENDLOOP.
        g_setval_index = g_int + 1.
      ENDLOOP.
    ENDFORM.
    FORM PROFIT_CENTER_HIER.
    * Use DATA_TAB table here to get to the heirarchies.
    LOOP AT DATA_TAB.
         W_INC1 = DATA_TAB-LEVEL.
         W_CTR1 = W_INC1.
         IF DATA_TAB-LEVEL = '0000' .
            CONTINUE.
         ENDIF.
        IF NOT DATA_TAB-GROUPNAME IS INITIAL.
          CONCATENATE 'I_PROFIT-HIER_LVL' W_CTR1 '_CODE' INTO W_LEVEL_CODE1.
          ASSIGN  (W_LEVEL_CODE1) TO <CD1>.
          <CD1> = DATA_TAB-GROUPNAME.
          CONCATENATE 'I_PROFIT-HIER_LVL' W_CTR1 '_NAME' INTO W_LEVEL_NAME1.
          ASSIGN (W_LEVEL_NAME1) TO <NM1>.
          <NM1> = DATA_TAB-DESCRIPT.
         ELSEIF NOT ( DATA_TAB-FROMVALUE IS INITIAL OR
                           DATA_TAB-TOVALUE IS INITIAL ) AND
                            DATA_TAB-LEVEL NE '0001' .
              MOVE DATA_TAB-FROMVALUE TO I_PROFIT-CODE.
              PERFORM CLEAR_ABOVE_LEVEL USING W_CTR1.
              APPEND I_PROFIT.
              CONTINUE.
         ENDIF.
    ENDLOOP.
    ENDFORM.
    *       FORM GET_FILE_NAME                                            *
    *       Value help for export/import file name                        *
    FORM get_file_name CHANGING p_outfile LIKE lgrwo-exp_file.
      DATA: path             LIKE lgrwo-exp_file,
            len              TYPE i,
            separator(1)     TYPE c,
            window_system(4) TYPE c.
      FIELD-SYMBOLS <last_char>.
    * get presentation server operating system for file name separator
      CALL FUNCTION 'WS_QUERY'
           EXPORTING
                query  = 'WS'
           IMPORTING
                return = window_system.
      IF window_system = 'MC'.             "Mac OS
        separator = ':'.
      ELSE.                                "Windoze
        separator = ''.
      ENDIF.
    * get path name
      path = p_outfile.
      SHIFT path RIGHT DELETING TRAILING space.
      DESCRIBE FIELD path LENGTH len.
      len = len - 1.
      ASSIGN path+len(1) TO <last_char>.
      WHILE <last_char> <> separator AND
            path <> space.
        SHIFT path RIGHT.
      ENDWHILE.
      SHIFT path LEFT DELETING LEADING space.
    * get file name
      WHILE p_outfile CS separator.
        SHIFT p_outfile UP TO separator.
        SHIFT p_outfile.
      ENDWHILE.
    * get file name
      CALL FUNCTION 'WS_FILENAME_GET'
           EXPORTING
                def_filename = p_outfile
                def_path     = path
                mask         = ',*.*,*.*.'
                mode         = 'S'
           IMPORTING
                filename     = p_outfile
           EXCEPTIONS
                OTHERS       = 0.
    ENDFORM.
    *&      Form  CLEAR_ABOVE_LEVEL
    FORM CLEAR_ABOVE_LEVEL USING   P_LEVEL.
    *Field symbols.
      FIELD-SYMBOLS: <CD>,
                     <NM>.
    *Clear code and name from upper level hierarchies when profit center
    * is found in the lower level hierarchies.
        WHILE P_LEVEL <= 10.
         CONCATENATE 'I_PROFIT-HIER_LVL' P_LEVEL '_CODE' INTO W_LEVEL_CODE.
          ASSIGN  (W_LEVEL_CODE) TO <CD>.
          CLEAR <CD>.
         CONCATENATE 'I_PROFIT-HIER_LVL' P_LEVEL '_NAME' INTO W_LEVEL_NAME.
          ASSIGN  (W_LEVEL_NAME) TO <NM>.
          CLEAR <NM>.
          P_LEVEL = P_LEVEL + 1.
        ENDWHILE.
        CLEAR: P_LEVEL,
               W_LEVEL_CODE,
               W_LEVEL_NAME.
    ENDFORM.                    " CLEAR_ABOVE_LEVEL
    *&      Form  FILL_PRCTR_DETAILS
    FORM FILL_PRCTR_DETAILS.
    DATA: CTR TYPE I.
    *Select description from CEPCT table
      SELECT * FROM CEPCT INTO TABLE I_CEPCT WHERE SPRAS EQ 'EN'.
      SELECT * FROM CEPC INTO  TABLE I_CEPC.
       SORT I_CEPC DESCENDING BY PRCTR DATBI.
       DELETE ADJACENT DUPLICATES FROM I_CEPC COMPARING PRCTR.
       SORT I_CEPC.
       SORT I_PROFIT BY CODE.
    LOOP AT I_PROFIT.
       CLEAR: WA_CEPC,
              WA_CEPCT,
              W_OBJECTID.
       CTR = CTR + 1.
         READ TABLE I_CEPC INTO WA_CEPC WITH KEY PRCTR = I_PROFIT-CODE.
         READ TABLE I_CEPCT INTO WA_CEPCT WITH KEY PRCTR = WA_CEPC-PRCTR
                                                   DATBI = WA_CEPC-DATBI.
              MOVE: CTR             TO I_PROFIT-ID,
                    WA_CEPCT-KTEXT  TO I_PROFIT-NAME,
                    WA_CEPCT-LTEXT  TO I_PROFIT-DESC.
        CONCATENATE '0002' I_PROFIT-CODE INTO W_OBJECTID.
           MOVE-CORRESPONDING I_PROFIT TO I_STR_PC1.
           APPEND I_STR_PC1.
    ENDLOOP.
    FREE I_PROFIT.
    ENDFORM.                    " FILL_PRCTR_DETAILS
    *&      Form  F_DOWNLOAD
    FORM F_DOWNLOAD.
    ENDFORM.
    *&      Form  F_WRITE_TO_FILE
    FORM F_WRITE_TO_FILE.
    LOOP AT I_STR_PC1.
        PERFORM WRITE_FILE USING I_STR_PC1
                                       w_file_prft-PRC_FILE..
    ENDLOOP.
    ENDFORM.                    " F_WRITE_TO_FILE
    FORM WRITE_FILE USING W_RECORD W_PRC_FILE.
      DATA: W_RECORD_LEN TYPE I.
    *  Retreive the actual length of the record to be written
      DESCRIBE FIELD W_RECORD LENGTH W_RECORD_LEN.
      TRANSFER W_RECORD TO W_PRC_FILE LENGTH W_RECORD_LEN.
      IF SY-SUBRC NE 0.
        MESSAGE ID 'ZZ' TYPE 'A' NUMBER '001'
             WITH C_TEXT_WRITE  W_PRC_FILE.
      ENDIF.
      CLEAR W_RECORD.
    ENDFORM.
    Thanks & Regards,
    Poorna.

    hi all,
              here is the solution:
    **------------------------ Data ---------------------------------*
    DATA: i_cepct  LIKE cepct OCCURS 0 WITH HEADER LINE,
          wa_cepct LIKE cepct,
          i_cepc   LIKE cepc OCCURS 0 WITH HEADER LINE,
          wa_cepc  LIKE cepc.
    *Variable declaration
    DATA: w_ctr1(2) TYPE c,
          w_inc1 TYPE i.
    DATA: w_level_code(30) TYPE c,
          w_level_name(50) TYPE c,
          w_level_code1(30) TYPE c,
          w_level_name1(50) TYPE c.
    *Field symbols.
    FIELD-SYMBOLS: <cd1>,
                   <nm1>.
    * External level table will be using the following structure
    DATA: BEGIN OF data_tab OCCURS 0,
            level(4)      TYPE n,          "level in hierarchy
            groupname     LIKE grpdynp-name_coall, "name of node
            fromvalue     LIKE setvalues-from,  "From-Value of interval
            tovalue       LIKE setvalues-to,    "To-Value of interval
            descript      LIKE sethier-descript,"description of this entry
          END OF data_tab.
    * Tables to read sets
    DATA: sethier   LIKE sethier OCCURS 0 WITH HEADER LINE, "hier-nodes
          setvalues LIKE setvalues OCCURS 0 WITH HEADER LINE, "hier-values
          g_setval_index LIKE sy-tabix,    "index for setvalues,
          g_int     TYPE i.
    DATA: BEGIN OF i_profit OCCURS 10,
      id(15)                TYPE c,
      code(10)                 TYPE c,
      name(20)                 TYPE c,
      desc(40)                 TYPE c,
      hier_lvl1_code(30)       TYPE c,
      hier_lvl1_name(50)       TYPE c,
      hier_lvl2_code(30)       TYPE c,
      hier_lvl2_name(50)       TYPE c,
      hier_lvl3_code(30)       TYPE c,
      hier_lvl3_name(50)       TYPE c,
      hier_lvl4_code(30)       TYPE c,
      hier_lvl4_name(50)       TYPE c,
      hier_lvl5_code(30)       TYPE c,
      hier_lvl5_name(50)       TYPE c,
      hier_lvl6_code(30)       TYPE c,
      hier_lvl6_name(50)       TYPE c,
      hier_lvl7_code(30)       TYPE c,
      hier_lvl7_name(50)       TYPE c,
      hier_lvl8_code(30)       TYPE c,
      hier_lvl8_name(50)       TYPE c,
      hier_lvl9_code(30)       TYPE c,
      hier_lvl9_name(50)       TYPE c,
      hier_lvl10_code(30)      TYPE c,
      hier_lvl10_name(50)      TYPE c,
      hier_lvl11_code(30)      TYPE c,
      hier_lvl11_name(50)      TYPE c,
      created_by(15)                         TYPE c,
      created_date(10)                       TYPE c,
      last_updated_by(15)                    TYPE c,
      last_updated_date(10)                  TYPE c,
      batch_id(15)                           TYPE c,
      stage2_dim_id(15)        TYPE c,
      source_system_id(20)                   TYPE c,
      alt_account_set_hierarchy_ind(1)       TYPE c,
    END OF i_profit.
    DATA: BEGIN OF i_str_pc2 OCCURS 10,
            code(10)                 TYPE c,
            desc(50)                 TYPE c,
            hier_lvl1_name(50)       TYPE c,
            hier_lvl3_name(50)       TYPE c,
            hier_lvl4_name(50)       TYPE c,
            extradatetime(20)        TYPE c,
          END OF i_str_pc2,
          BEGIN OF i_setid OCCURS 4,
            g_setid   LIKE sethier-setid,
            v_kokrs LIKE sethier-kokrs,
          END OF i_setid.
    DATA : wa_str_pc2 LIKE i_str_pc2,
           wa_setid LIKE i_setid,
           v_datetim(20) TYPE c,
           v_tim(8) TYPE c,
           v_level_dec(50) TYPE c,
           v_profit_desc(50) TYPE c.
    *"*"Local interface:
    *"  TABLES
    *"      IPROFIT STRUCTURE  ZPCT
    * Append all the major nodes to I_setid
    * SOI7CR0326 – Profit Center node1( under this Hier will be available, and the end you will have profit centers),
    * SOI7FU0763 – Profit Center node2,
    * SOI7FU0764 – Profit Center node3,
    * SOI7FU0765 – Profit Center node4.
      wa_setid-g_setid = text-009.
      wa_setid-v_kokrs = text-004.
      APPEND wa_setid TO i_setid.
      wa_setid-g_setid = text-010.
      wa_setid-v_kokrs = text-004.
      APPEND wa_setid TO i_setid.
      wa_setid-g_setid = text-011.
      wa_setid-v_kokrs = text-004.
      APPEND wa_setid TO i_setid.
      wa_setid-g_setid = text-012.
      wa_setid-v_kokrs = text-004.
      APPEND wa_setid TO i_setid.
    * Loop at earch major nodes from i_setid.
      LOOP AT i_setid INTO wa_setid.
        REFRESH: i_profit.
    * Preparations: check authority to read sets
        CALL FUNCTION 'G_SET_OR_GROUP_AUTHORITY'
             EXPORTING
                  i_setid = wa_setid-g_setid
                  i_actvt = '03'.
    * Funtion module to import the set hierarchy and nodes values.
        REFRESH: sethier, setvalues.
        CALL FUNCTION 'G_SET_TREE_IMPORT'
             EXPORTING
                  no_rw_info    = 'X'
                  setid         = wa_setid-g_setid
             TABLES
                  set_hierarchy = sethier
                  set_values    = setvalues.
    * Copy set into DATA_TAB
        REFRESH data_tab.
        g_setval_index = 1.
        LOOP AT sethier.
          CLEAR data_tab.
          data_tab-level = sethier-level.
          data_tab-groupname = sethier-shortname.
          data_tab-descript = sethier-descript.
          APPEND data_tab.
          CHECK sethier-vcount > 0.
          CLEAR data_tab.
          data_tab-level = sethier-level + 1.
          g_int = g_setval_index + sethier-vcount - 1.
          LOOP AT setvalues FROM g_setval_index TO g_int.
            data_tab-fromvalue = setvalues-from.
            data_tab-tovalue = setvalues-to.
            data_tab-descript = setvalues-descript.
            APPEND data_tab.
          ENDLOOP.
          g_setval_index = g_int + 1.
        ENDLOOP.
    * Loop at the data_tab to move all the Profit center nodes to i_profit.
        LOOP AT data_tab.
          w_inc1 = data_tab-level.
          w_ctr1 = w_inc1.
          IF data_tab-level = text-002 .
            v_level_dec = data_tab-descript.  "Description of level 4 node
            CONTINUE.
          ENDIF.
          IF NOT data_tab-groupname IS INITIAL.
            CONCATENATE text-001 w_ctr1 text-007 INTO w_level_code1.
            ASSIGN  (w_level_code1) TO <cd1>.
            <cd1> = data_tab-groupname.
            CONCATENATE text-001 w_ctr1 text-008 INTO w_level_name1.
            ASSIGN (w_level_name1) TO <nm1>.
            <nm1> = data_tab-descript.
          ELSEIF NOT ( data_tab-fromvalue IS INITIAL OR
                            data_tab-tovalue IS INITIAL ) AND
                             data_tab-level NE text-003 .
            MOVE data_tab-fromvalue TO i_profit-code.
            PERFORM clear_above_level USING w_ctr1.
            APPEND i_profit.
            CONTINUE.
          ENDIF.
        ENDLOOP.
    *Select description from CEPCT table
        SELECT * FROM cepct
                 INTO TABLE i_cepct
                 WHERE spras EQ text-006.
        SELECT * FROM cepc
                 INTO  TABLE i_cepc.
        SORT i_cepc DESCENDING BY prctr datbi.
        DELETE ADJACENT DUPLICATES FROM i_cepc COMPARING prctr.
        SORT i_cepc.
        SORT i_profit BY code.
    * Date and Times for each record.
        CONCATENATE sy-uzeit+0(2) text-005 sy-uzeit+2(2) text-005
          sy-uzeit+4(2) INTO v_tim.
        CONCATENATE sy-datum v_tim INTO v_datetim SEPARATED BY space.
        LOOP AT i_profit .
          CLEAR: wa_cepc,
                 wa_cepct.
          IF   ( i_profit-code <> space
            AND i_profit-hier_lvl2_name <> space
            AND i_profit-hier_lvl3_name <> space ).
            READ TABLE i_cepc INTO wa_cepc WITH KEY prctr = i_profit-code.
            IF sy-subrc = 0.
            READ TABLE i_cepct INTO wa_cepct WITH KEY prctr = wa_cepc-prctr
                                                      datbi = wa_cepc-datbi.
              IF sy-subrc = 0.
    *v_level_dec               ( Description of level 4 node )
    *i_profit-hier_lvl2_name   ( Descri Level 6 )
    *i_profit-hier_lvl3_name   ( Descri Level 6 )
    *i_profit-code             ( Profit Center code )
    *v_profit_desc             ( Profit Center description )
       CONCATENATE wa_cepct-ltext text-013 i_profit-code INTO v_profit_desc.
                wa_str_pc2-hier_lvl1_name = v_level_dec.
                wa_str_pc2-hier_lvl3_name = i_profit-hier_lvl2_name.
                wa_str_pc2-hier_lvl4_name = i_profit-hier_lvl3_name.
                wa_str_pc2-code           = i_profit-code.
                wa_str_pc2-desc           = v_profit_desc.
                wa_str_pc2-extradatetime  = v_datetim.
                APPEND wa_str_pc2 TO iprofit.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDLOOP.
        CLEAR: v_level_dec.
      ENDLOOP.
      CLEAR: wa_setid.
    ENDFUNCTION.

  • IU Elimination Difference Subassignments (Business Area and Profit Center)

    Hi experts, it's my second tread in the forum and is in one day, I'm expired.
    <br>
    <br>
    Let's clarify the situation.
    <br>
    <br>
    At the past I'm using the parameters settings of IU Eliminination Difference Subassigments with fixed values, now, with our necessity, we question SAP how to do a interunit elimination receiving the business area  and Cons. Profit. Center from the trigger at the differences, and it apparently was simple solve, we just need to mark the "default value" flag and voila, system will do what we need, but is not so simple how we think.
    <br>
    <br>
    In productive environment, we have data since June/2009, and we want to change this from Jan/2010, but elimination is cumulated, and I suspect SEM-BCS is trying to correct the past.
    <br>
    <br>
    Does anybody pass this situation ?
    <br>
    <br>
    What we need is on every elimination on selection items and the difference items receive the business area and cons. profit center from the trigger (this have to remain with the origins), and the total value of elimination on period don't have to change, do you understand ?
    <br>
    <br>
    When change the configuration of the task and execute that, the eliminaton value change too ? We suspect it is
    because we have data before this period.
    <br>
    <br>
    If you need more explanation, please advice me, I will give more details.
    <br>
    <br>
    Here we are in SEM-BCS 600 EHP 2
    <br>
    <br>
    Best Regards
    <br>
    Alexandre Mendoza Collepicolo

    The breakdown category and the corresponding data is the same in the source system. I think I did`t express very well.
    I will put my understand about the default flag of the difference screen: This is used to try to get the subassignments from the items which we select on the preview screen not the fixed parameters. i.e.: Business Area.
    On January, we decided to get the subassignments on difference from the items on selection screen, for this we flag the default value, and re-execute the elimination on the monitor, but, when we execute this, the value is entirely wrong/different from the other, we suppose when we flag that and re-execute the elimination we get more line of elimination on total records with the business area, but that's not what happened, we have strange value with a total of elimination very different.
    Is it clear the operation ?
    I contact SAP and they are analyzing the case, but if anyone had a similar problem please advice me.
    Best Regards
    Alexandre Mendoza Collepicolo

  • Relationship Of cost Center & Profit Center

    Hello
    Can anybody explain what could be cons of having relations of 1:N between profit center & Cost center
    Regards

    Hello,
    It is not necessary you should have 1:1 relation before profit center and cost center.
    You can group costs of some cost centers to a profit center. Accordingly you can have 1:N relation between profit center and cost center. There are no cons as such. It is all based on your reporting requirement.
    Regards,
    Ravi

  • Profit Center Group Organization Change - Effective for Prior Periods

    Hi Experts,
    A client wants to perform a horizontal organization change (profit centers) and see the effects retroactively to the prior periods.  To achieve this, they plan to re-execute the consolidation tasks going back two to three years once the org change is made, so that they have comparative financial statements that take into account the change.  The requirement is to re-post the group level postings to the updated profit center group after the change.  For example, Italy related postings would occur under the group Central Europe instead of Western Europe as before.  All the group level postings previously booked to Western Europe would now need to recorded under Central Europe going back prior periods.
    Does anyone have any ideas as to how to meet the requirement without re-consolidating?
    One option was the restatement feature but based on the SAP help description of the monitor required, it does not take into account consolidated postings, only uploaded PL00-10 data and translation.
    Another option is to copy the version but then the results is in another version rather than the original 'actual' "100" version.
    Any ideas would be appreciated.
    Thanks
    Eyal Feiler

    Eyal,
    I know of no other way to accomplish this than to re-execute the consolidation for the prior periods after the hierarchy has been changed.
    I have used the restatement feature and like you have found it very limited.
    The copy to another version would only work if you copied the existing data to the new version before re-executing the consolidation. The the version 100 can be re-consolidated for the previous periods and the existing reports do not have to be changed for a new version.
    However, with the copy, it is important to set the cons group and cons unit hierarchies to be version dependent so the changes are only good for the version that is to be re-consolidated for previous periods. This allows you to report on the data before the change where the logic will read the old, unchanged version of the hierarchy.
    Dan

Maybe you are looking for

  • Help with importing video; smaller F.O.V. than recorded.

    I am importing clips that I shot on my Canon EOS 60D. They are 1080p 24fps .MOV files. I may have trouble explaining my problem, so bear with me. The image that is given to me in Premiere is considerably smaller than what I originally recorded on the

  • Crystal 8.5 / Delphi 7

    Post Author: tisri CA Forum: Older Products Hello, I'm trying to find a VCL component to allow me to use Crystal 8.5 Developer within Delphi 7 Professional.Google searches suggest that a component exists but I can't find it anywhere. I know both prod

  • How to Pass Id in query

    I have a table like this ID Name 1 Test 2 'xyz 3 Test 4 abc 5 pqr Now I want to filter the results of a query based on ID, but since users know the names and not the Ids, how can we show the Name in Parameter for user but when user selects a Name , q

  • 10.5.6 Install caused MBP to crash when connecting HDMI monitor

    I just installed 10.5.6 via software update (on accident,) and now my MBP locks up every time I connect my HDTV to my DVI port via a DVI to HDMI connector. Both screens (my laptop and HDTV screen) turn blue, sometimes the laptop screen just gets a bl

  • 5508 WLC to Server2008 NPS Radius

    I have setup the WLC to authenticate to a MS Server2008 NPS for a WPA2/AES SSID. The connection is successful, but client authentication fails for wrong EAP-type. I believe this indicates a Windows7 client issue. Can anyone tell me the required clien