How to close Co.Code in FI

Hi,
Can any one explain me how to close a CO.Code and merge with sometoher company code to form a new company.

Yes it is a service from SAP SLO system landscape optimization
I think you are asking for merging a co code
For example if you have a co code aaaa and bbbb and at the end you want only bbbb to be left and all the data from aaaa should be in bbbb
and there will be no trace of aaaa in your system
Call SAP SLO service they can do it for you for $$$ they can also do
1) Change your controlling area
2) Merge your controlling area
3) Merge your co code’s
4) Change your chart of account
System Optimization
Modifying your SAP landscape - quickly and reliably
Best practice solutions
§ System landscape optimization § Restructuring productive SAP systems § Spinning off corporate units § Merging productive SAP systems (R/2 and R/3) § Broad range of industries § Development partner for the SAP migration tools § Commercial and technical expert knowledge from just one supplierRead on
Restructuring projects
Every company is subject to changing underlying conditions. Regardless of whether the influences are internal or external, each organizational change makes it necessary to modify IT systems. Amongst other things, changes can result from redefining internal organizational structures, spinning off parts of a company, acquiring other companies, having to harmonize data, or restructuring the IT landscape.
In live SAP systems, this gives rise to tasks such as the following:
§ Changing numbering systems (e.g. chart of accounts, material numbers, customer numbers, and vendor numbers) or key terms (e.g. the names of company codes, plant, or business areas)
§ Changing structures: combining or separating company codes or controlling areas
§ Combining or separating SAP systems
We are a partner of SAP SLO (System Landscape Optimization) and would be pleased to share with you our expertise - in terms of both drawing up a concept and technically implementing such restructuring measures in your SAP system.
Based on the organizational and commercial specifications of our customers, we analyze existing data, pick out suitable conversion tools, and adjust them to meet the specific needs of the project.
Migration projects
One of the most important steps towards operating your IT system successfully is to migrate your data quickly and reliably. There is more to this than just transferring legacy data prior to going live with your new IT system. It is also necessary to migrate data during upgrades in SAP systems that are already up and running. SAP SI is one of the most experienced SAP specialists in this field. Our migration experts played a key role in developing the SAP migration tools and have already implemented countless projects successfully.
We offer you the following services:
§ Data transfer from R/2 and non-SAP systems
§ Concept and management consulting relating to migration
§ Migration consulting in fields relating to SAP
§ Planning and implementation of step-by-step changeovers (coexistence scenarios)
§ Modification of conversion rules to meet customer needs
§ Design and implementation of migration tests in close cooperation with the customer's departments
Advantages for the customer
You will enjoy end-to-end consulting services - based on both commercial and technical viewpoints - thanks to the combination of migration consulting and the expertise of SAP SI's industry center. Having already implemented a large number of complex migration and conversion projects, our conversion consultants have a wealth of experience that they can utilize to benefit you. Moreover, you can draw on the services of just one supplier for all aspects of the project - from planning to implementation and going live - allowing you to rest assured that everything will run smoothly throughout.
SAP SI is the ideal partner to plan and implement individual conversion scenarios for you - so come to us when you need to change over your SAP systems following mergers or restructuring.
For further details Please Contact
Christine Hillenbrand at [email protected]
Phone +49/3 51/48 11-4200
Hope this helps,
Regards,
Ravi
Please assign points as a way to say thanks

Similar Messages

  • How to close material code

    I Have one material#xyz , these material was maintained in allmost 10 plants, now user wnats to close this material code, how to do this one?
    shall i do  MM06?
    or
    sapman.

    Hi
    U need to mark it for deletion using MM06
    If u want to permanently delete it from plant u have to archive it
    check below link about archiveing material master
    <b>http://www.sap-img.com/bc003.htm</b>
    Vishal...

  • Dynpro application: how to perform some  code when user click window close

    Hello,
    I'm developing dynpro application. This application needs to perform some code when exiting.
    I can do that with MODULE xxxxx AT EXIT-COMMAND. But this code can't be performed when user of application click on button closing window (classic R/3 window, not pop-up).
    Does anybody know how to bind some code to clicking on button closing window?
    Best regards,
    Josef Motl

    As far as the prompt that you get when you close the last window is coming from the counter that SAP maintains regarding the number of open sessions(windows). When this counter reaches 1, I guess they have a check to issue a prompt. There was a discussion in this forum a long time back regarding how we can know that session id like SM04. There was no conclusion reached then. Theoritically, let us know you know this id for the session in which the user opened a particular page, then you can see if that session is deleted and then take the necessary action. There are some TH_* function modules that seem to be promising, but I was not able to conclusively achieve the control over a particular session.
    See if you can look at SM04 and get an idea. Please do let us know if you find the solution.
    Srinivas

  • How to close infopath form through code?

    Hi All,
    How to close infopath form through code, thanks in advance!

    Hi Sam,
    Please check if the articles below can be help:
    http://www.bizsupportonline.net/browserforms/programmatically-submit-infopath-form-sharepoint-send-email-close-form.htm
    http://www.bizsupportonline.net/blog/2009/01/how-to-programmatically-run-code-close-infopath-web-form/
    Regards,
    Rebecca Tu
    TechNet Community Support

  • How to close  or delete a PO?

    Hi
    How to close or delete a PO ?
    I can see to delete the line items .
    But if I wanna delete a PO itself , is it possible ?
    regards,

    Hi Sandeep
    You can flag all items for delete in Purchase Order,
    Go to ME22N and enter purchase order. Select item and click on delete button (which is available just above item details) and save.
    Once you complete mark for deletion, you can proceed for archiving.
    transaction code for archiving: SARA
    Object: MM_EKKO
    also check above link for detail process.
    regards
    Srinivas

  • How to Close A/P Invoice in SAP B1 9.0 using SDK without creating an outgoing payment

    Hi Team;
    I have an issue about of how to close an A\P invoice that has two different tax definitions because I have recorded in a sap Business One A\P Invoice that Have Withholding tax (3%) and have Value Added Tax (18%) at once but when doing Payment of those invoices I did it separately without linking A\P  invoice with payment so that I can do a journal entry that credit the VAT Account and debit the Supplier to record that VAT while doing reconciliation I get I message ‘’ Use the same payment category withholding tax code for all transactions during reconciliation  [Message 3821-32]”” I need your help if there is a way that I can close (Changing the status of those invoices because they still open ) invoices without doing A reversal Transaction that affect the accounting  report in SDK.
    Please anyone can help me.

    Hi pallavi p,
    That's good but as I said above when I add the reference of UI API Version 9.0 in the project which has the system form or user form of sap b1 it exactly gives errors in menu.vb of the project.
    So let me give you the way you can try.
    1. Open new project/ visual basic/ sap business one/ sap business one add-on project. and save it any where
    2. Right click on your project
    3. Add new item
    4. Sap Business One
    5. System form (Employee master data) or user form
    6. Add
    And then if your form is opened
    7. Go to add the reference of UI API Version 9.0
    8. Check errors found in menu.vb (or in OutPut)
    So if it's possible try to solve that problem.
    Please anyone can help me.

  • How to close contract..

    Dear All,
    I want to close contract which is created using ME31K .
    How to close it if my requirements are full (created PO and recd goods).
    And also how to close if requirements are still open (PO not created)
    Amit

    Hi,
    You have to close all purchasing documents (PR's,PO's).
    Make sure that all PO's are GR and all invoices for GR PO's are paid.
    You should not have open purchasing documents and when everything is closed and paid , only then you can mark your contract line item for deletion using T-code ME32K.
    Thanks
    Silas

  • How we close Views without using Java Script

    Hi All,
    can you please suggest me how i close view with out using java script.
    if possible please reply with code.
    Thanks
    Siva

    Hi Siva,
    You can do this either by hiding your window or by closing the window. Following is the sample code to do that
    IWDWindowInfo windowInfo = null;
    IWDWindow window =null;
    windowInfo = (IWDWindowInfo)  wdComponentAPI.getComponentInfo).findInWindows("<<WindowName>>");
    if(windowInfo!=null)
    window = wdComponentAPI.getWindowManager().createWindow(windowInfo,true);
    window.hide();
    Try with this code, might be useful for your scenario.
    Thanks,
    Sandeep

  • How do the two codes work ?

    i came across the following code in socket programming in the net,could anyone please tell me that how do the following codes work together? there is no main class in ChatHandler programme but there seems that it is a separate programme.. being new to java i am unable to understand it, please someone help
    import java.io.IOException;
    import java.net.ServerSocket;
    import java.net.Socket;
    public class ChatServer {
        public static final int DEFAULT_PORT = 9800;
        public static void main(String[] args) {
         int port = DEFAULT_PORT;
         ServerSocket serverSocket = null;
         Socket socket = null;
         try {
             if(args.length > 0)
                 port = Integer.parseInt(args[0]);
         } catch(NumberFormatException nfe) {
             System.err.println("Usage: java ChatServer [port]");
             System.err.println("Where options include:");
             System.err.println("\tport the port on which to listen.");
             System.exit(0);
         try {
             serverSocket = new ServerSocket(port);
             while(true) {
                 socket = serverSocket.accept();
                 ChatHandler handler = new ChatHandler(socket);
                 handler.start();
         } catch(IOException ioe) {
             ioe.printStackTrace();
         } finally {
             try {
                 serverSocket.close();
             } catch(IOException ioe) {
              ioe.printStackTrace();
    }// ChatHandler.java
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.IOException;
    import java.io.OutputStreamWriter;
    import java.io.PrintWriter;
    import java.net.Socket;
    import java.util.Vector;
    public class ChatHandler extends Thread {
      static Vector handlers = new Vector( 10 );
      private Socket socket;
      private BufferedReader in;
      private PrintWriter out;
        public ChatHandler(Socket socket) throws IOException {
            this.socket = socket;
         in = new BufferedReader(
             new InputStreamReader(socket.getInputStream()));
         out = new PrintWriter(
             new OutputStreamWriter(socket.getOutputStream()));
        public void run() {
            String line;
         synchronized(handlers) {
             handlers.addElement(this);
    // add() not found in Vector class
         try {
             while(!(line = in.readLine()).equalsIgnoreCase("/quit")) {
              for(int i = 0; i < handlers.size(); i++) {     
                   synchronized(handlers) {
                          ChatHandler handler =
                           (ChatHandler)handlers.elementAt(i);
                      handler.out.println(line + "\r");
                   handler.out.flush();
         } catch(IOException ioe) {
             ioe.printStackTrace();
         } finally {
             try {
              in.close();
              out.close();
              socket.close();
             } catch(IOException ioe) {
             } finally {
              synchronized(handlers) {
                  handlers.removeElement(this);
    }

    pranay09 wrote:
    ok, but when i am compiling the two codes, then for the second one i get the error that no main class found:No, you will never get that when compiling.You will get that when running, if the class you try to run is not on your classpath.
    main() is simply the entry point into your program for the JVM. When you say
    java MyClassYou're telling hte JVM to execute public static void main(String[] args) in the class MyClass. That class must be on your classpath and it must have that method. That class is then free to use any other classes, in its own package or in other packages (provided they are accessible and on the classpath), regardless of whether those classes have a main method.

  • How to modify the code???

    Hello forum,
    I have code for retriving data from database.
    I want to retrieve more than one row but the code only retrive the
    last row. How to mdify the code??? SorryI am new in Servlet and JDBC.
    Here is the codeimport java.io.*;
    import java.text.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class TiketServlet extends HttpServlet {
         static final String dbURL ="jdbc:mysql://localhost:3306/tiketdb?" + "user=firman&password=ajolie";
         StringBuffer fullName = new StringBuffer();
         public void doPost(HttpServletRequest request, HttpServletResponse response)
              throws IOException, ServletException {
         Connection conn = null;
         String nextJSP = null;
         try {
              Class.forName("com.mysql.jdbc.Driver");
         catch (ClassNotFoundException e) {
              throw new ServletException("Unable to load JDBC driver");
         try {
         String keretaID = (String)request.getParameter("keretaID");
         String kelas = (String)request.getParameter("kelas");
              conn = DriverManager.getConnection(dbURL);
              Statement stmt1 = conn.createStatement();
              String query1 = "SELECT gerbong, kursi FROM "+keretaID+" WHERE kelas ='"+kelas+"';";
              ResultSet rs1 = stmt1.executeQuery(query1);
              while (rs1.next()) {
                   StringBuffer fullName = new StringBuffer();
                   fullName.append(rs1.getString(1));
                   fullName.append(" ");
                   fullName.append(rs1.getString(2));
                   fullName.append('\n');
                   request.setAttribute ("fullName", fullName.toString());
                   nextJSP = "/LoginOK.jsp";
              conn.close();
              ServletConfig config = getServletConfig();
              ServletContext context = config.getServletContext();
              RequestDispatcher rd = context.getRequestDispatcher(nextJSP);
              rd.forward(request, response);
         catch (SQLException e) {
              throw new ServletException(e.getMessage());
         finally {
              if (conn != null) {
                   try {
                        conn.close();
                   catch (SQLException e) {
                        throw new ServletException("connection close failed");
         public void doGet(HttpServletRequest request, HttpServletResponse response)
              throws IOException, ServletException {
                   doPost(request, response);
    Many thanks

    u've to define the stringBuffer before while loop.. thats it u get it correctly..
    b'cos u r defining the stringBuffer inside.. each time when it is entering the loop the the existing stringBuffer is replacing by the new empty stringBuffer...
    --veeru                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to execute javascript code in VBScript?

    I'd like to execute similar javascript code for some particular PDF files(parameters for pagenumber are quite different),such as:
    this.setPageLabels(0, [ "A", "", 3] );
    this.setPageLabels(1, [ "r", "", 1] );
    this.setPageLabels(16, [ "D", "", 1] );
    How to write the code in VBScript?
    Thanks in advance!
    P.S. I try to add code but end up with error messages
    =================================================================
    path = "E:\test.pdf"
    '//Write the first and last pagenumbers and label to a txt.
    set oWs = CreateObject ("Wscript.Shell")
    set fs = CreateObject("Scripting.FileSystemObject")
    oWs.run "Acrobat.exe"
    While not oWs.AppActivate("Adobe Acrobat") : Wscript.Sleep 1000 : Wend
    Set objArgs = WScript.Arguments
    if objArgs.Count = 1 then path = ObjArgs(0)
    Set gApp = CreateObject("AcroExch.App")
    Set AVDoc = CreateObject("AcroExch.AVDoc")
    If (AVDoc.Open(Path,"")) Then
    Set AVDoc = gApp.GetActiveDoc()
    Set PDDoc = AVDoc.GetPDDoc()
    Set JSO = PDDoc.GetJSObject
    '// Write Bookmark JS to a variable
    Ex = " var vTOC = """"; "&vbLF _
    & " var s = """"; "&vbLF _
    & " var i=0; "&vbLF _
    & " p = i+1; "&vbLF _
    & " vTOC += ( this.getPageLabel(i) +""|""); "&vbLF _
    & " i= this.numPages-1 ; "&vbLF _
    & " p = i+1; "&vbLF _
    & " vTOC += ( this.getPageLabel(i) +""|""+p+""|""); "
    ' // Execute the JavaScript
    Set AForm = CreateObject("AFormAut.App") 'from AFormAPI
    AForm.Fields.ExecuteThisJavaScript EX
    ' // Write Bookmarks to CSV (PageNr;Level;Text)
    Set JSO = PDDoc.GetJSObject '//->renew JSO for some unknown reasons
    xf = jso.vToc
    Set objIE = CreateObject("InternetExplorer.Application")
    objIE.Navigate("about:blank")
    objIE.document.parentwindow.clipboardData.SetData "text", xf
    objIE.Quit
    CsvFN = left(path, InstrRev(path, ".")-1) &"_page.txt"
    set FL = fs.OpenTextFile(CsvFN, 2, true) '//-> 2=ForWriting
    xWr = split(xf,"|")
    for x=0 to UBound(xWr)
    FL.WriteLine xWr(x)
    next
    FL.Close
    Else
    MsgBox "Failed to Open: " & Path
    End If
    Set JSO = Nothing
    Set PDDoc = Nothing
    Set AVDoc = Nothing
    Set AForm = Nothing
    Set gApp = Nothing

    If I remember right, I wrote this script a while back to demonstrate how java script can be direct executed and how you can get back the results. Didn't I wrote a commentary to that?
    However the parts you need:
    ' // Write JS code from help file or whatever to a VBS variable:
    JsFromHelp = " this.setPageLabels(0, [ ""A"", """", 3] ); "&vbLF _
    & " this.setPageLabels(1, [ ""r"", """", 1] ); "&vbLF _
    & " this.setPageLabels(16, [ ""D"", """", 1] ); "
    ' // Execute the JavaScript
    Set AForm = CreateObject("AFormAut.App") 'from AFormAPI
    AForm.Fields.ExecuteThisJavaScript JsFromHelp
    From the rest keep only:
    end if
    set .. = nothing
    Untested, but should work - as far as you have a little bit more then only Reader.
    HTH, Reinhard

  • How to transport this code to an applet

    Hi friends..
    the following page has a program to capture images from a web-cam.. can u help me how to transport that code into an applet. So that i can import that applet into an html page, where the live video can be streamed.
    the link is :- http://forum.java.sun.com/thread.jspa?threadID=247253&start=0&tstart=0
    i tried this code. but on html page the code is not being initialized, though the program is getting compiled correctly.
    import javax.swing.*;
    import javax.swing.event.*;
    import java.io.*;
    import javax.media.*;
    import javax.media.format.*;
    import javax.media.util.*;
    import javax.media.control.*;
    import javax.media.protocol.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.event.*;
    import java.applet.*;
    import com.sun.image.codec.jpeg.*;
    public class applet extends JApplet{
       static final int    WIDTH  = 320;
        static final int    HEIGHT = 320;
        //public intoApplet d = null;
        public static void main(String args[]){
             JFrame frame = new JFrame("Code Converter");
             applet a = new applet();
             a.init();
             frame.getContentPane().add(a);
             frame.setSize(WIDTH, HEIGHT);
             frame.setVisible(true);
        public void init() {
          System.out.println("Applet initializing");
          intoApplet d = new intoApplet();
          getContentPane().add(d);
        public void start() {
            System.out.println("Applet starting");
        public void stop() {
            System.out.println("Applet stopping");
        public void destroy() {
            System.out.println("Applet destroyed");
    public class intoApplet extends JPanel //implements ActionListener
      public Player player = null;
      public CaptureDeviceInfo di = null;
      public MediaLocator ml = null;
      public JButton capture = null;
      public Buffer buf = null;
      public Image img = null;
      public VideoFormat vf = null;
      public BufferToImage btoi = null;
      //public ImagePanel imgpanel = null;
      public intoApplet()
           System.out.print("into swing...");
        setLayout(new BorderLayout());
        setSize(320,320);
        String str1 = "vfw:Logitech USB Video Camera:0";
        String str2 = "vfw:Microsoft WDM Image Capture (Win32):0";
        di = CaptureDeviceManager.getDevice(str2);
        //ml = di.getLocator();
        ml = new MediaLocator("vfw://0");
        try
          player = Manager.createRealizedPlayer(ml);
          player.start();
          Component comp;
          if ((comp = player.getVisualComponent()) != null)
            add(comp,BorderLayout.NORTH);
          //add(capture,BorderLayout.CENTER);
          //add(imgpanel,BorderLayout.SOUTH);
        catch (Exception e)
          e.printStackTrace();
    public void playerclose()
        player.close();
        player.deallocate();
    }Message was edited by:
    rahulsah

    Maybe this topic helps (JUnit into Applet):
    http://forum.java.sun.com/thread.jspa?threadID=5130219&messageID=9469005#9469005

  • How to close MASS PO

    Hi,
    I was trying to close STO No.s by the T-code--MEMASSPO, but the system is not allowing as there are some delivery created but no PGI has been done. I have 150-200 ine items in a single STO. So its impossible for me to delete the delivery no. from each STO. Kindly advise how to close the STO fully irrespective of delivery created or not.
    Thanks In Advance
    Satya

    you are trying to create inconsistences, this is not allowed by SAP. 
    What do want to do with the deliveries that are not yet goods issued? shall they stay forever, or accidently used in future?

  • How to close a jmf rtp session when the whole file is sent

    i am using jmf to Stream a video file from a one client to another, everything seems to be working fine except for the fact that i dont know how to close the prosessor and the session/datasink on the transmitting clients side when the clientis done streaming, i can close it lets say after 60 seconds of starting but i am not able to figure out how make it stop when the whole file is done streaming. i tried using the datasinklistner while sending the video and the following code
    public void dataSinkUpdate(DataSinkEvent event) {
             if (event instanceof javax.media.datasink.EndOfStreamEvent) {
                 endOfStream = true;
         }but the endofstream event is never received from the datasource.
    the problem is that it works fine if i using a 20 second video and i close the datasink and the processor in 60 seconds, the whole file does get streamed but if i have a file longer than 60 seconds then the file just gets cut at 60 seconds.
    i also tried to use a sessionmanager with a sessionlistener and a sendStreamListener and the following code
         * SessionListener.
        public synchronized void update(SessionEvent evt) {
         * SendStreamListener
        public synchronized void update( SendStreamEvent evt) {
            System.out.println(evt);
         if (evt instanceof InactiveSendStreamEvent) {
              flag=true;
              System.out.println("done");
         if (evt instanceof ActiveSendStreamEvent) {
             System.out.println("start");
        }i ran the whole code and sent files and everything but neither an activestreamevent nor a inactivestreamevent happens but the file is being streamed properly

    user13490676 wrote:
    could it be a problem with jmf itself that the endofstream doesnt get generated for the datasource being read from a fileIn this instance, that would be the problem... more than likely, there's something weird about the file, perhaps it doesn't have a duration set in the header and JMF treats it like a live stream.
    You could always write a custom DataSource that just passes through the input of a normal data source, and then generate the EndOfStream event yourself... maybe based on a timeout or failure counter? I haven't received any data in x seconds or after x attempts, so I'm assuming the file is done... Or when you've read enough data that the file can't possibly have any more (read >= file header + file data)...

  • How to close the COM Port ??????????

    Dear all :
    I have written an application that send AT commands to a modem , Once I opened a com port , i don't know how to close it . I got the null pointer exception when i create a new channel , because the inputStream and outputStream is owned by the previous channel . So , some one can teach me how to close the com port that opened before ?
    my source code for open port :
    public void Connect_Com(CommPortIdentifier portId) {
    Integer i = new Integer((int) (Math.random()* 1000));
    String channel = "channel" + i.toString();
    System.out.println(channel);
    try {
    System.out.println("preparing to open port");
    serialPort = (SerialPort) portId.open(channel, 2000);
    } catch (PortInUseException e) {}
    try {
    inputStream = serialPort.getInputStream();
    System.out.println("getting inputStream");
              } catch (IOException e) {}
    try {
    serialPort.addEventListener(this);
              } catch (TooManyListenersException e) {}
    serialPort.notifyOnDataAvailable(true);
    try {
    serialPort.setSerialPortParams(9600,
    SerialPort.DATABITS_8,
    SerialPort.STOPBITS_1,
    SerialPort.PARITY_NONE);
    } catch (UnsupportedCommOperationException e) {}

    serialPort.close() ?
    From the documentation of SerialPort:
    - SerialPort extends CommPort.
    - CommPort.close() closes the communications port.

Maybe you are looking for