Not able to select data using DB link.
Hi ,
I have created the database link in oracle 8.1.7.0.0 to oracle 8.1.7.4.0
But I am not able to select data using DB link.
The error is = ORA 12154 : TNS: could not resolve service name.
I have created the DB link with the same command in oracle 9.2.0.4.0 to oracle 8.1.7.4.0. I can select data using this link.
Please suggest me the solution.
Thanks,
Shailesh
If the service name is different on the 8i machine than on the 9i machine, you'll need to modify the service name when creating the link from 8i. Can you see the DB link in ALL_DB_LINKS in the 8i database?
Similar Messages
-
I am not able to fecth data using this statement
Hi All,
Iam getting problem when i was using select queiry based on vbak,vbap and konv tables.
Error is i am not able to get all condition types but i am getting only first record
Example...
number of the document condition which is KNUMV
condition item number which is KPOSN
condition type which is kshcl
knumv kposn kshcl
00000002 000100 zpro
00000002 000100 zdsc
00000002 000100 zima
00000002 000100 zpak
but iam getting only first fecord not getting all the records
like
000000002 000100 zpro
code is ..........
*select Sales Document: Header Data and Item Data from vbak and vbap
select avbeln aerdat aernam aauart avkorg avtweg aspart akunnr avkbur avkgrp alifsk afaksk aaugru aknumv
bposnr bmatnr bwerks blgort bkwmeng bpstyv babgru bbedae blprio bvstel bntgew bbrgew
bvolum bfaksp bktgrm btaxm1 babfor bkalsm_k bmatkl bkondm bgsber bprctr
into corresponding fields of table it_vbak
from vbak as a inner join vbap as b on avbeln = bvbeln
where a~vbeln in lr_vbeln and
a~vkorg in lr_vkorg and
a~vtweg in lr_vtweg and
a~spart in lr_spart and
b~werks in lr_plant and
a~auart in lr_auart and
a~erdat in lr_erdat.
Move all the data to it_sorder
IF sy-subrc = 0.
LOOP AT it_vbak.
MOVE-CORRESPONDING it_vbak TO it_sorder.
APPEND it_sorder.
CLEAR it_sorder.
ENDLOOP.
ENDIF.
*select Conditions from konv
IF NOT it_sorder[] IS INITIAL.
SELECT knumv kposn STUNR KAPPL ZAEHK kschl kbetr KAWRT
INTO CORRESPONDING FIELDS OF TABLE it_konv
FROM konv FOR ALL ENTRIES IN it_sorder
WHERE knumv = it_sorder-knumv and
kposn = it_sorder-posnr.
ENDIF.
Read Conditions from it_konv move it to it_sorder
sort it_konv by knumv .
sort it_sorder by knumv .
LOOP AT it_sorder.
READ TABLE it_konv WITH KEY knumv = it_sorder-knumv
kposn = it_sorder-POSNr binary search.
IF sy-subrc = 0.
it_sorder-Kposn = it_konv-kposn.
it_sorder-STUNR = it_konv-STUNR.
it_sorder-KAPPL = it_konv-KAPPL.
it_sorder-ZAEHK = it_konv-ZAEHK.
it_sorder-kschl = it_konv-kschl.
it_sorder-kbetr = it_konv-kbetr.
MODIFY it_sorder.
CLEAR it_sorder.
ENDIF.
CLEAR it_konv.
ENDLOOP.
pls can you help me
thanks
marsI think the problem is here:
sort it_konv by knumv .
sort it_sorder by knumv .
LOOP AT it_sorder.
READ TABLE it_konv WITH KEY knumv = it_sorder-knumv
kposn = it_sorder-POSNr binary search.
There will be mulitple lines in it_konv with this key so it will only return the first. You need a second loop round it_konv eg:
LOOP AT it_conv WHERE knumv = it_sorder-knumv and kposn = it_sorder-POSNr.
* do stuff here
ENDLOOP.
Try that and see if it helps...
Andy -
Not able to Import data using "clear and replace"
Hi,
If I import data using the data admin package "Import" and "Merge" as 'method for importing' the process runs without problems.
If I change the 'method for importing' to "Clear and Replace" the process fails. See message:
TOTAL STEPS 2
1. Convert Data: completed in 3 sec.
2. Load and Process: Failed in 1 sec.
3. Import: completed in 1 sec.
[Selection]
FILE=\UHRENHOLT\LEGAL_DATALOAD\DataManager\DataFiles\\Axapta_Load.txt
TRANSFORMATION=\UHRENHOLT\LEGAL_DATALOAD\DataManager\TransformationFiles\\Axapta_Load.xls
CLEARDATA= Yes
RUNLOGIC= Yes
CHECKLCK= Yes
[Messages]
Key cannot be null.
Parameter name: key
I'm uisng the standard data admin package (and thereby the values 0 and 1). For some reason the value 1 is not accepted.
Any suggestions?
/LarsHi,
The "Replace & clear..." feature during data import depends on Work Status. So to use this functionality, you need to setup Work Status under your application. Notice that you need to setup Work Status even if you aren't selecting the option to check Work Status when running the package.
Hope this will help you.
Kind Regards,
Patrick -
Not able to fetch data using Scenario
Hi
I am working with Quincy Fund Demo. In that we have investorhome.jsp page, where we have following code to get the offer Advertisement data.
<dsp:droplet name="/atg/targeting/TargetingFirst">
<dsp:param bean="/atg/registry/Slots/QFOfferSlot" name="targeter"/>
<dsp:param name="howMany" value="1"/>
<dsp:param name="fireContentEvent" value="false"/>
<dsp:param name="fireContentTypeEvent" value="false"/>
<dsp:oparam name="output">
<dsp:a href="offer.jsp">
<dsp:param name="ElementId" param="element.repositoryId"/>
<img border="0" src="<dsp:valueof param="element.imageURL"/>"></dsp:a>
</dsp:oparam>
</dsp:droplet>
And the scenario I am trying to use is PromoteSpecialSituations.( Please refer ACC for Quincy fund demo).
But my problem is that I am not able to get any data from this scenario.
Can anyone tell me the reason behind it and its solution?
Thanks
PrasannaHi Shaik
Here is the detail of that scenario
(event) Logs in ------(people) Locale is en_US-------(fork)-----
--------------(people) Fund list includes ---------------|
| /repositories/Funds/en_US |
| /specialsituation.xml |
|
-----------|(Otherwise Cond)--Add items to slot
named QFOfferSlot
named Offers:offer:
/repositories/Offers/en
_US/specialsituations.html
The content of specialsituation.xml file is as follows:
<fund>
<aggressiveIndex>2</aggressiveIndex>
<targets>aggressive</targets>
<fundName>Quincy Special Situations Fund</fundName>
<symbol>QUISS</symbol>
<category>stock</category>
<type>Growth; Income</type>
<price>5.69</price>
<language>de_DE</language>
<objective>Quincy Special Situations Fund seeks high total return through
capital appreciation and income.
</objective>
<strategy>This fund pursues capital appreciation and current income by
buying stocks with deeply-depressed prices that fund management believes
have the potential for recovery. Fund management searches for three types
of value stocks: stocks with high current dividend yields, stocks
temporarily discounted by the market, and stocks that management
believes are fundamentally misunderstood but have great potential. The
depressed prices of these stocks make them more responsive to
company-specific news than to general stock market trends.
</strategy>
<inceptionDate>02/15/1992</inceptionDate>
</fund>
Thanks
Prasanna -
Not able to Select Dependents using BAPI_BEN_BUS3029_CREATE_PLANS
Hi All,
I am using function module BAPI_BEN_BUS3029_CREATE_PLANS to upload Health Plans (IT0167) . Internally this calls HR_BEN_CREATE_HEALTH_PLANS function module
When I execute, it is not selecting the dependents for the plan. So the Health plan gets created but the dependents show up without the "Select Dependents" check box
Please can someone tell me in detail what parameters I am missing for this function module. I am stuck on my current project due to this
For DEPEND_SELECTION internal table, I am passing all values that come from IT0021 record and all fields are being correctly populated
I believe that its something to do with some ADD_BPLAN indicator or the EVENT parameter that's going wrong....please Help!
Thanks and Regards,
AdityaHave you checked if there are any canceled update requests (transaction SM13)?
-
Not able to display data in separate columns using Unicode encoding
Hi,
Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
Please let me know how to display data in different columns using Unicode encoding in Excel sheet.
This is an urgent need. Please help me out.Hi,
I have no problem with item :P15_EV_LCL this is having a value my probem here is i am using java script to display the value in different color based on the condtion case
eg:
select
case
TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2)
= :P15_EV_LCL
then
span style="background-color:lightgreen"
|| TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || /span
else
span style="background-color:yellow"
|| TRUNC(
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || /span
end "Effort"
from actuals Z
If i dont use this <Span style="Background-color:color"> i am able to generate data in excel sheet if i use this color coding i am not able to get data in spread sheet.
Please suggest
Thanks
Sudhir
Edited by: Sudhir_N on Mar 23, 2009 10:00 PM -
Not able to put data selection condition in data selection tab of infopakag
I was loading data from data source as data mart ( export data sauce from ODS) to other ODS.
when I tried to do delta Initialization with data transfer , I am not able to put data selection condition in data selection tab of infopakage.
when I choose Full Update in Update tab . It enables data selection fields in data selection tab. and I could put the condition.
I have checked in transfer structure as well , the fields are marked for selection.
Please advice .
Please tell me what could be the reason for this problemAshutosh,
As you are doing delta upload the data selection tab will be disabled, if you want to do the selective load then you need to do init update with your selection.
When you do the full updtae then definitely the data selection tab will be enabled for all the objects.
Hope this helps...
*******Assign Points if it helps********
Thanks,
Gattu -
Not able to select physicalschema directory for file data server in ODI 11g
Hi,
I am a beginner to ODI tech and stuck up with an error while doing a tutorial (mentioned in this link - http://st-curriculum.oracle.com/obe/fmw/odi/odi_11g/ODIproject_ff-to-ff/ODIproject_flatfile-to-flatfile.htm).
While creating a physical schema for default file server(FILE_GENERIC) , I am not able to select schema directories and the name field with value 'FILE_GENERIC.Directory' is grayed out (non editable)
I have gone through many documents but could not find any relevant information for this.
So could you please let me know if any configurations required for this?
Thanks,
AnushaHi Oleg,
Thanks for your reply.
While creation of physical schema , Name field is grayed out , is that the default behaviour of the screen? because in the tutorial I could see the name filead is pointing to a file directory path.
Thanks,
Anusha -
Not able to select MS SQL Server tables in sqldeveloper using dblink
Hi All,
I able tp select MS SQL table columns in sqlplus prompt but i am not able to select same thing in sql developer using dblink.
If i use convert(<mycol>,'WE8ISO8859P1','utf8') in sqldeveloper its working, how to select MS SQL columns without convert function.
Thanks,
-ManiMani,
This is a problem with SQL*Developer and converting nvarchar characters.
The workround is to install the Oracle client software and use the option in SQL*Developer -
- Tools
- Preferences
- Database
- Advanced
- and click the 'Use OCI/Thick driver' option.
I made these steps -
- download the 11.1 client software from eDelivery -
http://edelivery.oracle.com/
- go through the administration screens (name, etc)
- on the next screen ' Media Pack Search' screen choose -
- Select a Product Pack - Oracle database
- Platform - Microsoft Windows (32-bit)
- Oracle® Database 11g Release 1 (11.1.0.6.0) Media Pack for Microsoft Windows (32-bit)
- then download -
Oracle® Database 11g Release 1 Client (11.1.0.6.0) for Microsoft Windows (32-bit) CD
- Install the Instant Client and also apply the 11.10.7 patchset to the ORACLE_HOME where you install the client. (if you are using 11.1.0.7 RDBMS)
- for Windows change the PATH system variable to make sure the 11.1 RDBMS and Client ORACLE_HOME directories are listed before any other Oracle directories
- started SQL*Developer and clicked the 'Use OCI/Thick driver' option
- could then run the select -
select "col2" from test_nvarchar@dg4msql ;
without any problems.
If this is still a problem for you then let us know the description of the columns in the SQL*Server table that give the problem and the exact errors you receive.
Regards,
Mike -
Not able to View data in .CSV file
Hi,
I am using some java script to display data conditionall, for color coding purpose but when i try to download the data to an spread sheet i am not able to do that please suggest me how to export fix this bug
select
case
TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2)
= :P15_EV_LCLthen
'<span style="background-color:lightgreen">'|| TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || '</span>'
else
'<span style="background-color:red">'|| TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || '</span>'
end "Effort"
from actuals Z
If i try to extract actuals it shows blank not able to extract data please suggest me how to fix this issue.
Thanks
SudhirHi,
I have no problem with item :P15_EV_LCL this is having a value my probem here is i am using java script to display the value in different color based on the condtion case
eg:
select
case
TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2)
= :P15_EV_LCL
then
span style="background-color:lightgreen"
|| TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || /span
else
span style="background-color:yellow"
|| TRUNC(
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || /span
end "Effort"
from actuals Z
If i dont use this <Span style="Background-color:color"> i am able to generate data in excel sheet if i use this color coding i am not able to get data in spread sheet.
Please suggest
Thanks
Sudhir
Edited by: Sudhir_N on Mar 23, 2009 10:00 PM -
Not Able To View Data in Web Service Model
Hi ,
I m trying to view a table using web service model.
When i write the same code for binding it to context , i m able to view its data.
But not so while using Web Service Model(not adaptive web service model).
The code is:
Request_ZMANAGE_MAKT_ZMANAGE_ZMAKT object1 =new Request_ZMANAGE_MAKT_ZMANAGE_ZMAKT();
wdContext.nodeRequest_ZMANAGE_MAKT_ZMANAGE_ZMAKT().bind(object1);
object1.setResponse(new Response_ZMANAGE_MAKT_ZMANAGE_ZMAKT());
CAn anybody plz solve my problem.
Thanks..
Regards,
AnkitaHi,
I have no problem with item :P15_EV_LCL this is having a value my probem here is i am using java script to display the value in different color based on the condtion case
eg:
select
case
TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2)
= :P15_EV_LCL
then
span style="background-color:lightgreen"
|| TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || /span
else
span style="background-color:yellow"
|| TRUNC(
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || /span
end "Effort"
from actuals Z
If i dont use this <Span style="Background-color:color"> i am able to generate data in excel sheet if i use this color coding i am not able to get data in spread sheet.
Please suggest
Thanks
Sudhir
Edited by: Sudhir_N on Mar 23, 2009 10:00 PM -
Not able to see data in 0FIGL_V30 & 0FIGL_V31
Hi,
I've activated / installed standard business content for EpH3 i.e Mutltiprovider 0FIGL_M30 and entire data flow which includes reports and virtual providers 0FIGL_V30 & 0FIGL_V31.
I'm able to see data in cubes where above virtual providers read data from. here is the link from help.sap.com
http://help.sap.com/erp2005_ehp_03/helpdata/EN/6b/fdc62d9e0b444cb14b7f424d9f9cb7/frameset.htm
Issue is i'm not able to see data in Virtual providers 0FIGL_V30 & 0FIGL_V31 and hence in reports.
Can anyone advice please. thanks
SDHi All,
Yes I've checked data in underlying cubes.
Mulitprovider is fine.
I've added Master Data for both 0GL_ACCTP and 0ACCESSTP
RFC connection is fine.
No DTP & Transformation since this is Virtual Provider based on Functional Module.
However when I debug FM for 0FIGL_V30 & 0FIGL_V31 - I see no data and thought there might be master data issue b/w 0GL_ACCOUNT & 0GLACCEXT but MD is fine.
It just not pulling data.
Is there some setting I'm missing?
FM's used for Virtual Providers are
0FIGL_V30 - RS_BCT_FIGL_SREP_DATA_GET_V30
0FIGL_V31 - RS_BCT_FIGL_SREP_DATA_GET_V31
SD -
Not able to access data in Query
Hi,
I have loaded data using DTP from 2 different source systems.
One is 3.x emulated datasource and the other is New 7.0 datasource.I have loaded data sucessfully in to DSO.Built a query on same.
But when iam executing the query by material as selection criteria.Iam not able to found data in query from one source system.The same data is available in DSO.Please needed in this regard.Hi Venkat,
After extracting data into DSO check the request whether active or not.
Check data in DSO in contents.
If is there any restrictions on info providers in Queries.
Let us know status clearly.......
Reg
Pra -
Not able to see Data in Xcelsius 2008
Hi everyone,
My question is I am not able to see data in Xcelsius spreadsheet although I am able to connect to SAP BW and also able to see and select query but when I select Cross Tab Data in output Values it is not displaying in Xcelsius spreadsheet
System Info
Xcelsius 2008 Enterprise Trial Version SP 3.0
SAP BW 7.1 SP 6 ABAP and JAVA
Any help would be appreciatedHi Rashid,
When you are using the BW conenction in Xcelsius you will not see any data in the spreadsheet at design time or at preview time.
To see the data you need to go SAP > Publish, then SAP > Launch to test the dashboard in the NetWeaver Portal as that is the only place where the data can be viewed.
Regards
Matt -
Not able insert ,query data from forms
hi,
I am not able to insert data or query data from forms(10g devsuite).getting error frm-40505,frm 40508 .i am able to insert and select record from sql plus.the block ihave created is control block .it is connected to the table using the properties.
should i do anything to insert record.please helpthe block ihave created is control block .it is connected to the table using the properties.A Control Block, by definition, is a non-database block. This means the block is not directly connected to a table so you have to manually display data in the block and any DML you want to perform on data in this block you must do manually as well.
There are four database objects you can base your database block on; 1) a Table, 2) a View, 3) From Clause Query (basically an In-line View), and 4) a database stored procedure. I recommend you use one of these four methods rather than manually display your data.
Craig...
Maybe you are looking for
-
FireWire Import Not Working in iPhoto 6.0.4
I am trying to import stills on an SD card in my Canon Optura 600 camcorder. I've done this before, but just now iPhoto isn't seeing my camcorder. I've just reset the FireWire port and the camcorder shows up in System Profile and iMovie sees it too.
-
Cant find my iOS iPhoto journal in iCloud
When I go to iCloud on my MBP I only find options for Mail, contacts, calendar, find my iphone and iWork. How do I get to the rest of my iCloud content? I want to share my journal among other things.
-
Mobility Group Member Down Status
The mobility group members from our guest controller have went into a down status twice since upgrading the 5508 WLC to software version 7.4.110. What can we do to remedy the problem?
-
Hi, This is a continuation of my post from over at the COW which is still not resolved: http://forums.creativecow.net/thread/8/1118518 Here is a screencap video of the launch splash screen to show you guys where and when the launch is happening: http
-
Hi Friends, Need Help on following questions 1. What are the different ways to integrate BAM and OSB? 2. What is the recommended way and why? Thanks, Sachin