Merge 3 company codes into 1 company code

Hi,
has anybody already done such a merge? What things must be considered?
Has anybody already worked with SAP system landscape optimization tools? Was it successful?
Thanks for any hints

hi,
Check the possibility of uploading the balances of the merging company code into the existiong company code. For this you may have to to some customization like asset transfer date & have to uplaod the master data.

Similar Messages

  • How to transform this pascal code into java code!

    I want to transform this pascal code into java code . Please tel me how to do it because I really don't know how to do it!
    Thanks!
    {CALCULATE HOHN-LONDON FACTORS}
    var kk:tab4;
    PROCEDURE INTENS(var kk:tab4);
    begin
    for n:=0 to nr+2 do
    begin
    kk^[1,n]:=sqrt(lup*lup*yg*(yg-4)+4*sqr(n+1)) +lup*(yg-2);
    kk^[2,n]:= sqrt(lup*lup*yg*(yg-4)+4*sqr(n+1))-lup*(yg-2);
    kk^[3,n]:=0.5*(kk^[1,n]*kk^[1,n]+4*(sqr(n+1)-lup*lup));
    kk^[4,n]:= 0.5*(kk^[2,n]*kk^[2,n]+4*(sqr(n+1)-lup*lup));
    kk^[5,n]:= sqrt(ldown*ldown*yd*(yd-4)+4*sqr(n+1)) +ldown*(yd-2);
    end;
    end;
    BEGIN
    new (kk);
    intens(kk);
    writeln(f2,' ','N ','V','branch ','H-L');
    for n:=1 to np do
    begin
    fp1[n,v]:=(n-ldown)*(n+ldown+1)*sqr(kk^[2,n-1]*kk^[6,n]+4*(n+ldown)*(n-ldown+1));
    fp1[n,v]:=fp1[n,v]/(4*(n+0.5)*kk^[4,n-1]*kk^[8,n]) ;
    writeln(f2,' ',n,' ',v,' fp1 ',fp1[n,v]:10:2);
    end;
    for n:=1 to nq do
    begin
    fq1[n,v]:=sqr(kk^[2,n]*kk^[6,n]*(ldown+0.5)+4*(n-ldown+1)*(n+ldown+1)*(ldown-0.5)) ;
    fq1[n,v]:=fq1[n,v]/(2*(n+0.5)*kk^[4,n]*kk^[8,n]*(n+1.5));
    fq1[n,v]:=fq1[n,v]*(n+1);
    writeln(f2,' ',n,' ',v,' fq1 ',fq1[n,v]:10:2);
    end;
    for n:=1 to nr do
    begin
    fr1[n,v]:=sqr(kk^[2,n+1]*kk^[6,n]+4*(n-ldown+2)*(n+ldown+1));
    fr1[n,v]:=fr1[n,v]/(4*kk^[4,n+1]*kk^[8,n]*(n+1.5));
    fr1[n,v]:=fr1[n,v]*(n-ldown+1)*(n+ldown+2) ;
    writeln(f2,' ',n,' ',v,' fr1 ',fr1[n,v]:10:2);
    end;

    Basically it looks like this:
    public class KK{
         private your_type[][] kk = new your_type[length][length];
         private void intens(your_type[] kk){
              for(int n= 0; n<nr+2; n++){
                   kk[1][n] = Math.sqrt(lup*lup*yg*(yg-4)+4*Math.pow((n+1), 2)) +lup*(yg-2);
                   kk[2][n] = Math.sqrt(lup*lup*yg*(yg-4)+4*Math.pow((n+1), 2))-lup*(yg-2);
                   kk[3][n] = 0.5*(kk[1][n]*kk[1][n]+4*(Math.pow((n+1), 2)-lup*lup));
                   kk[4][n] = 0.5*(kk[2][n]*kk[2][n]+4*(Math.pow((n+1), 2)-lup*lup));
                   kk[5][n] = Math.sqrt(ldown*ldown*yd*(yd-4)+4*Math.pow((n+1), 2)) +ldown*(yd-2);
         public static void main(String args[]){
              KK k = new KK();
              k.intens(kk);
              System.out.println(f2  + ' ' + 'N ' + 'V' + 'branch ' + 'H-L');
              for(int n=1; n < np; n++){
                   fp1[n][v] = (n-ldown)*(n+ldown+1)*Math.pow((kk[2][n-1]*kk[6][n]+4*(n+ldown)*(n-ldown+1)), 2);
                   fp1[n][v] = fp1[n][v]/(4*(n+0.5)*kk[4][n-1]*kk[8][n]) ;
                   System.out.println(f2 + ' ' + n + ' ' + v + ' fp1 ' + fp1[n][v]:10:2);
              for(int n=1; n< nq;n++){
                   fq1[n][v] = Math.pow((kk[2][n]*kk[6][n]*(ldown+0.5)+4*(n-ldown+1)*(n+ldown+1)*(ldown-0.5)), 2);
                   fq1[n][v] = fq1[n][v]/(2*(n+0.5)*kk[4][n]*kk[8][n]*(n+1.5));
                   fq1[n][v] = fq1[n][v]*(n+1);
                   System.out.println(f2 + ' ' + n + ' ' + v + ' fq1 ' + fq1[n][v]:10:2);
              for(int n=1; n < nr; n++){
                   fr1[n][v] = Math.pow((kk[2][n+1]*kk[6][n]+4*(n-ldown+2)*(n+ldown+1)), 2);
                   fr1[n][v] = fr1[n][v]/(4*kk[4][n+1]*kk[8][n]*(n+1.5));
                   fr1[n][v] = fr1[n][v]*(n-ldown+1)*(n+ldown+2) ;
                   System.out.println(f2 + ' ' + n + ' ' + v + ' fr1 ' + fr1[n][v]:10:2); //fr1[n][v]:10:2 --> Here you must use the BigDecimal class
    }I'm not very sure because my pascal knowledge is extremely "dated".
    What about the converter I told you about?

  • Converting .rpt file code into Perl code

    Hi All,
    I have some .rpt file which contains the following code to generate the report in Oracle
    .declare booking_no a13
    .declare line_code a10
    .declare line_booking a12
    .declare book_date a11
    .declare taken_by a10
    .declare ud a10
    .declare ship_name a40
    .declare ship_addr1 a40
    .declare ship_addr2 a40
    .declare ship_addr3 a40
    .declare ship_cont a20
    .declare ship_phone a20
    .declare ship_ref a20
    .declare fwdr_name a40
    .declare po_no a20
    .declare vessel_name a25
    .declare voyage a10
    .declare etd_origin a11
    .declare sail_date a11
    .declare origin_name a20
    .declare load_name a20
    .declare disch_name a20
    set page_no 1
    .set first "N"
    .set no_more_clauses "N"
    .declare dest_name a20
    .declare disch_code a4
    .declare dest_code a4
    #dt 1 1 80 #
    #dt 2 1 6 9 48 50 61 63 76 80 80 #
    #dt 3 1 13 15 34 36 40 42 56 58 62 64 74 75 79 #
    #dt 4 1 13 15 49 53 64 66 80 #
    #dt 5 1 15 18 52 #
    .define lock_tables
    lock table booking_table, booking_hazmat, custdata2, edit_table,
    booking_rates, printer_table in share update mode
    .define get_input
    select passkey, '//FAX(fax=' || passkey1, passkey2,
    passkey3, passkey4, printer_name
    into input_booking_seq, fax_header, file_no,
    input_print_rates, myNoteId, printer_name
    from edit_table
    where edit_table.tag = 'BOOKING'
    and edit_table.key = 'PRINT'
    and edit_table.user_id = user
    .define get_user_info
    select user_location,user_name, user_company, &fax_header || ';style=' || letterhead,
    fax_printer, nvl(fax_yn,'N')
    into user_location, user_name, user_company, fax_header, fax_printer, fax_yn
    from security_header
    where user_id = lower(substr(user,5,10))
    .define get_fax_printer
    select &fax_header || ';print = Confirm;printer = ' || &fax_printer || ')'
    into fax_header
    from dual
    .define printMsg
    .execute formatMsg
    .if "&myNote = 'N/A' " then skipMyNote
    .print myNote
    .&skipMyNote
    .if "&myNoteExt = 'N/A' " then skipMyNoteExt
    .print myNoteExt
    .&skipMyNoteExt
    .add line_count line_count 9
    .execute lock_tables
    .execute get_input
    .execute printer_controls
    .execute get_top
    .execute get_user_info
    .execute get_user_office
    .rem --------- this section is added to print bookings by file -------
    .ifnull file_no skip_by_file
    .report get_lots file_loop
    .goto skip_to_end
    .&skip_by_file
    .rem ------------------------------------------------------------------
    .if "&fcl_lcl = 'F' " then ck_fcl
    .execute adjust_letterhead_lcl
    .goto skip_over_fcl
    .&ck_fcl
    .execute adjust_letterhead_fcl
    .&skip_over_fcl
    .if "&fax_yn = 'N' " then skip_confirm
    .execute get_fax_printer
    .goto skip_to_booking
    .&skip_confirm
    .execute set_no_confirm
    .&skip_to_booking
    .print_info
    I need to code to create a generic parser which actually convert the above code in a .rpt file into perl code and then finally the perl code could generate the report ...
    Please help me out for this to process and suggest me if there is any parser module available for that ....
    Shelley

    Is this topic is very new to all programmers????
    Or is it a fake topic to ask???

  • Converting CPP code into JAVA Code

    i have made a cpp file that is running fine... is ther a tool which can convert that cpp file into java file easily?

    No

  • Copy HTML Code into DW?

    In CS6 I create a simple rectangle and increase the roundness of the rectangle. I then select the shape and choose edit > copy HTML code and I open Dreamweaver CS6 and paste the code into the code window. I thought it was supposed to write code to replicate the shape I created in FW, though instead it is just referencing a graphic of the shape I made in FW that was exported. What did I do wrong?
    Thanks.

    Use the CSS Properties panel, not Edit > Copy HTML Code.
    Create the rectangle
    Make sure it's selected
    Open the CSS propreties panel
    Click the Copy All button
    Go to Dreamweaver
    Create a Div and apply a class to the div
    Create a CSS class and within the rule, press Ctrl or Command + V to paste the CSS properties from Fireworks.
    Refresh the page (and switch to Live View) and you should see the rectangle, with all the supported visual properties, displayed using CSS.
    HTH

  • Impact of Merging multiple company codes into ONE

    Hi,
    We are currently doing a study for a client,  they have the following scenario where the client has got multiple company codes in SAP (due to some tax benefits they had initially created the company codes) now the tax benefits cease to exist and they are planning to consolidate/merge all the company codes into one legal entity. In the existing landscape all the company codes are in the same client. They are proposing to merge all the company codes into an existing company code.
    Trying to understand the impact of merging on SD and would appreciate your thiughts/insights into what could be the important critical impacts of merging and what are the factors to watch out for from an SD perspective. Client has VC and MTO scenarios.
    Thanks in Advance.
    M

    Hi,
    It all depends on your strategy. Will you be creating a new Sales organisations? or continue with the existing one? Also, please check with the client as to how the existing plants in the subsidery company  be treated in the holding company.
    You will have to check the master data, open items, Z programmes & most importantly CIN related settings.
    Hope this is helpful, please let me know if you require further inputs.
    Thanks.

  • Merging of plant into another company code

    Dear,
         We are planning to merge the plants of other company code into another.first company code will be blocked.can anyone tell me the steps to be taken into consideration from SD side .
    regards
    Chilukri

    Hello,
    Check the following link
    www.service.sap.com/slo
    Here you will find another link called "company code merge".There is a lot of information regarding other SLO services too.
    Regards,
    Sourabh
    Reward points if helpful.

  • How to pass the currency of particular company code into a text variable.

    Hi
    I want to pass the currency of particular company code into a text variable.
    The company code is selected by the user using Input variable "0S_COM_M".
    I have created a text variable "ZD_CURR" with processing type customer exit.
    I have written the following abap code but its not working.
    DATA : LV_CURR type /BI0/OICURRENCY.
      WHEN 'ZD_CURR'.
        IF I_STEP = 2.
          CLEAR  XTAB.
          READ TABLE I_T_VAR_RANGE INTO XTAB WITH KEY VNAM = '0S_COM_M'.
          SELECT SINGLE CURRENCY FROM /BI0/PCOMP_CODE INTO LV_CURR WHERE COMP_CODE =  XTAB-LOW.
          L_S_RANGE-LOW = LV_CURR.
          L_S_RANGE-SIGN = 'I'.
          L_S_RANGE-OPT  = 'EQ'.
          CLEAR E_T_RANGE.
          APPEND L_S_RANGE TO E_T_RANGE.
        ENDIF.
    Pls let me know how to resolve this issue or what modification can be done to this code.
    Is there a way where we can debug customer exit code for variables.
    Thanks.

    Hi.
    You should debug your code to check behaviour of it.
    Just set external breakpoint (or create checkpoint via tc SAAB) and run your query.
    You may run query via RSRT.
    Regards.

  • Tax codes for Company code wise

    hi kings
    I am facing big problem is I want to listout the company codewise tax codes for whatever i am using in last year.  So how can i get the list for tax code for my code with in period.
    regards
    sri

    try this:
    REPORT ztaxrep01.
    TABLES bset.
    SELECT-OPTIONS: bk FOR bset-bukrs.
    PARAMETERS yr TYPE gjahr.
    DATA: BEGIN OF ztab OCCURS 0,
            bukrs TYPE bset-bukrs,
            land1 TYPE t001-land1,
            kalsm TYPE t005-kalsm,
            mwskz TYPE bset-mwskz,
          END OF ztab.
    DATA itab LIKE ztab.
    SELECT bukrs  land1 FROM  t001 INTO CORRESPONDING FIELDS OF itab
           WHERE  bukrs  IN bk.
      SELECT SINGLE kalsm FROM  t005 INTO itab-kalsm
             WHERE  land1  = itab-land1.
      SELECT mwskz FROM  t007a INTO itab-mwskz
             WHERE  kalsm  =  itab-kalsm.
        SELECT SINGLE mandt FROM  bset INTO sy-mandt
               WHERE  bukrs  = itab-bukrs
               AND    gjahr  = yr
               AND    mwskz  = itab-mwskz.
        IF sy-subrc = 0.
          APPEND itab TO ztab.
        ENDIF.
      ENDSELECT.
      CLEAR itab.
    ENDSELECT.
    LOOP AT ztab.
      WRITE: / ztab-bukrs, ztab-land1, ztab-kalsm, ztab-mwskz.
      AT END OF bukrs.
        ULINE. SKIP.
      ENDAT.
    ENDLOOP.
    A.

  • Company code and Account code does not exist in SKB1 while entering GL Tran

    I have created chart of accounts in the co code but getting error msg while posting entry in <Company Code>and<GL Account> transaction that entry does not exist in table SKB1. I have copied COA from existing SAP COA.
    I was able to find the solution for the following messages
    1.     Fiscal Variant not connected to company code
    2.     Open Posting Period u2013 period 032009 not open (June-3)
    3.     The number range 01 is missing for year 2009
    4.     Document Number not defined
    5.     No amount tolerance range entered for this company
    6.     Entry Company code no does not exist in SKB! (G/L account company master)
    7.     Company coode ZR02 is not attached to field status variant

    Hello,
    There is no such automatic copy function from Chart of Account Segment to Company Code Segment.
    You need to write LSMW by recording and upload the GL accounts into company code segment.
    Use the following guide for your guidance.
    ttp://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    Regards,
    Ravi

  • In SAP Script how to hard code my Company address in footer window

    Hi All ,
    In SAP Script how to hard code my Company address in footer window .
    Ex : in YB_F140_ACC_STAT this script i want to keep my company address, i want to hard coad , i dont want to use any field from table.
    Please give me step by step.
    Thanks
    Sridhar

    Hi,
    You can make use of standard text...
    create a standard text in SO10 with your company address
    and in the footer window of your script.. use include text and provide the name of the standard text you created in SO10.
    In the text editor... goto insert > text> standard
    You get popup give the name of the text name id and language
    regards
    padma

  • TAX code custmisaion for Overseas Company with local Tax code

    Hi Gurus...
    I am facing following scenario:
    **My company is set ups as overseas company / company code  curr / local Curr = overseas Curr, My group currency is local currency / home country curr.
    **I like to raise PO for a vendor who is local and supplying goods locally, invoicing in local currency for Overseas company. Goods will be used locally.
    I like to know how should I configure this from TAX perspective.
    Thanks
    Hiren
    Edited by: Hiren Mazumdar on Mar 6, 2009 4:04 AM

    Hi
    <u>SPRO Path - hope this will help you in customizing </u>
    1.
    SRM Server -> Cross-Appl Basic settings -> Tax Calculation ->Determine Tax Code for Country/Product Category.
    2.
    SRM Server -> Cross-Appl Basic settings -> Transaction Tax engine -> Define Tax Settings .
    <b>Please go through the links below -></b>
    Re: Tax Calculation
    Re: Tax code T1 does not exist for jurisdiction code error in shopping basket
    BBP_DET_TAXCODE_BADI is not setting the Tax Code !  :-(
    Tax code is not changing in back-end
    Tax code
    Tax code T1 does not exist for jurisdiction code error in shopping basket
    Change tax code in SC
    Regards
    - Atul

  • Bapi_Acc_Document_Post - E 018 : Invalid tax code and company code combination

    Hi All,
    I need the help of this forum once again.
    I am using bapi Bapi_Acc_Document_Post to create KR documents in SAP. The bapi works absolutely fine except for one scenario:
    For a particular type of invoice coded to Company "XXXX" with lines having tax code "I0", the bapi returns error message "E 018 : Invalid tax code and company code combination". The tax code "I0" and the company code "XXXX" has been mapped in SAP and if I try to create the invoice manually in SAP using the GUI, the invoice gets created without any issue.
    I have tried searching the forum but could not find any post on this topic.
    Therefore, requesting the masters to please help me out on this.
    Best Regards
    Sutirtha Roy

    Hi Gowthami,
    how have you solved your problem, because I am facing the similiar issue and trying desperately to post the following combination with BAPI_ACC_POST_DOCUMENT:
    001 40       490100     Aufw. aus Marge PP              R2                 15,92
    002 31       10000003   Kreditor                                R2                 15,92-
    003 50       175060     Abzugsverfahren USt            R2                  3,18-
    004 40       154060     Abzugsverfahren Vst             R2                  3,18
    THANX!
    Regards
    Marko

  • Re: IMpact in changing company code to company relation not during monthend

    Hi Guru
    I would like to know your opinions about the impact that may arise in changing company code - company relationship during the mid month(not exactly mid month - anytime expect month end )? If there is an impact what would be the best approach. We suggested to the change at the month end and do the month end activities ..but due to management decision, situation may appear where it needs to be done during the month .  They have inter-company transaction .
    Here is the scenario :
    Company A has 1,2,3 and 4 as it's company code . The company code 4 now needs to be linked to a new company B . How can this be done during the middle of month ? How to get the reports for new company A and Company B and make sure the entries are correct one .For example on 18th of month company code 4 is been moved to company B. how will the assets depreciation will be posted that will reflect in Balance sheet . Let say total depreciation for the month is 300$( 30 days in month). I believe this will show up in both company B/L sheet as 300$. We are looking to differentiate 180$ being posted to Company A balance sheet and 120 to be posted to company B balance sheet .Your input on this will be highly appreciated.
    Thanks
    Gobi

    Hi
    Transaction <b>OX02 </b>changes the name.
    It is not easy to change your company code to a new one.
    You would need to copy your existing company code to the new one and go through the IMG and verify all settings. Then reconfigure all the modules that are using the old company code like purchasing, sales, etc. to point to the new code. Finally, you would need to transfer all the legacy data. Therefore it is far easier to keep the existing company code but give it a new text name.
    Copy all the customization in a new client, no transactions and no master data. So you’ll have the same settings   with your live system. 
    Created a new company code with the new currency, and copy all the customization. This step was to minimize step in re-customization. 
    Uploaded all the master data...and do a new transaction
    The suggestion is don't do that in a live system or else you’ll have a big problem then.
    Message was edited by:
            SHESAGIRI.G

  • Company Code to Company Assignment

    Dear Gurus,
    Presently in my instance there are 2 different company code assigned to 2 different companies this config was done during initial implementation.Auditors have raised issue regarding irrelevant confifuration as we are not doing consolidation or consolidation is done manually.
    I want to know if I remove this assignment will there be any other effect in FI or in other modules.
    Please suggest.
    Regards
    Raju

    Hello,
    Company is NOT a mandatory configuration, unless you are going with EC-CS.
    However, in case if you want to post a inter company document between two company codes which are in turn assigned to two different controlling areas, in such cases, both the company codes must have been assigned to a single company. If you are covering any such scenario in your business, then I recommend not to delete the Company.
    But, you told that both these company codes are being assigned to different companies and I believe you are not going for Consolidation. In such case you can delete the Company.
    Go to transaction code OX16 and remove the assignment of company from your company code.
    Go to transaction code OX15 and delete the company.
    Thanks,
    Ravi

Maybe you are looking for