Batch file creation for Sap Instance

Hi Experts,
We have migrated  some of our Sap Instances from Hyper-v to new Servers... Our Hyper-v System  contains six Instances with 00 Instance numbers. At the time we moved it to the newly installed server the Instance numbers got changed. As we have lot of users present in our system we dont want them to intimate about the changing of instance numbers.
So could anyone help me how to process further inorder that the newly installed server should work as a hyper v system with that instance numbers. We are thinking to create a batch file, so help me what commands we have to add in that batch file. And also tell me how that batch file runs.
Note : Db - Ms Sql
Thanks in Advance,
Krishna.M

You cannot have multiple systems on a server with the same system number.
System number is present in the profile, instance directory and also entries in the services file.
If you want to change the system number then you need to modify all these with the new system number.
If the users are connecting to the SAP system with the IP and system number then you need to inform them about the change in the system number and IP
Regards
RB

Similar Messages

  • File system for SAP ECC, EP , BI and CRM installation on Solaris/DB2

    Hello,
    We are going to implement SAP ECC 6.0 with EP 7, BI and CRM on Solaris operating system with IBM DB2 database.
    All these applications are going to be installed on single server, as being a basis person, I know this is not all recommended.
    But due to client's requirement and keeping cost factor in mind I need to install all these application on single box.
    Now here I need your help. as I basis person, I know the required Solaris file system for SAP ECC 6.0 but not having any Idea about other application like EP/ CRM and BI .
    If anyone able to help me with required Solaris file system. it will be great help.
    Please let me know if there is any query.
    Thanks.

    > All these applications are going to be installed on single server, as being a basis person, I know this is not all recommended.
    > But due to client's requirement and keeping cost factor in mind I need to install all these application on single box.
    Why not using Solaris zones/container? This decreases the administrative amount tremendeously since you will deal as with "single machines" but they all run together on one box.
    > Now here I need your help. as I basis person, I know the required Solaris file system for SAP ECC 6.0 but not having any Idea about other application like EP/ CRM and BI .
    So you'd need to read the installation guides
    Markus

  • XML log: Error during temp file creation for LOB Objects

    Hi All,
    I got this exception in the concurrent log file:
    [122010_100220171][][EXCEPTION] !!Error during temp file creation for LOB Objects
    [122010_100220172][][EXCEPTION] java.io.FileNotFoundException: null/xdo-dt-lob-1292864540169.tmp (No such file or directory (errno:2))
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
         at oracle.apps.xdo.dataengine.LOBList.initLOB(LOBList.java:39)
         at oracle.apps.xdo.dataengine.LOBList.<init>(LOBList.java:30)
         at oracle.apps.xdo.dataengine.XMLPGEN.updateMetaData(XMLPGEN.java:1051)
         at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:511)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroup(XMLPGEN.java:1121)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroup(XMLPGEN.java:1144)
         at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:558)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:308)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:348)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    I have this query defined in my data template:
    <![CDATA[
    SELECT lt.long_text inv_comment
    FROM apps.fnd_attached_docs_form_vl ad,
    apps.fnd_documents_long_text lt
    WHERE ad.media_id = lt.media_id
    AND ad.category_description = 'Draft Invoice Comments'
    AND ad.pk1_value = :project_id
    AND ad.pk2_value = :draft_invoice_num
    ]]>
    Issue: The inv_comment is not printing on the PDF output.
    I had the temp directory defined under the Admin tab.
    I'm guessing if it's the LONG datatype of the long_text field that's causing the issue.
    Anybody knows how this can be fixed? any help or advice is appreciated.
    Thanks.
    SW
    Edited by: user12152845 on Dec 20, 2010 11:48 AM

    Hi All,
    I got this exception in the concurrent log file:
    [122010_100220171][][EXCEPTION] !!Error during temp file creation for LOB Objects
    [122010_100220172][][EXCEPTION] java.io.FileNotFoundException: null/xdo-dt-lob-1292864540169.tmp (No such file or directory (errno:2))
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
         at oracle.apps.xdo.dataengine.LOBList.initLOB(LOBList.java:39)
         at oracle.apps.xdo.dataengine.LOBList.<init>(LOBList.java:30)
         at oracle.apps.xdo.dataengine.XMLPGEN.updateMetaData(XMLPGEN.java:1051)
         at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:511)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroup(XMLPGEN.java:1121)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroup(XMLPGEN.java:1144)
         at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:558)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:308)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:348)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    I have this query defined in my data template:
    <![CDATA[
    SELECT lt.long_text inv_comment
    FROM apps.fnd_attached_docs_form_vl ad,
    apps.fnd_documents_long_text lt
    WHERE ad.media_id = lt.media_id
    AND ad.category_description = 'Draft Invoice Comments'
    AND ad.pk1_value = :project_id
    AND ad.pk2_value = :draft_invoice_num
    ]]>
    Issue: The inv_comment is not printing on the PDF output.
    I had the temp directory defined under the Admin tab.
    I'm guessing if it's the LONG datatype of the long_text field that's causing the issue.
    Anybody knows how this can be fixed? any help or advice is appreciated.
    Thanks.
    SW
    Edited by: user12152845 on Dec 20, 2010 11:48 AM

  • Db context file creation for rac to single instance cloning

    DOC ID: 559518.1 Section 6: RAC to Single Instance Cloning mentions that the context file creation should be done as in the case of Single Instance cloning
    what would be the command syntax?

    Thanks Hussein. However, section 6 of doc 559518.1 mentions that part 5.1.3 when cloning from rac to single node should be done as in the case of Single Instance cloning.
    the syntax for rac to rac cloning (which is in 5.1.3) is
    perl adclonectx.pl \
    contextfile=[PATH to OLD Source RAC contextfile.xml] \
    template=[NEW ORACLE_HOME]/appsutil/template/adxdbctx.tmp \
    pairsfile=[NEW ORACLE_HOME]/appsutil/clone/pairsfile.txt \
    initialnode
    so what is the syntax for rac to single instance? I reckon I will still use adclonectx.pl, but now what would be the complete sysntax for single instance cloning?

  • Logical file creation for physical inventory

    Hi,
    How to use MI31/MI34/MI37 t.codes for Physical inventory.
    What is mean by logical file.
    Regards,
    Prabu

    Hi
    I didnt work on MI34. But SAP help gives below reference: Check with an ABAPer
    Short text
    Batch input: Enter count with reference to document
    Description
    This report generates a batch input session (BI session) which, when processed, enters the inventory count results with reference to a physical inventory document.
    Before you start the report, make sure that the file entered on the selection screen is stored in the specified directory at operating system level.
    The data for the batch input session is imported from an external dataset as a sequential file. The structure of the sequential file is preallocted by the table BISEG. You can display and print this structure via the information system in the data dictionary. Note that the object class Fields is chosen on the request screen of the information system.
    Requirements
    Entering counting results via a batch input session requires that the corresponding physical inventory document has been created in the system. If you try to enter a counting result for which no physical inventory document exists, an error will occur during the BI session, which will interrupt processing.
    Any errors are recorded in the log file for the corresponding BI session.
    Before the sequential file is read, you should perform a test run. For this purpose, you have to maintain the corresponding test data in table T159I. For the sequential file data to be read and and for test data in table T159I, please note the following:
    The name of the report has to be specified only in table T159I. The name to be specified is RM07II34.
    The name of the BI session is optional.
    The name of the transaction Enter inventory count to be specified is MI04.
    The following data must be entered into the system:
    Count date
    Fiscal year
    Number of physical inventory document
    Item in physical inventory document
    Quantity of stock counted
    Output
    The system generates a batch input session which you can process via options System -> Services -> Batch input -> Sessions.
    When processing the batch input session for testing purposes, you should set the Display errors only indicator.
    When importing the actual productive data, you should always use the Background indicator.
    If data expected by the system (required-entry fields) does not exist, an error will occur during the batch input session which will interrupt processing.
    An error will also occur during the batch input session if you try to maintain data not expected by the system (fields not ready for input). However, processing will not be interrupted. The system writes a comment in the session log.
    Thanks

  • Windows batch file issue for Dbf to csv

    Hello,
    I am in a tough situation.I need to create a batch file in windows to convert .dbf file to .csv.
    i am using below code for doing this .
    dbf_2_ora.bat.....
    f:
    cd \Retail_Work\DATA_201\test
    copy C_N_DETL.DBF C_N_DETL_TEST.csv
    when I am running above bat file "C_N_DETL_TEST.csv" is creating but when I am opening this file data is separated by "tab".
    kindly help me to create a csv file from dbf file withput spaces/tab/whitespaces.
    hel[p me                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    IMPORT DATA is a server side command (just as the documentation tells you)
    The SAP HANA server cannot access your workstation or the folders on it.
    This (and a lot more around data import/export) has been discussed a lot here in SCN already.
    A little research effort would have clarified this.
    - Lars

  • Batch File to trigger SAP job

    Hi all,
    Please can anyone advice on how to write a batch file to trigger the sap job. For example: If file exists in an external folder (e.g. C:\Temp), a command will trigger to run the SAP job.
    Many thanks,
    Shashi

    You could do this.
    Check if file exists.
    Do something when it does.
    Move file to another directory and rename file with data/time stamp
    Renamed file give history of activity
    Schedule this program to run every X amount of time
    data: w_result type c.
    data: w_file type string value 'C:\temp\test_down.spf'.
    data: w_file_size type i.
    call method cl_gui_frontend_services=>file_exist
      exporting
        file                 = w_file
      receiving
        result               = w_result
      exceptions
        cntl_error           = 1
        error_no_gui         = 2
        wrong_parameter      = 3
        not_supported_by_gui = 4.
    if w_result ne 'X' .
    else.
      write: / w_file.
      write: / 'File exists'.
    Do something when it does.
    Move file to another directory and rename file with data/time stamp
    Renamed file give history of activity
    endif.
    flush needed for some methods of class cl_gui_frontend_services
    call method cl_gui_cfw=>flush
      exceptions
        cntl_system_error = 1
        cntl_error        = 2
        others            = 3.
    Bruce

  • ASP creation for SAP systems on i5/OS

    Hi,
    We need to install CRM (abap), PI (abap+java), BW (abap), BW (java), Portal (java) in i5/os V5R4 in one LPAR.
    This existing LPAR is already having ECC Dev , QA and PRD.
    Now we will installal the above component in this existing LPAR where we have same one IP address and host name for all instances. Now I would like to know about ASP creation for these new systems.
    Can anybody suggest me how many ASPs need to create for these systems. If I install all system in one LPAR so what about the DB2 database for all instances. Wheter it will be MCOD for these instances?
    Or I need to create one ASP for each instance and each ASP will have seperate DB2 database
    Please suggest us what needs to be done for the above mentioned case
    Regards,
    Sudip

    Hi Sudip,
    there is no technical restriction to install all the systems you've listed into one LPAR. Even all in one ASP is possible. You should create seperate memory pools at least for the Java systems though.
    The classic MCOD approach is not supported on IBM i. But only because DB2 for i is MCOD by design so to speak. Each SAP system in the same LPAR creates its own database library to work with, no special setup needed.
    Having that said, there are good reasons to run certain systems seperate from others though. For instance BW systems have a different workload characteritics than ERP systems and this may cause resource conflicts. Have a look at the SAP on IBM i Reference Architecture document to get a first idea about landscape design considerations: SAP on DB2 for i
    Regards,
    Mirco

  • Issue in transaction code creation for sap query report .

    Hi  Gurus,
    I have a requirement to create transaction codes for sap query reports. I found two ways to create transaction code for sap query report
    1) By Generating program for sap query report and creation of transaction code for that generated Program. in tcode.
    2) By using parameter transaction options in start object of se93
    What are the difference between creation of these two ways. Please specify  the advantages and disadvantages of both methods.
    Regards,
    Suneel Kumar Uggina.

    Hi Jogeswara Rao,
    But I am getting problem while transporting form development system to  the production system. After transporting to Production system  I have used the code created in development system, but it is giving Error ' No Program Found for that Transaction Code. And  I would like to know  on what conditions should I have to  use the First one  and as well as a second one in sap query reports.
    Thank You,
    Suneel Kumar Uggina.

  • DME file creation for APP

    Hi all,
    my client needs to do the payments for vendors in electronic format. for this i know only for electronic payments we use file DME.
    How we create DME file in F110? and how this file fits for bank given specification? after payments made from bank (sending this file to bank and bank will pay) how the bank file we upload and post?
    kindly send me any docs regarding config.of DMEE and upload also.
    Thanks in advance,
    i will assure points.
    Soma

    Dear Soma,
    For DME file generation you need to first make the set up in SPRO and then while running the printout in F110, it will get generated. Then you can doenload the fle from FDTA and can upoad it to bank site.
    The standard documentation on this from SAP is:-
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/cb/4104aadf2b11d3a550444553540000/frameset.htm
    Regards,
    Gaurav

  • Help to fill parameters in microsoft odbc file creation for Oracle

    When i get a modal window for odbc file creation i must fill this fields:
    user name:?
    server:?
    How i fill this parameters if i want connect to a remote server whit this credentials:
    ip:50.80.1.245
    port:1521
    server name: orcl
    scheme: sh
    pwd:sh
    I need know the correct sintax for connect to this remote server.
    kind regards.
    deniscuba

    What dialog is this? What application?
    First, do you have Oracle Client or Oracle Instant Client with the ODBC drivers installed?
    Second, do you have a TNS entry for this server?

  • Batch job creation for sending email if the invoice is aged

    Positive confirmation: Send system notification to the requestor if:
    a) An invoice is received and GR is not yet posted in the ECC system.
    b) An 'aged' invoice and GR is not yet posted in the ECC system.
    This requirement is for USA only. i.e., we have only one company code which is 8960.
    Identifiers of the invoice are
    Company Code = u20188960u2019
    Invoice Document Type = u2018R9u2019
    Use table EKBE for relationship between Invoice, Goods Receipt and Purchase Order.
    The field EKPO-BEDNR contains the Shopping Cart Number
    Implementation Strategy
    1. To send email if the invoice is aged.
    Create a program that will run as a job. This job will frequently check for invoices related to SRM Shopping Carts received from E2OPEN. If an invoice is aged and there is no Goods Receipt posted through confirmation from SRM, then an email will go out from ECC system to the requestor. Using the Shopping Cart number on PO, find the requestor information (email ID) from SRM through an RFC call. This job will run once in a day and should have a parameter in the program for the age of the Invoice.
    Both the emails should contain a link (To be taken from SRM system, to be supplied) to log into SRM system. The email will also contain the Shopping Cart number and the Description of the item, and a message to Confirm this, including age of the invoice if aged.
    Please let me know how to create the batch job.
    Regards,
    Venkat
    Edited by: VenkatG on Sep 1, 2009 3:14 PM

    Do not pass the COMMIT_WORK flag... Leave it blank. Any transaction for the data integrity, one should never use COMMIT WORK related statements. Normally SAP transactions will have the COMMIT WORK at the end of transaction which is enough for any thing that is added part of the customer exits...
    Hope this helps.
    Regards
    Anjaiah

  • Webservice creation for SAP XI/PI Scenarios

    Hi,
    How can I develop A simple Webservice for any scenario, for example, if am doing File to file copy scenario,So I want to develop a Webservice for the same scenario,
    I want to develop webservices for the entire Scenario, for this I am Using Microsoft Visual Studio.
    I Shall Create a Form/Page for UI to select the source file, and when I trigger the Copy button, the service should execute the backend SAP XI Scenario and the file should get copied.
    How should i proceed to develop the Webservice?
    Regards,
    Varun

    Hi Varun,
    Let me understand this-
    >>Also here my sender Adapter is File and Receiver Adapter is File
    Do you mean to say that you can't change the existing FILE-PI-FILE scenario to Webservice-PI-FILE scenario on PI box?
    If yes, then you just need to create a UI to copy the file in the source file folder as specified in FILE adapter settings and set the FILE adapter poll interval. It will keep polling the file source file directory and pick the file from there.
    Am I missing something here?
    And also can you tell me what do you mean when you say "service"? You want it to be invoked following some user action? I guess it would be difficult to directly trigger the PI excecution when you have file adapter at  both the end.
    Regards.

  • Alert file creation in SAP PI

    Hi Friends,
    We have a tricky requirement as follows:
    There is a third party system to which the error messages and alerts that are generated in SAP PI needs to be sent as text file or via SOAP.
    Whenever, Adapter Errors or Mapping Errors occur a log needs to be written/sent to the 3rd party server.
    For ex: If an error occurs in the Message Mapping step, then the error information/alert needs to be sent to the 3rd party system via a file or soap.
    The 3rd party server does not support SMTP or other mail protocol. It wants to receive error data information as xml or flat file or soap.
    Can anyone please guide if this is possible and how?
    Thanks,
    Souvik

    I mean to say in the PI box create a report.
    Below links would help you for your report.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b050ff4f-84c3-2b10-3d99-8f9c44f57a17
    sxmb_moni, table sxmspmast, Messages with ICON_LED_RED, report RSXMB_SELECT

  • Content repository creation for SAP Content Server

    Hi,
              I have installed Conteont Server 6.5 and Cache Server with Max DB 7.9.8.12 instance on windows server 2008  platform.Now connection to the content server with SAP Netweaver 7.4 on different host is established .When i am trying to create repository in Content Server Administration in application  SAP Netweaver 7.4 server an error is prompted as:
    Can any one please suggest me a solution
    regards
    uday reddy

    Hi Chandu,
    Thanks for the reply,
    I have tried the both commands mentioned in sap note 301352.It is showing results as
    Error : The specified driver does not exist.
    Please suggest me with a solution.
    regards
    uday reddy

Maybe you are looking for

  • How does iPod Mini store songs and playlists?

    Hi, I am a new user of iPod Mini. I have some music in my music library in iTunes and I have created a few playlists. Some songs are in multiple playlists. When I copy over these playlists, will these music files get copied over twice or only once? I

  • Scary black screen with smoke in iTunes

    Does anyone know what this is?! It's moving and the smoke keeps eminating. Has my iTunes become possessed?

  • Query for aggregates for each date in a date range

    Hi, I want to generate a Trend report with a T-SQL proc, which needs following logic.  Input - Date Range say '10/10/12' to '20/10/12'  (Say to check the trend of Size of account in 20 days of Trend report) Account balance is captured randomly, (i me

  • How to install Oracle Configuration Manager on laptop without Oracle dist?

    I'm sure this is the wrong forum to ask this in, but I can't find a better one. I was trying to file a support case in My Oracle Support, which I haven't done in a long time. It appears to want me to install "Oracle Configuration Manager". I just hav

  • Selected dropdown value not reflected in context

    Hi All, I am using a Webdynpro Native Enumrated Drop Down fiels and populating values from backend. Values are getting populated finely but when I select some random value in the Dropdown, it is not reflected in the context mapped to it. By default i