Closed company codes in report

Hi All,
I have a requirement from business says that they are some company codes which has been closed , but in report its still showing data.
I understand that we can create a condition in query to exclude those company codes so that i wont appear in report.
But in detail i want to get understand how we can make any logic functionally in sap bi system , by writing a abap code through in flow and check for company codes that is still exist or being closed ? And how do i make a check in R/3 system "?
Or still something like functionality is already been configured in sap bi system itself to make a checks like that ?
Thanks,
Siva

In addition you can also do a flat file data load on a daily/weekly basis OR ask your functional team if there is any custom/standard table where the company code status is maintained so that it can be pulled in BW. You can also use CMOD code to enable this functionality
If there are many company codes which are inactive then you can also create a variable that will read only the active company codes from company code IO P/M table and available in F4 for help in variable entry screen
Thanks
Abhishek Shanbhogue

Similar Messages

  • Closed company codes - GR/IR clearing issue

    Hello,
    My Client has closed some of the company codes due to not doing businees in the respective areas.
    There are still lot of purchase orders are to be cleared by using GR/IR clearing. The issue is when i am trying to execute GR/IR clearing i am getting "Posting period is not open". This is because of old closed company codes.
    How to overcome from this issue? What is the best way to clear GR/IR accounts for these closed company codes?
    Please suggest suitable solution
    Regards
    Rifaie M

    there is no best way other than opening the periods.
    I asked a smilar question 3 weeks ago at DSAG/SAP archiving meeting. No SAP has nothing to archive "open" businescases from companies that have been sold and do not work anymore in your system.
    You may be able to archive 90% of the data, but the rest will remain forever.

  • Blocking the closed Company Codes to postings.

    When companies are sold and you want to close the company and block postings to this company, how can this occur? We have been told the only way is by either creating a Posting Period variant or  block the GL Accounts for posting at company code level. 
    Is there any way such as a checkbox which simply closes company code and no postings to this company are allowed?

    Thank you for your response. We are aware of this, but would like to   block the closed Company Codes to postings in another manner than closing accounts under the company code.

  • Closing company code FI impact

    Hi Guru
    We have two company codes xxx1 and xxx2, business requriement is close xxx2 company code and transfer all the GL balance. customer and vendor open items. we have 7 fixed asset which we need to transfer to xxx1 company code.
    I am new to FI. can you please tell me how can we transfer the GL balance from Company code xxx2 to xxx1?
    I have seen some threads from the community, but still i am confoused. we are not using the SLO migration service for that. SD, MM and WM part is done. Now FI need to transfer all the open items and balances to XXX1 company code. then we have to closed all gl account for posting.
    I know how to lock the GL accounts from FS00 and lock it from there. is there is any way how to lock company code GL accounts in one short? or do we have to lock it one by one. if i lock GL accounts, same GL account numbers are using in other company codes as well? if i lock in one company code can user will post GL entries to other company code?
    Cost center can be lock from KS02? is that right.
    Transaction code for GL open items? is there is any T-Code for transfer GL Account balance to company code xxx2 to Company code.xxx1?
    after every thing how to unactive the company code? any transaction code?
    if some one has any documentation plesae send it to me at deleted
    what are the other steps which need to be consider to close the company code.
    Regards
    Nasir

    Hi Nasir,
    Interesting Qs about co.code transfer. Well, to answer all the Qs one has to take few assumptions about the set up in your instance.
    Please find my reply below in bold;
    I am new to FI. can you please tell me how can we transfer the GL balance from Company code xxx2 to xxx1?I have seen some threads from the community, but still i am confoused. we are not using the SLO migration service for that. SD, MM and WM part is done. Now FI need to transfer all the open items and balances to XXX1 company code. then we have to closed all gl account for posting.
    GL Balance Transfer- You can use FB01/F-02 and use fast entry screen for Dr. and Cr. entries. Provide XL template with the fields that you need to your business users, and they'll get back with respective Dr. and Cr. GL entries from sending and receiving co.code. (You can always simulate before posting). Here's a caveat,
    AR/AP Balance Transfer- Recon. Gls would need a special treatment coz they can't be posted directly. AR/AP balances can also be transferred thru the same t.code where you'll have to select the different posting keys pertaining to vendors/customers Dr. and Cr. In the background, recon. sub-ledger will be posted automatically in sending and receiving co.codes.
    Assets Balance Transfer- It would be tricky part. ABT1N is used for Interco assets transfer. If it does not go well then be ready to adjust the recon. GLs through OSAV. You mentioned there are very few assets to transfer, so if it really gives hard time for asset transfer in SAP, then you can always check with business if they can accommodate through some sort of adjustment across both the co.codes considering small number of assets. Sometimes, it's taken care off that way. (here my assumptions is that your client is flexible)
    I know how to lock the GL accounts from FS00 and lock it from there. is there is any way how to lock company code GL accounts in one short? or do we have to lock it one by one. if i lock GL accounts, same GL account numbers are using in other company codes as well? if i lock in one company code can user will post GL entries to other company code?
    GLs are co.code specific though overlapping across different co.codes. t.code OB_GLACC12 is used to mass change GLs which includes deletion too. This would among your last steps before closing the door for sending co.code! Make sure Trial balance & B/S is ZERO in the sending co.code before running OB_GLACC12. And Yes, users will be able to post entries in other co.code successfully for the same GL.
    Cost center can be lock from KS02? is that right.
    Yes, but make sure you lock only those CC which are assigned to sending co.code. You can also delete them from same t.code, which is recommended. (If you lock, then they'll still appear in a drop down, so why bother users later on?) Remember, Cost center master is created at Co.Area level, so you don't want to accidentally block/delete 'em for good co.code.
    Transaction code for GL open items? is there is any T-Code for transfer GL Account balance to company code xxx2 to Company code.xxx1?
    I mentioned a couple in my first para of reply.Keep it simple!
    after every thing how to unactive the company code? any transaction code?
    Actually, it's a very imp.question. Now, it depends on your client however they want? Do then absolutely want to delete the co.code from system, and not want to see at all in future?
    Well, You will need to de-couple (un-assign) all the stuffs like Posting Period Variant, Fiscal year variant, Credit Control Area, Company, Chart of Accounts, Also remove assignment of the sending co.code from Controlling Area in OKKP. You may want to check the un-assignment to Sales org. and Purchase Org.
    Conclusion- Many of the testings, specially data transfer etc. you can perform in QA client just to get feel, and see the error messages, and their respective resolution. I'm sure during a way, and in de-coupling the co.code config. steps, you'll come across various messages, and hurdles, but they can be passed through patience and persistence.
    Good Luck!
    Thanks,
    Nirav

  • 2 Company Codes - Same Report --- Issue Very Urgent

    Hello Guys,
    I have following questions w.r.to BI implementation.
    We have 40 SAP BI reports developed for our company.
    Now we have moved to other New implementation for the same company but in other country. ( Germany - Company Code - DE / France - Company Code - FR ).
    Both Implementation : EN Language.
    We have 2 different Dev clients(ECC) for diff country implementations.But when we move to QAS they (ECC) will be integrating the data into one client,
    we are using only one BI client for both implementations.
    I Just have few questions ...
    I need to Load all the master data for 2nd implementation all over again.
    Firstly we have all the process chains and DTP and Transformations in place from !st implementation.
    1.Can we use those same PC to load master data for our second implmentation with different ECC client.
    2. How can we differentiate which master data belongs to which implementation when we integrate into one ECC client from BI system point of View.
    3. Also they (2nd implementation) want to use the above BI reports developed from 1st implementations, with their data specific to thier company.
    How can we handle above issues.
    Also could you suggest the points to keep in mind when displaying the same report but with different data based on company code.
    thanks,
    Shekar.

    Hi Shekar,
    1.Can we use those same PC to load master data for our second implmentation with different ECC client.
    --> If source system and client is same you can use same process chains, or neet to create new one to include new infopackage for new source and client.
    2. How can we differentiate which master data belongs to which implementation when we integrate into one ECC client from BI system point of View.
    --> If same data(material and customer) maintained differently in different systems(ex: same technical name but description is different)... then its better to make master data objects compounding with source system to differentiate data.
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6399e07211d2acb80000e829fbfe/frameset.htm
    3. Also they (2nd implementation) want to use the above BI reports developed from 1st implementations, with their data specific to thier company.
    --> Create authorization variable on company and use..
    How can we handle above issues.
    Also could you suggest the points to keep in mind when displaying the same report but with different data based on company code.
    --> Create authorization variable on company and use..

  • "The company code does not exist or has not been fully maintained" in mm01

    Hi all,
    I am creating a material, it needs me to provide company code. when I gave out my company code, it reports:
    "The company code ZXXX does not exist or has not been fully maintained".
    what should the problem be?
    thanks and regards,
    Smaosn Zhu

    Hi Raja,
    Checked all you specified.
    I have done these assignments:
    1. assign comp - > comp code
    2. assign plant- > comp code
    3. assign purch. org - > comp code
    4. assign purch. org - > plant
    but the problem is still there.
    let me try to re-do it.
    thanks,
    samson

  • Operating concern for two company code with different currency

    Hi,
    We are merging two company code into one SAP server.
    We decide to use on chart of account, and to use one operating concern.
    For company code A: the currency is CNY, for company code B: the currency is TWD.  The operating concern currency is:CNY.
    So i need to in KEA0(maintain operating concern) active company code currency, right?
    So every posting in company code B will be posted in TWD and CNY to COPA same item, right?
    In KE30 report, where to add characters: Currency type that i can show company code B report in TWD?
    Thanks.

    Dear David,
    Yes. If you have different compancy codes within one controlling area, you have to maintain currency type with 10-Company code currecny and while maintaining the operating concern also you have to choose the company code currency only.  Then only you will get the reports with respect of your company code currecny level. This will be basing on your company code-sales organisation, plants and other charcters assignment basis in your configuration.
    All the best,
    Dharma Rao. Yekula.

  • Posting time across company codes

    I have a question around timesheets accross different company codes. My example is:
    Company A wins the work with the external customer, who they will invoice and recognise the revenue for using RA. They are unable to complete the work so purchase the service of an employee within Company B. Normally this would mean raising a PO from Company A to Company B. The employee (who has a HR record within company B), then raises a Project & SO within company B and posts his time to it. He then invocies Company A.
    It would be very easy just to then service receipt the PO in company A, and post the invocie from company B. However we want to be able to action this via timesheets. The only solution we can come up with is to have the employee in company B to also have an external HR record in company A. This will then allow him to also enter time in the Company A project, and using CATM create the SES on the PO.
    However this means the employee is keying in 2 timesheet records. We can eliminate the records by the employee number range, but sometimes an entry could be missed.
    So how do others cross book accross company codes with timesheets. Bear in mind Company A wants to recognise all the Revenue for their project, and company B will also want to see the time postings in their company code.
    Any ideas?

    Okay, clear on your comment, and appreciate that.This comment fascinates me though, "In the scenario the project will consist of top level WBS billing element linked to sales order with customer and then another WBS belonging to the supplying company code in the lower hierarchy linked to sales order to the internal customer". In order to get RRICB to be read correctly in DP93 taking into consideration proper set up of DIP profile, etc. you need to have account assignment "E' in play. This prevents the use of a WBS on the contract and subsequently the sales order. Your suggested model is very different from what SAP documentation suggests for ECC 6.0. Again, not questioning you, just interested to know more as I have spent a lot of time recently modeling things in our sandbox environment, and have poured over the documentation many times.
    My conclusion at this point is RRICB works, and works well. BUT, there are limitations in terms of how things are accounted for at the end of the day. If the gap between the business requirement and the system standard doesn't cut it, not much you can do - really the essence of OSS NOTE 1341136.
    I am equally confused at item 6 (SAP documentation, not me). Further confusion in the fact you are suggesting the creation of a WBS at lower level, and SAP documentation suggesting there is no need for a project in this relationship. I have the suggested model in the link I posted previously working in our sandbox environment and admittedly I like what I see, just running into issues as the level of accounting that plays out in the scenario doesn't meet our the business requirement.
    We spent a lot of time trying to resolve our profit center dilemma via EXIT_SAPLV46H_001, but couldn't get it to take. Our code was successful in deriving what we were looking for, but seemed to get trumped later on in the process.
    Useful notes on the collective process I found ...
    352261      VA01: Error message KI100
    815972      PCA substitution for cross-company-code sale
    916973      Part PCtr incorr in interco bill before ext billing
    1410850    DP93: Service order on selection screen leads to VPK1 310
    1341136    RRICB, classic FI, new G/L, CO and PCA
    643838      Billing between company codes: Expense Reports and so on.
    Any further insights are welcomed.
    Thanks again,
    Jason

  • FBL3N- Abap error for new company code

    Hello Forum,
    I have created a new company code and created few GL accounts in My Test system. However when i try to run this report FBL3n it gives a runtime error.
    Runtime Errors         CALL_FUNCTION_NOT_FOUND
    Except.                CX_SY_DYN_CALL_ILLEGAL_FUNC
    Date and Time          02/11/2014 11:13:48
    Short text
         Function module "LINE_ITEMS_GET_GKNOT" not found.
    However it works fine with other company codes and report is executable and displaying the values properly.
    Any help is apreciatable
    Thanks
    David

    Hello David,
    Please go through in the below link which is already answered for your query.
    http://scn.sap.com/thread/1859902
    Yes, you are correct there is no  Function module "LINE_ITEMS_GET_GKNOT" with this name. PFA the screenshot for your easy reference.
    This is because of spelling error. Correct FM is LINE_ITEMS_GET_GKONT
    Please  follow the below given steps to correct the FM Name spelling error.
    Go to FIBF ---> Settings tab ---> Choose P/S Modules ----> Of a Customer ---->
    Event: 00001650
    Product: ZFBLOFF (which has been created in the previous step)
    Function Module: LINE_ITEMS_GET_GKONT
    Modify GKNOT as GKONT by choosing the correct line entry and then save.
    I hope it will resolves.
    Thanks & Regards,
    Lakshmi S

  • Problem in depreciation report for an old company code

    Hi All
    Our client has migrated from one company code to another from 1st jan 2009.
    Now the client wants an asset report for the year ending 31.03.2008 ( fiscal year 2007). The company code is the old one.
    When I am trying to run the asset report for the fiscal year 2007 the system is giving an error that fiscal year has not been closed.
    When I am running the tcode "AJRW"  the system is asking to post the depreciation. The depreciation has already  been run for the year 2008, then why  the system is asking for running the same.
    Plus is there any other way out by which I can get the asset balanaces report( s_alr_87011964) for the year ending 31.03.2008.
    We migrated to new company code on 01.01.20009. The balance sheet for 31.03.2009 is for new company code.
    regards
    kanupriya madan

    TC spro
    Financial Accounting / Asset Accounting / Asset Data Transfer / Set Company Code Status.
    Set the old no longer active company code on the status  3 Company code deactivated - later reporting allowed

  • Report for vendor across company code

    Hi,
    We want to have a report which include the vendor name along with its transaction total and net balance. Will also need to have the overall view of the vendor for all company codes, as many of our company codes purchases from the same supplier.
    Regds,
    Bhavesh

    Hi,
    Please check the report S_ALR_87012082.
    At the end you will also find an output option as "Total from All Company Codes". You can have a cross company code view there.
    Regards,
    Gaurav

  • Report to check project-wbs-requesting co.code-company code in assignment

    Dear All,
    Is there any standard report to check Requesting co.code and company code (assignment tab) by project and wbs. I tried CNS43 but there is no requesting company code.
    Can we use SQ01 to create this one ? Any one can advice me how to make query for this concern.
    Please advice.
    Thank you
    Nies

    Hi,
    You can use SQ01 for this. Query the table:PRPS.
    The fields you require are:
    PRPS-PBUKR
    PRPS-ABUKR - Requesting company code.
    Muraleedharan.R

  • Link Sales Office to Company Code in FI (Aging Report)

    Hi,
    We are currently doing a centralization project where all sales and finance activities will take place from 1 location.
    This will result in using one single company code and 1 single sales organization with different sales areas instaed of 20+ company codes and sales organizations.
    Each sales area will be linked to all available sales offices (as was already the case with the current organizational structure).
    As we will work with only one company code, we can not make reports anymore based on company code level to differentiate on legal entities.
    We thought of working with Business Areas, but they can only be maintained on Sales Area level and are therefore not useful to do our analysis.
    Sales office will have a one to one relationship with customer (as is now), but you don't have a similar field available on FI side.
    Could you please help me by indicating if we should use a different field (in SD or FI)? Or should we use a user exit at time of saving an invoice so the sales office is brought to FI? Any other ideas?
    Thanks for your feedback!
    Geert

    Shravan.
    This is not a SAP standard practice.
    So, you need to create a program to create another sales order (and choose a correct sales area).
    Leonardo Rocha

  • Company code restriction for dashboard and webi reports in BOBJ

    Hi Friends,
    We have a requirment where we need to restrict user on company code level in bobj.
    we have some dashborads and webi reports which need to be restricted at company code level, hence i have created a  role in BI and restricted the queries (bex queries) on company code level and same role and user i have imported in BOBJ.
    Now i can see the role and user in BOBJ and also i can login to BILAUNCH PAD with authentication as SAP  But unable to run the webi reports and dashboard hence i have added those reports to this user in bobj and now i can run the reports, but restriction is not working.
    In BI I am able to restrict user  but in bobj its  not restricting. kindly let me know if i am missing anything?
    We are having BO 4.0 SP6.
    Thanks
    Basis

    Hi Saurabh,
    In BI its wokring perfectly fine.
    I can run the query for specific company code and data is being populated as the respective compay code.
    I have also configure SSO between BI & BO using below link
    http://wiki.scn.sap.com/wiki/display/BOBJ/How+to+setup+SSO+against+SAP+BW+with+SAP+BO+BI4.0+Common+Semantic+Layer+%28UNX%29+or+BICS
    but when i am trying to create a olap connection in IDT with SSO connection test is getting failed with belwo error.
    com.businessobjects.mds.olap.OlapException: [Internal] SSO token or User password is empty.
    I checked STS is already there in APS .
    Thanks
    Basis

  • F.01 Balance Sheet-Report to see in company code wise

    Hi Experts
    Goodevening
    We are recently upgraded to ECC.6 version of SAP.
    The issue is, when we use Tcode F.01 relating to Balance Sheet Report it is giving the result in Business Area Wise of all the assets and liabilities.
    Is there any possiblility to see the report in company code wise and not the business area wise. since the same asset is displayed in different business area wise.
    eg.,
    21100/1011004  Gross Block - Intangible assets  647,080.00
    21100/1011004 Gross Block - Intangible assets    22,048.00
    21100/1011004 Gross Block - Intangible assets  2,847,283.25
    21100/1011004 Gross Block - Intangible assets 92,040.00 21100/1011005 Gross Block - Plant And Machin75,258,226.67 21100/1011005 Gross Block - Plant And Machin   216,968.87     
              the problem is like above
    now we want to see the report in lumsum, without business area wise.
    pls suggest me how to get the report
    thanks in advance
    warm regards
    kishore

    Dear Kishore,
    While executing in F.01 give all parameters without Business Area and Execute
    Apart from that if you need to additional thing go through dynamic selection in F.01.
    Assign point.........thanks in Advance.
    Rgds
    Madhuri

Maybe you are looking for

  • RADIUS Probe on WLC for ISE

    I am doing a Proof-of-Concept for wireless, and I'm getting the infamous "Unknown" endpoint for a device that should be getting profiled as a Windows-Workstation based on the info that I received from Identity-Endpoints section.  My question is wheth

  • How to dynamically choose which view to display in second step

    Hi Guys, I am just started to evaluate fpm to decide whether to use it in our project. So i have question that might be very simple to you all, that i hope you all can help me with. Say i want to use the fpm GAF with a single webdynpro component. I h

  • Problems using iTunes and my external drive.

    So I initially had a little trouble getting my iTunes to work smoothly with my external drive, a My Book 1Tb, but after a lot of trouble shooting and help from people on the forum I got it and it worked brilliantly. But now, it seems to have run out

  • Error creating jar

    Hi everyone! I'm developing a mobile application for an nokia n95. However a got to an error that I'm finding difficult to deal with. This is the code i'm testing: import javax.microedition.location.*; import javax.microedition.lcdui.*; public class

  • Error in DTD

    Can anyone explain why is this happening and what's the solution. I am trying to parse an XML file from an Java applet. When the parse(URL) method is called, it returns an error (Error opening external DTD). This is the line for de DTD in the XML: <!