Get databasesize in SAP NW Java!
Hi there,
I'm searching for a possibility to determine the size of the database using the NWA in SAP NW AS JAVA (Solution Manager 4.0 SR3). Can anyone help?
I don't have access to the os-level. But is there a possibility to do this with the Visual Administrator?
Thanks for your help!
J.B.
As you have a solution manager, then you always have an abap stack. So just use transaction DB02. The java schema has all objects in the tablespace PSAPSR3DB (it might be something like PSAPSIDDB as well, it is the one ending with ...DB).
If you had access to os then use BR*Tools:
orasid> brspace -f dbshow -c tsinfo
Best regards, Michael
Edit: obviously, i am not aware of a method in java to see the database size so far
Similar Messages
-
How to get the primarykey columns of the table in SAP BI Java SDK
Hi, I'm new to sap BI Java SDK. I'm not getting how to get the primarykey columns, using BI JDBC Connector (for relational data sources). If anybody knows, please let me know. its very very urgent task to be done in my project. In the below following code.... I have written a code to connect to the database through resource bundle, reading table names, once user select table name, i need to show the primary key columns of that table to the user. here i'm not getting how to get the primary key columns . Please send me the code if there is any method to find out the primarykey columns or a logic to get them. I will be greatful to you.... if you can do this favour.
Please check out the following code ........
ManagedConnectionFactory mcf;
IConnectionFactory cf;
IConnectionSpec cs;
mcf = new JdbcManagedConnectionFactory();
cf = (IConnectionFactory) mcf.createConnectionFactory();
cs = cf.getConnectionSpec();
ResourceBundle rbLocal = ResourceBundle.getBundle( "xxxx");
Enumeration propnames = rbLocal.getKeys();
while (propnames.hasMoreElements())
String key = (String) propnames.nextElement(); //out.print(key); //out.println("="rbLocal.getString(key)"");
cs.setPropertyValue(key, rbLocal.getString(key));
// Establishing the connection. // The IBIRelational interface provides an entrypoint to access // metadata and execute queries.
IBIConnection connection = (IBIConnection) cf.getConnectionEx(cs); I
BIRelational rel = connection.getRelational();
IBIQuery query = rel.createQuery();
String sqlStatement = "SELECT * FROM " + "BICQPERSON where type='pk'"; ResultSet rs = IBIDataSet dataset = query.execute();
Thanks SreeKanthHi,
looks like you are on Infomation Builders, correct? If yes through which adapter and to what DB are you connecting?? in an R3/BW system you can do the folowing:
"(ABAP)
SELECT DISTINCT FIELDNAME
FROM DD03L
WHERE TABNAME = '/BIC/QPERSON'
AND AS4LOCAL = 'A'
AND KEYFLAG = 'X'
ORDER BY 1
Another option is goto directly to the RDBMS; in this case let me which one are you using
hope this helps...
Olivier.
Message was edited by:
Olivier Cora -
Data transfer b/w SAP to Java using IDOC and Interface SAP Jco
Dear Experts,
The challenging requirement we are having is, we need to create the interface for data transfer between SAP system and the Java system. The data will be transferred from SAP to java and similarly once some processing done in Java again the details needs to be transferred from Java to SAP.
For this data transferred we are planning to use IDOC process and for interface "SAP Java connector (Version 3.0.5)" we are planning to use. As per our understanding, from Java side one program needs to be written to connect with SAP as "Registered program". This registered program will appear in SAP GATEWAY automatically and using tRFC, TCP/IP connection both SAP and Java system will be connected.
In this case we are having some doubts.
1. The data from SAP is going to be transfered from one Custom transaction (Z tcode). Once "Outbound IDOC" will get triggered and will carry the details. Now the doubt is, whether the data / details will get transfered to JAVA system automatically or we need to perform any other steps from SAP ABAP coding...(like converting in to flat file, XML file and etc) ??
2. We are planning to install "SAP Jco" in Java server. Is this correct...??
3. Other than SAP Jco any other softwares needs to be installed or not..??
4. Since we are going to trigger the "outbound IDOC" from custom transaction, we are planning to develope one program in SE37. Other than this any other program we need to develop or not..??
5. Any sample Java program for the SAP Jco version 3.0.5 to create the "Registered program" with SAP..? (e.g. SAP Listener program).?
If anybody has detailed steps or explanation please share it with us.
Thanks in advance
Warm Regards,
VELHi All,
For the above mentioned issue, we implemented JCo software in JAVA system and created the JAVA program including SAP logon credential details like Client, User name, password and Language details.
When this JAVA program was compiled successfully then, that non SAP system will appear in SAP gateway Tcode.
Once non SAP system started appearing in SAP gateway that means, both SAP & Non SAP are connected automatically.
Regards,
Velmurugan P -
Problem in SAP WAS Java 6.40 SP9 and MaxDB 7.5 Preview installation
I am trying to install SAP WAS Java 6.40 SP9 and MaxDB 7.5 I have received the following error.
Can somebody help me to resolve this.
Thanks
kishor
SAPinst is getting started.
Please be patient ...
guiengine: no GUI connected; waiting for a connection on host DB6D1T61, port 21212 to continue with the installation
guiengine: login in process.
INFO 2005-05-29 16:01:09 [syxxcfile.cpp:325]
CSyFileImpl::copy(const CSyPath & q0w9e9r8t7.1.xml, ISyNode::eCopyMode 3, ISyProgressObserver*) const
Copying file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/keydb.xml to: q0w9e9r8t7.1.xml.
INFO 2005-05-29 16:01:09 [syxxcfile.cpp:446]
CSyFileImpl::copy(const CSyPath & q0w9e9r8t7.1.xml, ISyNode::eCopyMode 3, ISyProgressObserver*) const
Copying file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/keydb.xml to: q0w9e9r8t7.1.xml.
INFO 2005-05-29 16:01:09 [synxcpath.cpp:834]
CSyPath::createFile()
Creating file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST\q0w9e9r8t7.1.xml.
INFO 2005-05-29 16:01:10 [syxxcfile.cpp:325]
CSyFileImpl::copy(const CSyPath & C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/keydb.1.xml, ISyNode::eCopyMode 3, ISyProgressObserver*) const
Copying file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/keydb.xml to: C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/keydb.1.xml.
INFO 2005-05-29 16:01:10 [syxxcfile.cpp:446]
CSyFileImpl::copy(const CSyPath & C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/keydb.1.xml, ISyNode::eCopyMode 3, ISyProgressObserver*) const
Copying file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/keydb.xml to: C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/keydb.1.xml.
INFO 2005-05-29 16:01:10 [synxcpath.cpp:834]
CSyPath::createFile()
Creating file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST\keydb.1.xml.
INFO 2005-05-29 16:01:11 [ianxbusprv.cpp:337]
CIaNtUserPrivileges::add_impl(., DB6D1T61\Kishor Kolhe, SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege)
Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'DB6D1T61\Kishor Kolhe' on host '.'.
INFO 2005-05-29 16:01:15 [synxcpath.cpp:834]
CSyPath::createFile()
Creating file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST\summary.html.
PHASE 2005-05-29 16:01:15 [iaxxcwalker.cpp:416]
CDomWalker::printPhaseInfo()
Prepare the installation program.
INFO 2005-05-29 16:01:20 [iaxxcwalker.cpp:59]
CDomWalker::walk()
Installation start: Sunday, 29 May 2005, 16:01:07; installation directory: C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST; product to be installed: SAP NetWeaver '04 Support Release 1> Java System> MaxDB> Central System> Custom Installation - Java System
INFO[E] 2005-05-29 16:01:22 [synxcfsmgt.cpp:132]
CSyFileSystemMgtImpl::getFSExport(iastring)
File system export (share) saploc does not exist.
INFO 2005-05-29 16:01:22
CJSlibModule::writeInfo_impl()
Looking for SAP system instances installed on this host...
INFO 2005-05-29 16:01:22
CJSlibModule::writeInfo_impl()
No installed instances found!
INFO 2005-05-29 16:01:22
CJSlibModule::writeInfo_impl()
DNS is configured correctly.
INFO[E] 2005-05-29 16:01:23 [synxcfsmgt.cpp:132]
CSyFileSystemMgtImpl::getFSExport(iastring)
File system export (share) saploc does not exist.
INFO 2005-05-29 16:01:45 [syxxcfile.cpp:325]
CSyFileImpl::copy(const CSyPath & ., ISyNode::eCopyMode 3, ISyProgressObserver*) const
Copying file C:/WAS6.4J2EE_NEW/WebAS/J2EE_OSINDEP/JDKVersion.xml to: ..
INFO 2005-05-29 16:01:45 [syxxcfile.cpp:446]
CSyFileImpl::copy(const CSyPath & ., ISyNode::eCopyMode 3, ISyProgressObserver*) const
Copying file C:/WAS6.4J2EE_NEW/WebAS/J2EE_OSINDEP/JDKVersion.xml to: ..
INFO 2005-05-29 16:01:45 [synxcpath.cpp:834]
CSyPath::createFile()
Creating file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST\JDKVersion.xml.
INFO[E] 2005-05-29 16:01:45 [syxxccuren.hpp:189]
CSyCurrentProcessEnvironmentImpl::getEnvironmentVariable(iastring)
Unable to get value for environment variable JAVA_HOME.
INFO 2005-05-29 16:01:46
CJSlibModule::writeInfo_impl()
Execution of the command "C:/j2sdk1.4.2_08/bin/java.exe '-version'" finished with return code 0. Output:
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
INFO 2005-05-29 16:01:47
CJSlibModule::writeInfo_impl()
Execution of the command "C:/j2sdk1.4.2_08/bin/java.exe '-classpath' 'C:/DOCUME1/KISHOR1/LOCALS1/Temp/sapinst_exe.3360.1117396809/JAR/ins-j2ee.jar;C:/DOCUME1/KISHOR1/LOCALS1/Temp/sapinst_exe.3360.1117396809/JAR/sapxmltoolkit.jar' 'com.sap.ins.j2ee.TestClassLoader'" finished with return code 0. Output:
CORRECT
INFO 2005-05-29 16:01:47
CJSlibModule::writeInfo_impl()
Directory C:/WINDOWS is not a valid JDK directory: the java executable is missing.
INFO 2005-05-29 16:01:47
CJSlibModule::writeInfo_impl()
Found a valid JAVA_HOME directory C:\j2sdk1.4.2_08 with JDK version 1.4.2_08.
INFO 2005-05-29 16:01:48
CJSlibModule::writeInfo_impl()
Execution of the command "C:\j2sdk1.4.2_08/bin/java.exe '-version'" finished with return code 0. Output:
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
INFO 2005-05-29 16:01:50
CJSlibModule::writeInfo_impl()
Execution of the command "C:\j2sdk1.4.2_08/bin/java.exe '-version'" finished with return code 0. Output:
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
INFO 2005-05-29 16:01:50
CJSlibModule::writeInfo_impl()
Execution of the command "C:\j2sdk1.4.2_08/bin/java.exe '-classpath' 'C:/DOCUME1/KISHOR1/LOCALS1/Temp/sapinst_exe.3360.1117396809/JAR/ins-j2ee.jar;C:/DOCUME1/KISHOR1/LOCALS1/Temp/sapinst_exe.3360.1117396809/JAR/sapxmltoolkit.jar' 'com.sap.ins.j2ee.TestClassLoader'" finished with return code 0. Output:
CORRECT
INFO 2005-05-29 16:01:50 [synxcpath.cpp:865]
CSyPath::createDirectory()
Creating directory C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST\jdkPolicyCheck.
INFO[E] 2005-05-29 16:01:50 [syxxccuren.hpp:189]
CSyCurrentProcessEnvironmentImpl::getEnvironmentVariable(iastring)
Unable to get value for environment variable JAVA_HOME.
INFO 2005-05-29 16:01:50 [syxxccuren.hpp:347]
CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(iastring)
Working directory changed to C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/jdkPolicyCheck.
INFO 2005-05-29 16:01:50 [syxxccuren.hpp:347]
CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(iastring)
Working directory changed to C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST.
INFO 2005-05-29 16:01:50 [synxcpath.cpp:834]
CSyPath::createFile()
Creating file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST\local_policy.log.
INFO 2005-05-29 16:01:50
CJSlibModule::writeInfo_impl()
Output of C:\j2sdk1.4.2_08/bin/jar.exe is written to the logfile local_policy.log.
INFO 2005-05-29 16:01:50
CJSlibModule::writeInfo_impl()
Output of C:\j2sdk1.4.2_08/bin/jar.exe 'xvf' 'C:/j2sdk1.4.2_08/jre/lib/security/local_policy.jar':
INFO[E] 2005-05-29 16:01:50 [syxxccuren.hpp:189]
CSyCurrentProcessEnvironmentImpl::getEnvironmentVariable(iastring)
Unable to get value for environment variable JAVA_HOME.
INFO 2005-05-29 16:01:50 [syxxccuren.hpp:347]
CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(iastring)
Working directory changed to C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/jdkPolicyCheck.
INFO 2005-05-29 16:01:50 [syxxccuren.hpp:347]
CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(iastring)
Working directory changed to C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST.
INFO 2005-05-29 16:01:51 [synxcpath.cpp:834]
CSyPath::createFile()
Creating file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST\US_export_policy.log.
INFO 2005-05-29 16:01:51
CJSlibModule::writeInfo_impl()
Output of C:\j2sdk1.4.2_08/bin/jar.exe is written to the logfile US_export_policy.log.
INFO 2005-05-29 16:01:51
CJSlibModule::writeInfo_impl()
Output of C:\j2sdk1.4.2_08/bin/jar.exe 'xvf' 'C:/j2sdk1.4.2_08/jre/lib/security/US_export_policy.jar':
INFO 2005-05-29 16:01:51 [synxcfile.cpp:152]
CSyFileImpl::remove()
Removing file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST\jdkPolicyCheck\default_local.policy.
INFO 2005-05-29 16:01:51 [synxcfile.cpp:152]
CSyFileImpl::remove()
Removing file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST\jdkPolicyCheck\default_US_export.policy.
INFO 2005-05-29 16:01:51 [synxcfile.cpp:152]
CSyFileImpl::remove()
Removing file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST\jdkPolicyCheck\exempt_local.policy.
INFO 2005-05-29 16:01:51 [synxcfile.cpp:152]
CSyFileImpl::remove()
Removing file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST\jdkPolicyCheck\META-INF\JCE_RSA.RSA.
INFO 2005-05-29 16:01:51 [synxcfile.cpp:152]
CSyFileImpl::remove()
Removing file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST\jdkPolicyCheck\META-INF\JCE_RSA.SF.
INFO 2005-05-29 16:01:51 [synxcfile.cpp:152]
CSyFileImpl::remove()
Removing file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST\jdkPolicyCheck\META-INF\MANIFEST.MF.
INFO 2005-05-29 16:01:51 [synxcdir.cpp:144]
CSyDirectoryImpl::remove()
Removing directory C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/jdkPolicyCheck/META-INF.
INFO 2005-05-29 16:01:51 [synxcdir.cpp:144]
CSyDirectoryImpl::remove()
Removing directory C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/jdkPolicyCheck.
INFO[E] 2005-05-29 16:01:58 [synxcuser.cpp:102]
CSyUserImpl::CSyUserImpl(const CUserData&, bool)
Account user="j2eadm" does not exist.
INFO[E] 2005-05-29 16:02:05 [synxcfsmgt.cpp:132]
CSyFileSystemMgtImpl::getFSExport(iastring)
File system export (share) saploc does not exist.
INFO[E] 2005-05-29 16:02:09 [synxcuser.cpp:102]
CSyUserImpl::CSyUserImpl(const CUserData&, bool)
Account user="DB6D1T61\j2eadm" does not exist.
INFO[E] 2005-05-29 16:02:14 [synxcuser.cpp:102]
CSyUserImpl::CSyUserImpl(const CUserData&, bool)
Account user="DB6D1T61\SAPServiceJ2E" does not exist.
INFO[E] 2005-05-29 16:02:26 [synxcfsmgt.cpp:132]
CSyFileSystemMgtImpl::getFSExport(iastring)
File system export (share) saploc does not exist.
INFO[E] 2005-05-29 16:02:37 [synxcuser.cpp:102]
CSyUserImpl::CSyUserImpl(const CUserData&, bool)
Account user="DB6D1T61\j2eadm" does not exist.
INFO[E] 2005-05-29 16:02:42 [synxcuser.cpp:102]
CSyUserImpl::CSyUserImpl(const CUserData&, bool)
Account user="DB6D1T61\SAPServiceJ2E" does not exist.
INFO[E] 2005-05-29 16:02:42 [synxcfsmgt.cpp:132]
CSyFileSystemMgtImpl::getFSExport(iastring)
File system export (share) saploc does not exist.
INFO[E] 2005-05-29 16:02:42 [synxcfsmgt.cpp:132]
CSyFileSystemMgtImpl::getFSExport(iastring)
File system export (share) saploc does not exist.
INFO[E] 2005-05-29 16:02:47 [synxcuser.cpp:102]
CSyUserImpl::CSyUserImpl(const CUserData&, bool)
Account user="DB6D1T61\j2eadm" does not exist.
INFO[E] 2005-05-29 16:02:51 [synxcuser.cpp:102]
CSyUserImpl::CSyUserImpl(const CUserData&, bool)
Account user="DB6D1T61\j2eadm" does not exist.
INFO[E] 2005-05-29 16:02:58 [synxcuser.cpp:102]
CSyUserImpl::CSyUserImpl(const CUserData&, bool)
Account user="DB6D1T61\SAPServiceJ2E" does not exist.
INFO[E] 2005-05-29 16:03:03 [synxcuser.cpp:102]
CSyUserImpl::CSyUserImpl(const CUserData&, bool)
Account user="DB6D1T61\SAPServiceJ2E" does not exist.
INFO[E] 2005-05-29 16:03:05 [synxcfsmgt.cpp:132]
CSyFileSystemMgtImpl::getFSExport(iastring)
File system export (share) saploc does not exist.
INFO 2005-05-29 16:03:05
CJSlibModule::writeInfo_impl()
Looking for SAP system instances installed on this host...
INFO 2005-05-29 16:03:05
CJSlibModule::writeInfo_impl()
No installed instances found!
INFO[E] 2005-05-29 16:03:06 [synxcfsmgt.cpp:132]
CSyFileSystemMgtImpl::getFSExport(iastring)
File system export (share) saploc does not exist.
WARNING[E] 2005-05-29 16:03:06 [syxxcnamrs.cpp:128]
PSyServicesEntry CSyIPNameResolverImpl::getServiceByName(const iastring& serviceName, const iastring& protocol) const
Error converting from service name=sapmsJ2E/protocol=tcp to port number. SAPRETURN=12
INFO[E] 2005-05-29 16:03:08 [synxcfsmgt.cpp:132]
CSyFileSystemMgtImpl::getFSExport(iastring)
File system export (share) saploc does not exist.
WARNING[E] 2005-05-29 16:03:08 [syxxcnamrs.cpp:337]
PSyServicesEntry CSyIPNameResolverImpl::getServiceByPort(const unsigned int portNumber, const iastring& protocol) const
Error converting from port number=3601/protocol=tcp to service names. SAPRETURN=12
WARNING[E] 2005-05-29 16:03:09 [syxxcnamrs.cpp:128]
PSyServicesEntry CSyIPNameResolverImpl::getServiceByName(const iastring& serviceName, const iastring& protocol) const
Error converting from service name=sapmsJ2E/protocol=tcp to port number. SAPRETURN=12
INFO[E] 2005-05-29 16:03:09 [synxcfsmgt.cpp:132]
CSyFileSystemMgtImpl::getFSExport(iastring)
File system export (share) saploc does not exist.
INFO[E] 2005-05-29 16:03:11 [synxcfsmgt.cpp:132]
CSyFileSystemMgtImpl::getFSExport(iastring)
File system export (share) saploc does not exist.
INFO[E] 2005-05-29 16:03:41 [synxcfsmgt.cpp:132]
CSyFileSystemMgtImpl::getFSExport(iastring)
File system export (share) saploc does not exist.
INFO[E] 2005-05-29 16:03:45 [synxcfsmgt.cpp:132]
CSyFileSystemMgtImpl::getFSExport(iastring)
File system export (share) saploc does not exist.
INFO 2005-05-29 16:03:46
CJSlibModule::writeInfo_impl()
Execution of the command "C:\j2sdk1.4.2_08/bin/java.exe '-version'" finished with return code 0. Output:
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
INFO 2005-05-29 16:03:46
CJSlibModule::writeInfo_impl()
Execution of the command "C:\j2sdk1.4.2_08/bin/java.exe '-classpath' 'C:/DOCUME1/KISHOR1/LOCALS1/Temp/sapinst_exe.3360.1117396809/JAR/ins-j2ee.jar;C:/DOCUME1/KISHOR1/LOCALS1/Temp/sapinst_exe.3360.1117396809/JAR/sapxmltoolkit.jar' 'com.sap.ins.j2ee.TestClassLoader'" finished with return code 0. Output:
CORRECT
INFO[E] 2005-05-29 16:03:47 [synxcfsmgt.cpp:132]
CSyFileSystemMgtImpl::getFSExport(iastring)
File system export (share) saploc does not exist.
INFO[E] 2005-05-29 16:03:51 [synxcuser.cpp:102]
CSyUserImpl::CSyUserImpl(const CUserData&, bool)
Account user="DB6D1T61\j2eadm" does not exist.
INFO[E] 2005-05-29 16:03:56 [synxcuser.cpp:102]
CSyUserImpl::CSyUserImpl(const CUserData&, bool)
Account user="DB6D1T61\j2eadm" does not exist.
INFO[E] 2005-05-29 16:04:03 [synxcuser.cpp:102]
CSyUserImpl::CSyUserImpl(const CUserData&, bool)
Account user="DB6D1T61\SAPServiceJ2E" does not exist.
INFO[E] 2005-05-29 16:04:07 [synxcuser.cpp:102]
CSyUserImpl::CSyUserImpl(const CUserData&, bool)
Account user="DB6D1T61\SAPServiceJ2E" does not exist.
INFO 2005-05-29 16:04:10
CJSlibModule::writeInfo_impl()
Looking for SAP system instances installed on this host...
INFO 2005-05-29 16:04:11
CJSlibModule::writeInfo_impl()
Found these instances:
sid: J2E, number: 01, name: SCS01, host: DB6D1T61
INFO[E] 2005-05-29 16:04:13 [synxcfsmgt.cpp:132]
CSyFileSystemMgtImpl::getFSExport(iastring)
File system export (share) saploc does not exist.
ERROR 2005-05-29 16:04:42 [iaxxinscbk.cpp:289]
abortInstallation
MDB-070021 Registry information for database software found in system but the software check failed. The software was not properly removed or installed incorrectly.
WARNING 2005-05-29 16:04:42 [iaxxccntrl.cpp:477]
CController::stepExecuted()
The step Validate_Sapdb_System with step key J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|J2EE_Engine|ind|ind|ind|J2EE_Engine|630|0|J2EE_Engine_SAPDB_Client|ind|ind|ind|ind|ind|0|SAPDB_DB_SOFTWARE|ind|ind|ind|ind|ind|0|Validate_Sapdb_System was executed with status ERROR.
SAPinst component stack:
========================
Preinstall|ind|ind|ind|ind|ind|0
Current script:
===============
sapdb_validate_system();
WARNING 2005-05-29 16:04:45 [iaxxcsihlp.hpp:250]
main()
An error occurred during the installation.
Exit status of child: 1Have you found a fix for your problem? I am having the same with a JAVA install on ORACLE:
WARNING[E] 2005-11-02 18:46:34 [syxxcnamrs.cpp:128]
PSyServicesEntry CSyIPNameResolverImpl::getServiceByName(const iastring& serviceName, const iastring& protocol) const
Error converting from service name=sapmsQP2/protocol=tcp to port number. SAPRETURN=12 -
Flow of tables information between sap and java
How should i pass the table information from sap to java.
and how to process the data of a table in the java program. i had seen the examples of JCO. BUT I IS VERY CONFUSING (BCOZ I DON'T KNOW JAVA).
PLZ IF U DON'T MIND SEND ME CODE SNIPPET TO
1.GET THE TABLE INTO THE JAVA PROGRAM
2.PROCESSING THE TABLE INFORMATION IN JAVA PROGRAM
3.MODIFYING THE TABLE INFORMATION IN JAVA PROGRAM
4.SENDING BACK THE TABLE TO SAP FROM JAVA PROGRAMhi,Kondani
as JCO offers both Client side and server Side programming.
you can use JCO to connect SAP ABAP.outbound and inbound.
1) JCO example 5 is about Server side programming java code. And you can see the data mapping is this example.And you must use sm59 to define the connections in SAP before you start.
2) example 1 is about client side programming.
try example 1 first. you can get a table from SAP using BAPI.
Lots of JCO weblog you can see here
https://www.sdn.sap.com/sdn/search.sdn?contenttype=url&query=jco&selected=9&content=/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fSDN!2fiViews!2fWCM!2fcom.sap.sdn..wcm.search.search_adv%3Fprttheme%3DCSIN%26QueryString=jco%26SearchPluginName=sdn_weblog%26SelectedCustomProps=resourcetype(value=sdn_weblog)
Regards -
Flow of tables informaion between sap and java
How should i pass the table information from sap to java.
and how to process the data of a table in the java program. i had seen the examples of JCO. BUT I IS VERY CONFUSING (BCOZ I DON'T KNOW JAVA).
PLZ IF U DON'T MIND SEND ME CODE SNIPPET TO
1.GET THE TABLE INTO THE JAVA PROGRAM
2.PROCESSING THE TABLE INFORMATION IN JAVA PROGRAM
3.MODIFYING THE TABLE INFORMATION IN JAVA PROGRAM
4.SENDING BACK THE TABLE TO SAP FROM JAVA PROGRAMhi,Kondani
as JCO offers both Client side and server Side programming.
you can use JCO to connect SAP ABAP.outbound and inbound.
1) JCO example 5 is about Server side programming java code. And you can see the data mapping is this example.And you must use sm59 to define the connections in SAP before you start.
2) example 1 is about client side programming.
try example 1 first. you can get a table from SAP using BAPI.
Lots of JCO weblog you can see here
https://www.sdn.sap.com/sdn/search.sdn?contenttype=url&query=jco&selected=9&content=/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fSDN!2fiViews!2fWCM!2fcom.sap.sdn..wcm.search.search_adv%3Fprttheme%3DCSIN%26QueryString=jco%26SearchPluginName=sdn_weblog%26SelectedCustomProps=resourcetype(value=sdn_weblog)
Regards -
Upgrading SAP-EP(Java) from version 7.0 to 7.1/7.2
Hi Experts,
We have an Application currently working on SAP EP(JAVA) 7.0.
We are looking forward to upgrade our EP from 7.0 to higher version (CE 7.1 or CE 7.2).
Kindly advise us about issues in this upgrade.
Also suggest if upgrade would be better option or simply updating the support packages (like EHP1 or EHP2) for EP7.0 would be better.
Also let me know the steps involved in performing upgrade/update.
Hope to get answers from you.
regards,
Rajeev ParmarHello Rajeev,
In release 7.1 there has been a big change in the java architecture (there is no dispatcher anymore and the ICM is taking over the role).
I would suggest to have a look at the following documentation. There you can find a complete summary of changes in that release:
http://help.sap.com/saphelp_nwce711core/helpdata/en/44/d958673ef05f4de10000000a11466f/frameset.htm
If you apply EHP1 to 7.0, you will obtain 7.01, which is the same release (no architectural changes). The enhancement package will provide some news in specific applications, but it is not an upgrade to a higher release.
Regards,
Désiré -
Publishing XI exposed webservices in the UDDI Server of SAP WAS JAVA 640
Hi Friends,
I have a question regarding publishing a WSDL created via XI (Integration Directory) to a UDDI Server of SAP WAS JAVA 640. Can I publish the WSDL generated from XI in the UDDI Server provided as a part of SAP WAS 640 ? I know that the WSDL will be specific for a client( sender) but I feel that its better than emailing the WSDL to the client after generating it in the integration directory. Any relevant documents, links explaining how to do that will be appreciated.
The above question was asked by Siva Maranani before. His question was as below .
"I know that whenever a webservice is developed using NDS it can be deployed in WebAs and the same can be registered in UDDI ( webAs acting as UDDI registry).
Now my requirement is to register a WSDL file (which describes) for an external webservice. Can WebAs be used as a UDDI registry..?
I like to know if this is possible or not..? if yes.. how..?"
Waiting for the reply...
Thanks & Regards,
MathewHi Naveen,
Thanks for the quick response. I tried the steps mentioned in the link.
1. Successfully created a new local UDDI registry in SAP WAS..
2. Assigned users etc.
The place I am getting stuck is..
"Make sure that the Web Service Definition has already been created and configured".
I have a WSDL document created via Define webservice in the XI integration directory.(We are successfully able to call the webservice using this WSDL via .net & xmlspy)
Where should I upload this WSDL ? so that the users will able to download/reference it w/out myself emailing to them.We dont/won't have NDS installed in our landscape.
I understand that whenever a webservice is developed using NDS it can be deployed in WebAs and the same can be registered in UDDI ( webAs acting as UDDI registry).
The requirement is to register a WSDL file generated via XI w/out using NDS.
Did you able to publish a WSDL file generated via XI in the local UDDI w/out using NDS ?
waiting for your reply
Thanks a lot,
Mathew -
Urgent - Big POC: SAP Adapter Java API !
Hi,
I'm trying to get from an SAP BAPPI values using SAP Adapter Java API.
I had tested at BEA and it worked fine.
the code is:
try {
InitialContext ic = new InitialContext(env);
// Create an object that provides the services established during
configuration
ApplicationView applicationView = new
ApplicationView(ic,SapConstants.APPVIEW_NAME);
// First, get the schema for the request document and use it to
construct a default document.
IDocumentDefinition requestDocumentDef =
applicationView.getRequestDocumentDefinition(SapConstants.APPVIEW_SERVICE);
IDocument requestDocument = requestDocumentDef.createDefaultDocument();
requestDocument.setStringInFirst("/Material.GETDETAIL/MATERIAL",
"000000000000001667");
requestDocument.setStringInFirst("/Material.GETDETAIL/PLANT", "0001");
// Problem at this line
responseDocument =
applicationView.invokeService(SapConstants.APPVIEW_SERVICE,
requestDocument);
On site, the plateforme has no Internet connexion. limitation
Is there type limitation: here it's only a String.
I get this error message:
<Material.GETDETAIL><MATERIAL>000000000000001667</MATERIAL><eda:control
xmlns:eda="http://www.iwaysoftware.com/iwse" clip="yes"
by="SAPIFRService"><eda:expire>2003-01-10T19:53:14Z</eda:expire><eda:attempt
1</eda:attempt></eda:control></Material.GETDETAIL>
DEBUG 09 Jan 2003 19:53:14,468 BEA_SAP_1_0.AppViewSapDev - DEEP
[SAPIFRService] localWorker: Agent review SNIP <eda:control
xmlns:eda="http://www.iwaysoftware.com/iwse" clip="yes" by="SAPIFRService">
[parent=Material.GETDETAIL]
DEBUG 09 Jan 2003 19:53:14,484 BEA_SAP_1_0.AppViewSapDev - DEEP
[SAPIFRService] localWorker: Agent review result <Material.GETDETAIL>
<MATERIAL>000000000000001667</MATERIAL>
</Material.GETDETAIL>
DEBUG 09 Jan 2003 19:53:14,484 BEA_SAP_1_0.AppViewSapDev - DEBUG
[SAPIFRService] localWorker: SafIFRAgent rootname: Material.GETDETAIL
ExecuteThread: '10' for queue: 'default': com.ibi.sapjco.SapDriver: connect
ExecuteThread: '10' for queue: 'default': com.ibi.sapjco.SapConnection:
Initializing connection ...
ExecuteThread: '10' for queue: 'default': Create callable statement: {CALL
IDOC_INBOUND_ASYNCHRONOUS(?)}
DEBUG 09 Jan 2003 19:53:14,515 BEA_SAP_1_0.AppViewSapDev - DEBUG
[SAPIFRService] localWorker:
IFRXML=<Material.GETDETAIL><MATERIAL>000000000000001667</MATERIAL></Material
.GETDETAIL>
java.util.NoSuchElementException
at java.util.Vector.lastElement(Vector.java:449)
at
com.ibi.sapjco.SapIdocXmlParser.endElement(SapIdocXmlParser.java:189)
at
org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.jav
a:559)
at
org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinde
r.java:853)
at
org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java
:643)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.
java:2978)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:9
18)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDo
cumentFragmentScannerImpl.java:1145)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocu
mentFragmentScannerImpl.java:988)
I'm on site so could you send me the answer directly : [email protected]
Thanks
ChristopheHi,
I don't know how much it will help but it must add some value.
please check these links
http://help.sap.com/saphelp_nw04/helpdata/en/57/0b2c4142aef623e10000000a155106/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/78/759f3cad1e3251e10000000a114084/content.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652b710
Regards
Aashish Sinha -
IDOC data transfer SAP to Java using SAP JCo
Dear Experts,
The challenging requirement we are having is, we need to create the interface for data transfer between SAP system and the Java system. The data will be transferred from SAP to java and similarly once some processing done in Java again the details needs to be transferred from Java to SAP.
For this data transferred we are planning to use IDOC process and for interface "SAP Java connector" we are planning to use. In this case we are having some doubts.
1. The data from SAP is going to be transfered from one Custom transaction (Z tcode). Once "Outbound IDOC" will get triggered and will carry the details. Now the doubt is, whether the data / details will get transfered to JAVA system automatically or we need to perform any other steps from SAP ABAP coding...(like converting in to flat file, XML file and etc) ??
2. We are planning to install "SAP Jco" in Java server. Is this correct...??
3. Other than SAP Jco any other softwares needs to be installed or not..??
4. Since we are going to trigger the "outbound IDOC" from custom transaction, we are planning to develope one program in SE37. Other than this any other program we need to develop or not..??
If anybody has detailed steps or explanation please share it with us.
Warm Regards,
VELHi All,
For the above mentioned issue, we implemented JCo software in JAVA system and created the JAVA program including SAP logon credential details like Client, User name, password and Language details.
When this JAVA program was compiled successfully then, that non SAP system will appear in SAP gateway Tcode.
Once non SAP system started appearing in SAP gateway that means, both SAP & Non SAP are connected automatically.
Regards,
Velmurugan P -
Can some one guide me thru important steps in installation of SAP NW Java Trial version
There are two files mentioned there:
SAPNW2004sJavaSP9_Trial.part1
and SAPNW2004sJavaSP9_Trial.part2
1)Do we need to download both?
2)Do we need to install from both?
I downloaded both and then unzipped SAPNW2004sJavaSP9_Trial.part1 using winrar and clicked on setup.bat.after a few steps I m getting an error like Acces Control not available for this drive.i selected all drives available in my system but the error is same.Any idea on this.
Thanks,
Nishit -
Hi ,
I m new to SAP ISA java development. I m experienced in Java and Java wedynpro development. I m even experienced on struts frame work.
I would like to setup development environment for ISA . I have read SAP E-Commerce 5.0 Examples and Tutorials, what i don't understand is how to get sample b2b application and where i can the application?
Please let me know or provide me with some application of ISA where i can learn basics.
Regards,
Ravi.You can get the SAP CRM java application from SAP CRM installation media,
or download from SAP service marketplace.
I think you can find the info in the Development and Extension Guide
The components
x SAP-SHRWEB.sca
x SAP-SHRAPP.sca
x SAP-CRMWEB.sca and
x SAP-CRMAPP.sca
are designed to be modified and extended in the NWDI. They contain the web files for the E-Commerce
Applications, the IPC Web Applications and the Workforce Management Applications.
For E-Commerce for mySAP ERP
x SAP-SHRWEB.sca
x SAP-SHRAPP.sca
are designed to be modified.
If you plan to extend database tables you can modify the component
x SAP-CRMDIC.sca,
in the NWDI as well.
The components
x sap.com~STRUTS.sca
x sap.com~SAP-IPCMSA.sca
x sap.com~SAP-CRMJAV.sca
x sap.com~SAP-SHRJAV.sca
x TEALEAF.sca
are designed not to be extended or modified in the NWDI. They are required for compiling and building the
applications.
After you delpoy the SCAs to AS Java, and configure it with XCM, you can login the web shop. -
I am currently working on a project and there are number of things that are involved such as SAP ( all transactions are stored in Sap). I developed an access database which is responsible in storing some data and then produces reports. I like to get some data from SAP system and then dump these data into my access database. Sap administrator are keep saying .. it is impossible to get data from SAp and then put inot access. I suggested that l can develop a java application to interect SAP (to get the data ) and then put into access.
Is this possible.... if my question is not clear ... l will rephrase later.It would (in theory) be possible if you had the necessary maintenance contract (and then the JDBC driver) But even so you will likely need some significant support from the SAP admins since the data model is not always intuitive (read: horrendous). This is all just my opinion of course, maybe your experience will be different.
Good Luck
Lee -
SAP NW Java Slim Edition Installation Error
HI All,
While i'm installing SAP NW Java Slim Edition
I'm getting below error(ERR-24936,ERR_DBNORUN: Database instance is not running).
Could someone help me to fix this issue.
Thanks,
Chandra,
ERROR 2006-08-19 00:06:53
CJS-00030 Assertion failed: in function sapdb_check_schema(dbhost, dbname, db_sch)
{ var r_v = false; var sdbInst = new sdbInstance(); sdbInst.dbName = dbname;
sdbInst.dbHost = dbhost; var sql_statement = "SELECT USERNAME FROM DOMAIN.USERS";
var r_arr = sdb_sql_query(sql_statement, sdbInst); ASSERT(arguments.callee,
r_arr != undefined, "ERROR EXECUTING DBMCLI COMMAND!"); if (r_arr[0] == "false")
{ var err_msg = "ERROR EXECUTING SQL QUERY: ";
for (var i_cnt = 1; i_cnt < r_arr.length; i_cnt++) { err_msg = err_msg + r_arr[i_cnt]; }
ASSERT(arguments.callee, false, err_msg); } else {
var cmp_s = new RegExp("'" + db_sch.toUpperCase() + "'");
for (var i_cnt = 0; i_cnt < r_arr.length; i_cnt++)
{ if (cmp_s.test(r_arr[i_cnt])) { r_v = true; } } } return r_v;}
ERROR EXECUTING SQL QUERY: Error! Connection failed to node Chandu for database
J2E: ERR_USRFAIL: user authorization failed
ERROR 2006-08-19 00:24:55
CJS-00030 Assertion failed: in function sapdb_check_schema(dbhost, dbname, db_sch)
{ var r_v = false; var sdbInst = new sdbInstance(); sdbInst.dbName = dbname;
sdbInst.dbHost = dbhost; var sql_statement = "SELECT USERNAME FROM DOMAIN.USERS";
var r_arr = sdb_sql_query(sql_statement, sdbInst);
ASSERT(arguments.callee, r_arr != undefined, "ERROR EXECUTING DBMCLI COMMAND!");
if (r_arr[0] == "false") { var err_msg = "ERROR EXECUTING SQL QUERY: ";
for (var i_cnt = 1; i_cnt < r_arr.length; i_cnt++) { err_msg = err_msg + r_arr[i_cnt]; }
ASSERT(arguments.callee, false, err_msg); } else
{ var cmp_s = new RegExp("'" + db_sch.toUpperCase() + "'");
for (var i_cnt = 0; i_cnt < r_arr.length; i_cnt++) { if (cmp_s.test(r_arr[i_cnt]))
{ r_v = true; } } } return r_v;}
ERROR EXECUTING SQL QUERY:
ERR-24936,ERR_DBNORUN: Database instance is not runningHi Chandra,
Did you install SAPDB?. Seems like the DB is not installed or is offline, <b>ERROR EXECUTING DBMCLI COMMAND</b> seems like DBMCLI commands are not been recognized.. Did you when through all th pre-installation checks?
Regards
Juan
Please reward with points if helpful -
Form not getting displayed in sap b one
I have created a form using screen painter.But it is not getting displayed in sap b one.When I debugged the form it doesnot show any error.
Option Strict Off
Option Explicit On
Friend Class frmEmployee
Private WithEvents SBO_Application As SAPbouiCOM.Application
Private objForm As SAPbouiCOM.Form
Public Sub New()
MyBase.New()
'// set SBO_Application with an initialized application object
SetApplication()
LoadFromXML("frmEmployee.xml")
'LoadFromXML("MySimpleFormxml")
'// Get the added form object by using the form's UID
objForm = SBO_Application.Forms.Item("F_4")
'// Show the loaded Form
objForm.Visible = True
'// Saving the Form as an XML file
'// although it already exist as an XML file
'// it is good for practice
'SaveAsXML(objForm)
End Sub
Private Sub SetApplication()
'// Use an SboGuiApi object to establish connection
'// with the SAP Business One application and return an
'// initialized appliction object
Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
SboGuiApi = New SAPbouiCOM.SboGuiApi
'// by following the steps specified above, the following
'// statment should be suficient for either development or run mode
sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
'// connect to a running SBO Application
SboGuiApi.Connect(sConnectionString)
'// get an initialized application object
SBO_Application = SboGuiApi.GetApplication()
End Sub
Private Sub LoadFromXML(ByRef FileName As String)
Dim oXmlDoc As Xml.XmlDocument
oXmlDoc = New Xml.XmlDocument
'// load the content of the XML File
Dim sPath As String
'sPath = IO.Directory.GetParent(Application.StartupPath).ToString
sPath = "D:\Final\Forms"
oXmlDoc.Load(sPath & "\" & FileName)
'// load the form to the SBO application in one batch
SBO_Application.LoadBatchActions(oXmlDoc.InnerXml)
End Sub
Private Sub SaveAsXML(ByRef Form As SAPbouiCOM.Form)
Dim oXmlDoc As Xml.XmlDocument
Dim sXmlString As String
oXmlDoc = New Xml.XmlDocument
'// get the form as an XML string
sXmlString = Form.GetAsXML
'// load the form's XML string to the
'// XML document object
oXmlDoc.LoadXml(sXmlString)
Dim sPath As String
'sPath = IO.Directory.GetParent(Application.StartupPath).ToString
sPath = "D:\Final\Forms"
'// save the XML Document
oXmlDoc.Save((sPath & "\frmEmployee1.xml"))
End Sub
End Class
Maybe you are looking for
-
Need logic for calculate the balance quantity in open sales order
hi all i need logic to calcuclate the balance quantity in open sales order , where i am using VBAK header and VBAP item , and VBFA for document flow tables i need to have the balance quantity , for the open sales order especially taking with respect
-
Wireless PC wont connect---wont acquire network address
Your Network Magic Version installed: 5.5.5195 The type of connection to the Internet : ADSL2 The Brand of Modem and its Model Number the router is connected to.Linksys ADSL WAG120N The Method of connection your problem computer has to the Router: W
-
A question about output result
i want to print the query result of a database table into the screen. but i found it difficult to align the results. listed below is an example Mary F 28 Alexandra M 30 i usd the listed command to print above results: System.out.println("\t" + name +
-
Suppress section when exporting or sending to printer
<p>Hi,</p><p>I haven't been able to find anything in the help, kbase etc. so I thought I'd ask here - is it possible to suppress a section ONLY when exporting or sending to a printer?</p><p>I have been using the webelements functionality and added a
-
Moving Data Between OEM Versions
I have a 10.2.0.2 HPUX Risc OEM that is working. I just created a 10.2.0.3 Itanium OEM. I would like move the data the old to the new. Essentially I want to get any alerts, schedules, etc. Would an import/export of the Management tablespace work? Tha