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

Similar Messages

  • Alert file creation in PI system

    Hello Experts ,
    We have a requirement that we need to create one file in our integration server path.
    Please let me know is there any standard sap program which will take the value from the alert table at run time ?
    If we dont have any such program please let me know the table names from which I need to fetch the data to get all the error information both ABAP stack and JAVA stack ?
    Thanks in advance for your help.
    Regards,
    Somenath

    you can create aleart file by abap program,
    when error occur in pi , alert is arise in alert rule -> alaertcategory,
    you can call abap program after alert. set in tc:alertcatdef.
    please search more in sdn, I ll find and success what you want to do.
    Naoki

  • 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

  • RC-50004: Fatal: Error occurred in ApplyDatabase: Control file creation fai

    Hi guys,
    I am cloning and EBS 12.1.3 from one server to another, and when Configuring the target system database server with ''perl adcfgclone.pl dbTier'', I am getting the following error:
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    MOS is saying that it is due to wrong permissions on the /var/tmp/.oracle directory and we should give it the following permissions:
    chmod 777 /var/tmp/.oracle
    After giving those permissions and rebooting the server , and running the perl adcfgclone.pl dbTier script, I am still having the same problem:
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    This is the contents of the ApplyDBTier log file (since the file exceed 30.000 characters, i am going to post the parts where the errors occur:
    [oratest@DLAERPSRV01 ERP_DLAERPSRV01]$ cat ApplyDBTier_05021530.log
    Started ApplyDBTier at Thu May 02 15:30:44 WAT 2013
    Version:
    ApplyDBTier.java : 120.6.12010000.3
    ApplyDBTier (prog) -1 true true true...
    # Calling ApplyDBTechStack...
    Executing runInstallDriver...
    Started unzipping files...
    Completed runInstallDriver.
    Executing home registration for s_db_oh...
    instantiate file:
    source : /u02/oratest/db/tech_st/11.1.0/appsutil/template/adouidb.pl
    dest : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/ouicli.pl
    backup : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/ouicli.pl to /u02/oratest/db/tech_st/11.1.0/appsutil/out/ouicli20.pl
    setting permissions: 700
    setting ownership: oratest:dba
    instantiate file:
    source : /u02/oratest/db/tech_st/11.1.0/appsutil/template/config_ux.tmp
    dest : /u02/oratest/db/tech_st/11.1.0/rdbms/lib/config.c
    backup : /u02/oratest/db/tech_st/11.1.0/rdbms/lib/config.c to /u02/oratest/db/tech_st/11.1.0/appsutil/out/config21.c
    setting permissions: 700
    setting ownership: oratest:dba
    instantiate file:
    source : /u02/oratest/db/tech_st/11.1.0/appsutil/template/adlnkoh.sh
    dest : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh
    backup : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh to /u02/oratest/db/tech_st/11.1.0/appsutil/out/adlnkoh20.sh
    setting permissions: 700
    setting ownership: oratest:dba
    Executing script in InstantiateFile:
    /u02/oratest/db/tech_st/11.1.0/perl/bin/perl -I /u02/oratest/db/tech_st/11.1.0/perl/lib/5.8.3 -I /u02/oratest/db/tech_st/11.1.0/perl/lib/site_perl/5.8.3 -I /u02/oratest/db/tech_st/11.1.0/appsutil/perl /u02/oratest/db/tech_st/11.1.0/appsutil/clone/ouicli.pl
    script returned:
    Beginning OUI CLI cloning for s_db_ohThu May 2 15:30:46 2013
    /u02/oratest/db/tech_st/11.1.0/appsutil/jre/bin/java -classpath /u02/oratest/db/tech_st/11.1.0/appsutil/java:/u02/oratest/db/tech_st/11.1.0/oui/jlib/OraInstaller.jar:/u02/oratest/db/tech_st/11.1.0/appsutil/java/xmlparserv2.jar oracle.apps.ad.clone.util.OracleHomeCloner -OUICLI -e /u02/oratest/db/tech_st/11.1.0/appsutil/ERP_DLAERPSRV01.xml -nolink -oaVar s_db_oh -homestub db -log /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/ohclone.log
    Running OUI CLI home cloning from within OracleHomeCloner:
    /u02/oratest/db/tech_st/11.1.0/oui/bin/runInstaller -clone -silent -force -nolink -waitForCompletion -invPtrLoc /u02/oratest/db/tech_st/11.1.0/admin/oui/ERP_DLAERPSRV01/oraInst.loc ORACLE_HOME=/u02/oratest/db/tech_st/11.1.0 ORACLE_BASE=/u02/oratest/db/tech_st/11.1.0 ORACLE_HOME_NAME=ERP_DB__u02_oratest_db_tech_st_11_1_0 -J-Doracle.installer.noLink=true
    Finished OUI CLI cloning for s_db_oh with return code: 0Thu May 2 15:30:56 2013
    Executing script in InstantiateFile:
    /u02/oratest/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh
    script returned:
    adlnkoh.sh started at Thu May 2 15:30:56 WAT 2013
    Log file located at /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/make_05021530.log
    Using make file "ins_emagent.mk" for linking SYSMAN utilities...
    Error while running adlnkoh.sh.
    return code = .16
    Please check logfile located at /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/make_05021530.log
    .end std out.
    .end err out.
    Executing Technology Stack Configuration...
    Executing runAutoConfig...
    Deleting files of type INSTALL
    Checking for file: /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/sqlnet.ora
    Processing driver file: /u02/oratest/db/tech_st/11.1.0/appsutil/template/addbtmpl.drv
    Checking for file: /u02/oratest/db/tech_st/11.1.0/appsutil/install/ERP_DLAERPSRV01/txkConfigDbOcm.pl
    File exists
    File deleted
    Checking for file: /u02/oratest/db/tech_st/11.1.0/dbs/initERP.ora
    File exists
    File deleted
    Checking for file: /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/listener.ora
    File exists
    File deleted
    Checking for file: /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/tnsnames.ora
    File exists
    File deleted
    Testing for RAC specific parameters before running autoconfig
    No RAC specific parameters were found, running with CVM
    Starting CVM in INSTE8_SETUP mode
    Using Context file : /u02/oratest/db/tech_st/11.1.0/appsutil/ERP_DLAERPSRV01.xml
    Attempting to create a back up of the Context file
    Created back up file of name :
    /u02/oratest/db/tech_st/11.1.0/appsutil/out/ERP_DLAERPSRV01/05021531/ERP_DLAERPSRV01.xml
    ===========================================================================
    Starting synchronization of file system Context file and its templates with those in the database
    Database connection : Failed
    OAM Context editing support feature: Unverified
    OAM Customization support feature : Unverified
    File system template : /u02/oratest/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
    Checking for customizations to Context template
    Warning: Unable to connect to Database.
    If the system is OAM enabled, this may result in loss of customizations.
    Looking for custom template at : /u02/oratest/db/tech_st/11.1.0/appsutil/template/custom/adxdbctx.tmp
    Custom template : Not Available
    Customizations found : None
    File system Context file :/u02/oratest/db/tech_st/11.1.0/appsutil/ERP_DLAERPSRV01.xml
    Checking the Context file for possible updates from the Database
    Warning: Unable to connect to Database.
    If the system is OAM enabled, this may result in loss of customizations and the Context files in DataBase and in the file system may be unsynchronized
    ===========================================================================
    Starting Updates of Context file Thu May 02 15:31:44 WAT 2013
    found context version : 120.34.12010000.14
    available update version : 120.34.12010000.14
    No updates to apply
    Starting DB listener with command:
    /u02/oratest/db/tech_st/11.1.0/appsutil/scripts/ERP_DLAERPSRV01/addlnctl.sh start ERP
    Logfile: /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/addlnctl.txt
    You are running addlnctl.sh version 120.1.12010000.4
    Starting listener process ERP ...
    LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 02-MAY-2013 15:32:23
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Starting /u02/oratest/db/tech_st/11.1.0/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.1.0.7.0 - Production
    System parameter file is /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/listener.ora
    Log messages written to /u02/oratest/db/tech_st/11.1.0/admin/ERP_DLAERPSRV01/diag/tnslsnr/DLAERPSRV01/erp/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=DLAERPSRV01.camairco.local)(PORT=1523)))
    STATUS of the LISTENER
    Alias ERP
    Version TNSLSNR for Linux: Version 11.1.0.7.0 - Production
    Start Date 02-MAY-2013 15:32:23
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/listener.ora
    Listener Log File /u02/oratest/db/tech_st/11.1.0/admin/ERP_DLAERPSRV01/diag/tnslsnr/DLAERPSRV01/erp/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523)))
    Services Summary...
    Service "ERP" has 1 instance(s).
    Instance "ERP", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    addlnctl.sh: exiting with status 0
    addlnctl.sh: check the logfile /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/addlnctl.txt for more information ...
    .end std out.
    .end err out.
    checking DB Connection...
    DEBUG: checkDBConnection in()
    ADX Database Utility
    getConnection() -->
    sDbHost : DLAERPSRV01
    sDbDomain : camairco.local
    sDbPort : 1523
    sDbSid : ERP
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@DLAERPSRV01.camairco.local:1523:ERP
    Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP)))
    Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP.camairco.local)))
    Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    DEBUG: checkDBConnection out()
    Skipping Profile Phase
    Skipping Apply Phase
    Executing CreateDB...
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : DLAERPSRV01
    sDbDomain : camairco.local
    sDbPort : 1523
    sDbSid : ERP
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@DLAERPSRV01.camairco.local:1523:ERP
    Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP)))
    Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP.camairco.local)))
    Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    adcrdb.sh started at Thu May 2 15:32:40 WAT 2013
    The environment settings are as follows ...
    ORACLE_HOME : /u02/oratest/db/tech_st/11.1.0
    ORACLE_SID : ERP
    TWO_TASK :
    PATH : /u02/oratest/db/tech_st/11.1.0/perl/bin:/u02/oratest/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/u02/oratest/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/u02/oratest/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/u02/oratest/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oratest/bin:.
    LD_LIBRARY_PATH : /u02/oratest/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/u02/oratest/db/tech_st/11.1.0/lib:/usr/dt/lib:/u02/oratest/db/tech_st/11.1.0/ctx/lib
    Executable : /u02/oratest/db/tech_st/11.1.0/bin/sqlplus
    The log information will be written to
    /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/adcrdb_ERP.txt
    Creating the control file for ERP_DLAERPSRV01 database ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 2 15:32:40 2013
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORA-27154: post/wait create failed
    ORA-27300: OS system dependent operation:semget failed with status: 22
    ORA-27301: OS failure message: Invalid argument
    ORA-27302: failure occurred at: sskgpbitsper
    CREATE CONTROLFILE REUSE SET DATABASE "ERP"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter database open resetlogs
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter tablespace TEMP add tempfile '/u02/oratest/db/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    ALTER DATABASE RENAME GLOBAL_NAME TO "ERP.camairco.local"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Connected to an idle instance.
    ORA-27154: post/wait create failed
    ORA-27300: OS system dependent operation:semget failed with status: 22
    ORA-27301: OS failure message: Invalid argument
    ORA-27302: failure occurred at: sskgpbitsper
    BEGIN dbms_backup_restore.zeroDbid(0); END;
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    ORACLE instance shut down.
    Connected to an idle instance.
    ORA-27154: post/wait create failed
    ORA-27300: OS system dependent operation:semget failed with status: 22
    ORA-27301: OS failure message: Invalid argument
    ORA-27302: failure occurred at: sskgpbitsper
    CREATE CONTROLFILE REUSE SET DATABASE "ERP"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter database open resetlogs
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter tablespace TEMP add tempfile '/u02/oratest/db/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    ALTER DATABASE RENAME GLOBAL_NAME TO "ERP.camairco.local"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    declare lib_ver varchar2(3);
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    ERROR:
    ORA-01012: not logged on
    Process ID: 0
    Session ID: 0 Serial number: 0
    Disconnected
    exit_code=1
    Checking for errors ...
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 2 15:32:42 2013
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Disconnected
    .end std out.
    .end err out.
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : DLAERPSRV01
    sDbDomain : camairco.local
    sDbPort : 1523
    sDbSid : ERP
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@DLAERPSRV01.camairco.local:1523:ERP
    Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP)))
    Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP.camairco.local)))
    Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
    at oracle.apps.ad.clone.ApplyDatabase.doConf(ApplyDatabase.java:635)
    at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDatabase.java:473)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:366)
    at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:110)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
    at java.lang.Thread.run(Unknown Source)
    [oratest@DLAERPSRV01 ERP_DLAERPSRV01]$
    Please guys, how can I solve this problem?

    @Hussain Sawwan
    Hi Hussain,
    After successfully configured the DbTier and AppsTier with their respective post clone scripts the appstier was automatically started at the end.
    But now, I can't seem to connect with my IE 9 and Firefow browsers.
    Link: http://dlaerpsrv01.camairco.local:8002/OA_HTML/
    Contents of the portpool.lst:
    ***** List of ports allocated based on port pool 2 *****
    Database Port : 1523 (EXT_PORT)
    RPC Port : 1628
    Web SSL Port : 4445
    ONS Local Port : 6102
    ONS Remote Port : 6202
    ONS Request Port : 6502
    Web Listener Port : 8002
    Active Web Port : 8002 (DUP_PORT)
    Forms Port : 9002
    Metrics Server Data Port : 9102
    Metrics Server Request Port : 9202
    JTF Fulfillment Server Port : 9302
    MSCA Server Port : 10212-10217
    MCSA Telnet Server Port : 10212,10214,10216 (DUP_PORT)
    MSCA Dispatcher Port : 10806
    Java Object Cache Port : 12347
    OC4J JMS Port Range for Oacore : 23010-23014
    OC4J JMS Port Range for Forms : 23510-23514
    OC4J JMS Port Range for Home : 24010-24014
    OC4J JMS Port Range for Oafm : 24510-24514
    OC4J JMS Port Range for Forms-c4ws : 26510-26514
    OC4J AJP Port Range for Oacore : 21510-21514
    OC4J AJP Port Range for Forms : 22010-22014
    OC4J AJP Port Range for Home : 22510-22514
    OC4J AJP Port Range for Oafm : 25010-25014
    OC4J AJP Port Range for Forms-c4ws : 26010-26014
    OC4J RMI Port Range for Oacore : 20010-20014
    OC4J RMI Port Range for Forms : 20510-20514
    OC4J RMI Port Range for Home : 21010-21014
    OC4J RMI Port Range for Oafm : 25510-25514
    OC4J RMI Port Range for Forms-c4ws : 27510-27514
    [root@DLAERPSRV01 appltest]#
    Entry in the /etc/hosts in my Win 7 Laptop:
    192.168.0.245 dlaerpsrv01.camairco.local dlaerpsrv01
    What could be the cause of this problem? It is unfortunate to reach at this point and not being able to connect.

  • Error encountered in Rapid clone (control file creation failed)

    hi all,
    i have 2- node ERP server running EBS 11.5.10 with database 9.2.0.5 and OS HP UX 11.11
    while running perl adcfgclone.pl dbTier
    i encountered the following error
    Verifying correctness of adcrdbclone.sql
    RC-00115: Not able to read temp001.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp002.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp003.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp004.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp005.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp006.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp001.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp002.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp003.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp004.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp005.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp006.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00116: Error while reading dbf files. Control file creation will fail.
    an later part of log file
    Creating the control file for DVP_test database ...
    SQL*Plus: Release 9.2.0.5.0 - Production on Sun Jan 11 18:29:27 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 598700552 bytes
    Fixed Size          737800 bytes
    Variable Size          419430400 bytes
    Database Buffers     167772160 bytes
    Redo Buffers          10760192 bytes
    Control file created.
    Database altered.
    alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp001.dbf' REUSE
    ERROR at line 1:
    ORA-00959: tablespace 'TEMP1' does not exist
    alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp002.dbf' REUSE
    ERROR at line 1:
    ORA-00959: tablespace 'TEMP1' does not exist
    alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp003.dbf' REUSE
    ERROR at line 1:
    ORA-00959: tablespace 'TEMP1' does not exist
    alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp004.dbf' REUSE
    ERROR at line 1:
    ORA-00959: tablespace 'TEMP1' does not exist
    alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp005.dbf' REUSE
    ERROR at line 1:
    ORA-00959: tablespace 'TEMP1' does not exist
    alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp006.dbf' REUSE
    ERROR at line 1:
    ORA-00959: tablespace 'TEMP1' does not exist
    but when i query v$tablespace it shows temporary tablespace is TEMP not temp1
    even on my production system the TEMPORARy Tablespace is TEMP
    when i see the alert file
    it says
    Tablespace 'TEMP' #2 found in data dictionary,
    but not in the controlfile. Adding to controlfile.
    File #143 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00143' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #144 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00144' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #145 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00145' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #146 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00146' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #147 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00147' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #148 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00148' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #149 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00149' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #150 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00150' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #151 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00151' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #152 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00152' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #153 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00153' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    how can i come out though this confusion??

    i have opened the database but what about the next porcess now
    Beginning database tier Apply - Sun Jan 11 17:31:13 2009
    Log file located at /oradvp/ora/proddb/9.2.0/appsutil/log/DVP_test/ApplyDBTier_01110531.log
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    ERROR while running Apply...
    ERROR: Failed to execute adclone.pl
    Please check logfile.
    logfile says
    Checking for errors ...
    ORA-00959: tablespace 'TEMP1' does not exist
    ORA-00959: tablespace 'TEMP1' does not exist
    ORA-00959: tablespace 'TEMP1' does not exist
    ORA-00959: tablespace 'TEMP1' does not exist
    ORA-00959: tablespace 'TEMP1' does not exist
    ORA-00959: tablespace 'TEMP1' does not exist
    ORA-00376: file 148 cannot be read at this time
    ORA-01111: name for data file 148 is unknown - rename to correct file
    ORA-01110: data file 148: '/oradvp/ora/proddb/9.2.0/dbs/MISSING00148'
    ORA-00600: internal error code, arguments: [1236], [], [], [], [], [], [], []
    ORA-24313: user already authenticated
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ORA-24313: user already authenticated
    ORA-01031: insufficient privileges
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 9.2.0.5.0 - Production on Sun Jan 11 18:30:01 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Disconnected
    .end std out.
    .end err out.
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : test
    sDbDomain : khannapaper.com
    sDbPort : 1528
    sDbSid : DVP
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@test.khannapaper.com:1528:DVP
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    HP-UX Error: 2: No such file or directory
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test.khannapaper.com)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=DVP)))
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    HP-UX Error: 2: No such file or directory
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test.khannapaper.com)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=DVP.khannapaper.com)))
    Exception occurred: java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093376)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4))))
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:469)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:314)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:290)
         at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:131)
         at java.lang.reflect.Constructor.newInstance(Native Method)
         at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
         at java.lang.Thread.run(Unknown Source)
    and why does it shows temporary tablespace TEMP1
    but in real it is TEMP
    i dropped around 50 days back from production and added TEMP to it

  • Quality of service in Receiver file/ftp adapter (SAP PI 7.1)?

    Hi,
        We are building an IDoc to File scenario in SAP PI 7.1, where a single incoming idoc will create three different output files. Also files must be created in target server in a specific order.
        Our first idea to ensure that files would be created following a specific order was that Message mapping (in Java) build target payload with all three files following expected sequence.
        In addition, receiver file/ftp adapter is setup with a dynamic variable to create each file with a different filename adding also timestamp.
        Testing the scenario, we see that three files are created in target server but when we sort them by creation date, it seems they don't follow always same sequence.
        Sometimes adapter creates File1, File2, File3; next time it created File2, File1, File3 and so on.
        Our problem is that files must be created always with a specific order and we cannot use BPM. Does anyone know if a receiver file/ftp adapter can be setup to create files following specific sequence (EOIO)?
        I know that sender file/ftp adapter can be setup with a quality of service, but I didn't find anything similar for Receiver file/ftp adapter.
        Suggestions will be welcome.
    Kind Regards,
    Aitor

    Hi,
         First, thanks all of you for your quick answers. They were helpful because we learnt a new configuration setting.
         We tried your suggestions but they didn't really fix our problem.
         Finally interface has been re-designed and we will not have to apply this logic, so no issue from our side.
         However, let me continue with this topic in case that somebody else will have the same issue, then it will be able to review this thread.
         When adapter created the files in the target directory (windows server), files had the expected timestamp in each filename. However, if we sorted windows directory contents by "Date Creation", files were sorted different that timestamp shows in the filename.
         For example, adapter created following files:
    File1_20090325-115117-169
    File2_20090325-115117-174
    File3_20090325-115117-180
         But when we sorted windows folder contents, files were sorted as follows:
    File2_20090325-115117-174
    File1_20090325-115117-169
    File3_20090325-115117-180
         It seems that timestamp was pre-assigned by the adapter, but when adapter created the files, it did it with a temporary name and finally assigns the filename. If a file size was bigger than other, maybe it takes more time and windows creation date is higher.
         If so, it means that adapter is not following same instructions as itu2019s indicated in "maintain order at runtime" checkbox.
         Do you know if there is any way where we can push also the order in the adapter as we did in interface determination?
    Regards,
    Aitor

  • Text File Attachment in SAP Mail ECC 6.0

    Hi,
    Is it possible to use a text format 'TXT' on the Function Module "O_NEW_DOCUMENT_ATT_SEND_API1" in ECC 6.0? Because I've seen alot of examples in the forum that are using 'XLS' Format attachments.
    I made a program that have been attaching text fomat file in the SAP mail. It is working fine in other SAP boxes but in our current box, as I tested it, opening the text attachment, the result is a file text now contained a long string (max1022 char) instead of a file that is tab-delimited. What would you suggest on this?

    yes u can attach txt file.refer to the code below!
    data: itcpo like itcpo,
          tab_lines like sy-tabix.
    Variables for EMAIL functionality
    data: maildata   like sodocchgi1.
    data: mailpack   like sopcklsti1 occurs 2 with header line.
    data: mailhead   like solisti1 occurs 1 with header line.
    data: mailbin    like solisti1 occurs 10 with header line.
    data: mailtxt    like solisti1 occurs 10 with header line.
    data: mailrec    like somlrec90 occurs 0  with header line.
    data: solisti1   like solisti1 occurs 0 with header line.
    perform send_form_via_email.
          FORM  SEND_FORM_VIA_EMAIL                                      *
    form  send_form_via_email.
      clear:    maildata, mailtxt, mailbin, mailpack, mailhead, mailrec.
      refresh:  mailtxt, mailbin, mailpack, mailhead, mailrec.
    Creation of the document to be sent File Name
      maildata-obj_name = 'TEST'.
    Mail Subject
      maildata-obj_descr = 'Subject'.
    Mail Contents
      mailtxt-line = 'Here is your file'.
      append mailtxt.
    Prepare Packing List
      perform prepare_packing_list.
    Set recipient - email address here!!!
      mailrec-receiver = [email protected]'.
      mailrec-rec_type  = 'U'.
      append mailrec.
    Sending the document
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           exporting
                document_data              = maildata
                put_in_outbox              = ' '
           tables
                packing_list               = mailpack
                object_header              = mailhead
                contents_bin               = mailbin
                contents_txt               = mailtxt
                receivers                  = mailrec
           exceptions
                too_many_receivers         = 1
                document_not_sent          = 2
                operation_no_authorization = 4
                others                     = 99.
    endform.
         Form  PREPARE_PACKING_LIST
    form prepare_packing_list.
      clear:    mailpack, mailbin, mailhead.
      refresh:  mailpack, mailbin, mailhead.
      describe table mailtxt lines tab_lines.
      read table mailtxt index tab_lines.
      maildata-doc_size = ( tab_lines - 1 ) * 255 + strlen( mailtxt ).
    Creation of the entry for the compressed document
      clear mailpack-transf_bin.
      mailpack-head_start = 1.
      mailpack-head_num = 0.
      mailpack-body_start = 1.
      mailpack-body_num = tab_lines.
      mailpack-doc_type = 'RAW'.
      append mailpack.
      mailhead = 'TEST.TXT'.
      append mailhead.
    File 1
      mailbin = 'This is file 1'.
      append mailbin.
      describe table mailbin lines tab_lines.
      mailpack-transf_bin = 'X'.
      mailpack-head_start = 1.
      mailpack-head_num = 1.
      mailpack-body_start = 1.
      mailpack-body_num = tab_lines.
      mailpack-doc_type = 'TXT'.
      mailpack-obj_name = 'TEST1'.
      mailpack-obj_descr = 'Subject'.
      mailpack-doc_size = tab_lines * 255.
      append mailpack.
    *File 2
      mailbin = 'This is file 2'.
      append mailbin.
      data: start type i.
      data: end type i.
      start = tab_lines + 1.
      describe table mailbin lines end.
      mailpack-transf_bin = 'X'.
      mailpack-head_start = 1.
      mailpack-head_num = 1.
      mailpack-body_start = start.
      mailpack-body_num = end.
      mailpack-doc_type = 'TXT'.
      mailpack-obj_name = 'TEST2'.
      mailpack-obj_descr = 'Subject'.
      mailpack-doc_size = tab_lines * 255.
      append mailpack.
    endform.
    regards,
    madhu

  • Message in standby alert file

    I am recieving this error messgae in standby alert file. Any one have idea about this message
    ksvcreate: Process(m000) creation failed
    ksvcreate: Process(m000) creation failed
    ksvcreate: Process(m000) creation failed
    Thanks

    According to metalink Note:352388.1:
    >>
    Cause:
    Additional M000 slave processes cannot start
    Solution:
    Increase value of the repository database 'processes' parameter. Ensure
    it is set to at least 150.
    >>

  • Delaying folder action until file creation is complete

    I'm trying to create a folder action that takes the output of a bounce from ProTools and then imports it into iTunes. The problem I'm having is that it takes real time (about 20 min) to create the complete ProTools file in the folder, however the script begins to execute immediately, before the bounce is complete. This gives me 1 second of audio garbage.
    Is there any way to delay the folder action until the file creation (bounce, upload, transfer, whatever) is done?
    Thanks.

    V.K. Thanks again for your help. When I look in my folder directory/library/scripts/folder action scripts, I see many scripts for images as well as scripts for closing subfolders, converting to pdf, open - show comments in dialog, and add - new item alert, however I don't see anything that was created recently (i.e. something that was created when I built my Automator workflow (folder action). The closest (to what I am looking for) Folder Action Script could find was "add - new item alert.scpt", which is an existing Apple written script, but this will not really help me. When I created my initial automator script, it created a folder and file and workflow in my homefolder/library/Workflows/Applications/Folder Actions/xxx.workflow, however I cannot open this workflow in applescript. I even tried changing the extension to .scpt. I'm not sure I can accomplish the desired result with Automator alone, but I don't think I am well versed enough in AppleScript. Thanks for your help.

  • Calling BAPI after successful file creation

    Hi,
    my requiremetn is to use XI to post a file on SAP - if the file is posted successfully then to call a BAPI (which reads the file data).
    How do i check that the file has been posted correctly and the trigger the BAPI- what is the best solutin,   to use BPM or inbound proxy or some other method?
    Can you please provide some details .
    Thanks in advance

    Hi Prabhu,
    thanks for the answer- but i was wondering that wudnt error handling be a bit messy ?
    for example, say the files are posted correctly but for some reason the BPI fails - will the message end with error ?
    if so on retrying the message again a duplicate set of files might be posted..isnt that so
    How to handle this...and basically separate the BPI and file creation
    thanks

  • Alert file entry: Load Information not supported by OS!

    I get the following alert file entry every 30-60 seconds with any database I create with Oracle8.1.5i on RedHat6.2:
    Load Information not supported by OS!
    The entry appears to relate to PMON and (eventually) causes the creation of PMON derived trace files.
    Can anybody help?

    Thanks Kristian, your solution is totally correct.
    About a day after you posted your advice, I finally managed to get our Oracle support info from our Oracle reseller, and they have advised the same thing. Apparently, this is a known bug.

  • What is a  Logical and Physical file path in sap?

    what is a  Logical and Physical file path in sap?

    Hi,
    Physical file is what you see from the OS level.
    Logical file is what ABAP code can call certain functions to read/write.
    Transaction FILE would link them together. Typically the logical path ends with "<FILENAME>", and the logical file refers to the logical path.
    To extract the physical path from the logical path name
    DATA: lf_mandt TYPE sy-mandt,
            lf_opsys TYPE sy-opsys.
      lf_mandt = sy-mandt.
      lf_opsys = sy-opsys.
    To extract the physical path from the logical path name
      CALL FUNCTION 'FILE_GET_NAME'
        EXPORTING
          client           = lf_mandt
          logical_filename = p_unix
          operating_system = lf_opsys
        IMPORTING
          file_name        = gwa_input
        EXCEPTIONS
          file_not_found   = 1
          OTHERS           = 2.
      IF sy-subrc EQ 0.
      Concatenating the physical path and the input unix file name
        CONCATENATE gwa_input p_file INTO gf_file .
      ENDIF.
    Reward if helpful.
    Regards,
    Ramya

  • Download Helper, even with paid converter upgrade, gives "Invalid Capture File" errors and will not record audio, with "File Creation Error - Unable to rename/copy audio file" Error.

    Download Helper Screen Capture worked to capture video if the default "no audio" option is active. But, no audio. The "speakers" or "microphone" audio options are confusing....the audio to be captured is from the video, so what do you choose? With either "speakers" or "microphone" selected, the captured file has poor audio and no video. Re-capture efforts (speakers) get "Invalid capture file error" and "File Creation error- Unable to rename/copy audio file"
    The paid upgrade of "Converter" doesn't work.
    Instructive documentation - not very good.
    Suggestions - Need time delay between initiation of "Record" and starting the video to be recorded.
    Could use timer tracking of the record process.
    Are there operating system limitations? (Have Windows XP Pro)

    That is an issue for the developer of that Download Helper.

  • Multiple file creation

    Hi.
    I have to create multiple files for mulitiple plants entered through select-options.
    I have done this for single file but not getting the idea how to do it for multiple files.
    <u><b><b>My work:</b></b></u>
    *File creation
        CONCATENATE
                    c_path               "file path
                    c_qm                 " 'QM'
                    c_underscore         "underscore
                    c_results            " 'RESULTS'
                    c_underscore
                    s_werks              "plant
                    c_underscore
                    sy-datum+4(2)        "system date
                    sy-datum+6(2)
                    sy-datum+0(4)
                    c_underscore
                    sy-uzeit+0(2)        "system time
                    sy-uzeit+2(2)
                    c_ext                "file extension
               INTO g_file_name.
      ENDLOOP.
    Open File on the application server for processing
      OPEN DATASET g_file_name FOR OUTPUT IN TEXT MODE
      ENCODING DEFAULT.
      IF sy-subrc NE 0.
    *Display error message
        MESSAGE i055.              " Error in opening file
        LEAVE LIST-PROCESSING.
      ELSE.
        LOOP AT i_final INTO wa_final.
          TRANSFER wa_final TO g_file_name.
        ENDLOOP.
      ENDIF.
      CLOSE DATASET g_file_name.
    Then i am updating the database table using i_update
    Work Area for Z_DATADOWNLOAD table
    DATA: l_wa_update TYPE ztable
      l_wa_update-prog_name    = g_repid.
      l_wa_update-plant        = s_werks.
      l_wa_update-last_run_dt  = g_sysdate.
      l_wa_update-last_run_tm  = g_systime.
      MODIFY ztable FROM l_wa_update.
    Pls let me know how to manage this for multiple files.

    Hi Simran.
    Consider this code.
    REPORT zztest.
    TABLES : t001w.
    *Declare one Internal table for werks
    DATA :BEGIN OF it_werks OCCURS 0,
          werks TYPE t001w-werks,
          END OF it_werks.
    *Select options
    SELECT-OPTIONS : s_werks FOR t001w-werks.
    START-OF-SELECTION.
    *GEt all the plants entered in selection screen from
    *DB table <b>T001W (Plants/Branches)</b>
      SELECT werks FROM t001w INTO TABLE it_werks WHERE werks IN s_werks.
    *Loop that internal table
    <b>  LOOP AT it_werks.</b>
        CONCATENATE
        c_path "file path
        c_qm " 'QM'
        c_underscore   "underscore
        c_results      " 'RESULTS'
        c_underscore
       <b> it_werks-werks    "Plant</b>
        c_underscore
        sy-datum+4(2)    "system date
        sy-datum+6(2)
        sy-datum+0(4)
        c_underscore
        sy-uzeit+0(2)  "system time
        sy-uzeit+2(2)
        c_ext "file extension
        INTO g_file_name.
    <b>*Now you have the file path for the werks
    *Open File on the application server for processing</b>
        OPEN DATASET g_file_name FOR OUTPUT IN TEXT MODE
        ENCODING DEFAULT.
        IF sy-subrc NE 0.
    *Display error message
          MESSAGE i055. " Error in opening file
          LEAVE LIST-PROCESSING.
        ELSE.
          LOOP AT i_final INTO wa_final.
            TRANSFER wa_final TO g_file_name.
          ENDLOOP.
        ENDIF.
        CLOSE DATASET g_file_name.
    * Then i am updating the database table using i_update
    * Work Area for Z_DATADOWNLOAD table
        DATA: l_wa_update TYPE ztable
        l_wa_update-prog_name = g_repid.
        l_wa_update-plant = s_werks.
        l_wa_update-last_run_dt = g_sysdate.
        l_wa_update-last_run_tm = g_systime.
        MODIFY ztable FROM l_wa_update.
    *Pls let me know how to manage this for multiple files.
    <b>  ENDLOOP.</b>
    Regards,
    Arun Sambargi.

  • Can't open ALERT file error in 10G

    We just converted to 10G 2 weeks ago. The alter file was where it was suppposed to be until a couple of days ago. Now I am getting this message and have no alert file. I have tried shutting down the db and restarting, to no avail. Archiving is working normally as is everything else that I can see. The bdump location in the pfile shows correct, bit doesn't match what the error message is saying. This error message comes from the lgwtr trace log.
    Cannot open alert file "/u01/app/oracle/admin/PROD/bdump//home/oracle/alert_PROD.log"; errno = 2
    I am also getting these dbverify logs in 10G, during startup. Any insight would be helpful. Thanks.
    root@hccaix3: /u01/app/oracle/admin/PROD/bdump #cat dbv_file25_062600.log
    DBVERIFY: Release 10.2.0.4.0 - Production on Fri Sep 19 00:50:02 2008
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    DBVERIFY - Verification starting : FILE = /u02/oradata/PROD/indx_PROD_09.dbf
    DBVERIFY - Verification complete
    Total Pages Examined : 128000
    Total Pages Processed (Data) : 0
    Total Pages Failing (Data) : 0
    Total Pages Processed (Index): 61172
    Total Pages Failing (Index): 0
    Total Pages Processed (Other): 2601
    Total Pages Processed (Seg) : 0
    Total Pages Failing (Seg) : 0
    Total Pages Empty : 64227
    Total Pages Marked Corrupt : 0
    Total Pages Influx : 0
    Highest block SCN : 1048904582 (0.1048904582)

    user10278327 wrote:
    Cannot open alert file "/u01/app/oracle/admin/PROD/bdump//home/oracle/alert_PROD.log"; errno = 2As you can see the bdump location is different in these two messages. above and below
    root@hccaix3: /u01/app/oracle/admin/PROD/bdump #cat dbv_file25_062600.log
    Which one is correct?
    Since you are on 10g you are most likely using spfile instead of pfile, so login to database
    sqlplus / as sysdba
    do
    show parameter spfile
    show parameter background_dump_dest

Maybe you are looking for

  • How can i change my macbook pro keyboard buttom english to arabic

    How can i change my macbook pro keyboard buttom english to arabic

  • Add component in task list

    Hello All, I have an issue with adding component in task list (for example task list number EIMN-68) via transaction IA05. When I try to add component to operation, I get the message * Standard BOM PAEIMN-68  4 already exists Message no. 29771 Diagno

  • Making a kernel PKGBUILD

    Hello, I tried to make my own kernel package with the abs system. I studied the wiki documentation (http://wiki.archlinux.org/index.php/Cus … n_with_ABS) After making all configurations in the PKGBUILD, I copied the "kernel126.install", kernel-config

  • IOS  6.0 Blues

    I have an iPhone 3S 16 GB and whilst updating the IOS to version 6.0 through iTunes on my PC, the system crashed with an error report. I tried one of the options which was to reboot the PC. On restarting iTunes, the phone's identity was lost. It reco

  • How can I download books from a different country on itunes

    I want to download books from the Portuguese itunes