Query Regarding to create new TNS
Hi,
I want to create new TNS . Kindly suggest me how I create new TNS?
I assume "new TNS" means a new connection string (TNS alias). If so, then use Net Configuration Assistant from Oracle menu.
In alternative you can manually edit your tnsnames.ora, but I strongly recommend the first one.
Similar Messages
-
Query regarding inserting a new row at first row data table
hi all,
I have a doubt regarding the insertion of new row in data table.I am now using the following code
if (skillDataProvider.canAppendRow()){
RowKey rowkey = skillDataProvider.appendRow();
skillDataProvider.setCursorRow(rowkey);
String skillID=getSkilID();
skillDataProvider.setValue("Skill.SkillID", rowkey, skillID);
int rowID=Integer.parseInt(rowkey.getRowId());
tableRowGroup1.setFirst(rowID);
Its working fine.But this code gives me provision to add the data at the last of the table.I need it to be at the first row.I tried
RowKey rowkey=skillDataProvider.insertRow(skillDataProvider.getRowKey(String.valueOf(0)));
but it shows some null pointer exception.Can anyone help me?
Thanks in advance
SreeI think AChervov has the right idea here.
CachedRowSetDataProvider.canInsertRow(beforeRow) returns false, so you cannot insertRow().
Therefore, you'll need to control the sort order yourself. I'd add a sort field to the database. Then use TableRowGroup.setSortCrtieria() to control the table display order. Or commit the append to the database immediately and reselect (refresh) the provider (assuming the provider has the desired "order by"). -
BO( WEBI,QAAWS ) can't sustain bw query : create new calculate Key Figure ?
I create three new calculate Key Figure : TotalQty1,Rate1,TotalRate1 on bw query. Return values:
TSAS defect1 Qty TotalQty1 Rate1 TotalRate1
weight inaccuracy 33.000 33.000 37.500 % 37.500 %
poor function 10.000 43.000 11.364 % 48.864 %
gap out of spec 9.000 52.000 10.227 % 59.091 %
scratch /crack/ dam 8.000 60.000 9.091 % 68.182 %
broken glass/mat 5.000 65.000 5.682 % 73.864 %
missing display 6.000 71.000 6.818 % 80.682 %
assembly defect 4.000 75.000 4.545 % 85.227 %
plastic deformed 4.000 79.000 4.545 % 89.773 %
no function 4.000 83.000 4.545 % 94.318 %
poor printing 5.000 88.000 5.682 % 100.000 %
But Create on universe connect to this bw query, I used QAAWS and WEBI to runat , TotalQty1,Rate1,TotalRate1 key figure values are Qty value, that is error:
TSAS defect1 Qty TotalQty1 Rate1 TotalRate1
weight inaccuracy 33 33 33 33
poor function 10 10 10 10
gap out of spec 9 9 9 9
scratch /crack/ dam 8 8 8 8
broken glass/mat 5 5 5 5
missing display 6 6 6 6
assembly defect 4 4 4 4
plastic deformed 4 4 4 4
no function 4 4 4 4
poor printing 5 5 5 5
pho:
BW QUERY: [http://space.itpub.net/attachments/2010/04/10339719_201004211645561.thumb.jpg|http://space.itpub.net/attachments/2010/04/10339719_201004211645561.thumb.jpg]
WEBI:[http://space.itpub.net/attachments/2010/04/10339719_201004211637351.thumb.jpg|http://space.itpub.net/attachments/2010/04/10339719_201004211637351.thumb.jpg]
QAAWS:[http://space.itpub.net/attachments/2010/04/10339719_201004211637591.thumb.jpg|http://space.itpub.net/attachments/2010/04/10339719_201004211637591.thumb.jpg]
Why? BO can't sustain bw query : create new calculate Key Figure ?
Who to figure out this question?
Because I can't to do create new calculate Key Figure in webi or Xcelsius ,So ,I create new calulate Key Figure on BW QUERY.
Thank you.
BestRegards,
Howard.
Edited by: flying on Apr 21, 2010 10:48 AMHI Ingo,
Didier Mazoue say universe accept bw query Restricted KF and calculated KF :
[ Restricted and calculation keyfigures| Restricted and calculation keyfigures]
Why I create new Restricted KF and calculated KF for bw query, QAAWS,WEBI are can't return ok datas for new Restricted KF and calculated KF ?
I create KF on Universe :
select ued : <EXPRESSION>@Select (Key Figures\Qty)</EXPRESSION> OR <EXPRESSION>SUM(@Select (Key Figures\Qty))</EXPRESSION>
parse error: Parse failed:Invalid definition(UNV0023)
Thank you.
Regards,
Howard.
Edited by: flying on Apr 23, 2010 6:00 AM -
Unable to create new query using query manager
Hi friends,
I have been trying to create a query using query manager for couple of hours but still not able to.I am following the instructions given in oracle Peopletools 8.52 : Peoplesoft query
Chapter - creating new queries.
Below are the steps I am going through to create new query:
Step - I open the component Reporting Tools-> Query->Query Manager , I don't get the tabbed pages one for search an existing query and another for create new query.
Please follow this link to see how the page is displayed in first step:
http://uploadpic.org/v.php?img=EvMvVAXX1E
Step 2 - When I click on create new query link, I am redirected to a page where it asks for record name to add in the query. But, even this page is not displayed as how it supposed to be
http://uploadpic.org/v.php?img=GzHh3f6krU
Step 3 - Following the above step, when I click on Person record to add into my query I am asked to select the fields that I want to display in the output.
But I somehow do not get the proper tabbed pages where individual pages are there to add the attributes to complete the query like adding multiple records, fields, query, expressions, prompt...etc
http://uploadpic.org/v.php?img=Wbbla3Q3jE
I am neither able to select multiple records in my query nor able to customize my query to get the desired results.
Below is the query that I want to create using query manager:
SELECT P.EMPLID,P.BIRTHDATE, N.NAME, A.ADDRESS1, A.ADDRESS2, A.CITY
FROM PS_PERSON P, PS_NAMES N, PS_ADDRESSES A
WHERE P.EMPLID = N.EMPLID AND
N.EMPLID = A.EMPLID AND
P.BIRTHDATE BETWEEN to_date('1990/1/1','yyyy/mm/dd') and to_date('1991/1/1','yyyy/mm/dd');Hi,
As I cannot access your screenshot by the blocking of company firewall rules.
I'm guessing currently you are using PT 8.52.00 version, correct?
This should be a bug, that you need to apply the 8.52.0X patch, not sure which patch fix this, you can apply the latest one to solve this issue for no tab page of query manager. (PT 8.52.06)
Hope this helps.
Thanks,
Saxon SI -
Creating new records while querying existing record
Hi,
I have one master - detail form.
First i created 1 record. Request ID is the primary key. Now request id generated. For ex.: 10
Request Id, date, requestor , location, status fields are in header block.
In lines block, i hv some other fields.. and one field called 'Activity'.
While creating first record, the activity will be 'New'.
Then i'll query the record '10'.
when i'm changing the activity 'New' into 'Upgrade', it should create new record with new request ID.
How to do this?
I hv written procedure that, i'm taking field values to local variables. Then assigning the local variable values to field values.
It is not creating as new record. It overwriting the existing record with new values. Existing record is missing.
Pl. give steps.
Thanks
KaviHi,
Okk, you will have to do two things. Create two trigger on block level on which you want to do your changes.
1. First trigger. (PRE-UPDATE)
In pre-update trigger u will have to write the complete insert statement into the same table with new req id. like
DECLARE
vReqNo DATA_TYPE;
BEGIN
SELECT MAX(REQ_ID)
INTO vReqNo
FROM your_table;
INSERT INTO your_table
(req_no, fields....)
VALUES
(vReqNo, :forms_values);
END;
2. Create 2nd trigger on block level (ON-UPDATE)
write in this trigger
NULL;
for viewing the inserted record. What u have to do is in ON-UPDATE after null; create one timer NO_REAPEAT.
and in timer u will have to set the block property to req_id = generated_req_id_from_pre_update_trigger and
execute_query;
hope it will work...
-Ammad -
Enabling Create New Query and Personalize in Check Status
Hi All,
We followed below steps Enable Create New Query and Personalize in Check Status
Go to the role of the user - PFCG - Authorizations - Change authorization data - Cross-application authorization objects - authorizations for Personal Object Work List (POWL) iViews
Specified the application ID POWL_APPID - SAPSRM_E_CHECKSTATUS
What should be done to enable define query and personalize for all users.
We have changed the following settings -
In activity POWL_CAT - '??' , POWL_LSEL-DISALLOWED - POWL_QUERY - ?? , POWL_RA_AL - ?? , POWL_TABLE - ??.
With our current settings Create New Query and Personalize in Check Status appear but are disabled (greyed out)
New Query Button appears but clicking on it produces no output.
Nikhil
Edited by: Nikhil Malvankar on Sep 12, 2011 5:57 AMYou could the following to check if the Query still exists in the database:
Open SQL Management Studio and connect to the SQL Server hosting the ConfigMgr database
In SQL Managemnt Studio, Expand Database, Expand CM_YourSiteCode
Expand tables and find the dbo.Queries table
Right-click the dbo.Queries table and select Select Top 1000 Rows
See if you can find your "ghost" Query
Please note - it IS NOT supported
to make direct changes to ConfigMgr database so I would properly call PSS on this one before you start getting creative. -
Please help me regarding VAR customer create new message in work center
Hi, guru
I have encountered with a problem regarding, for example, when VAR customer 'X' create new message in work center and specify message processor to partner no '1' (partner no 1 has employee role with username 'A' in BP) but when username 'A' log on and open work center via SAPGUI to find a new message created to him, username 'A' did't got a new message from VAR customer 'X' whom choose specify message processor to him and work center show My Messages (0)
why, do I set something config wrong ?
Any recommend would be appreciated
thank you very muchHi
1) can you check in CRM_DNO_MONITOR and oepn the ticket , whethere the processor name appearing in the ticket?
2) Does your customer assign the processor manually or any automatic support team assgnemt, if so please verify your automatic support tean assignment against the blog
[/people/dolores.correa/blog/2007/10/06/service-desk-support-team-determination|/people/dolores.correa/blog/2007/10/06/service-desk-support-team-determination]
3)Might be an authoraisation issue of the Processor. assign SAP_ALL access and check again
[Service desk roles|http://help.sap.com/saphelp_sm32/helpdata/en/0a/f12c41ab78f66fe10000000a1550b0/content.htm]
Thanks,
Jansi -
Hi i am new to SCN. I want a help regards SAP-PM . Where to post any query regards SAP PM
Please check this link SAP Portfolio and Project Management (SAP RPM, cProjects) and cFolders
Please check scn index to find relevant forum link.
SCN Site Index -
Mediator creating new transaction for Query Database Operation
Hi,
I'm developing a project that uses a mediator and a bpel database adapter for database queries. The mediator is always creating new transactions, generating an additional overhead for the project. How to make a setting so that the mediator does not create new transactions ? There is some property ?are you opening new session every time in toad to execute your query?if so it may be the reason, its marked in the trigger.
please mark answered post as helpful / correct -
Convert Query to Formula: BexSetData - Create New Characteristic Combinatio
Hello experts,
I try to save data from an excel workbook via formula BexSetData.
When I change only Key Figures and save data, everything works fine.
But when I try to change the value of a characteristic, the result of the BexSetData-Formula is #NV. This is just the case when I change the characteristic value to a value which doesn't exist in the cube. If I change to an characterisitc combination, which already exist on the cube, everything works fine.
Is it possible to create new charecteristic combinations by using BexSetData?
Master Data is available for the characteristic value.
Thanks in advance
JohannesHello Rik,
thanks a lot for your answer.
the master data for the characterisitc values already exist.
but there is no data record in the cube with the same characterisitc combination.
example:
The following data is on the cube
Plan | Period | Key Figure
A | 012.2009 | 1000
Now I want to create a new data record on the cube with a new Period (master data exist in info object) via BexSetData
Plan | Period | Key Figure
A | 012.2010 | 1000
Thanks
Johannes
Edited by: Johannes Hilscher on May 28, 2010 5:09 PM -
Query regarding new threads being spawned during rollback operation
Hi,
During a DB operation there are stuck threads that arise because of long time taken to execute the DB operation.
The STUCK thread is acquiring lock on the database driver..
My Queries are:::
Will container create new threads to rollback transaction?
There is a parameter recover only once in xa params.. ? What is the default value for this parameter and is it recommended to use?
Edited by: $vicky$ on May 11, 2010 10:23 AMCould you check your transaction timeout attribute of your JTA environment and compare this to the server's stuck thread time (configuration health tab). If your transaction time-out is higher than the stuck thread time you must make some adjustments here.
If you are using EJB's and container managed transactions you set the transaction time-out of a particular EJB in the weblogic-ejb.jar deployment override, for example
<weblogic-enterprise-bean>
<ejb-name>MyEJB</ejb-name>
<transaction-descriptor>
<trans-timeout-seconds>100</trans-timeout-seconds>
</transaction-descriptor>
</weblogic-enterpise-bean>
In addition you can use a custom workmanager - to configure the stuck thread time for a particular EJB, for example, (this can also be configured by using the console environment --> work managers)
<work-manager>
<name>VoorbeeldWorkManager</name>
<response-time-request-class>
<name>VoorbeeldRequestClass</name>
<goal-ms>1000</goal-ms>
</response-time-request-class>
<max-threads-constraint>
<name>VoorbeeldConstraint</name>
<count>100</count>
</max-threads-constraint>
<capacity>
<name>VoorbeeldCapacity</name>
<count>100</count>
</capacity>
<work-manager-shutdown-trigger>
<max-stuck-thread-time>300</max-stuck-thread-time>
<stuck-thread-count>5</stuck-thread-count>
</work-manager-shutdown-trigger>
</work-manager>
By using a dispatch policy you can couple this to your EJB
<weblogic-enterprise-bean>
<ejb-name>MyEJBk<ejb-name>
<dispatch-policy>VoorbeeldWorkManager</dispatch-policy>
</weblogic-enterprise-bean> -
Query regarding Opened/Closed GL periods
Hello Gurus,
ive got an issue, when using 0FIGL_C01 Cube.
The query ive created balances on cumulative balance (as key figure) and GL account names (as hierarchy).
Now i want to show the data of cumulative balance regarding closed periods.
I.e. if we have current April month the balance should be 0, but all other in the past January, February, March should be displayed.
How it is possible to do this?
Ive tryed to create a calculated key figure, whith code something like:
IF debit and credit == 0 then Cummulative balance=0 else Cumulative balance.
It works fine but it shows also the postings of current period, which isnt realy closed.
Tried to search the indicators of FI open/closed periods, but the only thing i found is S_ALR_87003642 - Open and Close Posting Periods transaction showing Company code, GL account ranges and from to period data.
What could be the sollution for this? Should i create new DS for the mensioned TC and then to create a multicube or perhaps is a better and faster way in doing it?
Thanks a lot in advice
Laurynas PrikockisHi Shrikant,
>
Shrikant Varma wrote:
> Yes, I could consider using belnr selection to reduce the size of the selection. This will again be a selection more
> based on knowledge of application(of course with fine tuning of packet size).
> But then this approach will not be as efficient and as easy as letting database take control of the iteration of this
> huge dataset - as is intended by the use of cursors with the help of packet size.
>
I'm not sure what you mean here: "let the database contorl the iteration of this huge dataset - with cursors".
Generally speaking you have 2 options when it comes to parallel processing:
Parallelize processes in the ABAP stack. These processes access different, non-overlaping, parts of your restult set
in parallel. Using the BELNR could be an approach to build different, non-overlapping paackages.
Database side parallelization. This is possible for every action that uses multiblock I/O (full table scans and index fast full scans) and for partitioned segments. For non-partitioned segments and single block I/O database side parallelization is not possible.
So, generally speaking, you have 3 options:
1.) parallelize in ABAP and build idependent packages
2.) force the DB to do multiblock I/O (full table scan, index fast full scan) in parallel
3.) partition your table and indexes.
I think (it's just my opinion) for an ERP (not BW / BI) system
- option 3 is not a good option for OLTP systems (several reasons). I see it very, very, very rarely or close to never in OLTP systems
- option 2 may read (much) more data then you would need to read, although a very efficient I/O method would be used (multibock I/O)
- option 1 requires programming in ABAP but will read exactly the data you need to read and can be controlled very well in the ABAP stack (parallel single block I/O will be used)
In alamost all cases (that are similar to your case) i have see option 1 was used.
Kind regards,
Hermann -
Report template error when creating new report via SAP menu
Hi everybody,
we have the following error on our system:
When trying to create a new crystal report on a SAP query, using the entry "Create new report from a SAP query" in the SAP menu an error occurs: An error ocurred while generating a new report template
The error message appears after the SAP logon and the SAP query selection.
I think this error is related to the report templates of Crystal...
Is there any default template for SAP integrated queries?
We are using Crystal Report 2008 SP2 with SAP Integration Kit.
Thanks for any helps and comments.
SebastianThe following SAP note might help you
[https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333333363337333633343330%7D.do]
Regards,
Raghavednra.G -
Query regarding Crystal Reports Server
Hi,
I am new to Crystal Reports.
I have created a couple of .rpt files using CR2008 and I am loading these report files in my aspx pages using CrystalReportViewer control.
I am planning to host my webApp on IIS in production environment. Maximum simultaneous/concurrent connections to my reports would be 1 or 2.
My question is:
1. Do I need Crystal Reports Server in this scenario?
2. In future if the number of concurrent users to report increases then do I need to go for Crystal Reports Server? Will just buying and installing the Crystal reports server on production server work? or will I have to do some configuration or some other changes in the existing deployed reports? OR Will I have to deploy my existing reports on Crystal Report Server again?
Any help will be highly appreciated.
Thanks in advance,
ManishManish, please do not cross post:
Query regarding Crystal Reports Server
See the [Rules of Engagement|http://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] for more details.
Marking this thread as answered and locking...
- Ludek -
Creating new DMS info record directly from purchase order transactions
Hello Everybody,
does anyone knows of a way to make it possible for users to Create New DMS info record directly from the purchase order transactions ?
e.g:
in ME22N there is a button of "Documents" for an item level in the order, but that button only allows to link an existing info record.
Link To a screenshot:
http://img263.imageshack.us/i/me22n1.jpg/
Regards,
Yossi Fridman.hi
This query has already been addressed in the following Forum by Christoph Hopf..
pls chk link below.
Create DIR through P.O and Sales order screen
Thanks
john
Edited by: johnpp on Feb 15, 2011 11:54 AM
Edited by: johnpp on Feb 15, 2011 11:57 AM
Maybe you are looking for
-
How to save an excel file as CSV with semi-colon as data separator?
We are creating a flat data file to load the flat file data to our BW system with Excel. When we save the file, there are three kinds of CSV types for selecting from the "Save as type" list box: CSV (Comma delimited) CSV (Macintosh) CSV (MS-DOS) The
-
External Display Blurry when Mirrored
I have a 20" viewsonic VX2035 that is hooked up to my gaming rig. If I use it with my MBP and choose the mirror displays setting, when the Viewsonic is at its proper resolution (1680x1050) everything looks blurry. When at its correct resolution and n
-
Hi helpers, I am beginner in this area and have few queries which are not cleared after searching the existing posts. This is with reference to Available SAP BADI. 1. What is the exact use of the Adapter Class in BADI ? 2. All the implementation for
-
Gray screen of death on startup - Please Help!
Hey everyone, my mini is 6 days old and is giving me some trouble. I used it just fine last night, shut it down, and this evening it won't boot up. It gets stuck at the gray screen with the spinning progress wheel. I unplugged all the peripherals, in
-
Unable to install Adobe Flash Reader
Despite having repeatedly having installed the latest version of Adoby Flash Reader. I am continually told that I do not have it installed. It is in my programs folder with thge control panel. Argyllbill.