Changing the default port while executing the query
Hi gurus,
Please help me with this problem. When I open a query in BEx Analyzer 3.x, I get this option to launch the query in web browser, now, when I click on this option, there is a new IE explorer that opens up and the address bar shows up the following address.
http://<My Host name>:8100/sap/bw/bex?<The query>
Now, I want to change this port to 8000 by default, what are the settings that I have to change. I tried searching it everywhere, but to no avail, Any help would greatly be appreciated.
Regards,
Sree.
I got the answer on my own for this quetion guys,
The function module RSBB_URL_PREFIX_GET is used to generate the URL in BW. That is, when you click "Launch in Web Browser" in the BEx Anaylzer, "Display Query on the Web" in the BEx Query Designer or "Execute in the browser" in the Web Application Designer, the function module is called and this returns the protocol, host, domain, port and service.
The function module essentially runs through three steps:
Determine the settings on the application server and generate the URL for the application server.
Determine the settings relating to the message server, provided that it is used, and replace the host and port of the application server URL with the values for the message server.
Check whether an exception is defined for the URL generated in the previous two steps, and, if required, replace the host and port with the values from the exception.
First, the application server settings are created. If a message server is used, the settings relating to host and port are replaced with the message server settings. If an exception is maintained, the host and port are replaced in turn by the exception.
Hence a simple conclusion to this problem is that you need to maintain an exception or an entry in the table HTTPURLLOC, this can be done via SE11. the following fields appear and use the entry as shown below...
Client <default client>
Sort/Search/Match Sequence (First Match Wins) <Can be Numerical numbers 1 2 3 etc, depending on the priority>
Protocol for URL (TRANSLATE TO UPPER CASE) <http, https etc (Whatever you want to be used in the url)>
Application Key (BSP=/BSP/Namespace/Name) (*=wildcard&UPPER) <I don't know what does this mean and so used *>
Target Domain, (* = Wildcard & UPPER CASE) <Used * here again.>
Host Name with Domain <The hostname u want to appear in the address field>
Port Number <The port number>
Similar Messages
-
Precautions to be taken while changing the Query read mode in PED system
Dear Experts,
I got a task to change the Query Read mode for more No. of queries in Production system directly itself.
Request you to let me what are the steps to be followed/precautions to be taken while changing the Query Read mode in PED.
one more doubt regarding this.....If i plan to change the Read mode of Query say Q1, how can i come to know weather the Q1 is executing or not executing by that time.
Thanks in advance for valuable response.
Thanks & Regards,
Ramesh - KumarHello,
You can change the query read mode in transaction 'RSRT', here are the steps:
1) Access transaction RSRT and enter the query name
2) Select the 'Properties' option
3) Un-check the 'Info provider' setting next to the 'Read mode' --> This enables you to change the read mode of the query --> Execute
4) Choose the option 'Generate Report' to re-generate the query program
Hope this info helps.
Thanks
Bala -
Multi Provider Changes - The Query cannot be executed
Hello,
I added a new characteristic to an existing multiprovider on which queries already exist.
I changed one of the existing queries adding that newly added characteristic.
Now the query cannot be executed. Please see the log...
I could successfully execute the query in RSRT....
Diagnosis
Characteristic 0BILL_TYPE is used in the Query Designer, but was deleted from the InfoProvider.
System response
The query cannot be executed.
Procedure
Characteristic 0BILL_TYPE is used in the query to be executed even though it was deleted from the InfoProvider. The problem can be solved by changing the query in the Query Designer. Here, you get a repair proposal, which removes the missing InfoObject from the query. Afterwards, check whether or not the query was defined correctly.
You can also delete the query.
Additional technical information:
IOBJNM = 0BILL_TYPE
ELTUID = Sell-In Qty
ELTTP = SEL
Notification Number BRAIN 407
Close
Any siggestions of how to adjust the multiprovider.
Thanks,
VishThe check in query designer says that query is correct.
Only when I try to execute using the web it says that Char doesn't exist in infocube.
The query works fine in Analyzer & RSRT....I guess something got to do with the Browser or web..
Thanks,
Vish -
Problem while changing the query of the field in Oracle apps 11.5.10
Hello All,
Requirement:
User want to change the query of the LOV attached to Ordered item field on Line items tab on the Sales order form in Order managment
Block name = 'LINE'
Field name = 'ORDERED_ITEM_DSP'
LOV attached to this field in FMB: ITEMS
LOV attached to this field in front end: ENABLE_LIST_LAMP
Problem: Following code is firing at all points (Debug messages are appearing at all points) but Query of the LOV attached to item is still same.
How can in FMB LOV is "ITEMS" and in front end "ENABLE_LIST_LAMP"
My guess is there is some problem with the LOV name which we are passing in the code below. Because LOV name attached to item are different in front end and FMB. There is no LOV in FMB which has “SYSTEM ITEMS Description” kind of structure.
I have written following code in custom.pll (l_chr_rg_query is query taken from the record group attached to “ITEMS” named LOV with some modifications ex: rownum<6 so that it will show only 6 records in LOV if it is really firing our query for LOV)
IF ( form_name = ‘OEXOEORD’
AND block_name = ‘LINE’
AND field_name = ‘ORDERED_ITEM_DSP’
AND event_name = ‘WHEN-NEW-ITEM-INSTANCE’
THEN
MESSAGE (‘message1’);
l_chr_rg_name := ‘XXLION_UNIFORM_CODE_RG’;
l_chr_rg_query :=
‘SELECT item, item_id, item_description, inventory_item_id,item_identifier_type,null item_identifier_type_meaning, ‘
|| ‘inventory_item, address, cust_address, item_definition_level ‘
|| ‘FROM oe_return_items_v ‘
|| ‘WHERE (sold_to_org_id = :parameter.lov_num_param1 OR sold_to_org_id IS NULL)’
|| ‘ and rownum < 6 ORDER BY item’;
MESSAGE (‘message2’);
l_rg_id := FIND_GROUP (l_chr_rg_name);
MESSAGE (‘message3’);
IF ID_NULL (l_rg_id)
THEN
MESSAGE (‘Creating record group here’);
l_rg_id :=
CREATE_GROUP_FROM_QUERY (l_chr_rg_name, l_chr_rg_query);
END IF;
errcode := POPULATE_GROUP (l_rg_id);
MESSAGE (‘ERROCODE is : ‘ || errcode);
L_lov_id := FIND_LOV (‘ITEMS’); --My guess is this LOV name is the source of problem.
MESSAGE ('Error code is4');
SET_LOV_PROPERTY (l_lov_id, group_name, l_rg_id);
MESSAGE ('Error code is5');
SET_ITEM_PROPERTY ('LINE.ORDERED_ITEM_DSP', lov_name, 'ITEMS');
END IF;I found that there is no problem with code. My problem is not technical, its a functional problem.
It is related to Inventory's "System Items" KFF.
Can anybody tell me, to this "System Items" KFF, one value set is assigned. but it is of none type of value set. so from where the values in LOV are coming? -
Changing the query on a view object
I have a view object right now, based on an entity. It is the default view object, so that means the query in the view object is straight forward, it grabs all of the attributes from the table. And there is no WHERE clause.
In reality I only want to show a finite set of rows from my table. Every time a record is changed/edited in this entity and committed, a new row in the database is created with the same information (I'm using CreateWithParams) except for a few columns.
I actually don't really have update on this table, just creation of new rows. But to the user, I want it to 'look' like they are editing something in the table.
Example:
12, 11:32,Thompson, 60 (the user edits this information in an adf table, and a new row is created in the db)
12, 11:55, Thompson, 75
I have a timestamp (see above) field in the database that is used as part of my primary key, so that I know which record is the latest.
When the VO query is run, I want the user to only see the latest row from the db.
12, 11:55, Thompson, 75
So...
I went to my VO, and I changed the WHERE query to add this:
where t1.TimeStamp = (Select MAX(t2.TimeStamp) FROM rcl.x t2 where t1.uid = t2.uid);
Now, this isn't a mysql/sql question. There's actually a better query that I'd rather run, but the VO editor doesn't allow me to change the query itself....
When I save the new WHERE to my VO, run my page again, I get the expected result (showing me only the latest records).
However, when I try and sort on the table in which my data is displayed, I am now getting ORDER BY errors.
I don't want my VO to be read-only sql based. I want to be able to update my table, so I have my VO running off of the entity.
Why doesn't the VO allow me to change the query itself? (Like do a subquery, instead of having my where clause do the work)
Why are order by errors being thrown when I sort on my adf table after changing the where clause in my view?
Hopefully I wasn't too convoluted in the explanation of my problem..
Thanks in advance,
JoelHI Joe,
Regarding your problem you can do one of the following tasks:
1- easily to tuning on your view object, I mean in the tuning page of the view you can set that only return 1 record or 2-3 record fetch not all the record.
in the order by you will order by the timestamp field and descending.
2- you can order by the timestamp descending and in the where clause only set the rownum<2 (will return the last record) you can also set rownum<5 and get the 4 last record etc.
3-editing the view query in the expert mode is not advised at all because of many consequences that you will face.
4- maybe it is not bat that you add a readonly view for the table you mentioned and every time you unpdate the entity just re-execute the read-only view.( this method maybe is good maybe is not it depends on your business logic)
Regards.
Edited by: Amir Khanof on Sep 3, 2010 11:11 PM -
Error when trying to change the Query in Bex??
Hi Gurus,
I have a query based on infocube. When I am trying to change the query, its giving me the error "This component was edited with a more recent version of Editor. You also have to use the more recent version to edit further. Further processing not possible. Update your front end".
Please help with this.Hi, I am actually stuck here. Can you please let me know which among these is the higher version.
1) Final Release 3.50
Version 3500.3.016
2) Final Release 3.50
Version (Revision 481)
Because it is working fine in the 1st one whereas its throwing that error pop-up in 2nd one(as soon as we select the Change query global definition option) . -
How to change the query of detailVO,
Hi,
I have 2 VOs, say HeaderVO and LinesVO, these VOs are used to create a view link - HeaderToLinesVL - HeaderVO is Master VO and LinesVO is DetailVO. These VOs and VL are used in HGrid. Depending on the search criteria entered by user I have to change the query of HeaderVO and LinesVO. I am able to change query of HeaderVO using setQuery, but when setQuery used on LinesVO, it is throwing an exception saying Query can't be changed because it is detail VO. Is there any other way to change the query. Or any other idea to implement this functionality.
Thanks
ShaneedHi,
I have 2 VOs, say HeaderVO and LinesVO, these VOs are used to create a view link - HeaderToLinesVL - HeaderVO is Master VO and LinesVO is DetailVO. These VOs and VL are used in HGrid. Depending on the search criteria entered by user I have to change the query of HeaderVO and LinesVO. I am able to change query of HeaderVO using setQuery, but when setQuery used on LinesVO, it is throwing an exception saying Query can't be changed because it is detail VO. Is there any other way to change the query. Or any other idea to implement this functionality.
Thanks
Shaneed -
ORA-27092 Error while executing any query from client
Hello
I am getting following error while executing any query from client remotly.
IAMDBA@TEST_OAT.ABCD > select userid from dual;
select userid from dual
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01116: error in opening database file 1
ORA-01110: data file 1: '/u01/prod/system/system01.dbf'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 286209
But while local connection,its working.hi,
ulimit command- Limit user resources
su - oracle
ulimit -n (this command will show you the current value for ulimit the default value is 1024)
to increase its value:---
ulimit -n <some value> ( this command will change value for current session only)
example
ulimit -n 101062
once done check the value as:--
ulimit -n( for verification)
search in google for more explanation or revert back to me for any suggestions.... :)
Edited by: varun4dba on Jan 31, 2011 4:09 PM -
Auth Error in BW while executing a query with Company hierarchy
Hi All,
I have an issue in BW Reporting auth objects.. Hope to get resolved here.
We are using BI 7.0. However We are still using the Reporting auth objects for fiield level security. We are having a problem while executing a query with company code hierarchy ,which is built on a multiprovider.
The Background is as below
Multiprovider: ZM_CD01 with 5 infocubes
Query: Has 0COMP_CODE as free characteristics with display hierarchy for Japan (Node APSC_012 is fixed value)
Node APSC_012 has 4070,4076,407A,408A,9830 company code values under it.
Reporting Auth Objects:
Z0COMPCODE: (for flat values)
4070,4076,407A,408A,407M,407P,8236, :
ZHCOMPCODE: (For tree structure)
4070,4076,407A,408A,407M,407P,8080, :
APSC_MGMT_HIER (Nodes: APSC_012,APSC019)
Both the reporting authorization objects are checked for multi provider ZM_CD01 in RSSM
While executing the query the following Auth error is received.
You do not have authorization to read object "Z0COMPCODE" authorization on '0COMP_CODE'
When I change the values for Z0COMPCODE to * it works fine. No Auth error.
Please help me resolve this issue. It is very critical now as the user needs to execute some important reports.
Thanks in Advance.
Ramkumar CHi Chandra,
Try the following:
1. Go to tcode RSSM
2. Enter the cube ZM_CD01 (all the other cubes) then click change.
3. Afterwards, u201Cunchecku201D ALL Authorization Objects under this cube. (Repeate the same for all the cubes)
4. Click Save.
This will resolve the issue.
Rgds,
Raghu -
Error while executing BEX query via FM
Hi Friends,
I am getting following error while executing a query via FM RRW3_GET_QUERY_VIEW_DATA.
Please see the error screenshot as follows.
the I_T_PARAMETERS entered are as follows.
Please let me know what is missing.
Thanks.
Regards,
Hrishikeshthe key date variable 0DAT is normally filled by a SAP exit variable, but this may not be the case. it could have been changed in the query designer, check the query in query designer and see.
Try passing 0DAT in the variable list with todays date -
Hi,
While executing a query in portal it is giving internal server error.
In the input screen help, we are searchign using wild card characters.I.e " 141",its giving internal server error,
If we are giving the one value/no value the report is executing correctly.
The input variable is a heirarchy variable. We tried to give it in the heirarchy format also. Still its not working.
Could anybody help on this.
Thanksu might be using "select * from <table name>", instead try this
"select slno as slnod,title as titled.."
http://www.javagalaxy.com -
Problem in Changing the Query of LOV using Forms Personalisation
Hi all,
I have a problem while trying to change the LOV of job field in the people--> assignment form. I am trying to do through forms personalisation. I defined all the rquired fields:
Following are the description of fields Idescribed in the form Personalisation:
Trigger Event: WHEN-NEW-FORM-INSTANCE
in actions tab:
10-- Built In--Create Record Group With Query
11-Property----LOV
Target Object--JOBS
Property Name--GROUP_NAME
vALUE--jobs(rECORD gROUP NAME created above)
It is validated successfully,
but when trying to open the form it is giving an error 'cannot create record group jobs'..
Can anybody help me with this..
Thanks and Regards
RajI found that there is no problem with code. My problem is not technical, its a functional problem.
It is related to Inventory's "System Items" KFF.
Can anybody tell me, to this "System Items" KFF, one value set is assigned. but it is of none type of value set. so from where the values in LOV are coming? -
How to change the query ?
Gurus,
Please clarify this
Select ils.item,(nvl(sum(decode(tdh.loc_type,'S',decode(tdh.tran_code, 1,tdh.units,0),
'W',decode(tdh.tran_code,30,0,31,0,32, tdh.units,33, tdh.units,37,0,38, tdh.units,20,0,1,0))),0))"result"
from tran_data_history tdh, item_loc_soh ils
where tdh.item = ils.item
and ils.item in('100002513','100002484')
and trunc(tdh.TRAN_DATE)
between (*select first_date from (select item,min(trunc(first_received)) first_date From Item_loc_soh*
where item in('100002513','100002484') and first_received is not null
group by item ))
and trunc(sysdate)
group by ils.item
Problem with this query is, the block mentioned in BOLD is returning two rows, and I am writing between and clause .. since the query in bold is returning more than one row, it is throwing error stating that single query returns more than one row .. Requirement is, whatever date which is returned with value 100002513 should be compared with sysdate, and other value 100002484 should be compared with sysdate .. Irrespective of number of items (whether 1 or more than 1) should simultaneously be compared with sysdate
How to change my query
RegardsInner query
Select First_Date From (Select Item, Min(Trunc(First_Received)) First_Date
From Item_Loc_Soh *
Where Item In ('100002513', '100002484')
And First_Received Is Not Null
Group By Item)
this will return 2 rows for each of the item id 2513 and 2484 because you write query for this 2 rows
and select min date
which means
item id 2513 min date
item id 2482 min date
if you want to compare just a date to sysdate then do it directly,
Select Ils.Item,
(Nvl(Sum(Decode(Tdh.Loc_Type,
'S',
Decode(Tdh.Tran_Code, 1, Tdh.Units, 0),
'W',
Decode(Tdh.Tran_Code,
30,
0,
31,
0,
32,
Tdh.Units,
33,
Tdh.Units,
37,
0,
38,
Tdh.Units,
20,
0,
1,
0))),
0)) "result"
From Tran_Data_History Tdh, Item_Loc_Soh Ils
Where Tdh.Item = Ils.Item
And Ils.Item In ('100002513', '100002484')
And Trunc(First_Received) = Sysdate;
however i dont understand importance of Tdh.Tran_Date and which date you exactly want to compare
hope this helps,
if not plz clarify more on the questionsEdited by: Nicloei W on Sep 24, 2008 11:51 PM -
Bica: change the query cause error in the pas model
Dear friends,
We have very simple scenario: one query 'SSM_SQL_KPI_MAY'' for feeding the pas model- 2 demensions and 2 measures. With this query I load the schema and data to the pas model.Everithing was fine. After that we added new dimension to the query.Ichanged the existing query and load the data with bica.But when I try to open the model I get the next error every time
DAT316:
No internal Dimenson unique name to position cache exists for 'EZOR_KEY' on Linkid 'BI' Cube 'SSMKPI/SSM_SQL_KPI_MAY'
We try to resolve the issue by deleting data and schema but every time I get the same error.
How is it possible to resolve this issue?
What is a best practice in the case of changing queries working with bica?
Thanks.
Best regards,Orit.Dear Orit,
Keep in mind that dimensions provided by a BICA query connection must have a HIERARCHY associated to the base characteristic in BW. PAS uses this hierarchy to define the "Result" (rollup) levels of the dimension. Check your BW query and verifiy that all the included dimensions have associated hierarchies in use. I'm guessing this is the issue with your new dimension.
You can also check the dimensions in PAS by selecting your model, then "Dimensions" and right-clicking on the affected dimension name and then the "View" option (or "List" or something related to displaying the dimension definition). You should see a PAS script that describes the dimension, including the dimension member IDs, descriptions and rollup levels. This should be consistent with your query results and hierarchies).
Also, from the same menú you may also choose to "Delete" a dimension.
Good luck!
Regards -
Hello,
I have created a query on an info provider and now I want to change the description as well as the technical name of this query. Is there a way to achievce this? I know I can copy the query rename there. But is there any other way to do this task?
Thanks in advance...Hi,
you can use the save as function to store the query under a new technical name. The text/description can be changed at any time but not the technical name. The only solution for that is what I mentioned at the beginning. After doing that, delete the 'old' query.
regards
Siggi
Maybe you are looking for
-
How to enter a valid Edit Pattern for Time?
I'm tring to enter a pattern for the Edit Pattern and it kept giving me the invalid pattern error. Here is what I have for the Display Pattern: h:MM A And for Edit Pattern: h|hh|h:MM|h A|hh A|h:MM A|hh:MM A The textbox is set to Type: Date/Time Field
-
"HELP PLEASE" GPS Marine Signals for my 61001 Noki...
"SOMEONE HELP PLEASE" I have a Nokia 61001 Navigater Mobile. Is it possible? To enter GPS Sites for fishing into my Nokia 61001? Someone did say it is possible who already own's one.Unfortunately,I lost his telephone number. Any help would be most ap
-
MAPI.Session for Office 2010
Hi all, This code works fine in office 2003 but not in office 2010 (Raise NO_MAPI). Do you have an idea ? CREATE OBJECT SESSION 'MAPI.Session'. IF SY-SUBRC NE 0. RAISE NO_MAPI. ENDIF. Now log into the session with the given profile CAL
-
Show skipped slides in Light Table?
Does anyone know how to display skipped slides in Light Table (or any other) view)? I bought this new Mac mainly so I can use Keynote in my corporate training presentations. But it takes too long to tailor each presentation, since I need to see at a
-
Why can't I find Muse after installation?
I just purchased the cloud version of the Adobe software and installed Photoshop, Illustrator, InDesign and Muse using the Adobe Application Manager. The first three seem to be installed and running. Muse, however is nowhere to be found - even though