Problem facing while creating DataSource through visual admin utility
Hi,
I have created my database on shw6ur-3\tdemand_1 machine where shw6ur-3 is machine name and tdemand_1 is database instance. Still now we used to create database on the sqlserver machine without databaseinstance . This is first time we have installed separate database instance tdemand_1 on the machine. I am entering parameter through visual admin->serverices-> JDBC connector to create database parameter are server name: shw6ur-3\tdemand_1 and database:ABC.
But it is not allowing me to create the DataSource.
I am having the doubt on server name.
Does anybody know how to create DataSource to connect to particular database on particular database instance.
regards,
Chandan
If you connect as sys you have to specify that you want to connect in the role of sysdba or sysoper.
In the connection dialog you'll find a drop down box where you select sysdba instead of normal.
Timo
Similar Messages
-
Problem faced while creating database in oracle 10g
SQL> get C:\Oracle_Docs\ex\dbcreation_script\DBCREATIONSCRIPT
1 create database db_test
2 logfile group 1 ('C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO01.rdo','C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO02.rdo') size 100 m,
3 group 2 ('C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO03.rdo','C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO04.rdo') size 100 m
4 datafile 'C:\oracle\product\10.1.0\oradata\orcl\testdb\system01.dbf' size 32m
5 SYSAUX DATAFILE 'C:\oracle\product\10.1.0\oradata\orcl\testdb\SYSAUX.DBF' SIZE 325M
6 undo tablespace testundotbs
7 datafile 'C:\oracle\product\10.1.0\oradata\orcl\testdb\undo01.dbf' size 40 m
8 default temporary tablespace test_temptbls
9 tempfile 'C:\oracledb\testdb\tempo1.dbf' size 40 m
10 character set WE8MSWIN1252
11* national character set AL16UTF16
12 /
create database db_test
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-01504: database name 'DB_TEST' does not match parameter db_name 'orcl'
create spfile = 'C:\oracle\product\10.1.0\db_1\database\spfiledb_test.ora' from pfile = 'C:\oracle\product\10.1.0\admin\orcl\pfile\init.ora'
ERROR at line 1:
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file
'C:\ORACLE\PRODUCT\10.1.0\ADMIN\ORCL\PFILE\INIT.ORA'
Message was edited by:
user525645i have the init file which contains my database name.i have tries asking one sir regarding this. he checked out my problem but couldnt get the solution.he told he'll check it out and tell...he 's telling ther is 25% chance in installation problem.
my init.ora file
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Cache and I/O
db_block_size=8192
db_cache_size=25165824
db_file_multiblock_read_count=16
# Cursors and Library Cache
open_cursors=300
# Database Identification
db_domain=""
db_name=db_test
# Diagnostics and Statistics
background_dump_dest=C:\oracle\product\10.1.0\admin\orcl\bdump
core_dump_dest=C:\oracle\product\10.1.0\admin\orcl\cdump
user_dump_dest=C:\oracle\product\10.1.0\admin\orcl\udump
# File Configuration
control_files=("C:\oracle\product\10.1.0\oradata\orcl\testdb\control01.ctl", "C:\oracle\product\10.1.0\oradata\orcl\testdb\control02.ctl", "C:\oracle\product\10.1.0\oradata\orcl\testdb\control03.ctl")
db_recovery_file_dest=C:\oracle\product\10.1.0\flash_recovery_area
db_recovery_file_dest_size=2147483648
# Job Queues
job_queue_processes=10
# Miscellaneous
compatible=10.1.0.2.0
# Pools
java_pool_size=50331648
large_pool_size=8388608
shared_pool_size=83886080
# Processes and Sessions
processes=150
# Security and Auditing
remote_login_passwordfile=EXCLUSIVE
# Shared Server
dispatchers="(PROTOCOL=TCP) (SERVICE=orclXDB)"
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=25165824
sort_area_size=65536
# System Managed Undo and Rollback Segments
undo_management=AUTO
undo_tablespace=UNDOTBS1
Message was edited by:
user525645 -
Problem facing while creating a SOA-MDS Connection in JDEVELOPER
Hi,
I am trying to create a new SOA-MDS connection by choosing the RESOURCE PALETTE > NEW-CONNECTION > SOA-MDS.. When I am selecting connection it's not populating the Select MDS Partition dropdown. Its giving the error :Oct 18, 2012 7:17:48 PM oracle.tip.tools.ide.common.resourcepalette.adapter.mds.DBConnectionInfo
WARNING: Error reading db partitions for connection name MDS_CONN. Reason :
Oct 18, 2012 7:17:48 PM oracle.tip.tools.ide.common.resourcepalette.adapter.mds.DBConnectionInfo
Any Suggestions Regarding This issue....
Thanks in Advance..
Edited by: 947267 on Oct 19, 2012 4:11 AMI uninstall my Jdeveloper and created new MDS connection now its working..
-
Error in creating MSSQL 2005 server Datasource in visual admin
I need to create a datasource in Visual Admin for SQL Server 2005. I have already downloaded the JDBC Driver for SQL server 2005 and while creating the driver in visual admin I specified sqljdbc.jar from the downloaded directory.
Then created the datasource, filling out the following properties:
o Main tab > DataSource Name: fx MyDatasource
o Main tab > Add Alias: fx MyAlias
o Main tab > Driver Name: SQL Server
o Main tab > JDBC version: 2.0 (with XA support)
o Main tab > Object factory: com.microsoft.jdbcx.sqlserver.SQLServerDataSourceFactory
o Main tab > DataSource Type: ConnectionPoolDataSource
o Main tab > CPDS classname: com.microsoft.jdbcx.sqlserver.SQLServerDataSource
o Additional tab > add property serverName = <myserver>,
o Additional tab > add property databaseName = <mydb>,
o Additional tab > add property portNumber = <port>, fx 1433
o Additional tab > add property user = <sql database user>, fx sa
o Additional tab > add property password = <password>
Then I set the initial connections to 1. On saving, I was shown an error saying:
Causedby: java.lang.ClassNotFoundException:com.microsoft.jdbcx.sqlserver.SQLServerDataSourceFactory
Then I tried with SAPs Driver for MSSQL, giving the parameters as:
Driver Name: SYSTEM_DRIVER
JDBC Version: 1.x
Driver Class: com.sap.portals.jdbc.sqlserver.SQLServerDriver.class
Database URL: jdbc:sap:sqlserver://<myserver>:1433;DatabaseName=<mydb>
On saving an error was generated saying:
Causedby:java.lang.ClassNotFoundException:com.sap.portals.jdbc.sqlserver.SQLServerDriver.class
Where have I gone wrong? Pls help.
Regards
Shyam.
<b></b><b></b>hi all,
i have solved the issue.
it was due to the changes in formats of the driverclass name&URl for accessing SQLServer2005.
Details:
in SQLServer2000:
the driverclass name format is like:
com.sqlserver.microsoft.jdbc.SQLServerDriver
but in SQLServer2005 it is:
com.microsoft.sqlserver.jdbc.SQLServerDriver
and
the URL in SQLServer2005 should be of the format:
jdbc:sqlserver://<server>:1433;DatabaseName=<db>
instead of SQLServer2000's
jdbc:microsoft:sqlserver://<server>:1433;DatabaseName=<db>.the prefix has
changed.
i selected JDBC version as 1.x.
now its working fine and i cud fetch data from the db in my Web dynpro appln.
Thanks a lot.
regards
shyam. -
Error while creating datasource from table MBEWH
Hi all,
I am facing an error message while creating datasource from table MBEWH
"Invalid extract structure template MBEWH of DataSource "; This operation failed, because the template structure quantity fields or currency fields, for example, field LBKUM refer to a different table.
Can anyone help me that why system is not allowing me to generate generic datasource for table MBEWH to transfer my month wise inventory data.
thanks and regards.Hi Zakir,
This was comming for classification data... when ever you want to extract some classification related data then we can't create generic datasources directly.. for that you need to go with CTBW ( tcode ) and create one datasource...
so, you need to check that related table also.. for that MBEWH table..
ALL THE CLASSIFICATION RELATED DATASOURCES WE CAN'T CREATE DIRECTLY... JUST LIKE AUSP table also.. liek this..
regards
@jay -
Error while creating datasource from view ZBSIS_VIEW
Hi all,
I could not create the datasource on the database table BSIS as it said "Invalid extract structure template BSIS of Datasource". I had suggestions that I should create a view and then create the Datasource on it. So I created the view and tried. But still I am facing an error message while creating datasource from custom Database View ZBSIS_VIEW.
"Invalid extract structure template ZBSIS_VIEW of DataSource"
Can anyone help on this regard.
thanks.Hi,
Yes. You need a create a view on tables BSIS, BKPF and T001 as the currency/quantity fields in BSIS have reference fields from the other 2 tables.
In BSIS, in the currency/quantity fields tab, you have some ref tables and fields. You would need to include these tables and join in the view. You would also need to include the ref fields like WAERS, HWAE2, HWAE3, etc in the view. Then you would be able to create the datasource. -
Creating DataSource in Visual Administrator for Oracle DataBase
Hi Experts,
I want to connect to external Orcle Database from my application(EJbs,Web Dynpro) where i need to call some stored Procedures.for that one i want to create
DataSource in Visual Administrator.
i got some doubts for creating DataSource in Visual Administrator
1.which SQL engine i need to use(open SQL or Native SQL or Vendor SQL)
2.shall i need to deploy any additional drivers(jars) in WAS
any help will be appriciated
thanks in Advance
With Regards
NaiduI can see you are still looking for answeres, I have included more explicit examples of how to connect to an Oracle DB via an SAP Visual Administrator Datasource.
First the DB has to exist and you should be able to connect to it using some other application to test with like Toad for example.
Secondly for installing the Data Source via Visual Administrator you will need to verify that you have a an Database Driver defined in the Visual Admin first, if not define one. Defining an oracle driver is as simple as providing an alias name for the driver and supplying the Oracle classses.jar, or ojdbc14.jar. Click Create Driver in the Visual Admin enter an alias name and click Browse to find one of the jar files mentioned above. Once done click the diskette looking icon to save.
After the above 2 steps you can either define the Datasource manually in the Visual Administrator or Import the datasource via an xml file as defined below.
I have included a mock datasource.xml file which you can copy and paste and more or less use as a reference.
<b>Note</b>
With Oracle I have always sected <b>Vender SQL</b> as I can not get any of the other selections to work properly when connecting to our Oracle DB. I have also used this approach to connect to Oracle 8 databases as well. We have been using these Datasources in production for many years without incident.
Variables Defined
<b> data-source-name </b> PORTFOLIODS is the name we use to look up the Datasource via JDBC.
<b>driver-name </b> The name that you have defined for the Oracle jar libary you added as a Database Driver via the Visual Administrator.
<b> url </b> The "Type 3" Network URL pathname to the Oracle DB.
<b> user </b> The account you want to log in as.
<b> password </b> The account password for the DB.
Cheers,
Alex
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE data-sources SYSTEM 'data-sources.dtd'>
<data-sources>
<application-name>chep.com/JDBCConnectior_PORTFOLIODS.xml</application-name>
<data-source>
<data-source-name>PORTFOLIODS</data-source-name>
<driver-name>Oracle9i</driver-name>
<max-connections>25</max-connections>
<max-time-to-wait-connection>60</max-time-to-wait-connection>
<sql-engine>vendor_sql</sql-engine>
<jdbc-2.0>
<cpds-class-name>oracle.jdbc.pool.OracleConnectionPoolDataSource</cpds-class-name>
<object-factory>oracle.jdbc.pool.OracleDataSourceFactory</object-factory>
<properties>
<property>
<property-name>url</property-name>
<property-value>jdbc:oracle:thin:@usdenedu169.cnn.com:1521:ORCL</property-value>
</property>
<property>
<property-name>user</property-name>
<property-value>LogisticsApplication</property-value>
</property>
<property>
<property-name>password</property-name>
<property-value>logisticsAppPwd</property-value>
</property>
</properties>
</jdbc-2.0>
</data-source>
</data-sources> -
Error while creating datasource userdsn for oracle 10g Errorcode (998)
while creating datasource userdsn for oracle 10g i am getting error "The setup routines for the oracle in OraDb10g_home1 odbc driver could not be loaded due to system error code 998" please give reply soon
Thanks for your reply , Steve.
I noticed that there is a default datasouce on the EM with the following parameters:
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="OracleDS"
location="jdbc/OracleCoreDS"
xa-location="jdbc/xa/OracleXADS"
ejb-location="jdbc/OracleDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="scott"
password="->pwForScott"
url="jdbc:oracle:thin:@localhost:1521:oracle"
inactivity-timeout="30"
/>
The location and xa-location attributes that I use for my "test" data source are the same as the default one. So, could this be the issue?
What should be the values for location and xa-location attributes from my "test" data source?
Any help will be greatly appreciated.
Thanks,
Shyam -
Termination while creating vendor through XK01 IS-Retail
Hi All,
While creating vendor through XK01 ....update is getting terminated.
When I checked the SM13 i got this error.
Update was terminated
System ID.... RDP
Client....... 510
User..... PRASH
Transaction.. XK01
Update key... 4993DEF56A574020E1000000AC19005E
Generated.... 12.02.2009, 19:22:54
Completed.... 12.02.2009, 19:22:55
Error Info... B2 050: Change pointer ID already exists
Please suggest.
Regards,
PrashantHai,
Please go through the link below, and analyse according to that.
Also post the dumps or system logs if any.
http://help.sap.com/saphelp_nw04/helpdata/en/e5/de874735cd11d3acb00000e83539c3/frameset.htm
Regards,
Yoganand.V -
How to add servernode through visual admin
Hi
Can we add new server node through visual admin. I know how to do it with config tool. Can anybody help me to know how to do it with visual admin.
Regards
RizviIt would appear that the Config tool is the proper way (and you are already capable in this way):
http://help.sap.com/saphelp_nw04/helpdata/en/f1/c8c93f4d903b1ce10000000a114084/frameset.htm
Section 2.1.2: http://service.sap.com/~form/sapnet?_SHORTKEY=00200797470000065920&_OBJECT=011000358700000587802006E -
Payment release function inactive while creating invoice through FB60
Hi,
I am getting message while creating invoice through FB60 as "Payment release function inactive".
When I select "Free for payment" after going in payment tab, that time only system is allowing me to go further.
Is there any mistake I am doing?
Pls suggest.
Thanks,
Taral PatelHi,
Check in vendor master in FD02 > Company Code Data > Payment Transactions, whether the payment block is active there or not?
Also check in OBB8 transaction whether any payment block key is linked to the payment term which is being used in the vendor master.
Regards,
Gaurav -
ERROR WHILE CREATING XD01 THROUGH WORKFLOE IN BACKGROUND
HI,
I am facing problem while creating xd01 in background.
actually i have created method in workflow in mehhod i am using Z function module
with following xd01 recoding code with workflow method is foreground it is working fine
if workflow method (Task set background) is giving error like
MSGTYP 00. MSGID 255 Fieldname kna1-lifnr in BDCMSGCOll
please reply me as soon as possible
perform bdc_dynpro using 'SAPMF02D' '0100'.
perform bdc_field using 'BDC_CURSOR'
'USE_ZAV'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RF02D-BUKRS'
it_customer-bukrs. ""'1000'.
perform bdc_field using 'RF02D-VKORG'
it_customer-vkorg. ""'1000'.
perform bdc_field using 'RF02D-VTWEG'
it_customer-VTWEG . ""'20'.
perform bdc_field using 'RF02D-SPART'
it_customer-spart . ""'30'.
perform bdc_field using 'RF02D-KTOKD'
it_customer-KTOKD. ""'ZD01'.
perform bdc_field using 'USE_ZAV'
it_customer-check . ""'X'.
'X'.
perform bdc_dynpro using 'SAPMF02D' '0111'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_CURSOR'
'SZA1_D0100-SMTP_ADDR'.
perform bdc_field using 'SZA1_D0100-TITLE_MEDI'
it_customer-ANRED. ""'Company'.
perform bdc_field using 'ADDR1_DATA-NAME1'
it_customer-name1 . ""'NAME 1'.
perform bdc_field using 'ADDR1_DATA-NAME2'
it_customer-name2. ""NAME 2'.
perform bdc_field using 'ADDR1_DATA-SORT1'
it_customer-SORT1.
"" 'TEST DATA'.
perform bdc_field using 'ADDR1_DATA-STR_SUPPL1'
it_customer-STR_SUPPL1. ""'STREET 2'.
perform bdc_field using 'ADDR1_DATA-STR_SUPPL2'
it_customer-STR_SUPPL2 . "" STREET 3'.
perform bdc_field using 'ADDR1_DATA-STREET'
it_customer-STREET. "'STREET 1'.
*perform bdc_field using 'ADDR1_DATA-STR_SUPPL3'
it_customer-STR_SUPPL3. ""'STREET 4'.
perform bdc_field using 'ADDR1_DATA-POST_CODE1'
it_customer-POST_CODE1. ""'400055'.
perform bdc_field using 'ADDR1_DATA-CITY1'
it_customer-CITY1. ""'mumbai'.
perform bdc_field using 'ADDR1_DATA-COUNTRY'
it_customer-country. ""'IN'.
perform bdc_field using 'ADDR1_DATA-REGION'
it_customer-region. ""'13'.
*perform bdc_field using 'ADDR1_DATA-TIME_ZONE'
it_customer-TIME_ZONE. ""'INDIA'.
perform bdc_field using 'ADDR1_DATA-TRANSPZONE'
it_customer-TRANSPZONE. ""'201300'.
perform bdc_field using 'ADDR1_DATA-LANGU'
it_customer-langu. " 'EN'.
perform bdc_field using 'SZA1_D0100-TEL_NUMBER'
it_customer-TEL_NUMBER. "'022-677623420'.
perform bdc_field using 'SZA1_D0100-MOB_NUMBER'
it_customer-MOB_NUMBER. ""'9867936636'.
perform bdc_field using 'SZA1_D0100-FAX_NUMBER'
it_customer-FAX_NUMBER. ""'022-67768877'.
perform bdc_field using 'SZA1_D0100-SMTP_ADDR'
it_customer-SMTP_ADDR.
perform bdc_dynpro using 'SAPMF02D' '0120'.
perform bdc_field using 'BDC_CURSOR'
'KNA1-LIFNR'.
perform bdc_field using 'BDC_OKCODE'
'=OPFI'.
perform bdc_dynpro using 'SAPLJ1I_MASTER' '0200'.
perform bdc_field using 'BDC_OKCODE'
'=CIN_CUSTOMER_FC2'.
perform bdc_field using 'BDC_CURSOR'
'J_1IMOCUST-J_1IEXCICU'.
perform bdc_field using 'J_1IMOCUST-J_1IEXCD'
it_customer-J_1IEXCD. ""'AAACW6074DXD001'.
perform bdc_field using 'J_1IMOCUST-J_1IEXRN'
it_customer-J_1IEXrn. "" 'AAACW6074DXD001'.
perform bdc_field using 'J_1IMOCUST-J_1IEXRG'
""'KALYAN'.
it_customer-j_1iexrg.
perform bdc_field using 'J_1IMOCUST-J_1IEXDI'
it_customer-j_1iexdi.
""'IV'.
perform bdc_field using 'J_1IMOCUST-J_1IEXCO'
it_customer-J_1IEXCO. "" 'ADDJCK'.
perform bdc_field using 'J_1IMOCUST-J_1IEXCICU'
it_customer-J_1IEXCICU. ""'1'.
perform bdc_dynpro using 'SAPLJ1I_MASTER' '0200'.
perform bdc_field using 'BDC_OKCODE'
'=CIN_CUSTOMER_FC3'.
perform bdc_field using 'BDC_CURSOR'
'J_1IMOCUST-J_1ISERN'.
perform bdc_field using 'J_1IMOCUST-J_1ICSTNO'
it_customer-J_1ICSTNO. "" 'CSTV123983E4B'.
perform bdc_field using 'J_1IMOCUST-J_1ILSTNO'
it_customer-J_1IlSTNO. ""'LST93U4R983FC'.
perform bdc_field using 'J_1IMOCUST-J_1ISERN'
it_customer-J_1ISERN. ""'AADDK388494M'.
perform bdc_dynpro using 'SAPLJ1I_MASTER' '0200'.
perform bdc_field using 'BDC_OKCODE'
'=BACK'.
perform bdc_field using 'BDC_CURSOR'
'J_1IMOCUST-J_1IPANNO'.
perform bdc_field using 'J_1IMOCUST-J_1IPANNO'
it_customer-J_1IPANNO.
""'PAND883322M'.
perform bdc_dynpro using 'SAPMF02D' '0120'.
perform bdc_field using 'BDC_CURSOR'
'KNA1-LIFNR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'KNA1-LIFNR'
it_customer-lifnr. ""'100000'.
perform bdc_dynpro using 'SAPMF02D' '0125'.
perform bdc_field using 'BDC_CURSOR'
'KNA1-KUKLA'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR' . "" '/00'.
perform bdc_field using 'KNA1-KUKLA'
it_customer-KUKLA. ""'02'.
perform bdc_dynpro using 'SAPMF02D' '0130'.
perform bdc_field using 'BDC_CURSOR'
'KNBK-BANKS(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_dynpro using 'SAPMF02D' '0340'.
perform bdc_field using 'BDC_CURSOR'
'RF02D-KUNNR'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_dynpro using 'SAPMF02D' '0370'.
perform bdc_field using 'BDC_CURSOR'
'RF02D-KUNNR'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'KNA1-CIVVE'
it_customer-CIVVE.""'X'.
'X'.
perform bdc_dynpro using 'SAPMF02D' '0360'.
perform bdc_field using 'BDC_CURSOR'
'KNVK-NAMEV(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
IF ( it_customer-KTOKD <> 'ZD02' ) .
perform bdc_dynpro using 'SAPMF02D' '0210'.
perform bdc_field using 'BDC_CURSOR'
'KNB1-FDGRV'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'KNB1-AKONT'
it_customer-akont."" '213002'.
perform bdc_field using 'KNB1-ZUAWA'
it_customer-ZUAWA.""'001'.
perform bdc_field using 'KNB1-FDGRV'
it_customer-FDGRV. ""'E2'.
perform bdc_dynpro using 'SAPMF02D' '0215'.
perform bdc_field using 'BDC_CURSOR'
'KNB1-ZWELS'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'KNB1-ZTERM'
it_customer-ZTERM.""'0001'.
perform bdc_field using 'KNB1-ZWELS'
it_customer-ZWELS. ""'C'.
perform bdc_dynpro using 'SAPMF02D' '0220'.
perform bdc_field using 'BDC_CURSOR'
'KNB5-MAHNA'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02D' '0230'.
perform bdc_field using 'BDC_CURSOR'
'KNB1-VRSNR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02D' '0610'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_CURSOR'
'RF02D-KUNNR'.
ENDIF.
perform bdc_dynpro using 'SAPMF02D' '0310'.
perform bdc_field using 'BDC_CURSOR'
'KNVV-VERSG'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
*perform bdc_field using 'KNVV-AWAHR'
it_customer-awahr. ""'100'.
perform bdc_field using 'KNVV-VKBUR'
it_customer-vkbur. ""'1000'.
perform bdc_field using 'KNVV-WAERS'
it_customer-WAERS. ""'INR'.
perform bdc_field using 'KNVV-KALKS'
it_customer-KALKS. "'1'.
perform bdc_field using 'KNVV-VERSG'
it_customer-VERSG.
""'1'.
perform bdc_dynpro using 'SAPMF02D' '0315'.
perform bdc_field using 'BDC_CURSOR'
'KNVV-VSBED'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'KNVV-LPRIO'
it_customer-LPRIO. "'1'.
perform bdc_field using 'KNVV-KZAZU'
it_customer-KZAZU.""'X'.
'X'.
perform bdc_field using 'KNVV-VSBED'
it_customer-VSBED.""'20'.
perform bdc_field using 'KNVV-ANTLF'
it_customer-ANTLF. ""'9'.
'9'.
if ( it_customer-ktoKd <> 'ZD02' and it_customer-ktoKd <> 'ZD01' ).
perform bdc_dynpro using 'SAPMF02D' '0320'.
perform bdc_field using 'BDC_CURSOR'
'KNVV-INCO2'.
perform bdc_field using 'BDC_OKCODE'
'=ENTS'.
perform bdc_field using 'KNVV-INCO1'
it_customer-INCO1." 'CIF'.
perform bdc_field using 'KNVV-INCO2'
it_customer-INCO2. "" 'mumbai'.
perform bdc_field using 'KNVV-ZTERM'
it_customer-ZTERM. ""'0001'.
perform bdc_field using 'KNVV-KKBER'
it_customer-kkber.""'1000'.
ENDIF.
if it_customer-ktokd <> 'ZD04'.
perform bdc_dynpro using 'SAPMF02D' '0320'.
perform bdc_field using 'BDC_CURSOR'
'KNVV-INCO2'.
perform bdc_field using 'BDC_OKCODE'
'=ENTS'.
perform bdc_field using 'KNVV-INCO1'
it_customer-INCO1." 'CIF'.
perform bdc_field using 'KNVV-INCO2'
it_customer-INCO2. "" 'mumbai'.
perform bdc_field using 'KNVV-ZTERM'
it_customer-ZTERM. ""'0001'.
perform bdc_field using 'KNVV-KKBER'
it_customer-kkber.""'1000'.
perform bdc_dynpro using 'SAPMF02D' '1350'.
perform bdc_field using 'BDC_CURSOR'
'KNVI-TAXKD(03)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
DATA : FNAM(20) TYPE C,
IDX(2) TYPE C.
MOVE 1 TO IDX.
loop at gt_tax where kunnr = it_customer-kunnr.
CONCATENATE 'KNVI-TAXKD(' '0' IDX ')' INTO FNAM.
perform bdc_field using FNAM
GT_TAX-TAXKD.
idx = idx + 1.
ENDLOOP.
ENDIF.
perform bdc_dynpro using 'SAPMF02D' '1350'.
perform bdc_field using 'BDC_CURSOR'
'RF02D-KUNNR'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_dynpro using 'SAPMF02D' '0324'.
perform bdc_field using 'BDC_CURSOR'
'KNVP-PARVW(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
CALL TRANSACTION C_XD01 USING IT_BDCDATA
OPTIONS FROM x_options
mode C_MODE
update C_UPDATE
MESSAGES INTO IT_BDCMSGCOLL.
regards,
K.satyanarayanaHi
We are in 11.5.10.2 and I already checked notes which you sent before and setups are fine as the relationship type' Ship to' having 'contacts' enabled in the setup.
I am also seeing a differernt issue as once I update existing item instnace with the status 'Return for Credit' through API, system is not allowing me to update the extended attributes through front end application manually and I am seeing a note at the end of the screen as 'Note: This item instance cannot be updated. ' and this is only happening when I update the item instance status to 'Returned for Credit' not when I create new item instances with status as 'Created'. Is this intended functionality to restrict update on extended attributes if I change the status of item instnace to 'Return for Credit' ?
Thanks -
Error while creating project through import.wdl
Hi
We are having issues creating project using the import.wdl.
We are able to create content administration and merchandising projects though.
We are getting the following error while creating a programatic import project through import.wdl
[12/8/13 23:26:27:259 CST] 00000021 SystemErr R atg.workflow.WorkflowException: The inner project was not created. Check that your project workflow has been initialized by the workflow engine.
[12/8/13 23:26:27:260 CST] 00000021 SystemErr R at atg.epub.project.ProcessHomeMethods.initializeProcess(ProcessHomeMethods.java:450)
[12/8/13 23:26:27:260 CST] 00000021 SystemErr R at atg.epub.project._ProcessHome_Impl.initializeProcess(_ProcessHome_Impl.java:53)
[12/8/13 23:26:27:260 CST] 00000021 SystemErr R at atg.epub.project._ProcessHome_ReposImpl.initializeProcess(_ProcessHome_ReposImpl.java:3)
[12/8/13 23:26:27:260 CST] 00000021 SystemErr R at atg.epub.servlet.CreateProcessFormHandler.handleCreateProcess(CreateProcessFormHandler.java:380)
We have checked all the workflow manager settings. The workflowProcessManager.xml is properly pointing to the system name and drp port.
We had delete entries from
epub_wf_server_id
epub_coll_workflow
epub_workflow_info
dss_server_id
dsi_server_id
upon enabling the logdebugs of WorkFlowProcesManager, we are seeing the following debugs.
[12/8/13 23:31:08:101 CST] 00000020 SystemOut O /atg/epub/workflow/process/WorkflowProcessManager received message on port IndividualEvents message: ObjectMessage()
[12/8/13 23:31:08:101 CST] 00000020 SystemOut O /atg/epub/workflow/process/WorkflowProcessManager [message]: received an individual event message StartWorkflowMessage[messageId=96000003subjectId=prc272003,subjectType=process,processName=/Commerce/import.wdl,segmentName=main,user=user : admin null] of type atg.workflow.StartWorkflow
[12/8/13 23:31:08:101 CST] 00000020 SystemOut O /atg/epub/workflow/process/WorkflowProcessManager [message]: created individual execution context ProcessExecutionContextImpl[individual,subject=process:prc272003,messageType=atg.workflow.StartWorkflow,message=StartWorkflowMessage[messageId=96000003subjectId=prc272003,subjectType=process,processName=/Commerce/import.wdl,segmentName=main,user=user : admin null],sessionId=Tw-Yr5CQqqkADS3q8MadASz,parentSessionId=Tw-Yr5CQqqkADS3q8MadASz,request=atg.servlet.DynamoHttpServletRequest@1009990707,response=atg.servlet.DynamoHttpServletResponse@3c9e3c9e]
[12/8/13 23:31:08:103 CST] 00000020 SystemOut O /atg/epub/workflow/process/WorkflowProcessManager [message]: 0 individual instances found for subject process:prc272003
[12/8/13 23:31:08:103 CST] 00000020 SystemOut O /atg/epub/workflow/process/WorkflowProcessManager [message]: going through process segments registered for type atg.workflow.StartWorkflow for subject process:prc272003If you have a support contract with Orcale you can find out hoe to fix this error by checking out Knowledge Article 1038072.1 How to troubleshoot "atg.workflow.WorkflowException: The inner project was not created. Check that your project workflow has been initialized by the workflow engine."
The article says you should:
1.
delete from epub_wf_server_id
delete from epub_coll_workflow
delete from epub_workflow_info
restart server and retest
2. If problem exists check that you have configured the Workflow Process Editor Server correctly.
The problem is that probably the workflow has not been not been initialized correctly by the Workflow Editor Server. -
Creating datasource in visual Administrator
Hi,
i am trying to create a datasource from the visual adminsitrator to connect to the mssql as backend,but it is giving the error as not able to connect and raising some exceptions.
the properties i am specifying to the datasource is extracted from the following link
http://help.sap.com/saphelp_webas630/helpdata/en/ab/082484173ae045ab8dad8a41d33da3/content.htm
can any one of u tell me the solution to connect to the database, if u have given in the steps wise, it will be more helpful to me.
u can tell me the steps from the startingi.e., total connections.
Thanks & Regards,
sireesha.the error is,
ava.rmi.RemoteException: Error occurred while starting application in whole cluster and wait.; nested exception is:
com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Clusterwide execption: server ID 1761750:Cannot create DataSource "first_dsn".
at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:679)
at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:661)
at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.startApplication(DataSourceManagerImpl.java:562)
at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.deploy(DataSourceManagerImpl.java:261)
at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.createDataSource(DataSourceManagerImpl.java:317)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400)
kindly go through the error specified here,
regards,
sireesha. -
Error while creating hierarchy through " Create Hierarchy field" option
Hi All,
while trying to create hierarchy through Create Hierarchy field option i am facing the following error
I am giving the following inputs
Hierarchy field name : XYZ
Parent field : Level1
Child Field : Level2
Node name field : Level3
Cannot find the parent ID value "abc" in Field ID Level2 of Table " Hierarchy"
FYI
The source hierarchy is in Columns format with Level1(Parent)---->Lever2(Child of Level1) and Level3(Child of level2)
Kindly guide me where i am going wrong
Thanks in Advance
Regards
SharmaHi Sharma,
Your input file should have 3 columns for hierarchy one which will store level 1 information,2nd will have corresponding level 2 information and 3rd will have corresponding level 3 info.
Now in Import Manager go to Partition,select 1st ,2nd and 3rd column.Donot combine the fields. Now map the partition fields with the target hierarchy field.Perform the value mapping and import.
Or
YOu can have one column in the excel file.with values L1>L2>L3(split by some delimiter).
In import manager go to source hierechy pany select the Column and from context menu select option split into hierechy as per the delimiter.
Now map the parttion field and target field ,do value mapping and import.
Regards,
Neethu Joy
Maybe you are looking for
-
Cannot get home sharing to work!
Hello, I am trying to home share between a Mac and PC. I have gone through all the steps over and over. The PC can see and access the Mac's library. The Mac can see the PC's library, but when I click on it to transfer or accsess it the toolbar keeps
-
I have a new 24 inch aluminum iMac. I also have a year old 23 inch Apple Cinema display that I was thinking of adding as a second display. If I did, would that mirror my existing display, or would it allow me to extend the desktop that I already have
-
I know not the first thing about Blue Ray and the more I use it, the less I know about FCP but. . . I am editing a project which requires me to choose between rip video from a DVD or using that same video from a Blue Ray disc. Question: Is it possibl
-
Portable Home Syncing corrupts iPhoto Library
Server setup: Snow Leopard Server 10.6.2 (clean install) Everything setup according to spec; works great. Client setup: Snow Leopard 10.6.2 (clean install) iLife '09 Portable syncing rule set to sync the Pictures folder ONLY at login and logout. At n
-
How to read the duplicate files.
Hi Experts, I have the requirement that i need to handle the duplicate files i.e. if there is more then one file present for a particular day then i need to discard the second file and to raise an alert also. Can any one please suggest me the alter