How to find the buffer around a single polygon data..
hi ,
this query about oracle spatial...
please tell me how to create a buffer around a single polygon data.. by passing single polygon co-ordinates as a
parameter..
ex: for a point the following works..
select * from TEMIS where SDO_INSIDE(TEMIS.GEOMETRY ,SDO_GEOM.SDO_BUFFER(SDO_GEOMETRY(2001,32643 ,SDO_POINT_TYPE(70.21931,10.32379,NULL),NULL,NULL),10,0.00000005,'UNIT=KM') )='TRUE'
i want it for a plygon data
iam using oracle 11g version
Edited by: user13340372 on Jun 29, 2010 11:15 PM
Hi,
There is an excellent book which can be bought from Amazon. The following link show some content. Have a look at Chapter 9 on page 305 for discussion of BUFFER and polygons.
http://books.google.com/books?id=-ZDAcf-h3VgC&printsec=frontcover&source=gbs_ge_summary_r&cad=0#v=onepage&q&f=false
This code details a polygon:
MDSYS.SDO_GEOMETRY(
2003, -- 2-dimensional polygon
81989,
NULL,
MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,1),
MDSYS.SDO_ORDINATE_ARRAY(100000,100000, 200000,100000, 200000,200000, 100000,200000, 100000,100000)
Regards,
Ivan
Similar Messages
-
How to find the info packages which have periodic data selections?
Hi,
is there any way we can find the list of infopackages that have data selection enabled only on time? ( say calendar day )
if not, is there anyway to find the list of infopackages which has data selection?
Thanks,
RaviHi Ravi,
what do you mean exactly?
if you are in SE16 or SE11 in the selection screen, you can enable these fields for the selection via menu Setting / fields for selection; then mark FIELDNAME and IOBJNM.
then enter OBJVERS = 'A'
and e.g. IOBJNM = 0CALDAY
or double click in the input box of IOBJNM and select "not equal to" and leave the input box empty in order to see all IPack with a selection on any IObj.
hope this helps otherwise pls let me know
Olivier. -
How to find the Size of an Idoc With data
Hi All,
There is business case where in the partner needs an Idoc with size 200KB - 250KB triggerd from SAP.
Is there any chace of knowing the size of an Idoc with data before it gets tirrgerd from SAP.
Please Help
Thanks,
SumaHi Dinil,
I have provided you with a sample that would show you the how you can get the size of an arraylist
the sample has a page untitled1 and a bean named test.
I have run in on jdev 11.1.2 and it is ok, it will be ok on 11.1.3
after running the sample you will see the 2.
please remember that you must add the JSTL taglib on the viewcontroller.
just right click on viewcontroller, go to tag lib select the jstl.
page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<f:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>untitled1</title>
</head>
<body>
<h:form>
<h:outputText value="#{fn:length(test.a)}"/>
</h:form>
</body>
</html>
</f:view>
bean
import java.util.ArrayList;
public class Test {
public Test() {
a= new ArrayList();
Object o=new Object();
a.add(o);
a.add(o);
ArrayList a;
public void setA(ArrayList a) {
this.a = a;
public ArrayList getA() {
return a;
I hope this sample came handy.
regards, -
How to find the user terminal on a particular date
Hi experts
I need to know the particular user id and which terminal he has triggered tcode MIGO.I have tried with SM21 and the FM TH_USER_INFO,TH_GET_PLUGIN_INFO,TERMINAL_ID_GET,THUSRINFO all this are not giving the details. I need to know the guys terminal id where he triggered the change in good movement before five days.
please guide
regs
balaI know - but it's like that:
- either you have had activated the Security Audit Log at that time, then you can evaluate the Security Audit Logs at any later point of time.
- or you have to be fast in order to evaluate the statistical records (which will be "condensed" after a short period of time)
I'm sorry, but the system does not track all activities and store the information for a longer period of time - just for the case that someone wants to evaluate the traced data at any later time. Only if you have instructed the system to do so (-> activating the Security Audit Log) it will record the events you have decided to be of interest.
Actually it's the same in "real life": if you have installed a surveillance camera at certain spots of interest you'll be able to evaluate the recorded data. Otherwise you have to be fast in order to be able to perform a forensic analysis (evaluating the "natural tracks" - before the rain will wash them away).
Cheers, Wolfgang -
How do I find the position of a single character on a page?
Hi guys,
I am developing a PDFEditor, but am having trouble implementing the code which finds the location of glyph characters on a page (in device space). I have read the pdf reference on Text, but do not quite understand it.
I have worked out the individual character spacings, but I cannot accurately find the location of the first character .
Here is my current attempt:
float y = CGPDFPageGetBoxRect([current_page pageReference], kCGPDFCropBox).size.height-current_matrix_position.y;
float x = current_matrix_position.x;
float xa = a * x + c * y + e;
float ya = b * x + d * y + f;
text_position = [NSValue valueWithCGRect: CGRectMake(xa, ya, 15, d)];
(where text_position is the location of the start character in device space. a,b,c etc come from the Tm operator.
current_matrix_position is set as a point (e,f) from the cm operator.)
This code seems to work with some PDF files:
But does not work with others:
(Note there is text in the box above the blue which cannot be disclosed for reasons...)
Is there something I am missing (like another operator?) or is my formula completely wrong.
Your help would be greatly appreciatedHi Irosenth,
I have been reading the spec and trying to understand it for several weeks. Unfortunately, I am still confused with how to find the coordinates of the text.
>> You need to parse the content stream(s) that are associated with the page and
I have done this. My program finds both the cm operator, the tm operator and the font widths etc. Unfortunately, now that I have all of this information, I am unsure what to do with it.
How do I properly add these two matricies together? I have looked in the spec which describes it as:
x' = a * x + c * y + e
y' = b * x + d * y + f
I tried this and the results worked on some pages, but not on others (several thousand x coordinates out...). I am finding the ISO 32000-1:2008 very confusing in this section.
>> manage what you find there
This is the part I am having major trouble with. Using the coordinate transformation matricies, how can I determine the starting coordinate for the first glyph in a text (BT, ET) on a non-scaled page (so 1 unit = 1 pixel) using the matricies?
Thanks -
How to find the level of each child table in a relational model?
Earthlings,
I need your help and I know that, 'yes, we can change'. Change this thread to a answered question.
So: How to find the level of each child table in a relational model?
I have a relacional database (9.2), all right?!
O /* This is a child who makes N references to each of the follow N parent tables (here: three), and so on. */
/↑\ Fks
O"O O" <-- level 2 for first table (circle)
/↑\ Fks
"o"o"o" <-- level 1 for middle table (circle)
↑ Fk
"º"Tips:
- each circle represents a table;
- red tables no have foreign key
- the table in first line of tree, for example, has level 3, but when 3 becomes N? How much is N? This's the question.
I started thinking about the following:
First I have to know how to take the children:
select distinct child.table_name child
from all_cons_columns father
join all_cons_columns child
using (owner, position)
join (select child.owner,
child.constraint_name fk,
child.table_name child,
child.r_constraint_name pk,
father.table_name father
from all_constraints father, all_constraints child
where child.r_owner = father.owner
and child.r_constraint_name = father.constraint_name
and father.constraint_type in ('P', 'U')
and child.constraint_type = 'R'
and child.owner = 'OWNER') aux
using (owner)
where child.constraint_name = aux.fk
and child.table_name = aux.child
and father.constraint_name = aux.pk
and father.table_name = aux.father;Thinking...
Let's Share!
My thanks in advance,
Philips
Edited by: BluShadow on 01-Apr-2011 15:08
formatted the code and the hierarchy for readbilityJustin,
Understood.
Nocycle not work in 9.2 and, even that would work, would not be appropriate.
With your help, I decided a much simpler way (but there is still a small problem, <font color=red>IN RED</font>):
-- 1
declare
type udt_roles is table of varchar2(30) index by pls_integer;
cRoles udt_roles;
begin
execute immediate 'create user philips
identified by philips';
select granted_role bulk collect
into cRoles
from user_role_privs
where username = user;
for i in cRoles.first .. cRoles.count loop
execute immediate 'grant ' || cRoles(i) || ' to philips';
end loop;
end;
-- 2
create table philips.root1(root1_id number,
constraint root1_id_pk primary key(root1_id)
enable);
grant all on philips.root1 to philips;
create or replace trigger philips.tgr_root1
before delete or insert or update on philips.root1
begin
null;
end;
create table philips.root2(root2_id number,
constraint root2_id_pk primary key(root2_id)
enable);
grant all on philips.root2 to philips;
create or replace trigger philips.tgr_root2
before delete or insert or update on philips.root2
begin
null;
end;
create table philips.node1(node1_id number,
root1_id number,
node2_id number,
node4_id number,
constraint node1_id_pk primary key(node1_id)
enable,
constraint n1_r1_id_fk foreign key(root1_id)
references philips.root1(root1_id) enable,
constraint n1_n2_id_fk foreign key(node2_id)
references philips.node2(node2_id) enable,
constraint n1_n4_id_fk foreign key(node4_id)
references philips.node4(node4_id) enable);
grant all on philips.node1 to philips;
create or replace trigger philips.tgr_node1
before delete or insert or update on philips.node1
begin
null;
end;
create table philips.node2(node2_id number,
root1_id number,
node3_id number,
constraint node2_id_pk primary key(node2_id)
enable,
constraint n2_r1_id_fk foreign key(root1_id)
references philips.root1(root1_id) enable,
constraint n2_n3_id_fk foreign key(node3_id)
references philips.node3(node3_id) enable);
grant all on philips.node2 to philips;
create or replace trigger philips.tgr_node2
before delete or insert or update on philips.node2
begin
null;
end;
create table philips.node3(node3_id number,
root2_id number,
constraint node3_id_pk primary key(node3_id)
enable,
constraint n3_r2_id_fk foreign key(root2_id)
references philips.root2(root2_id) enable);
grant all on philips.node3 to philips;
create or replace trigger philips.tgr_node3
before delete or insert or update on philips.node3
begin
null;
end;
create table philips.node4(node4_id number,
node2_id number,
constraint node4_id_pk primary key(node4_id)
enable,
constraint n4_n2_id_fk foreign key(node2_id)
references philips.node2(node2_id) enable);
grant all on philips.node4 to philips;
create or replace trigger philips.tgr_node4
before delete or insert or update on philips.node4
begin
null;
end;
-- out of the relational model
create table philips.node5(node5_id number,
constraint node5_id_pk primary key(node5_id)
enable);
grant all on philips.node5 to philips;
create or replace trigger philips.tgr_node5
before delete or insert or update on philips.node5
begin
null;
end;
-- 3
create table philips.dictionary(table_name varchar2(30));
insert into philips.dictionary values ('ROOT1');
insert into philips.dictionary values ('ROOT2');
insert into philips.dictionary values ('NODE1');
insert into philips.dictionary values ('NODE2');
insert into philips.dictionary values ('NODE3');
insert into philips.dictionary values ('NODE4');
insert into philips.dictionary values ('NODE5');
--4
create or replace package body philips.pck_restore_philips as
procedure sp_select_tables is
aExportTablesPhilips utl_file.file_type := null; -- file to write DDL of tables
aExportReferencesPhilips utl_file.file_type := null; -- file to write DDL of references
aExportIndexesPhilips utl_file.file_type := null; -- file to write DDL of indexes
aExportGrantsPhilips utl_file.file_type := null; -- file to write DDL of grants
aExportTriggersPhilips utl_file.file_type := null; -- file to write DDL of triggers
sDirectory varchar2(100) := '/app/oracle/admin/tace/utlfile'; -- directory \\bmduhom01or02
cTables udt_tables; -- collection to store table names for the relational depth
begin
-- omits all referential constraints:
dbms_metadata.set_transform_param(dbms_metadata.session_transform, 'REF_CONSTRAINTS', false);
-- omits segment attributes (physical attributes, storage attributes, tablespace, logging):
dbms_metadata.set_transform_param(dbms_metadata.session_transform, 'SEGMENT_ATTRIBUTES', false);
-- append a SQL terminator (; or /) to each DDL statement:
dbms_metadata.set_transform_param(dbms_metadata.session_transform, 'SQLTERMINATOR', true);
-- create/open files for export DDL:
aExportTablesPhilips := utl_file.fopen(sDirectory, 'DDLTablesPhilips.pdc', 'w', 32767);
aExportReferencesPhilips := utl_file.fopen(sDirectory, 'DDLReferencesPhilips.pdc', 'w', 32767);
aExportIndexesPhilips := utl_file.fopen(sDirectory, 'DDLIndexesPhilips.pdc', 'w', 32767);
aExportGrantsPhilips := utl_file.fopen(sDirectory, 'DDLGrantsPhilips.pdc', 'w', 32767);
aExportTriggersPhilips := utl_file.fopen(sDirectory, 'DDLTriggersPhilips.pdc', 'w', 32767);
select d.table_name bulk collect
into cTables -- collection with the names of tables in the schema philips
from all_tables t, philips.dictionary d
where owner = 'PHILIPS'
and t.table_name = d.table_name;
-- execution
sp_seeks_ddl(aExportTablesPhilips,
aExportReferencesPhilips,
aExportIndexesPhilips,
aExportGrantsPhilips,
aExportTriggersPhilips,
cTables);
-- closes all files
utl_file.fclose_all;
end sp_select_tables;
procedure sp_seeks_ddl(aExportTablesPhilips in utl_file.file_type,
aExportReferencesPhilips in utl_file.file_type,
aExportIndexesPhilips in utl_file.file_type,
aExportGrantsPhilips in utl_file.file_type,
aExportTriggersPhilips in utl_file.file_type,
cTables in out nocopy udt_tables) is
cDDL clob := null; -- colletion to save DDL
plIndex pls_integer := null;
sTableName varchar(30) := null;
begin
for i in cTables.first .. cTables.count loop
plIndex := i;
sTableName := cTables(plIndex);
* Retrieves the DDL and the dependent DDL into cDDL clob *
* for the selected table in the collection, and writes to file.*
begin
cDDL := dbms_metadata.get_ddl('TABLE', sTableName, 'PHILIPS');
sp_writes_ddl(aExportTablesPHILIPS, cDDL);
exception
when dbms_metadata.object_not_found then
null;
end;
begin
cDDL := dbms_metadata.get_dependent_ddl('REF_CONSTRAINT', sTableName, 'PHILIPS');
sp_writes_ddl(aExportReferencesPhilips, cDDL);
exception
when dbms_metadata.object_not_found2 then
null;
end;
begin
cDDL := dbms_metadata.get_dependent_ddl('INDEX', sTableName, 'PHILIPS');
sp_writes_ddl(aExportIndexesPhilips, cDDL);
exception
when dbms_metadata.object_not_found2 then
null;
end;
begin
cDDL := dbms_metadata.get_dependent_ddl('OBJECT_GRANT', sTableName, 'PHILIPS');
sp_writes_ddl(aExportGrantsPhilips, cDDL);
exception
when dbms_metadata.object_not_found2 then
null;
end;
begin
cDDL := dbms_metadata.get_dependent_ddl('TRIGGER', sTableName, 'PHILIPS');
sp_writes_ddl(aExportTriggersPhilips, cDDL);
exception
when dbms_metadata.object_not_found2 then
null;
end;
end loop;
end sp_seeks_ddl;
procedure sp_writes_ddl(aExport in utl_file.file_type,
cDDL in out nocopy clob) is
pLengthDDL pls_integer := length(cDDL);
plQuotient pls_integer := null;
plRemainder pls_integer := null;
begin
* Register variables to control the amount of lines needed *
* for each DDL and the remaining characters to the last row. *
select trunc(pLengthDDL / 32766), mod(pLengthDDL, 32766)
into plQuotient, plRemainder
from dual;
* Join DDL in the export file. *
* ps. 32766 characters + 1 character for each line break. *
-- if the size of the DDL is greater than or equal to limit the line ...
if plQuotient >= 1 then
-- loops for substring (lines of 32766 characters + 1 break character):
for i in 1 .. plQuotient loop
utl_file.put_line(aExport, substr(cDDL, 1, 32766));
-- removes the last line, of clob, recorded in the buffer:
cDDL := substr(cDDL, 32767, length(cDDL) - 32766);
end loop;
end if;
* If any remains or the number of characters is less than the threshold (quotient = 0), *
* no need to substring. *
if plRemainder > 0 then
utl_file.put_line(aExport, cDDL);
end if;
-- record DDL buffered in the export file:
utl_file.fflush(aExport);
end sp_writes_ddl;
begin
-- executes main procedure:
sp_select_tables;
end pck_restore_philips;<font color="red">The problem is that I still have ...
When creating the primary key index is created and this is repeated in the file indexes.
How to avoid?</font> -
How to find the user exit for a screen..
Hi,
plz help me how to find the user exit for a screen..?
Regards
AnbuHi,
check this program this will give you the list of user-exit and BADI for the perticular Tcode.
REPORT zuserexit_badi.
TABLES : tstc,
tadir,
modsapt,
modact,
trdir,
tfdir,
enlfdir,
sxs_attrt ,
tstct.
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
PARAMETERS : p_tcode LIKE tstc-tcode,
p_pgmna LIKE tstc-pgmna .
DATA wa_tadir TYPE tadir.
START-OF-SELECTION.
IF NOT p_tcode IS INITIAL.
SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
ELSEIF NOT p_pgmna IS INITIAL.
tstc-pgmna = p_pgmna.
ENDIF.
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name EQ enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
SELECT * FROM tadir INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object IN ('SMOD', 'SXSD')
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(105) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
Sorting the internal Table
SORT jtab BY object.
DATA : wf_txt(60) TYPE c,
wf_smod TYPE i ,
wf_badi TYPE i ,
wf_object2(30) TYPE c.
CLEAR : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
LOOP AT jtab INTO wa_tadir.
AT FIRST.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Enhancement/ Business Add-in',
41 sy-vline ,
42 'Description',
105 sy-vline.
WRITE:/(105) sy-uline.
ENDAT.
CLEAR wf_txt.
AT NEW object.
IF wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
ELSEIF wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
ENDIF.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 sy-vline,
2 wf_object2,
105 sy-vline.
ENDAT.
CASE wa_tadir-object.
WHEN 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE modtext INTO wf_txt
FROM modsapt
WHERE sprsl = sy-langu
AND name = wa_tadir-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WHEN 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
SELECT SINGLE text INTO wf_txt
FROM sxs_attrt
WHERE sprsl = sy-langu
AND exit_name = wa_tadir-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
ENDCASE.
WRITE:/1 sy-vline,
2 wa_tadir-obj_name HOTSPOT ON,
41 sy-vline ,
42 wf_txt,
105 sy-vline.
AT END OF object.
WRITE : /(105) sy-uline.
ENDAT.
ENDLOOP.
WRITE:/(105) sy-uline.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
DATA : wf_object TYPE tadir-object.
CLEAR wf_object.
GET CURSOR FIELD field1.
CHECK field1(8) EQ 'WA_TADIR'.
READ TABLE jtab WITH KEY obj_name = sy-lisel+1(20).
MOVE jtab-object TO wf_object.
CASE wf_object.
WHEN 'SMOD'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
WHEN 'SXSD'.
SET PARAMETER ID 'EXN' FIELD sy-lisel+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
ENDCASE.
Reagards,
Bharat. -
Dear All,
My testing engineers are checking the application from front end, i have to find the current SQL (What SQL queries are used in the application) statements in the back end.
Please let me know how to find the current executing SQL stements.
Thanks in advance
MahiYou need to join this query with one more table - v$sqlstats. There are many statistics in particular cpu_time, elapsed_time etc stored in that table for each sql statement.
You can join v$sqlstats by sql_id until you have multiple child cursors for single statement.
Or you can just join to v$sql and get statistics from there and in this latter case you include child_number column to distinguish child cursors from each other.
Best Regards,
Alex -
How to find the search help for the parameters stmt in a report
hi
how to find the search help for the parameters stmt in a report , that is using which addition to the parameters statementI am not sure if I understood the question,but if you meant how to attach a search help to parameter for which a default search help is not available,you can do that by using addition "Matchcode Object"
Parameter: a type i matchcode object 'Search Help Name'
Search Help name should be in single quotes.
Regards,
Anubhav.
P.S: Award Points if useful. -
How to find the quatity of material in backorders
hi
in which table the backorders get saved.
from the v.15 transaction i got the backorders.
i like to know that how to find the quantity of material which is due in the backorders. what are the fields for backorder quantity of material.
regards
kqSolved in this way
*"*"Local Interface:
*" IMPORTING
*" VALUE(SUBCLASS) TYPE KLSCHL
*" EXPORTING
*" VALUE(CLASS) TYPE KLASSE_D
*" TABLES
*" RETURN STRUCTURE BAPIRET2 OPTIONAL
DATA: lv_clint TYPE clint,
lv_clint1 TYPE clint.
CLEAR: lv_clint,lv_clint1,class.
FREE: return.
SELECT SINGLE clint
FROM swor
INTO lv_clint
WHERE kschl = subclass.
IF lv_clint IS NOT INITIAL.
SELECT DISTINCT clint FROM kssk
INTO lv_clint1
WHERE objek = lv_clint.
ENDSELECT.
IF lv_clint1 IS NOT INITIAL.
SELECT SINGLE class
FROM klah
INTO class
WHERE clint = lv_clint1.
ENDIF.
ELSE.
CONCATENATE subclass 'Subclass not found' INTO return-message SEPARATED BY space.
APPEND return.
CLEAR return.
ENDIF.
ENDFUNCTION. -
How to find the Workbook statistics.
Hi Experts,
Can anyone please tell me how to find the Workbook statistics.
There are more 20 workbooks created from a single query. I want to find out the top 3 workbooks accessed frequently for 1 year.
Please provide your valuable inputs.
ThanksHi,
if statistics cubes are installed and getting loaded every day you can check following reports
0BWTC_C08_Q105
Business Content workbooks
0BWTC_C08_Q103
Business Content DataSources
0BWTC_C08_Q101
Business Content InfoCubes
0BWTC_C08_Q100
Business Content InfoObjects
0BWTC_C08_Q107
Business Content InfoSet queries
0BWTC_C08_Q106
Business Content InfoSets
0BWTC_C08_Q102
Business Content InfoSources
0BWTC_C08_Q104
Business Content ODS
0BWTC_C08_Q108
Business Content Queries
0BWTC_C10_Q014
Query Runtime
0BWTC_C10_Q251
Deleting Data in InfoCubes
0BWTC_C10_Q253
Deleting Data in InfoCubes - Detail, Times
0BWTC_C10_Q254
Deleting Data in InfoCubes - Details, Records
0BWTC_C10_Q252
Deleting Data in InfoCubes - Overview
0BWTC_C10_Q507
Average Time per Query
0BWTC_C10_Q021
Average Time per Query
Thanks and regards
Kiran -
How to find the FND_PROFILE.VALUE(ORG_ID) in custom apex schema
Hi,
How to find the FND_PROFILE.VALUE('ORG_ID') from dual in custom schema......
Actually I have integrated Apex 4.2 version with EBS r12
select FND_PROFILE.VALUE('ORG_ID') from dual ; in apps schema I m getting 198 value
but the same query(select apps.FND_PROFILE.VALUE('ORG_ID') from dual ) in custom schema (XXCVBB) returning null value..
Is there any pre steps I have to do...
kindly provide the useful inputs to retrieve the profile value..........
Regards,
PavanHi,
fnd_profile.value('ORG_ID'); will fetch you value only if there is a organization assigned to any application [or only if its a single Org], being it custom application you should have used set policy context or mo_global.init to populate the global temporary table which will hold all the Org's which that specific user has access too.
in your custom code use MO_GLOBAL.SET_POLICY_CONTEXT('S','ORG ID WHICH YOU NEED TO SET');
after setting the policy context, you should be able to see value from fnd_profile.value('ORG_ID');
Hope this Helps!!
MO_GLOBAL.SET_POLICY_CONTEXT
This procedure has two parameters
p_access_mode
Pass a value "S" in case you want your current session to work against Single ORG_ID
Pass a value of "M" in case you want your current session to work against multiple ORG_ID's
p_org_id
Only applicable if p_access_mode is passed value of "S"
MO_GLOBAL.INIT
Purpose of mo_global.init :-
It will check if new Multi Org Security Profile is set, to decide if new Security Profile method will be used.
If the new MO security profile is set, then mo_global.init inserts one record, for each Organization in Org Hierarchy, in table mo_glob_org_access_tmp
Regards,
Yuvaraj -
How to find the WBS element for the payment document?
Dear All,
How to find the WBS element in the payment document?...I know in payment doc there will not be any WBS but is there any option where I can find in any of the Tables.
I am in the process of developing a Z report where i need to fetch the payment documents based on WBS. Can any one please help me on this.Hi Ram,
As you are not giving any input of WBS at the time of payment you cannot fetch this directly. But to know the WBS for the reporting purpose on which WBS the payment has been made, you can develop a Z-Report. The WBS elements of clearing documents against the payment entry can be fetched out.
In this report if there is a single payment against many invoices also possible with different invoice and WBS elements to be displayed on the Z-Report
Regards
Divya S -
Hi,
How to find the average of table row values it should display in next row in libwindow/CVI
Please let me know the solution.There isn't a built-in function to perform calculations on thable cells. What you can do is to retrieve thable cells values and calculate the average by yourself.
To retrieve a bunch of cells in a single instruction you can use GetTableCellRangeVals: prerequisite for this function to work correctly is that cells are all included in a Rect structure (shortly, a rectangle) and are all of the same data type. See the help for the function for some explanations and the link to an example of its usage. In Cell range parameter you can pass VAL_TABLE_ROW_RANGE (row) macro to retrieve an entire row. See here for details.
Once you have retrieved cell values in an array, you can pass it to Mean function to calculate the average.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
How to find the what version ( Data center or Standard ) of SCOM installed
How to find the what version ( Data center or Standard ) of SCOM installed
Raghavendra BhatRaghavendra, you are true. There are two version of System center
Microsoft considers the Standard version for those who are “lightly” virtualized, i.e., those that do not need an excessive number of VMs running in the organization. The license for Standard includes 2 processors and 2 VMs (or two
OS instances). You can stack licenses if you need to add additional processors or additional VMs in your environment, but there is a breakpoint where it makes more sense, financially, to opt for the Datacenter package. That breakpoint will generally
be around 5 VMs. Pricing is $1,323 for System Center 2012 Standard.
Microsoft considers the Datacenter version for those organizations who are highly virtualized. System Center 2012 Datacenter licenses include an unlimited number of Operating System Environments (OSEs) in an on premises environment
or eight OSEs in a public cloud environment. Large Enterprises and Cloud providers will benefit most from this model. Pricing is $3,615 for System Center 2012 Datacenter.
For more information about licensing and difference between system center Datacenter and standard, you can refer below link
http://myitforum.com/myitforumwp/2012/01/17/new-system-center-2012-suite-versioning-and-licensing-model-simplifies-and-excites/
Please remember, if you see a post that helped you please click (Vote As Helpful) and if it answered your question, please click (Mark As Answer).
Maybe you are looking for
-
Template doesnt fit the entire screen in IE
Hi I tried to use premade templates (both HTML and Flash) by inserting them in Dreamweaver. When I tried to preview in IE how it would look like, the template shows up fine, but it doesnt fill the entire screen. Right part of the screen is white.Does
-
Oracle 11g compatibility with oracle 10g and 9i?
Hi All I have some queries on 11g compatibility. Is oracle 11g client compatible with oracle 10g client which is already installed on desktop? If yes any changes to be done and where? Is oracle 11g compatible with oracle 10g/9i on the same server whe
-
So, I've got people at my company saying Presenter is soooo much better than Captivate for on-line training and tracking. Can someone who is familar with both lay out the pros/cons? Thanks Jimmy
-
EMERGENCY! 1 YEAR PROJECT DEADLINE! HELP~
i've been working on a project for a YEAR now, editing it the whole time thinking that the poor video quality (filmed on a GL2) was just because it wasn't on a DVD. then i burned it onto a DVD, on iDVD, after selecting BEST quality in quicktime movie
-
Problem of updating version 5.0
I try to update my iphone from version 4.2.1 to version 5.0.It was get error=3259 when finished downloading. How to solve this problem & wat to do in the next?