How can i know report_server value
hi all
i installed IDS 10g but i dont know what is the report_server name how can i know it ?
thanks
Its what ever name you gave when you ran;
rwserver -install <servername> autostart=yes
Assuming that your running IDS on Windows, you should be able to find the name in the list of NT services.
Similar Messages
-
How can I get command values from a VI executed by reference ? NEWBIE
Hi,
I'm running a sub-vi in a "Secondary Front Face" (excuse for the
translation if not correct, I'm working on a French version). In order
to run this VI, I pass a reference. All is working fine but I don't
know how can I get the values entered by the user in this VI ?
Actually I run a main VI wich contains a "Secondary Front Face" (this
SFF is contained in a tabbed pane). In my diagramm, I pass a reference
to another VI (by the name of the file *.vi). If my user enter a word
in a text field, I would like to be able to get it in my main app.
Thanks for your help.Hello,
You might take a look at the following tutorial for more information about calling a VI by reference. It's got some great visuals and examples.
Tutorial: Calling a VI by Reference
You might also consider just calling the secondary VI as a simple subVI, if you can spare the memory space when loading the main application, as this is the easiest way to input and output VI values.
I hope this helps! Please let me know if I can be of any further assistance.
Liz F
National Instruments -
How can I return multiple values with PL/SQL Web Services
Hi,
I'm new to developping Web Services. I'm doing some tests with JDeveloper and OC4J on my local machine with a Web Services based on a PL/SQL function within a package. Right now that function only returns one value. So the xml response only has one output.
I'd like to know how can I return multiple values with my PL/SQL Web Service. For example, if I want to return an employee's name and id? And that the xml contains two output : <employee>, <empid>?
Reginald
ps : I have searched the forum and I couldn't find an answer to this question, if that has been discussed AND answered before, can you please post the link? ThanksAlright, I actually found my answer. Since this was asked I think as a followup somewhere else I'll give my answer.
It is very simple, all you have to do is create an Object Type and then Return that object type. After that, JDeveloper will take care of everything and you will have an xml response with multiple values. Here
{color:#ff0000}
create or replace TYPE person AS OBJECT
( id_interv number,
first_name VARCHAR2(50),
last_name VARCHAR2(50),
date_birth date
);{color}
Then your function used in your Web Service should look something like this :
{color:#ff0000}
function info_emp (p_empno IN VARCHAR2) RETURN person AS
l_emp person := person(-1,'','','');
BEGIN
SELECT first_name
,last_name
,emp_no
INTO l_emp.first_name
,l_emp.last_name
,l_emp.emp_no
FROM emp
WHERE upper(emp_no) = upper (emp_no);
{color}
{color:#ff0000}
RETURN l_emp;
EXCEPTION WHEN NO_DATA_FOUND THEN
l_emp := person (-1,'n/a','n/a','n/a');
RETURN l_emp ;
END info_emp;{color}
{color:#ff0000}{color:#000000}After that, this is what the xml response looks like :{color}{color}
<first_name xsi:type="xsd:string">John</first_name>
<last_name xsi:type="xsd:string">Doe</last_name>
<emp_no xsi:type="xsd:string">0250193</emp_no> -
How can we know the return code of BDC Program ?
Hi All,
Please tell me : How can we know the return code of BDC Program when being exceuted in Session or in Transaction mode.
In my program, we are uploading data from Excel sheet to SAP via BDC
The records that are not updated we want to create a log file.
Now to know whether a record is updated ot not, wat syst field shloud be used?
Its urgent....
<b>Reward Point will be there ....</b>
Thanks,
HarishHi harish,
try the logic in this code ...
i had attached input file in the end.
TYPES: begin of errmess,
msgnr type t100-msgnr,
text type t100-text,
end of errmess.
TABLES : t100.
DATA: BEGIN OF DD_VA01,
AUART TYPE VBAK-AUART,
KUNNR TYPE RV45A-KUNNR,
BSTKD TYPE VBKD-BSTKD,
MABNR TYPE RV45A-MABNR,
KWMENG(2) type C,
KBETR(2) type C,
END OF DD_VA01.
DATA:IT_VA01 Like TABLE OF DD_VA01,
WA_VA01 Like LINE OF IT_VA01,
WA_VA01_F Like LINE OF IT_VA01,
IT_BDCDATA TYPE TABLE OF BDCDATA,
WA_BDCDATA Like Line OF IT_BDCDATA,
W_FNAME TYPE STRING,
messtab like bdcmsgcoll occurs 0 with header line,
it_errmess type table of errmess,
wa_errmess like line of it_errmess,
err_message type string.
data: zf1 type i,
zc1 type c value '2',
fn(20) type c.
Main Code ************************************************************
PERFORM get_input using 'C:\Documents and Settings\ic881592\Desktop\Daran_bdc_VA01-e.txt'.
SORT IT_VA01 BY AUART KUNNR BSTKD.
LOOP AT IT_VA01 INTO WA_VA01.
if WA_VA01_F-AUART <> WA_VA01-AUART OR
WA_VA01_F-KUNNR <> WA_VA01-KUNNR OR
WA_VA01_F-BSTKD <> WA_VA01-BSTKD.
PERFORM set_header_flag.
PERFORM create_bdc_header_data.
endif.
PERFORM create_bdc_item_data.
ENDLOOP.
PERFORM call_transaction.
PERFORM errorlog.
Procedures ***********************************************************
form get_input using w_fname.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = W_FNAME
HAS_FIELD_SEPARATOR = '#'
TABLES
DATA_TAB = IT_VA01.
endform.
form call_transaction.
PERFORM bdc_field using 'BDC_OKCODE' '/11'.
CALL TRANSACTION 'VA01' USING IT_BDCDATA MODE 'A' messages into messtab.
refresh it_bdcdata.
endform.
FORM set_header_flag.
WA_VA01_F-AUART = WA_VA01-AUART.
WA_VA01_F-KUNNR = WA_VA01-KUNNR.
WA_VA01_F-BSTKD = WA_VA01-BSTKD.
if zf1 = 1.
PERFORM call_transaction.
endif.
zf1 = 1.
endform. "set_header_flag.
form create_bdc_header_data.
perform bdc_dynpro using 'SAPMV45A' '0101'.
perform bdc_field using 'VBAK-AUART' WA_VA01-AUART.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_dynpro using 'SAPMV45A' '4001'.
perform bdc_field using 'KUAGV-KUNNR' WA_VA01-KUNNR.
perform bdc_field using 'VBKD-BSTKD' WA_VA01-BSTKD.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_dynpro using 'SAPMSSY0' '0120'.
perform bdc_field using 'BDC_CURSOR' '04/06'.
perform bdc_field using 'BDC_OKCODE' '=CHOO'.
perform bdc_dynpro using 'SAPMV45A' '4001'.
PERFORM bdc_field USING 'BDC_OKCODE' '=POAN'.
endform. "create_bdcdata
FORM create_bdc_item_data.
CONCATENATE 'RV45A-KWMENG(' zc1 ')' INTO FN.
perform bdc_field using 'BDC_CURSOR' FN.
perform bdc_field using FN WA_VA01-KWMENG.
CONCATENATE 'KOMV-KBETR(' zc1 ')' INTO FN.
perform bdc_field using FN WA_VA01-KBETR.
CONCATENATE 'RV45A-MABNR(' zc1 ')' INTO FN.
perform bdc_field using FN WA_VA01-MABNR.
perform bdc_dynpro using 'SAPMV45A' '4001'.
PERFORM bdc_field USING 'BDC_OKCODE' '=POAN'.
ENDFORM.
form errorlog.
LOOP AT MESSTAB .
if MESSTAB-MSGNR = '311' or MESSTAB-MSGTYP = 'E'.
SELECT SINGLE msgnr text FROM T100
into wa_errmess
WHERE SPRSL = MESSTAB-MSGSPRA
AND ARBGB = MESSTAB-MSGID
AND MSGNR = MESSTAB-MSGNR.
IF SY-SUBRC = 0.
err_message = wa_errmess-TEXT.
IF err_message CS '&1'.
REPLACE '&1' WITH MESSTAB-MSGV1 INTO err_message.
REPLACE '&2' WITH MESSTAB-MSGV2 INTO err_message.
REPLACE '&3' WITH MESSTAB-MSGV3 INTO err_message.
REPLACE '&4' WITH MESSTAB-MSGV4 INTO err_message.
ELSE.
REPLACE '&' WITH MESSTAB-MSGV1 INTO err_message.
REPLACE '&' WITH MESSTAB-MSGV2 INTO err_message.
REPLACE '&' WITH MESSTAB-MSGV3 INTO err_message.
REPLACE '&' WITH MESSTAB-MSGV4 INTO err_message.
ENDIF.
CONDENSE err_message.
WRITE: / MESSTAB-MSGTYP, err_message .
ELSE.
WRITE: / MESSTAB.
ENDIF.
endif.
ENDLOOP.
endform. "errorlog
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
WA_BDCDATA-PROGRAM = PROGRAM.
WA_BDCDATA-DYNPRO = DYNPRO.
WA_BDCDATA-DYNBEGIN = 'X'.
APPEND WA_BDCDATA TO IT_BDCDATA.
CLEAR WA_BDCDATA.
ENDFORM.
FORM BDC_FIELD USING FNAM FVAL.
WA_BDCDATA-FNAM = FNAM.
WA_BDCDATA-FVAL = FVAL.
APPEND WA_BDCDATA TO IT_BDCDATA.
CLEAR WA_BDCDATA.
ENDFORM.
input file :
OR 2148 0001235 R-1162 8 17
OR 2148 0001235 R-1161 2 30
OR 2148 0001235 100-400 6 25
OR 2148 0001235 R-1162 4 12
OR 2148 0001236 R-1162 3 12
OR 2148 0001236 R-1161 2 30
OR 2148 0001236 100-400 1 25
OR 2148 0001236 R-1162 7 12
OR 2148 0001236 R-1161 8 30
OR 2148 0001236 100-400 10 25
OR 2148 0001235 R-1161 5 30
OR 2148 0001235 100-400 2 25
OR 2148 0001235 R-11621 3 12
OR 2148 0001235 R-1161 2 30
OR 2148 0001235 100-400 1 25
OR 2148 0001235 R-1162 7 12
OR 2148 0001235 R-1161 8 30
OR 2148 0001235 100-400 10 25
OR 2148 0001236 R-1162 8 17
OR 2148 0001236 R-1161 2 30
OR 2148 0001236 100-400 6 25
OR 2148 0001236 R-1162 4 12
OR 2148 0001236 R-1161 5 30
OR 2148 0001236 100-400 2 25 -
How can I know which link was clicked in the link list
Hi everyone
I'm using list of links in my page to display list of the files in some directory.
How can I know which link user was clicked. There are some code:
<%
String dir = "..//files//";
File fin = new File(dir);
File files[]=fin.listFiles();
for(int i=0;i<files.length;i++)
File x = files;
%>
<%=x.getName()%><br>
<%
%>
Please helpYou need to pass some data on the querystring to the page you are linking to.
<a href="Main_Work.jsp?file=<%=x.getName()%>"><%=x.getName()%></a><br>
This will send a parameter called "file" with the value of the file name that the user clicked.
Now in Main_Work.jsp you can access this data as follows:
<%
String s = request.getParameter("file");
File f = new File("..//files//"+s);
%> -
Hi, I would like to know how can i break the value for a row and column once i have converted the image to the array. I wanted to make some modification on the element of the array at a certain position. how can i do that?
At the moment (as per attachhment), the value of the new row and column will be inserted by the user. But now, I want to do some coding that will automatically insert the new value of the row and the column ( I will use the formula node for the programming). But the question now, I don't know how to split the row and the column. Is it the value of i in the 'for loop'? I've tried to link the 'i' to the input of the 'replace subset array icon' , but i'm unable to do it as i got some error.
Please help me!
For your information, I'm using LABView 7.0.Hi,
Thanks for your reply.Sorry for the confusion.
I manage to change the array element by changing the row and column value. But, what i want is to allow the program to change the array element at a specified row and column value, where the new value is generated automatically by the program.
Atatched is the diagram. I've detailed out the program . you may refer to the comments in the formula node. There are 2 arrays going into the loop. If a >3, then the program will switch to b, where if b =0, then the program will check on the value of the next element which is in the same row with b but in the next column. But if b =45, another set of checking will be done at a dufferent value of row and column.
I hope that I have made the problem clear. Sorry if it is still confusing.
Hope you can help me. Thank you!!!!
Attachments:
arrayrowncolumn2.JPG 64 KB -
How can i know which index will be used when executing the query ?
1 ) I have query in which i have 3-4 tables but there multiple index on one column .
so how can i know which index will be used when executing the query ?
2) I have a query which ia taking too much time . how can i know which table is taking too much time ?
3) Please Provide me some document of EXplain plan ?Hi Jimmy,
Consider the below example
/* Formatted on 2011/02/04 21:59 (Formatter Plus v4.8.8) */
CREATE TABLE FIRST AS
SELECT * FROM all_objects;
UPDATE FIRST
SET object_name = 'TEST'
WHERE owner != 'SCOTT';
CREATE INDEX idx_first ON FIRST(object_name);
SELECT *
FROM FIRST
WHERE object_name = 'TEST';
It has not used index
Execution Plan
Plan hash value: 2265626682
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 58678 | 7334K| 163 (4)| 00:00:02 |
|* 1 | TABLE ACCESS FULL| FIRST | 58678 | 7334K| 163 (4)| 00:00:02 |
/* Formatted on 2011/02/04 21:59 (Formatter Plus v4.8.8) */
SELECT *
FROM FIRST
WHERE object_name = 'emp';
This has used the index
Execution Plan
Plan hash value: 1184810458
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 128 | 1 (0)| 00:00:01 |
| 1 | TABLE ACCESS BY INDEX ROWID| FIRST | 1 | 128 | 1 (0)| 00:00:01 |
|* 2 | INDEX RANGE SCAN | IDX_FIRST | 1 | | 1 (0)| 00:00:01 |
From this we can come to the conclusion that, whether to use one index or not by oracle
would also depend on the data which is present in the table. This has to be this way as
we see in the bind peeking, if oracle sticks to only one plan, say only use the full table
scan, it would be a performance hit when it searches for the second query ie where object_name
='emp';
2.
If we have a query like below.
select * from emp
where upper(ename) = upper(:p_ename);
Evenif we have the index on ename column, oracle wouldn't be able to use the index, as there is a function in the predicate column. If you need oracle to use the index, we need to create a function based index as below.
Create index idx_ename on emp(upper(ename));
Regards,
Cool -
How can we know the size of the dimension(in Line item Dim)?
Hi to all experts,
We use Line item dimension if the size of dimension is 20% or more of the fact table. My doubt is that how can v know that the size of the dimesion is 20% or more of FT?. But we never store MD in dimension tables......So please help me to understand this scenario? Thanks in advance.Hi
Normally before modelling you will assume the number of entries in your master data and transactional data..
If your dimension is having 3 characteristics
say A,B .....and these characteristic values are say
A---10,000( Total number of master data records)
B----7,000( Total number of master data records)
then your dimenstion would be 10,000 * 7,000 =700000000
in this case you better keep A in a dimension and B in another dimension.
Normally SAP recommends your dimension table shouldnot exceed 100,000...
so whenever you expect a characteristic is having more values then you should make it as line item...
If you want to add a new characteristic to the existing model then you can decide by comparing the ratio of dimension table to the fact table..
Please have a look at the below url for sizes
dimension size
Hope it helps
Thanks,
Teja
Edited by: Teja badugu on Apr 24, 2008 12:19 PM -
How can i know what SubVI is on SubPanel?
How can i know what SubVI is on SubPanel?
In the main of my application i have three subpanels that open many different SubVI, i need to know what reference of subvi is actually open
what could be the best way to do it?
thanks,
AndresI'm not aware of a way of directly getting the VI reference from the subpanel control after a VI has been inserted into it. Seems like an oversight to me if it's not there. This means you will either have to create a mechanism for saving the reference that's currently open at the time that you invoke the "Insert VI" method, or you can use a roundabout means like getting the run state of a VI or reading an indicator's value, as mentioned in this thread.
-
How can I know which screen-group is?
Hi experts!!
I don't know how can I know which screen-group is associaciate to the values...for example, how can I associate this block to a screen-group for after do this? IF SCREEN-GROUP1 EQ 'DAT'.
SELECTION-SCREEN BEGIN OF BLOCK B9 WITH FRAME TITLE TEXT-017.
SELECTION-SCREEN SKIP.
SELECT-OPTIONS: FECHA FOR P0001-BEGDA MODIF ID DAT.
SELECTION-SCREEN END OF BLOCK B9.
Thanks and regards,
RebecaHi,
Check out this code.
REPORT Z94406_TEST_123 .
TABLES: pa0001,t549a.
DATA: n(6) TYPE c.
SELECTION-SCREEN BEGIN OF BLOCK za2 WITH FRAME.
PARAMETERS:p1 RADIOBUTTON GROUP grp1 user-command a DEFAULT 'X'.
SELECT-OPTIONS: s_prd1 FOR n NO-EXTENSION modif id G1.
PARAMETERS:p2 RADIOBUTTON GROUP grp1.
SELECT-OPTIONS: s_period FOR pa0001-begda NO-EXTENSION modif id G2.
SELECTION-SCREEN END OF BLOCK za2.
AT SELECTION-SCREEN OUTPUT.
if p1 = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'G2' or screen-group1 = 'G2'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
IF screen-group1 = 'G2' or screen-group1 = 'G2'.
screen-input = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Regards,
Syed -
How Can I know, Material status does not allow purchase??
Hi Experts,
Pls. clarify me that, How Can I know/track the follwoing things? Which tables I hv to see?
I hv a list of materials, some r good , some r bad. So, I hv to trace out the bad materials depending on the criteria, So, pls. let me know Which tbls I hv to look?
1) Material does not exist in plant 1500
2) Material status does not allow purchase
3) Decimal places on the quantity may not be supported by unit of measure
thanqthanq
MATNR status:
In our system the values for MARC-BESKZ are
E In-house production
F External procurement
No procurement
X Both procurement types
My requirement: I need to trace the MATNR from matnr_list for Material status does not allow purchase
So, am thinking to write IF condn as,
IF my_itab-matnr <> 'F' or my_itab-matnr <> 'X'.
--> this matnr is Material status does not allow purchase
ENDIF.
Am I correct?
3) Decimal places on the quantity may not be supported by unit of measure
This can be retrieved from table T006
I hv seen but, DO NOT UNDERSTAMD THIS TABLE entries, bcoz, there r values of 0 & 1 for the DECIMAL PLACES filed, partcularly for EA unit - devciaml places value is 0?
pls. clarify,
thanq -
How can we know in classic scenario, whether confirmation has been done in
Hi ,
In Self service procurement with classic scenario:
I believe that we can do confirmation in EBP or in R/3.
How can we know in classic scenario after confirmation, whether confirmation has been done in EBP or in R/3.
Also please give an idea is there any configuration difference for confirmation need to do in EBP.
thanks
RESHMAHello Reshma,
>
Reshmab wrote:
> How can we know in classic scenario after confirmation, whether confirmation has been done in EBP or in R/3.
> (...)
Using Web GUI (ITS or Portal), if you look at the SC history (or PO history) in table mode, if column where you find SC number as no value for confirmation (confirmation with SRM number range), this means PO was confirmed directly in R/3 with a Goods Receipt.
Using SAP GUI, if confirmation was done in SRM purchasing document exists in CRMD_ORDERADM_H for PROCESS_TYPE = 'CONF',
>
Reshmab wrote:
> Also please give an idea is there any configuration difference for confirmation need to do in EBP.
> (...)
There is no specific customizing to allow SRM confirmation: just give correct role to users in order access to confirmation transactions (authorization object BBP_PD_CNF ). Check with roles EMPLOYEE* or PURCHASER*.
Regards.
Laurent. -
How Can I know about any change happened in the page??
........... I Use JDev 11g ........
How Can I know if any change happened in the page???
for example:
I have a page and I press a creation button that create a new row in view object I want when I press any button that will call another page the page ask a user Are you want to save changes? before leaving a page.
Or
I edit the value in a view object but not committed ( I didn't commit the data in database ) . When I want to leave the page I want to display a message say : Are you want to save changes?
How can I do that?
Thank You...
Sameh NassarCheck out http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html Example 60. Do not go by the 'on page load' name... This approach will allow you to plug in your custom code at any 'phase' of your adf life cycle. You can capture any request coming from your page, and check for pending transaction states and act accordingly.. I realize that the reply is a little abstruse, but this is not a drag-drop-smile requirement.. :-)
http://download.oracle.com/docs/html/B25947_01/bcdcpal005.htm#sm0271
Julian -
How can i know the logging time per data acquisition?
Hi There,
I'm using SignalExpress version 2.5.1 Tektronix Edition.
I'm connecting my PC with a Tektronix Oscilloscope through Ethernet cross-cable.
I use SignalExpress to log the data, the question is how can i know what will the time be for each data that acquire and saved in the log?
As inside the log, under the time row, it just only show number in sequence but not time.
Hope that some one can help me on the matter.
Thanks in advance.
Good Day!hi Priyanka,
you can try
1. check in metadata repository to get the data target name. rsa1->metadata repository->query
2. if query exist in system, go to BEx Analyzer, type in query technical name or description, and 'change'/display the query in query designer, data target name is on right side (cube/ods).
or 3. go to table RSRREPDIR, COMPID = query technical name, and INFOCUBE is the data target name. (if you only know query description, go to table RSZELTTXT, get ELTUID and put the value to COMPUID in RSRREPDIR to get INFOCUBE the data target name)
after got the data target, go to rsa1->infoprovider, locate the data target, and right click 'show dataflow', you will get the datasource name.
hope this helps. -
How can I know the database is using Cost Based or Rule Based?
Hi all expertise,
How can I know the database is using Cost Based or Rule Based?
If cost based it is using, what methods are need to use to minimize the cost when database is running? And which tables I can see the performance of the database?
Thanks
Amyhow to see database setting ?
use this
SQL> sho parameter optimizer
NAME TYPE VALUE
optimizer_dynamic_sampling integer 1
optimizer_features_enable string 9.2.0
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_max_permutations integer 2000
optimizer_mode string CHOOSE
choose means if table statistics is available then it will use cost
else
use rule based optimizer
for seeing performnace of table use
set autotrace on
and run your query
if it doen't show cost.it means it use rule based
for using cost based
u will calculate table statistics
9i
dbms_stats.gather_table_stats('owner','table');
8i
analyze table <table_name> compute statistics;
hope it will help you
kuljeet pal singh
Maybe you are looking for
-
In Windows 8, how can I see an image of the psd file instead of the Photoshop icon?
In Windows 8, how can I see an image of the psd file instead of the Photoshop icon?
-
I hid a folder with terminal and now I can't get it back.
Hey guys, I used this chflags hidden /Users//craigsequeira/Desktop/School Work in terminal to hide my "School Work" folder and now I don't know how to get it back! Could you guys help me out cause there is a lot of data in there!
-
Selecting Multiple columns in Sub-query
Hi All, I've been using three co-related queries to fetch data as shown below in the pseudo code. All these sub-queries are same, except the column name. I want to avoid the same query to be executed thrice for three columns. Is there any way to avoi
-
Unable to do Software update, access iTunes, use widgets on dash and upload
*_Here is the problem:_* 1. Unable to use Software Update. When I try I get: "+A networking error has occurred: timed out (-1001). Make sure you can connect to the Internet, then try again+" This is despite being connected to the internet and getting
-
A nice reverb plugin for final cut ?
Hi, I'm looking for an audio reverb plugin to works with FCP. I know I can use Soundtrack, but I only need a nice reverb from time to time. Any suggestion ? Thanks