Ldapsearch not returning any entries anymously
Hi,
I've just migrated from Fedora 389DS to DSEE7 and stumbled upon some unexpected problems that I can't figure how to get out of.
Before shutting down my 389DS instance I've dumped its user entries. I then installed DSEE7, everything seems to be working properly.
I then did a dsconf create-suffix o=oslods (which was the base DN on 389DS).
Afterwards I did dsconf import -p 389 -e /tmp/389dump.ldif o=oslods. No entries were skipped, everything looked OK. My ldif can be seen at http://jeanfrancoisgratton.net/dsee/389dump.ldif.txt .
Why, as everything (ldapsearch) worked fine with 389DS, doesn't it work properly now with DSEE ? Some gui tools will show me the entries in o=oslods, but not ldapsearch (ex: ldapsearch -b o=isp uid=grattojf won't return anything) ?
Is there something I've forgotten that'd get me red-faced with shame once pointed out to me, or what ? :-)
UPDATE
It seems that when I provide the bindDN (-D "xxxxx" -w yyyy) I get results ! This one now, I don't get it ! I want anonymous searches to work, I hadn't touched to anything ACI-wise...
Regards,
-- Jeff
Edited by: J.F.Gratton on Mar 9, 2012 2:40 PM
Edited by: J.F.Gratton on Mar 9, 2012 2:51 PM
Hello Chris,
I came here this morning to close the thread as I realized that the ACIs were missing from the suffix. Can't figure how / why it's missing from dsconf import.
So, ACIs being missing, looks like the DS is usable (readable) only by the directory manager.
An easy thing to fix !
Thanks,
-- Jeff
Similar Messages
-
Vendor Search not returning any values in SRM
Hi Gurus
Has any one come accross the following issue? Kindly advice.
SRM 3.0
Search Vendor (F4) not returning any value although Vendor exist in SRM (system allows to raise Cart if Requestioner keys in the Vendor Number manually, ie. Vendor has very much got replicated in SRM)
Steps to replicate the issue
1) Log on to SRM portal
2) Expand the Go Shopping and click on Shop (Extended Form)
3) Click on Create Limit Item
4) Fill in the Description, Select the Product Category, Enter the Value Limit & Expected Value & fill in the required date
5) To search for Supplier, click on the find button
6) In the Find Vendor screen press the start button without entering any restriction
7) System throws a message "No Vendor found"
Kind regards,
Mehul ShahHi Muthu,
Thanks for replying Muthu.
Entries do exists in VENMAP.
No filters are set while searching for Vendor.
In fact, If I find the Vendor code from ERP and key in the vendor number in the Supplier field in SRM, it rightly picks up the vendor from the Vendor code.
The only issue is....while I try to search for Supplier using the Supplier search functionality (by clicking on the binocular), the search functionality does not return any values (I put no restriction).
By the way, Is there any missing Attribute in PPOMA_BBP that may be causing this?
Regards,
Mehul. -
Very Very Urgent Issue: Restricted Key Figure does not return any data
Hi all,
Please help me solving this urgent issue.
created customer exit variable on characterstics version and also
other customer exit variable on Value type.
I coded that in variable exit. Problem is when I include these in
restrickted keyfigure My query does not return me any data.
But if I remove from restrickted key firgure and put it as normal
charaterstics I see the variable is getting populated.
Also in RSRT the SQl generated when these are included in RKF is not
correct.
I debugged and know they are getting populated. As when included in RKF
I can also see the values of customer exit variables from information
tab.
I also know that there is data in cube for those restrictions.
I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
Thanks
SAP BW
**Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any dataHi,
Everyone out there this is very urgent. If someone can help me solving this problem.
We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
I posted one oss notes also regarding this issue. But got no reply from SAP.
So, Please help me solving this issue.
Thanks
SAP BW -
The system could not find any entries that are relevant to costing.
plz give the solution ,its urgent
Message no. CK060
Diagnosis
The system could not find any entries that are relevant to costing.
System Response
The system did not cost the object.
Procedure
Check whether the following objects should be flagged as relevant to costing:
Items in the BOM
Display BOM
Operations in the routing
Control key in the routing
1. Look at the message log.
2. Check whether a quantity was specified in the confirmation.hi,
iam facing the problem while creating the
stnadard cost estimate ck11n
the system prompts the following message
confirmation
Logistics - General (LO)
Information from the vendor to the recipient about the status of the purchase order.
The term confirmation covers different types of information from the vendor to the customer, such as order, loading or transportation confirmation and the shipping notification.
If materials planning takes place without a confirmation, planning can only be based on the delivery dates and quantities in the purchase order. In contrast, confirmations make it possible for the customer to plan the materials more precisely because between the purchase order and planned delivery date, more reliable information has become available.
Logistics - General (LO)
Communication sent by a vendor to a customer regarding the status of a purchase order.
The term "confirmation" (short for "vendor confirmation") is an umbrella term for various types of information provided by a vendor to a customer, including order acknowledgments, loading or transport confirmations and shipping notifications.
If the customer's materials planning and inventory control system does not work with confirmations, it can only refer to the delivery dates and quantities set out in the purchase order. The use of confirmations, on the other hand, makes the materials planning and inventory control process more precise, since between the PO date and the planned delivery date the customer receives increasingly reliable information about the pending arrival of ordered goods.
Treasury Management (TR-TM)
After concluding a financial transaction, a confirmation of the related contract data is sent to the relevant business partner. Confirmations can be printed or sent electronically directly from the R/3 System. Confirmation forms are defined via the correspondence type.
Logistics - General (LO)
Part of order monitoring, this documents the processing status of operations or sub-operations. In the SAP System, a distinction is made between partial and final confirmations.
A final confirmation is used to determine
at which work center the operation should be carried out
who has carried out the operation
the quantities of yield and scrap quantities that have been produced
the size of the standard values required for the actual operation
Materials Management (MM)
Communication from a vendor to a customer providing information on the status of a purchase order.
As used in this sense, the term "confirmation" can cover a number of different documents, such as order acknowledgment, loading confirmation, or shipping notification. Also termed "order acceptance/fulfillment confirmation".
If the materials planning and control system operates without such confirmations, it can only work on the basis of the delivery dates and quantities in the purchase order. Confirmations, on the other hand, enable the customer to plan more exactly. In the period between the issue of the PO and the planned delivery date he is provided with more up-to-date and increasingly reliable information on the expected delivery.
Project System (PS)
A confirmation is a part of network control. It documents the state of processing for network activities and activity elements. There are two types of confirmations in the R/3 System: partial and final confirmations.
A confirmation is used to record:
the work center where the activity was carried out
the person who carried out the activity
the yield and scrap produced in an activity
the actual values for the standard times
Intellectual Property Management (CRM-IM-IPM)
A report made by the licensee and defined in the rights sale contract on sales volumes or other quantities (such as audience figures for a film) during a period.
Receiving (ECO-BBP-REC)
An electronic document that combines the functions of goods receipts and service entry sheets. By creating a confirmation:
Vendors can confirm that they have fulfilled their orders
Employees can confirm the goods and services they ordered via their shopping baskets
Central goods recipients can confirm the goods and services ordered by employees for whom they are responsibleconfirmation
Logistics - General (LO)
Information from the vendor to the recipient about the status of the purchase order.
The term confirmation covers different types of information from the vendor to the customer, such as order, loading or transportation confirmation and the shipping notification.
If materials planning takes place without a confirmation, planning can only be based on the delivery dates and quantities in the purchase order. In contrast, confirmations make it possible for the customer to plan the materials more precisely because between the purchase order and planned delivery date, more reliable information has become available.
Logistics - General (LO)
Communication sent by a vendor to a customer regarding the status of a purchase order.
The term "confirmation" (short for "vendor confirmation") is an umbrella term for various types of information provided by a vendor to a customer, including order acknowledgments, loading or transport confirmations and shipping notifications.
If the customer's materials planning and inventory control system does not work with confirmations, it can only refer to the delivery dates and quantities set out in the purchase order. The use of confirmations, on the other hand, makes the materials planning and inventory control process more precise, since between the PO date and the planned delivery date the customer receives increasingly reliable information about the pending arrival of ordered goods.
Treasury Management (TR-TM)
After concluding a financial transaction, a confirmation of the related contract data is sent to the relevant business partner. Confirmations can be printed or sent electronically directly from the R/3 System. Confirmation forms are defined via the correspondence type.
Logistics - General (LO)
Part of order monitoring, this documents the processing status of operations or sub-operations. In the SAP System, a distinction is made between partial and final confirmations.
A final confirmation is used to determine
at which work center the operation should be carried out
who has carried out the operation
the quantities of yield and scrap quantities that have been produced
the size of the standard values required for the actual operation
Materials Management (MM)
Communication from a vendor to a customer providing information on the status of a purchase order.
As used in this sense, the term "confirmation" can cover a number of different documents, such as order acknowledgment, loading confirmation, or shipping notification. Also termed "order acceptance/fulfillment confirmation".
If the materials planning and control system operates without such confirmations, it can only work on the basis of the delivery dates and quantities in the purchase order. Confirmations, on the other hand, enable the customer to plan more exactly. In the period between the issue of the PO and the planned delivery date he is provided with more up-to-date and increasingly reliable information on the expected delivery.
Project System (PS)
A confirmation is a part of network control. It documents the state of processing for network activities and activity elements. There are two types of confirmations in the R/3 System: partial and final confirmations.
A confirmation is used to record:
the work center where the activity was carried out
the person who carried out the activity
the yield and scrap produced in an activity
the actual values for the standard times
Intellectual Property Management (CRM-IM-IPM)
A report made by the licensee and defined in the rights sale contract on sales volumes or other quantities (such as audience figures for a film) during a period.
Receiving (ECO-BBP-REC)
An electronic document that combines the functions of goods receipts and service entry sheets. By creating a confirmation:
Vendors can confirm that they have fulfilled their orders
Employees can confirm the goods and services they ordered via their shopping baskets
Central goods recipients can confirm the goods and services ordered by employees for whom they are responsible -
Binocular search for Cost Center is not returning any data
Hi Gurus,
When clicking on the SRM-Shooping Cart-Cost Assignment- Account Assignment Overview- Cost center Binocular search icon, it is not returning any data. However, when drilling down in the Account Assignment Overview, you will see another Binocular search icon for Cost Center which is working fine.
Any idea of how you troubleshoot it.
Thanks in advace for your help.
HANot sure about the cost assignment drill down, but after we applied SP13 to SRM server 550 the binoculars for cost center stopped working. the following note corrected this.
Note 1259735 - Search help of generic account does not work
If it has never worked, then probably need to setup a RFC dialog user for the F4 search help, Multiple threads on here around the dialog user for F4 with details on configuration and use.
JF -
Cound not find any entry in table EDP12 for a partner provided in IDOC data
Hi All,
I have an inbound IDOC for a purchase order.
If a put a query to the table EDP12 for the partner or message type (ORDERS) provided in the IDOC data, I do not get any entry for this.
Could you please enlighten me on this...
Thanks,
SanjeetHi Gautham,
Even if I go to T-Code SE11 or SE12 in production or quality system and try to see the contents of this view, one message pops up saying "You do not have authorization for T-code SM30".
And in DEV system, I get a message saying "No database view exists for view VEDI_TDP21".
Anyway my current question is : In T-code WE42, there are two process codes for message type ORDERS:
1. ORDE (ORDERS Create sales order)
2. ORDE_BY_WORKFLOW (ORDERS Sales Order withtext in workflow)
How can I confirm one process code out of the above two for the message type ORDERS?
Regards,
Sanjeet -
Bing based federated result sources not returning any results for non-English languages
I have a result source with this query:
http://www.bing.com/search?q={?searchterms} language:fr site:msdn.microsoft.com&format=rss&count=50&first={startIndex}
This used to give me 40-50 results for common terms like download, blog etc.
From today (7/14) IST, this source does not return any results. There are no results if I execute this query directly in IE either.
Same behavior observed for: language:es, language:de etc.
I do however get results as expected for language:en.
Any idea what the issue might be?Hi Swapnil,
According to your description, my understanding is that no results returned when searching with non-English in the Result Source query.
I tested the same scenario per your post and I got the same results as you got.
I recommend to change the language:fr in the Result Source query to be lang=fr to see if the issue still occurs.
More references:
http://kbdump.com/sharepoint-2013-opensearch-search-twitter-facebook-wikipedia-page/
http://richardstk.com/2013/11/08/sharepoint-2013-federated-search-to-bing/
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Standar ws ProjectByPartyQueryResponse_In is not returning any values
Hi gurus,
I'm trying to use the standar webservice ProjectByPartyQueryResponse_In in our landscape in order to get all the projects related to the person responsible for the project but the web service is not returning any values.
When I execute the service -using soapui- with the following values (or any other value for that matters):
<PartyID>20000143</PartyID>
<PartyRoleCode>ZA</PartyRoleCode>
The web service always returns :
<Log>
<BusinessDocumentProcessingResultCode>5</BusinessDocumentProcessingResultCode>
<MaximumLogItemSeverityCode>3</MaximumLogItemSeverityCode>
<Item>
<TypeID>002(ECC_SE_COMMON)</TypeID>
<SeverityCode>3</SeverityCode>
<Note>No records returned for ZA 0020000143</Note>
</Item>
</Log>
The party Id exists and also de party role code and there is at least one project that has that party with that role. I'm sure because I use other web service to find a project by id and in the result the project has the <Party> section with those values.
I was looking for solutions, notes, threads in forums with no success, then i decided to debug the webservice and I did find the following line in the webservice code.
SELECT objnr INTO TABLE it_data FROM ihpa
WHERE parvw = role_code AND
parnr = party_id AND
obtyp = 'PDN'.
when that line executes the select always returns 0 values, then I look in the table IHPA using the SE16 without any filter and I found that my records exists!! but the select does not get it. I was wondering why the select is not working and then I filter the data in the SE16 using the same values that the query does
for example:
PARVW= ZA
PARNR = 20000143
OBTYP = PDN
And I was surprised when the SE16 did not found any value even I was seeing in the previous screen with no filters!!!! And I supouse thats why the webservice is not working. I started making filters one by one, for example firts filtering just de PARVW = ZA and works, but when I filter just the PARNR = 20000143 the SE16 can't find any value, just when I put an * at the end of the number the SE16 returns all the values expected, Im guessing that the fields in the database has blanks at the end but this is a standar table and a standar program.
Have any of you had the same problem? is there anything that I can do? does anyone knows if this is an unkown bug? becaus I could'n find any note on the marketplace.
Any help would be appreciated.
Gustavo BalboaHi!
The problem were solved but not using the Badi, because the badi only let you change the value of the var party_id and that var is declared as PARNR (of type numeric with length 10), and no mater wat you do the two 00 can´t be removed.
We solved the problem with an enhancement point in the code at the method "party_get_data", look at the beginin and at the end. We just change the type of var used for party_id.. now we use a CHAR one insted the numeric used by the original code.
And we repeat the select...
Thank you very much for the help.
METHOD party_get_data.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$SE:(1) Class CL_PRS_PROJECTPRJPARTYQR, Method PARTY_GET_DATA, Start A
$$-Start: (1)----
$$
ENHANCEMENT 1 ZPARTY_GET_DATA. "active version
DATA : WA_PARNR TYPE I_PARNR.
DATA : WA_CHPAR(10) TYPE C.
ENDENHANCEMENT.
$$-End: (1)----
$$
DATA : temp_object_number TYPE ihpa-objnr,
field1 TYPE char50,
field2 TYPE char50,
field_role TYPE char50,
field_party TYPE char50,
st_object_number TYPE TABLE OF bapiprexp.
DATA : it_data TYPE TABLE OF st_data,
wa_data LIKE LINE OF it_data,
itab TYPE TABLE OF st_data,
wa LIKE LINE OF itab,
wa_project_details LIKE LINE OF project_details,
null.
Select Object number based on input Party and Role
SELECT objnr INTO TABLE it_data FROM ihpa
WHERE parvw = role_code AND
parnr = party_id AND
obtyp = 'PDN'.
Select Project ID based on input Object number
LOOP AT it_data INTO wa_data.
SELECT pspid post1 FROM proj INTO CORRESPONDING FIELDS OF wa_data
WHERE objnr = wa_data-pspid. "#EC CI_NOFIELD
ENDSELECT.
MOVE-CORRESPONDING wa_data TO wa.
APPEND wa TO itab.
ENDLOOP.
IF sy-subrc <> 0.
field_role = cl_wd_utilities=>get_otr_text_by_alias( 'PLM-SE_PRS_XI_PROXY/ROLE_CODE' ) .
field_party = cl_wd_utilities=>get_otr_text_by_alias( 'PLM-SE_PRS_XI_PROXY/PARTY_ID' ) .
CONCATENATE field_role role_code_external INTO field1.
CONCATENATE field_party party_id INTO field2.
MESSAGE e002(ecc_se_common) WITH field1 field2 INTO null.
CALL FUNCTION 'PS_BAPI_MESSAGE_APPEND'
TABLES
return = party_return.
ELSE.
MESSAGE s082(ops_se_prs) INTO null.
CALL FUNCTION 'PS_BAPI_MESSAGE_APPEND'
TABLES
return = party_return.
ENDIF.
LOOP AT itab INTO wa.
MOVE-CORRESPONDING wa TO wa_project_details.
APPEND wa_project_details TO project_details.
ENDLOOP.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$SE:(2) Class CL_PRS_PROJECTPRJPARTYQR, Method PARTY_GET_DATA, End A
$$-Start: (2)----
$$
ENHANCEMENT 2 ZPARTY_GET_DATA. "active version
WA_CHPAR = party_id.
SHIFT WA_CHPAR BY 2 PLACES.
CLEAR party_return.
REFRESH party_return.
SELECT objnr INTO TABLE it_data FROM ihpa
WHERE parvw = role_code AND
parnr = WA_CHPAR AND
obtyp = 'PDN'.
Select Project ID based on input Object number
LOOP AT it_data INTO wa_data.
SELECT pspid post1 FROM proj INTO CORRESPONDING FIELDS OF wa_data
WHERE objnr = wa_data-pspid. "#EC CI_NOFIELD
ENDSELECT.
MOVE-CORRESPONDING wa_data TO wa.
APPEND wa TO itab.
ENDLOOP.
IF sy-subrc <> 0.
field_role = cl_wd_utilities=>get_otr_text_by_alias( 'PLM-SE_PRS_XI_PROXY/ROLE_CODE' ) .
field_party = cl_wd_utilities=>get_otr_text_by_alias( 'PLM-SE_PRS_XI_PROXY/PARTY_ID' ) .
CONCATENATE field_role role_code_external INTO field1.
CONCATENATE field_party party_id INTO field2.
MESSAGE e002(ecc_se_common) WITH field1 field2 INTO null.
CALL FUNCTION 'PS_BAPI_MESSAGE_APPEND'
TABLES
return = party_return.
ELSE.
MESSAGE s082(ops_se_prs) INTO null.
CALL FUNCTION 'PS_BAPI_MESSAGE_APPEND'
TABLES
return = party_return.
ENDIF.
LOOP AT itab INTO wa.
MOVE-CORRESPONDING wa TO wa_project_details.
APPEND wa_project_details TO project_details.
ENDLOOP.
ENDENHANCEMENT.
$$-End: (2)----
$$
ENDMETHOD. -
I have a Xquery statement that works as expected on Oracle 10.2.0.5 but does not return any results on Oracle 10.2.0.4.
Is this the result of a badly written query? A bug in 10.2.0.4?
Is there a way to rewrite the query so that is does work on 10.2.0.4?
Testcode:
declare
l_xml xmltype;
-- Select layers with TileMatrixSet EPSG:28992
cursor c_layer(p_xml xmltype) is
select t.*
from xmltable(xmlnamespaces(default 'http://www.opengis.net/wmts/1.0'
,'http://www.opengis.net/ows/1.1' as "ows"
,'http://schemas.opengis.net/gml' as "gml"
,'http://www.w3.org/1999/xlink' as "xlink"
,'http://www.w3.org/2001/XMLSchema-instance' as "xsi")
,'for $d in //Layer[TileMatrixSetLink/TileMatrixSet="EPSG:28992"] return $d' passing
p_xml columns title varchar2(100) path 'ows:Title'
,format varchar2(100) path 'Format'
,style xmltype path 'Style') as t;
begin
l_xml := xmltype.createxml('<?xml version="1.0" encoding="UTF-8"?>
<Capabilities xmlns="http://www.opengis.net/wmts/1.0"
xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd"
version="1.0.0">
<Contents>
<Layer>
<ows:Title>brtachtergrondkaart</ows:Title>
<ows:Identifier>brtachtergrondkaart</ows:Identifier>
<Style isDefault="true">
<ows:Identifier>_null</ows:Identifier>
</Style>
<Format>image/png8</Format>
<TileMatrixSetLink> <TileMatrixSet>EPSG:28992</TileMatrixSet>
</TileMatrixSetLink> </Layer>
<Layer>
<ows:Title>top10nl</ows:Title>
<ows:Identifier>top10nl</ows:Identifier>
<Style isDefault="true">
<ows:Identifier>_null</ows:Identifier>
</Style>
<Format>image/png8</Format>
<TileMatrixSetLink> <TileMatrixSet>EPSG:28992</TileMatrixSet>
</TileMatrixSetLink> </Layer>
<Layer>
<ows:Title>bgt</ows:Title>
<ows:Identifier>bgt</ows:Identifier>
<Style isDefault="true">
<ows:Identifier>_null</ows:Identifier>
</Style>
<Format>image/png8</Format>
<TileMatrixSetLink> <TileMatrixSet>EPSG:28992</TileMatrixSet>
</TileMatrixSetLink> </Layer>
</Contents>
</Capabilities>');
for r_layer in c_layer(l_xml)
loop
dbms_output.put_line(r_layer.title);
end loop;
end;Result on 10.2.0.5:
brtachtergrondkaart
top10nl
bgtThis one's strange indeed.
I can reproduce on 10.2.0.4 and one of the following seems to fix it :
1) Specifying the column list in the SELECT, instead of t.* :
-- Select layers with TileMatrixSet EPSG:28992
cursor c_layer(p_xml xmltype) is
select t.title, t.format, t.style
from xmltable(or,
2) Using an extended FLWOR expression :
for $d in //Layer
where $d/TileMatrixSetLink/TileMatrixSet = "EPSG:28992"
return $dMaybe you've already noticed but the problem only occurs within a PL/SQL context.
The same query run from SQL is OK. -
Query not returning any rows?
hi experts,
My query running long but not returning any result. i have data , no locks on the tables.
i have bigger ( hardware ) database on different server , where I can get results with same query.
Can you tell me what are the DB settings i have to look at to resolve this issue?
( any sql query that can monitor these parameters ?)
(the tabels involved in this query has 33milliions, 2millions, 7 milllions )
Thanks ..
Edited by: 642877 on Sep 21, 2011 6:46 PMOracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
"CORE 11.2.0.2.0 Production"
TNS for Solaris: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
==========================================================
Plan hash value: 3185710999
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
| 0 | SELECT STATEMENT | | 3 | 423 | 24592 (2)| 00:05:45 | | |
| 1 | HASH GROUP BY | | 3 | 423 | 24592 (2)| 00:05:45 | | |
| 2 | NESTED LOOPS | | | | | | | |
| 3 | NESTED LOOPS | | 3 | 423 | 24591 (2)| 00:05:45 | | |
| 4 | NESTED LOOPS | | 3 | 345 | 24585 (2)| 00:05:45 | | |
| 5 | NESTED LOOPS | | 1 | 84 | 21916 (2)| 00:05:07 | | |
| 6 | NESTED LOOPS | | 1 | 67 | 21915 (2)| 00:05:07 | | |
| 7 | PARTITION LIST ALL | | 2 | 60 | 21913 (2)| 00:05:07 | 1 | 11 |
|* 8 | TABLE ACCESS FULL | ART_CRDT_ACCT_FACT | 2 | 60 | 21913 (2)| 00:05:07 | 1 | 11 |
|* 9 | TABLE ACCESS BY INDEX ROWID| ART_PRTFOL_GRP_DIM | 1 | 37 | 1 (0)| 00:00:01 | | |
|* 10 | INDEX UNIQUE SCAN | ART_PRTFOL_GRP_DIM_INDEX1 | 1 | | 0 (0)| 00:00:01 | | |
| 11 | TABLE ACCESS BY INDEX ROWID | W_MONTH_D | 1 | 17 | 1 (0)| 00:00:01 | | |
|* 12 | INDEX UNIQUE SCAN | UQ_W_MONTH_D | 1 | | 0 (0)| 00:00:01 | | |
| 13 | PARTITION LIST ITERATOR | | 3 | 93 | 2669 (2)| 00:00:38 | KEY | KEY |
|* 14 | TABLE ACCESS FULL | ACCT_CLTRL_RLTNP | 3 | 93 | 2669 (2)| 00:00:38 | KEY | KEY |
|* 15 | INDEX UNIQUE SCAN | UQ_ART_CLTRL_DIM | 1 | | 1 (0)| 00:00:01 | | |
| 16 | TABLE ACCESS BY INDEX ROWID | CLTRL_DIM | 1 | 26 | 2 (0)| 00:00:01 | | |
------------------------------------------------------------------------------------------------------------------------------- -
Basic NOT EXISTS query not returning any results
DB Version: 10gR2
One of our tables in the test schema is having less number of columns than the PROD shema.
To determine which are missing columns in this table in Test schema i did the following.
-----In Test Schema
CREATE TABLE XYZ2
(COL1 NUMBER); ----------only one column
SQL > CREATE TABLE tables_test_list AS SELECT TABLE_NAME,COLUMN_NAME FROM USER_TAB_COLS;
Table created.--- In the prod schema
SQL> CREATE TABLE XYZ2
2 (COL1 NUMBER,
3 COL2 NUMBER ----------- same table name with an extra column
4 );
Table createdAnd from the PROD schema i execute the following SQL to determine what are the columns that are missing in the TEST schema
select column_name from User_Tab_Cols outer
where table_name='XYZ2'
and not exists (select 1 from TEST_SCHEMA.tables_test_list inner where outer.TABLE_NAME=inner.TABLE_NAME )But the above query is not returning any results. Any idea why?Actually, the example from the link I posted earlier:
[email protected]> (
2 select 'IN T1, NOT T2', column_name,data_type,data_length
3 from user_tab_columns
4 where table_name = 'T1'
5 MINUS
6 select 'IN T1, NOT T2', column_name,data_type,data_length
7 from user_tab_columns
8 where table_name = 'T2'
9 )
10 UNION ALL
11 (
12 select 'IN T2, NOT T1', column_name,data_type,data_length
13 from user_tab_columns
14 where table_name = 'T2'
15 MINUS
16 select 'IN T2, NOT T1', column_name,data_type,data_length
17 from user_tab_columns
18 where table_name = 'T1'
19 )
20 / -
XMLTABLE function not returning any values if xml has attribute "xmlns"
Hi,
XMLTABLE function not returning any values if xml has attribute "xmlns". Is there way to get the values if xml has attribute as "xmlns".
create table xmltest (id number(2), xml xmltype);
insert into xmltest values(1,
'<?xml version="1.0"?>
<emps>
<emp empno="1" deptno="10" ename="John" salary="21000"/>
<emp empno="2" deptno="10" ename="Jack" salary="310000"/>
<emp empno="3" deptno="20" ename="Jill" salary="100001"/>
</emps>');
insert into xmltest values(2,
'<?xml version="1.0"?>
<emps xmlns="http://emp.com">
<emp empno="1" deptno="10" ename="John" salary="21000"/>
<emp empno="2" deptno="10" ename="Jack" salary="310000"/>
<emp empno="3" deptno="20" ename="Jill" salary="100001"/>
</emps>');
commit;
SELECT a.*
FROM xmltest,
XMLTABLE (
'for $i in /emps/emp
return $i'
PASSING xml
COLUMNS empno NUMBER (2) PATH '@empno',
deptno NUMBER (3) PATH '@deptno',
ename VARCHAR2 (10) PATH '@ename',
salary NUMBER (10) PATH '@salary') a
WHERE id = 1;
The above query returning results but below query is not returning any results because of xmlns attribute.
SELECT a.*
FROM xmltest,
XMLTABLE (
'for $i in /emps/emp
return $i'
PASSING xml
COLUMNS empno NUMBER (2) PATH '@empno',
deptno NUMBER (3) PATH '@deptno',
ename VARCHAR2 (10) PATH '@ename',
salary NUMBER (10) PATH '@salary') a
WHERE id = 1;
how to get rid out of this problem.
Thanks,
-ManiAdded below one in xmltable, its working now.
XmlNamespaces(DEFAULT 'http://emp.com') -
Table-Valued Function not returning any results
ALTER FUNCTION [dbo].[fGetVendorInfo]
@VendorAddr char(30),
@RemitAddr char(100),
@PmntAddr char(100)
RETURNS
@VendorInfo TABLE
vengroup char(25),
vendnum char(9),
remit char(10),
payment char(10)
AS
BEGIN
insert into @VendorInfo (vengroup,vendnum)
select ks183, ks178
from hsi.keysetdata115
where ks184 like ltrim(@VendorAddr) + '%'
update @VendorInfo
set remit = r.remit
from
@VendorInfo ven
INNER JOIN
(Select ksd.ks188 as remit, ksd.ks183 as vengroup, ksd.ks178 as vendnum
from hsi.keysetdata117 ksd
inner join @VendorInfo ven
on ven.vengroup = ksd.ks183 and ven.vendnum = ksd.ks178
where ksd.ks192 like ltrim(@RemitAddr) + '%'
and ks189 = 'R') r
on ven.vengroup = r.vengroup and ven.vendnum = r.vendnum
update @VendorInfo
set payment = p.payment
from
@VendorInfo ven
INNER JOIN
(Select ksd.ks188 as payment, ksd.ks183 as vengroup, ksd.ks178 as vendnum
from hsi.keysetdata117 ksd
inner join @VendorInfo ven
on ven.vengroup = ksd.ks183 and ven.vendnum = ksd.ks178
where ksd.ks192 like ltrim(@PmntAddr) + '%'
and ks189 = 'P') p
on ven.vengroup = p.vengroup and ven.vendnum = p.vendnum
RETURN
END
GO
Hi all,
I'm having an issue where my Table-Valued Function is not returning any results.
When I break it out into a select statement (creating a table, and replacing the passed in parameters with the actual values) it works fine, but with passing in the same exact values (copy and pasted them) it just retuns an empty table.
The odd thing is I could have SWORN this worked on Friday, but not 100% sure.
The attached code is my function.
Here is how I'm calling it:
SELECT * from dbo.fGetVendorInfo('AUDIO DIGEST', '123 SESAME ST', 'TOP OF OAK MOUNTAIN')
I tried removing the "+ '%'" and passing it in, but it doesn't work.
Like I said if I break it out and run it as T-SQL, it works just fine.
Any assistance would be appreciated.Why did you use a proprietary user function instead of a VIEW? I know the answer is that your mindset does not use sets. You want procedural code. In fact, I see you use an “f-” prefix to mimic the old FORTRAN II convention for in-line functions!
Did you know that the old Sybase UPDATE.. FROM.. syntax does not work? It gives the wrong answers! Google it.
Your data element names make no sense. What is “KSD.ks188”?? Well, it is a “payment_<something>”, “KSD.ks183” is “vendor_group” and “KSD.ks178” is “vendor_nbr” in your magical world where names mean different things from table to table!
An SQL programmer might have a VIEW with the information, something like:
CREATE VIEW Vendor_Addresses
AS
SELECT vendor_group, vendor_nbr, vendor_addr, remit_addr, pmnt_addr
FROM ..
WHERE ..;
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
Hi,
I have some ibots that I scheduled to run on a daily basis and which were working perfectly.
Suddenly the same ibots, they run but the content of the attachment says "The specified criteria did not return any data".
I checked the log files and could not see any relavant error.
If I go back in the report that I am sending through the ibot, it runs without any problem.
I tried to send it in different formats and run as different users, but the results are still the same!
Any idea what else I could check?
Type: Warning
Severity: 50
Time: Wed May 15 14:10:19 2013
File: project/webodbcaccess/odbcconnectionimpl.cpp Line: 199
Properties: RptPath-/shared/MICROS/giuliano/cube_build_verification;SID-btilnnapkfo2omg91a71b9m6n2;bindID-1;connID-31;ThreadID-4640;statementID-364;RSP-o:go~r:report
Location:
saw.odbc.statement.fetch
saw.subsystem.portal.pdf
saw.delivers.rpc.getDeviceContent
saw.rpc.server.responder
saw.rpc.server
saw.rpc.server.handleConnection
saw.rpc.server.dispatch
saw.threadPool
saw.threads
SQLFetchScroll returned code SQL_NO_DATA_FOUNDThanks it solved the issue.
But One more thing Now I have placed the parameters in the where clause of the query
Query-
select field1,field2,field3,field4,field5,job_name,candidate_name,interview_date from etc.ethr_irc_int_details
where field1 is not null
and job_name = :1
and candidate_name = :2
and interview_date = :3
in the VO I am executing
public void iniQuery(String S1, String S2,String S3)
System.out.println("insdie ini query of the VO");
System.out.println("S1 "+S1);
System.out.println("S2 "+S2);
System.out.println("S3 "+S3);
this.setWhereClauseParams(null);
this.setWhereClauseParam(0,S1);
this.setWhereClauseParam(1,S2);
this.setWhereClauseParam(2,S2);
executeQuery();
and in AM
ETHRIntDetailsVOImpl IDVO = (ETHRIntDetailsVOImpl)this.getETHRIntDetailsVO();
// IDVO.executeQuery();
// OAViewObject IDVO = (OAViewObject)findViewObject("ETHRIntDetailsVO");
IDVO.iniQuery(S1,S2,S3);
Row row = IDVO.first();
again I am not getting any data in the row??
Any idea if I am doing any thing wrong..
Please help urgently.
Thanks
Ashish -
Report painter execution error - GR657 - set does not contain any entries
Hello,
During our execution of report we are getting the below error:
Set 0102PCBT1IPROVDIV in set 0002$ZA13#######ROW0236 does not contain any entries
Message no. GR657
Diagnosis
You cannot use empty sets to define reports. The single-dimension set contains a basic set that does not contain any values.
Procedure
Use a set that contains at least one value, or enter values for the set defined.
This has been discussed in a similar Thread in May 2010 by puri & Praveen Jagdeesan,
However I am unable to trace the set & how to delete the blank values.
0002$ZA13#######ROW0236 or ROW0236 in the system.
Set 1IPROVDIV is exisitng in system.
Also when we go to KAH3 - Cost element hierarchy & see in the where used list we are not able to see the set being used in the report whereas the system from where we have exported the report we can see that this set is being used in the report.
Please could you help in resolving the same.Hello Murali,
Thanks for the reponse. But set 0002$ZA13#######ROW0236 is not available in system.
Please could you guide me on the same.
Thanks & Regards
Shreenath
Maybe you are looking for
-
"Cancelled Adobe Creative Suite 5 Master Collection English Windows"- problems downloading the trial
Hi, I'm trying to download the Adobe CS5 Master COllection, but when the "Akamai Download Manager" pops up and should start the download, the two downloadbars disappears and I get the message "Cancelled Adobe Creative Suite 5 Master Collection Englis
-
I already posted on 29th June..but I did not get any response from you. Please consider below procedure. I am using 9i2 database. and I created below tables create table Table1(key1 varchar2(10), num1 integer); create table Table2(key1 varchar2(10),
-
MSI 915p Thoughts & ram questions
Hi All, I'm thinking of buying one of MSI 915P neo2 Platinum motherboards, but i have a couple of questions. Firstly i'm having dificulty finding reviews for this mobo, so i've come here to see what you think of it (unbiased of course). Sec
-
Integrating Oracle EBS R12 with Oracle Access Manager 11g
Hi Everyone , Oracle Access Manager version 11.1.1.5 Oracle Identity Management 11.1.1.6.0 Oracle Access Manager WebGate 11.1.1.5 Oracle E-Business Suite AccessGate patch p12796012 Apps Version : 12.1.1 DB Version 11.2.0.3 PLatform : OEL 5.8 We are t
-
Networking a Windows Vista PC and MacBook
Hey guys. I am trying to share files and a printer connected to my Windows Vista PC. Yesterday I could see the Widnows "public" folders and be able to take files from them, but couldn't put files in the folders. Then I went and set up an account on b