Error while creating data source using table KONP
Hi Frnds,
I am creating a data source (RSo2) from Extraction from view, using the Table KONP , then i getting an error saying that
Field KBETR with reference field KONWA: ZOXPTS0031 is to replace reference table RV13A
Message no. R8390
Field MXWRT with reference field KONWA: ZOXPTS0031 is to replace reference table RV13A
Message no. R8390
Field GKWRT with reference field KONWA: ZOXPTS0031 is to replace reference table RV13A
Message no. R8390
Regards
rakesh
You have to include reference fields also in the extract structure.
Similar Messages
-
Error while creating data source using Oracle Enterprise Manager 10g
Hi,
I have deployed my web application developed on OC4J 9.0.4 stand alone (Win2K) to an integrated OC4J version(Solaris) using Oracle Enterprise Manager 10g.
However, I get an error when I try to create a data source.
The data source I want to create would have the following parameters (as seen in data-sources.xml on the stand alone version):
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="TestDS"
location="jdbc/OracleCoreDS"
xa-location="jdbc/xa/OracleXADS"
ejb-location="jdbc/TestDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@hostName:1521:test"
username="user"
password="password"
min-connections="5"
max-connections="20"
inactivity-timeout="30"
/>
When I entered the above data on the Enterprise Manager Data Sources page, I got the following error:
quote:
Error saving Data Source Properties. - Entity et="system";ei="0",et="application";ei="48",et="data-sources";ei="167":child:data-sourcechild key:location:jdbc/OracleCoreDS; class:com.evermind.sql.DriverManagerDataSource; already exists in the repository. Resolution: Please check the code base.
unquote:
Could somebody tell me what I'm doing wrong ?
I tried to manually edit the data-sources.xml file but the data source didn't show up on the Enterprise Manager.
I'm using a new OC4J instance (on the Solaris machine) for my applications. Is the data source error related to this?
Any help will be greatly appreciated.
Thanks,
ShyamThanks 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 -
Not enough memory for Data Provider-Error while creating Data Source
Hi,
I am loading data into Master Data_Attribute InfoObject I am getting following error message while creating Data Source under "Proposal" Tab
"Not enough memory for Data Provider"
My Master Data InfoObject having 65 attributes
My CSV file having 15,00000 records
I am using BI 7.0 version
If anybody faced this problem. Please share with me
Thanks.Hi
Here the problem with the space so plz contact ur BASIS people to increase the spae for particular object. -
Error while creating data source in bi for uc connect
Hi Experts,
we have using ud connect to pull the data from ms sql server using jdbc,we have maintained all the settings in the j2ee engine and also we performed the smoke test which showed the tables content in the ms sql data base.
and also we have maintained the rfc connection between the j2ee and sap bi,and performed the test connection which excecuted great.
but while creating the data source in sap bi administration work bench(rsa1)>sourcesytem>udconnect>create
we have maintained the following parameters
rfc destination----
we have maintained the rfc destination,which we could see in sm59 for the sap bi client
logical system name----
we have mentioned a generic logical system name(here we are not sure)
type of connector----
jdbc
name of the connector------ sdk_jdbc
sourcesystemname----
it has taken the logical system name description when we enter the logical system name.
once after maintaining the setting.when we performed the check.
it showed us the error
check failed rfc connection:check destinationHi,
Check the gateway settings for
Gateway Host
Gateway service
Also check the UDC connection information.
Check these links:
1 - http://help.sap.com/saphelp_nw04/helpdata/en/78/ef1441a509064abee6ffd6f38278fd/content.htm
2 - http://help.sap.com/saphelp_srm40/helpdata/es/54/ddfb3ff778ed28e10000000a1550b0/content.htm
3 - https://encrypted.google.com/url?sa=t&source=web&cd=7&ved=0CCwQFjAG&url=http%3A%2F%2Fwww.bi-
expertonline.com%2Fdownloads%2FSchroeder0604.doc&rct=j&q=ud%20connection%20in%20sap%20bi&ei=WMDnTdm_E4ruvQOEzZWcDg&usg=AFQjCNGvqKuoTq9kypNMNGhis8WrZ-gFCg&cad=rja
Let us know in case the issue still persists.
Debanshu -
Error while creating Data Source for master data attributes
Hi BI Experts,
Well its been some time for me that I have been part of Extraction in BI.I primarily handled reporting in my last assignments.
I was trying extraction with flat files in SAP BI 7(new to sap bi 7 but very much familiar with BW3.5) but failed in the activity during master data attributes and text upload in infoobject (say IOSP_Mat).
Here is the procedure that I did after creation of characteristic IOSP_Mat.I created a source system for flat file followed by data source for Master data attributes, i selected all the parameters correctly.i.e. csv file format, data seperator as ,
and other settings, now when i am trying to look at the proposed data in the next tab using Load example data.its not showing the desired result.The columns that I have maintained in Flat File is MAT_NUMBER and MAT_NAME (with say 100 data in the file)
same is the result when I am trying to load the text data too columns maintained are
(LANGUAGE MAT_NUMBER Short Description)(same 100 data).
now i used to rsa1old transaction to upload the file using 3.5 version.i created info source for master data/text/hierarchies for IOSP_Mat
now when trying to upload it using info package for master and text data,I observe its(the data) not maintained in the characteristic IOSP_Mat.
When I monitored ,I figured the data has not been even uploaded to the PSA level.
Can you BI experts tell me the answer for this.
Thanks,
Srijithapologies to all of you for late response,
was busy with some other activities.
I don't remember the exact message,but I remember it was not loaded to even the PSA level.I will try it again and post the exact message.
Thanks again for your quick response.
Once again sorry to all of you for my late response
Thanks,
Sri -
Error while creating data warehouse tables.
Hi,
I am getting an error while creating data warehouse tables.
I am using OBIA 7.9.5.
The contents of the generate_clt log are as below.
>>>>>>>>>>>>>>>>>>>>>>>>>>
Schema will be created from the following containers:
Oracle 11.5.10
Universal
Conflict(s) between containers:
Table Name : W_BOM_ITEM_FS
Column Name: INTEGRATION_ID.
The column properties that are different :[keyTypeCode]
Success!
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
There are two rows in the DAC repository schema for the column and the table.
The w_etl_table_col.KEY_TYPE_CD value for DW application is UNKNOWN and for the ORA_11i application it is NULL.
Could this be the cause of the issue? If yes, why could the values be different and how to resolve this?
If not, then what could be the problem?
Any responses will be appreciated.
Thanks and regards,
Manoj.Strange. The OBIA 7.9.5 Installation and Configuration Guide says the following:
4.3.4.3 Create ODBC Database Connections
Note: You must use the Oracle Merant ODBC driver to create the ODBC connections. The Oracle Merant ODBC driver is installed by the Oracle Business Intelligence Applications installer. Therefore, you will need to create the ODBC connections after you have run the Oracle Business Intelligence Applications installer and have installed the DAC Client.
Several other users are getting the same message creating DW tables. -
Error while selecting date from external table
Hello all,
I am getting the follwing error while selecting data from external table. Any idea why?
SQL> CREATE TABLE SE2_EXT (SE_REF_NO VARCHAR2(255),
2 SE_CUST_ID NUMBER(38),
3 SE_TRAN_AMT_LCY FLOAT(126),
4 SE_REVERSAL_MARKER VARCHAR2(255))
5 ORGANIZATION EXTERNAL (
6 TYPE ORACLE_LOADER
7 DEFAULT DIRECTORY ext_tables
8 ACCESS PARAMETERS (
9 RECORDS DELIMITED BY NEWLINE
10 FIELDS TERMINATED BY ','
11 MISSING FIELD VALUES ARE NULL
12 (
13 country_code CHAR(5),
14 country_name CHAR(50),
15 country_language CHAR(50)
16 )
17 )
18 LOCATION ('SE2.csv')
19 )
20 PARALLEL 5
21 REJECT LIMIT UNLIMITED;
Table created.
SQL> select * from se2_ext;
SQL> select count(*) from se2_ext;
select count(*) from se2_ext
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04043: table column not found in external source: SE_REF_NO
ORA-06512: at "SYS.ORACLE_LOADER", line 19It would appear that you external table definition and the external data file data do not match up. Post a few input records so someone can duplicate the problem and determine the fix.
HTH -- Mark D Powell -- -
Error while creating resource group using non-globalzones.
Dear all,
Hi techs please guide me how to create failover resource group in nongloablzones.
I'm getting error while creating resource group using non-globalzones.
My setup:
I have two node cluster running sun cluster 3.2 configured and running properly.
node1: sun5
nide2: sun8
I have create non-globalzone "zone1" in node:sun5
I have create non-globalzone "zone2" in node:sun8
node:sun5# clrg create -n sun5:zone1,sun8:zone2 zonerg
*(C160082) WARNING: one or more zones in the node list have never been fully booted in the cluster mode,verify that correct zone name was entered.*
kindly guide me how to create Apache resource group using non-glabalzones, i'm new to sun cluster 3.2. please guide me step by step information.
Thanks in advance,
veera
Edited by: veeraa on Dec 19, 2008 1:54 AMHi Veera,
Actually you are getting a warning message where one of two things could have happened. Either you specified an incorrect zone name or one of the zones has not been fully booted. It's likely that you haven't booted the zones, so please follow this:
zoneadm list -iv
If zone1 or zone2 are not running then boot and configure them
zoneadm -z <zone> boot
zlogin -C <zone>
After that you can continue to follow the step by step instructions at
http://docs.sun.com/app/docs/doc/819-2975/chddadaa?a=view
These may also help
http://blogs.sun.com/Jacky/entry/a_simple_expample_about_how
http://blogs.sun.com/SC/en_US/entry/sun_cluster_and_solaris_zones
Regards
Neil -
Error while activating Data source
Hi,
I hit an error while activating data source with adapter 'WEB_PUSH web service'.
The error message is 'Generation of conversion exists and PSA update ...' with details 'Error generating Web service /BIC/CZZZ_0010000100 ...' and 'Error when activating DataSource ZZZ_001'.
I can't find much detail on this error.
Has anyone hit this error before and if you did can you please let me know what to check?
Thks & Regards,
BbeeHi,
I am having the same problem. Have you been able to solve the issue since you posted this last year?
Thanks,
TCT -
Error while creating new crosstab using
I am getting the following error while creating a new crosstab object within Swing application. This error has started coming after we applied Oracle patch 9206 on database. The error originates from one of the classes in the olap_api_92.jar.
==========================================================
Wed Feb 02 09:13:51 CST 2005 In BuilderWizardValidateAdapter::wizardValidatePage
oracle.express.idl.util.OlapiException: No more data to read from socket
at oracle.express.idl.ExpressOlapiDataSourceModule.DefinitionManagerInterfaceStub.crtCurMgrs2(DefinitionManagerInterfaceStub.java:927)
at oracle.express.olapi.data.full.DefinitionManagerSince9202.createOLAPICursorManagers(DefinitionManagerSince9202.java:611)
at oracle.express.olapi.data.full.ExpressDataProvider.createCursorManagers(ExpressDataProvider.java:1325)
=========================================================
Please check the BIcheckconfig output. It does not show any errors.
=========================================================
<?xml version="1.0" encoding="UTF-8" ?>
<BICheckConfig version="1.0.2.0">
<Check key="JDEV_ORACLE_HOME" value="C:\Mohan\Installs\Jdev904"/>
<Check key="JAVA_HOME" value="C:\Mohan\Installs\Jdev904\jdk"/>
<Check key="JDeveloper version" value="9.0.4.0.1419"/>
<Check key="BI Beans release description" value="BI Beans 9.0.4 Production Release"/>
<Check key="BI Beans component number" value="9.0.4.23.0"/>
<Check key="BI Beans internal version" value="2.7.5.32"/>
<Check key="host" value="db03schgefage"/>
<Check key="port" value="1521"/>
<Check key="sid" value="biolapp"/>
<Check key="user" value="nairs5"/>
<Check key="Connecting to the database" value="Successful"/>
<Check key="JDBC driver version" value="9.2.0.4.0"/>
<Check key="JDBC JAR file location" value="C:\Mohan\Installs\Jdev904\jdev\lib\patches"/>
<Check key="Database version" value="9.2.0.6.0"/>
<Check key="OLAP Catalog version" value="9.2.0.6.0"/>
<Check key="OLAP AW Engine version" value="9.2.0.6.0"/>
<Check key="OLAP API Server version" value="9.2.0.6.0"/>
<Check key="BI Beans Catalog version" value="N/A; not installed in nairs5"/>
<Check key="OLAP API JAR file version" value="9.2"/>
<Check key="OLAP API JAR file location" value="C:\Mohan\Installs\Jdev904\jdev\lib\ext"/>
<Check key="OLAP API Metadata Load" value="Successful"/>
<Check key="Number of metadata folders" value="3"/>
<Check key="Number of metadata measures" value="569"/>
<Check key="Number of metadata dimensions" value="5"/>
<Check key="OLAP API Metadata">
<![CDATA[==============================================================================
Type Name (S=Schema, C=Cube, M=Measure, D=Dimension)
========= ====================================================================
Folder... ROOT
Folder... Auto Claim Measures
Folder... Service Measures
Folder... Claim Counts
Folder... Cell Summary Cube
Folder... Actual Measures
Measure.. Actual Acceptance Rate
Measure.. Actual Annualized Bill amt
Measure.. Actual Application Count
Measure.. Actual Avg Annual Billing
Measure.. Actual Contacts Count
Measure.. Actual Commission Amt
at oracle.express.olapi.data.full.ExpressDataProvider.internalCreateCursorManager(ExpressDataProvider.java:680)
at oracle.express.olapi.data.full.ExpressDataProvider.createCursorManager(ExpressDataProvider.java:586)
at oracle.olapi.data.source.DataProvider.createCursorManager(DataProvider.java:268)
at oracle.dss.dataSource.QueryUtilities.setUpCursors(QueryUtilities.java:559)
at oracle.dss.dataSource.QueryServer._setUpCursorsForMainQuery(QueryServer.java:7039)
at oracle.dss.dataSource.QueryServer._getCursorForCube(QueryServer.java:4098)
at oracle.dss.dataSource.QueryServer._updateCube(QueryServer.java:4055)
at oracle.dss.dataSource.QueryServer._applySelections(QueryServer.java:2661)
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 oracle.dss.util.Operation.execute(Operation.java:69)
at oracle.dss.dataSource.OperationQueue.update(OperationQueue.java:68)
at oracle.dss.dataSource.common.BaseOperationQueue.addOperation(BaseOperationQueue.java:176)
at oracle.dss.dataSource.common.BaseOperationQueue.addOperation(BaseOperationQueue.java:146)
at oracle.dss.dataSource.QueryServer.queueOperation(QueryServer.java:7076)
at oracle.dss.dataSource.QueryServer.applySelection(QueryServer.java:2192)
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 oracle.dss.util.Operation.execute(Operation.java:69)
at oracle.dss.dataSource.QueryManagerServer.sendQueue(QueryManagerServer.java:1549)
at oracle.dss.dataSource.common.OperationQueue.update(OperationQueue.java:198)
at oracle.dss.dataSource.common.BaseOperationQueue.addOperation(BaseOperationQueue.java:176)
at oracle.dss.dataSource.common.BaseOperationQueue.addOperation(BaseOperationQueue.java:146)
at oracle.dss.dataSource.common.OperationQueue.addOperation(OperationQueue.java:127)
at oracle.dss.dataSource.client.QueryClient.applySelection(QueryClient.java:970)
at oracle.dss.dataSource.common.QueryQueryAccess$SelCursor.getDataAccess(QueryQueryAccess.java:1133)
at oracle.dss.dataSource.common.QueryQueryAccess.getDataAccess(QueryQueryAccess.java:278)
at oracle.dss.datautil.QueryAccessUtilities._getValues(QueryAccessUtilities.java:639)
at oracle.dss.datautil.QueryAccessUtilities._getValues(QueryAccessUtilities.java:705)
at oracle.dss.datautil.QueryAccessUtilities.getValues(QueryAccessUtilities.java:608)
at oracle.dss.queryBuilder.QueryBuilderUtils.getSelectedMeasures(QueryBuilderUtils.java:623)
at oracle.dss.queryBuilder.SelectedItemsPanel.populateTree(SelectedItemsPanel.java:298)
at oracle.dss.queryBuilder.SelectedItemsPanel.refreshTree(SelectedItemsPanel.java:333)
at oracle.dss.queryBuilder.SelectedItemsPanel.setActive(SelectedItemsPanel.java:366)
at oracle.dss.queryBuilder.ItemsPanel.setActive(ItemsPanel.java:251)
at oracle.dss.datautil.gui.DefaultBuilderDialog.setActive(DefaultBuilderDialog.java:1072)
at oracle.dss.datautil.gui.DefaultBuilderDialog.validateNextPreviousEvent(DefaultBuilderDialog.java:1396)
at oracle.dss.datautil.gui.DefaultBuilderDialog$BuilderWizardValidateAdapter.wizardValidatePage(DefaultBuilderDialog.java:2113)
at oracle.bali.ewt.wizard.WizardPage.processWizardValidateEvent(Unknown Source)
at oracle.bali.ewt.wizard.WizardPage.validatePage(Unknown Source)
at oracle.dss.datautil.gui.CustomImageWizardPage.validatePage(CustomImageWizardPage.java:81)
at oracle.bali.ewt.wizard.BaseWizard.validateSelectedPage(Unknown Source)
at oracle.bali.ewt.wizard.BaseWizard.doNext(Unknown Source)
at oracle.dss.datautil.gui.CustomWizard.doNext(CustomWizard.java:415)
at oracle.bali.ewt.wizard.BaseWizard$Action.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at java.awt.Component.show(Component.java:1133)
at java.awt.Component.setVisible(Component.java:1088)
at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
at oracle.dss.datautil.gui.DefaultBuilderDialog.runDialog(DefaultBuilderDialog.java:489)
at oracle.dss.datautil.gui.DefaultBuilderDialog.run(DefaultBuilderDialog.java:466)
at oracle.dss.queryBuilder.QueryBuilder.run(QueryBuilder.java:2401)
at gecf.pmg.PmgBiOlapApp.newCrosstabWiz(PmgBiOlapApp.java:1622)
at gecf.pmg.PmgBiOlapApp.mNewCrosstab_ActionPerformed(PmgBiOlapApp.java:1563)
at gecf.pmg.PmgBiOlapApp$5.actionPerformed(PmgBiOlapApp.java:696)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)I suspect that you have either not fully applied the patch or alternatively the patching process did not complete.
If you are using an analytic workspace, connect as OLAPSYS account and run the following commands:
exec CWM2_OLAP_METADATA_REFRESH.MR_REFRESH
exec CWM2_OLAP_METADATA_REFRESH.MR_AC_REFRESH
If this does not resolve the error, and assuming your system worked prior to applying the 9206 patch, then the patch may need to be reapplied.
Hope this helps
Business Intelligence Beans Product Management Team
Oracle Corporation -
Error while creating new projects using api
Hello,
I am having error while creating projects using standard api, PA_PROJECT_PUB.CREATE_PROJECTS. The error I am having is as follow.
Source template ID is invalid.
===
My code is as follow:
SET SERVEROUTPUT ON SIZE 1000000
SET VERIFY OFF
define no=&amg_number
DECLARE
-- Variables used to initialize the session
l_user_id NUMBER;
l_responsibility_id NUMBER;
cursor get_key_members is
select person_id, project_role_type, rownum
from pa_project_players
where project_id = 1;
-- Counter variables
a NUMBER := 0;
m NUMBER := 0;
-- Variables needed for API standard parameters
l_commit VARCHAR2(1) := 'F';
l_init_msg_list VARCHAR2(1) := 'T';
l_api_version_number NUMBER :=1.0;
l_return_status VARCHAR2(1);
l_msg_count NUMBER;
l_msg_data VARCHAR2(2000);
-- Variables used specifically in error message retrieval
l_encoded VARCHAR2(1) := 'F';
l_data VARCHAR2(2000);
l_msg_index NUMBER;
l_msg_index_out NUMBER;
-- Variables needed for Oracle Project specific parameters
-- Input variables
l_pm_product_code VARCHAR2(30);
l_project_in pa_project_pub.project_in_rec_type;
l_key_members pa_project_pub.project_role_tbl_type;
l_class_categories pa_project_pub.class_category_tbl_type;
l_tasks_in pa_project_pub.task_in_tbl_type;
-- Record variables for loading table variables above
l_key_member_rec pa_project_pub.project_role_rec_type;
l_class_category_rec pa_project_pub.class_category_rec_type;
l_task_rec pa_project_pub.task_in_rec_type;
-- Output variables
l_workflow_started VARCHAR2(100);
l_project_out pa_project_pub.project_out_rec_type;
l_tasks_out pa_project_pub.task_out_tbl_type;
-- Exception to call messag handlers if API returns an error.
API_ERROR EXCEPTION;
BEGIN
-- Initialize the session with my user id and Projects, Vision Serves (USA0
-- responsibility:
select user_id into l_user_id
from fnd_user
where user_name = 'SSHAH';
select responsibility_id into l_responsibility_id
from fnd_responsibility_tl
where responsibility_name = 'Projects Implementation Superuser';
pa_interface_utils_pub.set_global_info(
p_api_version_number => l_api_version_number,
p_responsibility_id => l_responsibility_id,
p_user_id => l_user_id,
p_msg_count => l_msg_count,
p_msg_data => l_msg_data,
p_return_status => l_return_status);
if l_return_status != 'S' then
raise API_ERROR;
end if;
-- Provide values for input variables
-- L_PM_PRODUCT_CODE: These are stored in pa_lookups and can be defined
-- by the user. In this case we select a pre-defined one.
select lookup_code into l_pm_product_code
from pa_lookups
where lookup_type = 'PM_PRODUCT_CODE'
and meaning = 'Conversion';
-- L_PROJECT_IN: We have to provide values for all required elements
-- of this record (see p 5-13, 5-14 for the definition of the record).
-- Customers will normally select this information from some external
-- source
l_project_in.pm_project_reference := 'AGL-AMG Project &no';
l_project_in.project_name := 'AGL-AMG Project &no';
l_project_in.created_from_project_id := 1;
l_project_in.carrying_out_organization_id := 2864; /*Cons. West*/
l_project_in.project_status_code := 'UNAPPROVED';
l_project_in.start_date := '01-JAN-11';
l_project_in.completion_date := '31-DEC-11';
l_project_in.description := 'Trying Hard';
l_project_in.project_relationship_code := 'Primary';
-- L_KEY_MEMBERS: To load the key member table we load individual
-- key member records and assign them to the key member table. In
-- the example below I am selecting all of the key member setup
-- from an existing project with 4 key members ('EE-Proj-01'):
for km in get_key_members loop
-- Get the next record and load into key members record:
l_key_member_rec.person_id := km.person_id;
l_key_member_rec.project_role_type := km.project_role_type;
-- Assign this record to the table (array)
l_key_members(km.rownum) := l_key_member_rec;
end loop;
-- L_CLASS_CATEGORIES: commented out below should fix the error we get
-- because the template does not have an assigment for the mandatory class
-- 'BAS Test'
l_class_category_rec.class_category := 'Product';
l_class_category_rec.class_code := 'Non-classified';
-- Assign the record to the table (array)
l_class_categories(1) := l_class_category_rec;
-- L_TASKS_IN: We will load in a single task and a subtask providing only
-- the basic fields (see pp. 5-16,5-17,5-18 for the definition of
-- the task record)
l_task_rec.pm_task_reference := '1';
l_task_rec.pa_task_number := '1';
l_task_rec.task_name := 'Construction';
l_task_rec.pm_parent_task_reference := '' ;
l_task_rec.task_description := 'Plant function';
-- Assign the top task to the table.
l_taskS_in(1) := l_task_rec;
-- Assign values for the sub task
l_task_rec.pm_task_reference := '1.1';
l_task_rec.pa_task_number := '1.1';
l_task_rec.task_name := 'Brick laying';
l_task_rec.pm_parent_task_reference := '1' ;
l_task_rec.task_description := 'Plant building';
-- Assign the subtask to the task table.
l_tasks_in(2) := l_task_rec;
-- All inputs are assigned, so call the API:
pa_project_pub.create_project
(p_api_version_number => l_api_version_number,
p_commit => l_commit,
p_init_msg_list => l_init_msg_list,
p_msg_count => l_msg_count,
p_msg_data => l_msg_data,
p_return_status => l_return_status,
p_workflow_started => l_workflow_started,
p_pm_product_code => l_pm_product_code,
p_project_in => l_project_in,
p_project_out => l_project_out,
p_key_members => l_key_members,
p_class_categories => l_class_categories,
p_tasks_in => l_tasks_in,
p_tasks_out => l_tasks_out);
-- Check the return status, if it is not success, then raise message handling
-- exception.
IF l_return_status != 'S' THEN
dbms_output.put_line('Msg_count: '||to_char(l_msg_count));
dbms_output.put_line('Error: ret status: '||l_return_status);
RAISE API_ERROR;
END IF;
-- perform manual commit since p_commit was set to False.
COMMIT;
--HANDLE EXCEPTIONS
EXCEPTION
WHEN API_ERROR THEN
FOR i IN 1..l_msg_count LOOP
pa_interface_utils_pub.get_messages(
p_msg_count => l_msg_count,
p_encoded => l_encoded,
p_msg_index => i,
p_msg_data => l_msg_data,
p_data => l_data,
p_msg_index_out => l_msg_index_out);
dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
END LOOP;
rollback;
WHEN OTHERS THEN
dbms_output.put_line('Error: '||sqlerrm);
FOR i IN 1..l_msg_count LOOP
pa_interface_utils_pub.get_messages(
p_msg_count => l_msg_count,
p_encoded => l_encoded,
p_msg_index => i,
p_msg_data => l_msg_data,
p_data => l_data,
p_msg_index_out => l_msg_index_out);
dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
END LOOP;
rollback;
END;
===
Msg_count: 1
Error: ret status: E
ERROR: 1: Project: 'AGL-AMG Project 1123'
Source template ID is invalid.
PL/SQL procedure successfully completed.I was using a custom Application, which had a id other then 275 (which belongs to Oracle projects)
-
SQL Error while creating data Owner certification in SRM 5.0.3
Hi , In SRM 5.0.3, while creating data Owner certification by choosing data owner, I m getting the following error. database i upgraded and the migration script is also run.
java.sql.SQLException: Violation of PRIMARY KEY constraint 'pk_id_attr_val_users'. Cannot insert duplicate key in object 'dbo.id_attr_val_users'. Since Primary key is clustered(cert_id,user_id,attr_val_id) and we have updated currentvalue of CertificationID in sequences table, We are not sure if SRM is trying to enter duplicate attribute value for same user in D.O certification. Any pointers regarding this error will be of great help, thanks.Solved but not happy!
VIN is not compatible with a web UI that uses standard ports, i.e. TCP 80 and 443. No notes (at least that I seen) in the documents stating this as a requirement.
KB 2065986
VMware KB: VMware vRealize Infrastructure Navigator is not accessible when the vSphere Web Client is not running on … -
Error while inserting data into a table.
Hi All,
I created a table.While inserting data into the table i am getting an error.Its telling "Create data Processing Function Module".Can any one help me regarding this?
Thanx in advance
anirudhHi Anirudh,
Seems there is already an entry in the Table with the same Primary Key.
INSERT Statement will give short dump if you try to insert data with same key.
Why dont you use MODIFY statement to achieve the same.
Reward points if this Helps.
Manish -
Error while activating data source in BI
Hello Team
I am facing issues while activating data source. I followed following steps .
a)First i created my target
b)Then i made my Primary key as info provider
c)Then i created one source system under file.
d)Then i went to data source and created one application component
e)In this application component i created my data source
f)In this data source i imported my file and all the settings. Now when i am checking then it is not giving any error . But when i am trying to activate it it is giving error . Please find the supporting screesnhots . Can anyone please suggest me as to what is going wrong .Hi,
Check the gateway settings for
Gateway Host
Gateway service
Also check the UDC connection information.
Check these links:
1 - http://help.sap.com/saphelp_nw04/helpdata/en/78/ef1441a509064abee6ffd6f38278fd/content.htm
2 - http://help.sap.com/saphelp_srm40/helpdata/es/54/ddfb3ff778ed28e10000000a1550b0/content.htm
3 - https://encrypted.google.com/url?sa=t&source=web&cd=7&ved=0CCwQFjAG&url=http%3A%2F%2Fwww.bi-
expertonline.com%2Fdownloads%2FSchroeder0604.doc&rct=j&q=ud%20connection%20in%20sap%20bi&ei=WMDnTdm_E4ruvQOEzZWcDg&usg=AFQjCNGvqKuoTq9kypNMNGhis8WrZ-gFCg&cad=rja
Let us know in case the issue still persists.
Debanshu -
Error while creating logical file using transaction FILE
Hello there,
I am facing an error while creating Logical File name definition using transaction FILE
This is the input which I'm trying to give
Logical file name: ZTEST
Name : ZTEST
Physical file : ZTEST_1<DATE><TIME>.csv
Data format: ASC
Application area: BW
Logical path:ZTEST_1_DATAOUT
when I tried to save it throws me an error like ASSIGN_SUBSTRING_NOT_ALLOWED
Please help.Hi,
Please check the OSS Notes :
Note 792061 - SP Case Locator: Dump: ASSIGN to a substring isn't allowed.
SAP Note 1297989 - Short dump ASSIGN_SUBSTRING_NOT_ALLOWED
Hope this solves the problem.
-Vikram
Maybe you are looking for
-
Partial Delivery in Sales Order with Different Delivery Dates
Dear All, In Sales Order we need to specify the different delivery dates for the items ( Partial Delivery ). Ex: If I add one sales order for 20 qty of an item today.I need to specify 5 nums to be delivered on immediately and next 10 qty i
-
How to move the balance from one GL account ot other GL account in a report
Hi, I have an issue with one GL account balance should be move to other GL account and also it should be reflect in reporting. For example i have one account like 200100 and it is having some balance in current period. Now i want to move from other a
-
Time and date function, how to use?
Hello everyone, I want to know that how can we make use of these two system functions SY-TIMLO, SY-DATUM ? What should i write in data? pbo? pai? Should i write something like this in data? DATA: Ok_date TYPE SY-DATUM. DATA: Ok_time TYPE SY-TIMLO. Wh
-
Can anybody help me? Why Photoshop is doing that? I even reboot my computer. I'm working with Windows XP and Photoshop CS3. Thanks.
-
Hi guys, I am getting a runtime error on compiling or activating my smartform, which says the exception is assigned to class 'CX_SY_ZERODIVIDE' , in program "CL_SSF_XSF_UTILITIES==========CP", an arithmetic operation ('DIVIDE', '/', 'DIV' or 'MOD')