Error: No data available while executing BEx query
Hi BI expert,
Please help me out as I am very new in BI. I am getting error "No data available" after executing query in BEx query designer.
thanks
Hi,
Pl check for the Filter Conditions of the query.Have the same filters data as that in the Cube/ODS.
Hw is the Data Flow ???
A)From ODS to Cube to Query ????
or
B)From ODS
or
C)From Cube
1)Check on which Infoprovider the Query is built.
2)If it is Cube then Check the data in the Cube.Right click Cube ,Display data and Execute.
3)If data is avaliable in cube then it shud come in Query except for the Filter conditions .
4)then check for the Filter conditions of the query.
5)If data is not avaliable in Cube then check in ODS ????
6))If data is not avaliable in ODS then check in PSA
7))If data is not avaliable in PFA then check in R/3.
Also search in SDN as to how the Data flows
A) both from Flat File and
B)R/3 and FULL and DElta Load.
That will give clear uinderstanding !!!!!
Rgds
SVU123
Edited by: svu123 on Dec 15, 2008 2:15 PM
Similar Messages
-
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 -
Error while executing BEx Query on Composite Provider
Hi,
We have a BW on-HANA system, patch level SAPKW73105.
We have created a Composite provider based on the union of two DSOs, two infoobjects, one SPO, and there are a couple of joins with two other DSOs, on the top of that we built a BEx query.
While executing the BEx query, sometimes (depending on the filter values), We got the following error message
"Attribute engine failed;Error executing physical plan: exception 6900: AttributeEngine/Parallel/DimensionFilter.cpp engine failed; $function$=getValidFemsPA;"
"Error 6,900 has occurred in the BWA/SAP HANA server"
"Error reading the data of InfoProvider @3ZSDRPCP5"
"Error while reading data; navigation is possible"
"Row: 59 Inc: MAP_TREX_EXCEPTION Prog: CL_RSDRH_TREX_STORAGE"
(Attached error message)
Ii We browse the composite provider data using the "display data" option in the RSA1, data is displayed without issue, the problem only appears during the BEx query execution and only with some filter vaues.
Any idea on how to fix the issue.
Thanks,
FedericoHe's on 7.3 EhP1, which is on SPS12 today. It got pretty stable by SP08, SP09. SP05 was pretty early on, and had a lot of bugs in the HANA views.
7.4 is on SP07 like you say, and most of our customers run at least SP06 - before then, you had to apply a bucketload of SAP notes. I would recommend customers apply SP08 with care because it's a feature release so will have a bunch of new features, which will no doubt need corrections. -
Error while executing BEx query made on Multiprovider having Virtual cube
Hi All,
We are getting an error message while executing a BEX query made on Multiprovide which consist of a Virtual Infocube infocube which extracts data from APO Live Cache, the error which we get is as below
''Error Reading the data of the infoprovider ZSS_R054
Error in Substep
Errors have occured while extracting data from datasource 9A_E2E_FC2
Errors occured during parallel processing of query 4, RC:3
Error while reading data; navigation is possible''
And also when tried to execute from RSRT , it gets executed in debug mode in TRY and CATCHE
Please let us know if anyone faced a similar situation or can suggest me what to do.
Please suggest.
Thanking you in advance.
regards,
ajayHi Ajay,
Try RSRV transaction, Select All Elementary Tests, Select query, now drag both these items on the right hand pane, select your query from this popup. and execute.
Let us know what the result is.
regards,
Sree. -
Error while executing Bex Query
Hi all,
i am getting error while executing the Bex Query.i am able to change and save the Query without any issues.
Error:
<internal error> Receiving from the BW server failed.BW server raised exception:SYSTEM_FAILURE
Do you want to see more information?
YES--->Syntax error in Program SAPLY05BW_ISA
Details:
Error Group
RFC_ERROR_SYSTEM_FAILURE
Message
Syntax error in program SAPLY05BW_ISA
What could be the problem?pl help me out!
ThanksHi,
Try this:
Execute the report RSFTP005 in BIW.
With rgds,
Anil Kumar Sharma .P -
Server resources availability while executing a query
hi,
lets say we have a query that requires XX MB to be executed.
the needed memory is available, and while the query is getting memory, another threads jump on the database, and the memory needed to execute the query is not available.
under those circunstances, can the query change the memory requirements to execute the query (i.e. page out to temp objects), or the query will NEED the XX MB to be executed?
can the execution plan change the resources requirements based on database recourses availability ?
Thank you,
EladioThe Execution Plan is determined before the query begins executing.
The query cannot stop and restart with a new execution plan.
However, if the same query is executed more than once, even inside a loop
in a PLSQL block, it may get re-parsed and may acquire a different Execution
Plan.
PGA_AGGREGATE_TARGET is a "guide" for Oracle to dtermine the available
memory for an SQL (it looks at PGA memory currently used by other concurrently
executing SQLs). However, considering the dynamics of multiple processes
co-existing on a server, this is not and cannot be a hard limit so the actual
PGA in use at any time can fluctuate.
(consider, for example that other, Non-Oracle, processess might start up and
take memory and Oracle isn't aware of those processes "stealing" available
memory. Or consider a bug in sort / hash algorithms which cause an Oracle
process to take (or request from the OS) much more memory than it "should",
resulting in ORA-4030s !)
However, as a general rule, Oracle uses PGA_AGGREGATE_TARGET
and also provides an advisory view that you can query. (Oracle periodically
collects statistics about PGA usage and SGA usage and updates the
respective advisory views). -
Error in Data service while executing Rapidmart
Dear all
i am getting the following error :
(12.2) 06-29-11 02:35:13 (E) (3132:7104) DBS-070401: |Session Cost_Center_Load_SAP
ODBC data source <FGHSRV018> error message for operation <SQLExecute>: <MicrosoftODBC SQL Server DriverSQL ServerInvalid
column name 'LOAD_DATE'.>.
(12.2) 06-29-11 02:35:13 (E) (3132:7104) RUN-050304: |Session Cost_Center_Load_SAP|Function AW_StartJob
Function call <sql ( RM_DS, insert into AW_JOBEXECUTION (NAME,
EXTRACTLOW, EXTRACTHIGH, STATUS, LOAD_DATE) values ('Cost_Center_Load_SAP', '1990.01.01',
'2011.06.29', 'started',CONVERT(datetime,'2011.06.29 02:35:13',102)) ) > failed, due to error <70401>: <ODBC data
source <FGHSRV018> error message for operation <SQLExecute>: <MicrosoftODBC SQL Server DriverSQL ServerInvalid column
name 'LOAD_DATE'.>.>.
(12.2) 06-29-11 02:35:13 (E) (3132:7104) RUN-050304: |Session Cost_Center_Load_SAP
Function call <AW_StartJob ( Cost_Center_Load_SAP, RESET, FIRST, 1990.01.01, 2011.06.29, 2011.06.29 02:35:13 ) > failed, due to
error <70401>: <ODBC data source <FGHSRV018> error message for operation <SQLExecute>: <MicrosoftODBC SQL Server Driver[SQL
Server]Invalid column name 'LOAD_DATE'.>.>.
(12.2) 06-29-11 02:35:13 (E) (3132:7104) RUN-053008: |Session Cost_Center_Load_SAP
INFO: The above error occurs in the context <|Session Cost_Center_Load_SAP|AW_StartJob(...) Function Body|10 If Step
body|$ret=...|sql(...) Function Body|>.
(12.2) 06-29-11 02:35:13 (E) (3132:7104) DBS-070401: |Session Cost_Center_Load_SAP
ODBC data source <FGHSRV018> error message for operation <SQLExecute>: <MicrosoftODBC SQL Server DriverSQL ServerInvalid
column name 'LOAD_DATE'.>.
Please help me to resolve the same .Dear Jeff,
As you have suggested,i had created the column in the data base and the error went away.
but the another error has stuck me .
12.2) 06-30-11 22:52:00 (E) (2844:7664) DBS-070401: |Session Cost_Center_Load_SAP
ODBC data source <FGHSRV018> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid
object name 'AW_FIRST_RUN_DATE'.>.
(12.2) 06-30-11 22:52:00 (E) (2844:7664) RUN-050304: |Session Cost_Center_Load_SAP|Function RM_PutFirstRunDate
Function call <sql ( RM_DS, SELECT COUNT(*) FROM AW_FIRST_RUN_DATE WHERE JOB_NAME = 'Cost_Center_Load_SAP' AND JOB_LOAD_TYPE =
'FIRST' ) > failed, due to error <70401>: <ODBC data source <FGHSRV018> error message for operation <SQLExecute>:
<[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'AW_FIRST_RUN_DATE'.>.>.
(12.2) 06-30-11 22:52:00 (E) (2844:7664) RUN-050304: |Session Cost_Center_Load_SAP
Function call <RM_PutFirstRunDate ( Cost_Center_Load_SAP, FIRST, 2000.01.01 00:00:00, 2011.06.30 22:52:00, 2011.06.30 22:52:00
) > failed, due to error <70401>: <ODBC data source <FGHSRV018> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL
Server Driver][SQL Server]Invalid object name 'AW_FIRST_RUN_DATE'.>.>.
(12.2) 06-30-11 22:52:00 (E) (2844:7664) RUN-053008: |Session Cost_Center_Load_SAP
INFO: The above error occurs in the context <|Session Cost_Center_Load_SAP|8 If Step body|RM_PutFirstRunDate(...) Function
Body|Assignment Step 2 $ROWCOUNT=...|sql(...) Function Body|>.
(12.2) 06-30-11 22:52:00 (E) (2844:7664) DBS-070401: |Session Cost_Center_Load_SAP
ODBC data source <FGHSRV018> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid
object name 'AW_FIRST_RUN_DATE'.>.
I already checked the table in my target database and it isnt there .
so how to overcome with this ???
shld i re-install DS again ??
Thanks.
Edited by: Rakesh Barthwal on Jun 30, 2011 9:57 PM -
Error in Data service while executing Rapidmart job
Dear all
i am getting the following error :
(12.2) 06-29-11 02:35:13 (E) (3132:7104) DBS-070401: |Session Cost_Center_Load_SAP
ODBC data source <FGHSRV018> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid
column name 'LOAD_DATE'.>.
(12.2) 06-29-11 02:35:13 (E) (3132:7104) RUN-050304: |Session Cost_Center_Load_SAP|Function AW_StartJob
Function call <sql ( RM_DS, insert into AW_JOBEXECUTION (NAME,
EXTRACTLOW, EXTRACTHIGH, STATUS, LOAD_DATE) values ('Cost_Center_Load_SAP', '1990.01.01',
'2011.06.29', 'started',CONVERT(datetime,'2011.06.29 02:35:13',102)) ) > failed, due to error <70401>: <ODBC data
source <FGHSRV018> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column
name 'LOAD_DATE'.>.>.
(12.2) 06-29-11 02:35:13 (E) (3132:7104) RUN-050304: |Session Cost_Center_Load_SAP
Function call <AW_StartJob ( Cost_Center_Load_SAP, RESET, FIRST, 1990.01.01, 2011.06.29, 2011.06.29 02:35:13 ) > failed, due to
error <70401>: <ODBC data source <FGHSRV018> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver][SQL
Server]Invalid column name 'LOAD_DATE'.>.>.
(12.2) 06-29-11 02:35:13 (E) (3132:7104) RUN-053008: |Session Cost_Center_Load_SAP
INFO: The above error occurs in the context <|Session Cost_Center_Load_SAP|AW_StartJob(...) Function Body|10 If Step
body|$ret=...|sql(...) Function Body|>.
(12.2) 06-29-11 02:35:13 (E) (3132:7104) DBS-070401: |Session Cost_Center_Load_SAP
ODBC data source <FGHSRV018> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid
column name 'LOAD_DATE'.>.
Please help me to resolve the same .Hi,
this services is for the SAP Integration Kit. I would suggest you post this into the EIM Forums
regards
Ingo Hilgefort -
Error in Data service while executing Inventory_Load_SAP Rapidmart
Dear All,
Please help me to resolve the following error ,
7196:6724) PAR-010102: |Session Inventory_Load_SAP
Syntax error at line <1>: <>: near <'> found <a decimal> expecting <ALL, CONVERT, DOUBLE, *, <>, a string, SYSTEM>.
1 error(s), 0 warning(s).
Check and fix the syntax and retry the operation.
(12.2) 07-14-11 00:28:54 (E) (7196:6724) PAR-010202: |SESSION Inventory_Load_SAP
Error parsing global variable values from the command line: <$G_CCODE= '*';$G_DEFAULT_DATE= '1900.01.01';$G_DEFAULT_NUMBER=
-1;$G_DEFAULT_TEXT= '?';$G_EDATE= sysdate();$G_LANGUAGE= 'E';$G_LOAD_DATE= to_date(to_char(sysdate(),'yyyy.mm.dd
HH24:mi:ss'),'yyyy.mm.dd HH24:mi:ss');$G_LOAD_TIME= to_char(systime(), 'HH24:MI:SS');$G_LOAD_TYPE= 'FIRST'';$G_RUN_MODE=
'RESET';$G_SDATE= '2000.01.01';$A= 30;$B= 60;$C= 90;$D= 120;$E= 14;$F= 30;$G= 45;$G_EXCHANGE_TYPE_ID= 'M';$G_GLOBAL_CURRENCY=
'USD';$G_INT_ORDER_CATEG_PP= '10';$G_INT_ORDER_CATEG_PS= '20';$G_ADDRESS_VERSION= ' ';$G_BUS_PARTN_SDATE= (sysdate() - 8
);$G_BUS_PARTNER= ifthenelse(day_in_week(sysdate())=7,'Y','N');$G_COST_OF_SALES_LEDGER_ID= '0L';$G_COUNTRY_GRP=
'10';$G_DEL_PERIOD= to_date((sysdate() - 180),'YYYY.MM.DD');$G_DEL_REJECT_REASON= 'DD';$G_DROP_SHIP=
'Y';$G_GL_ACCOUNT_HIER_NAME= '@GL';$G_GL_SUM_PLAN_LEDGER_ID= 'L6';$G_GL_VERSION= 'OLD';$G_HIRE_ACTION_01=
'01';$G_HIRE_ACTION_02= '90';$G_HIRE_ACTION_03= 'K1';$G_INIT_HIST_CHG= 'Z';$G_MALFUNCTION_CAUSE= '5';$G_MALFUNCTION_DAMAGE=
'C';$G_MALFUNCTION_OBJ_PART= 'B';$G_MRP_RESULTS_DELETE= 'N';$G_ONTIME_DELIV_WINDOW= 15;$G_PC_ACCOUNT_HIER_NAME=
'@PC';$G_PROFIT_CENTER_LEDGER_ID= 'L5';$G_REHIRE_ACTION_01= 'JD';$G_REHIRE_ACTION_02= 'N7';$G_RETIRE_ACTION=
'ZP';$G_SCHOOL_TYPE= '50';$G_SERVICE_INTERVAL_01= 6;$G_SERVICE_INTERVAL_02= 12;$G_SERVICE_INTERVAL_03=
36;$G_SERVICE_INTERVAL_04= 60;$G_SERVICE_INTERVAL_05= 120;$G_TABLE_EQUIPMENT= 'EQUI';$G_TABLE_FUNCTL_LOCATN=
'IFLOT';$G_TASK_TYPE_PROBATION_END= '01';$G_TERMINATION_ACTION= '10';$G_VALID_DATE= to_date(sysdate(),
'YYYY.MM.DD');$G_WAGE_TYPE_01= '/101';$G_WAGE_TYPE_02= '/110';$G_WAGE_TYPE_03= '/401';$G_WAGE_TYPE_04= '/403';$G_WAGE_TYPE_05=
'/404';$G_WAGE_TYPE_06= '/405';$G_WAGE_TYPE_07= '/406';$G_WAGE_TYPE_08= '/410';$G_WAGE_TYPE_09= '/441';$G_WAGE_TYPE_10=
'/550';$G_WAGE_TYPE_11= '/560';$G_WAGE_TYPE_12= '/5U0';$G_WAGE_TYPE_13= '/5U1';$G_WAGE_TYPE_14= 'MI10';$G_WAGE_TYPE_15=
'/102';$G_WAGE_TYPE_16= '////';$G_WAGE_TYPE_17= '////';$G_WAGE_TYPE_18= '////';$G_WAGE_TYPE_19= '////';$G_WAGE_TYPE_20=
'////';$G_WORKDAY_EDATE= '1994.01.01';$G_WORKDAY_SDATE= '2006.12.31';$G_MAX_DATE= '9999.12.31';>. Please check the syntax and
try again.
Thanks in Advance.Looks like an error in a script object. Using the validation functionality with the script object open should allow you to find the error. You may need to play the "comment-out the lines" game to find the culprit(s).
Best wishes,
Jeff Prenevost -
Error while integrating BEx Query with Cognos
Hi all,
we have made 999 rows and 150 columns..
but we r unable to integrate it with cognos if we remove free characteristics....
and it thows me the following error
1.BAP-ERR-0002 a BAPI error has occured in the function module RFC_READ_TABLE. NOT_AUTHORIZED
2.error when generating data provider
3.Query is too large
Please do reply immediately with the correct solution
Regards
MadhaviHi Vani Reddy
Jus one quick finding are there any new patches upgrade taken place in your system . its in generally occurs because patch issues please refer the following note 1325527.
it may helps you in this reg.
Hope its clear a little..!
Thanks
K M R
***Even if you have nothing, you can get anything.
But your attitude & approach should be positive..!****
>
vani reddy wrote:
> Hi All,
>
> While executing Bex Query user is getting below error message after 20 mins and coming out of BEx.
>
>
>
> Error Group
>
> RFC_ERROR_SYSTEM_FAILURE
>
> Message
>
> An exception that could not be cought occured.
>
> Thanks in advance
> Vani
Edited by: K M R on Aug 12, 2009 2:14 PM -
Receiving SQL Error: INTERNAL_ERROR while executing the query
Dear All,
I am receiving the below error while executing a query.
SQL Error: INTERNAL_ERROR
Diagnosis
The database system registered an SQL error. As available, the error number and a description are included in the short text. Possible causes for SQL errors include:
Overflow of database objects such as buffers, temporary tablespaces, rollback segments or data containers/tablespaces.
->These problems can generally be eliminated by system administrators.
Missing generated database objects such as tables or views based on inconsistent or inactive InfoCubes or InfoObjects. Examples of this include the view of the fact table for an InfoCube or the attribute SID table (X/Y table) of a characteristic.
-> These problems can generally be eliminated by a BW administrator.
SQL requests with incorrect content.
-> Problems of this type are generally programming errors.
System Response
Procedure
Contact your system administrator.
Procedure for System Administration
If there is no error description, look for one in the reference from the database producer.
Decide on the correct category for the SQL error and check if it can be eliminated. Generally the error can also be found in the syslog (transaction sm21). From there, transactions sm51 and sm50, the developer's trace log of the work process can be determined and the erroneous statement can be viewed in the log. This procedure is described in SAP Note 568768.
Notification Number DBMAN 257
I verified the table spaces and also done RSRV Repair of InfoObjects and InfoCubes and didnt find any error. But I am receiving this error for one particular month and remaining months are executing fine. Any ideas why i am receiving this error.
Regards
Ravi YOSS Note 1305568:
Symptom
A data mart query that
you want to execute within a data transfer process (DTP), for example, terminates with the
SQL error -1013 "Too many order columns".
The following is displayed in the monitor log of the data transfer process:
Error while extracting from source xxxxxx (type InfoProvider)
Message number RSBK 242
Exception CX_SQL_EXCEPTION occurred (program:
CL_SQL_STATEMENT==============CP, include:
CL_SQL_STATEMENT==============CM004, line: 32).
Message number RS_EXCEPTION 000
SQL error: POS(3306) Too many order columns
Message number DBMAN 257
Error reading the data of InfoProvider xxxxxx
Message number DBMAN 305
You have already implemented Note 1065380.
Other terms
CX_SQL_EXCEPTION, message number, RS_EXCEPTION 000, DBMAN 257, RSBK 242,
RS_EXCEPTION 000
Reason and Prerequisites
The MaxDB internal limit of 4016 bytes or 128 fields for GROUP BY columns was exceeded.
Solution
When you implement these corrections, no aggregation is performed for the data (GROUP BY) if the limits of the MaxDB database have been exceeded.
The limit values for the aggregation bahavior can also be manually reduced if there are problems with the default values.
Two RSADMIN parameters are provided for this.
MAXDB_MAX_GROUP_BY_FLDS is the maximum number of GROUP BY fields. The default value is 128.
MAXDB_MAX_GROUP_BY_LEN is the maximum total length of the GROUP BY fields. The default value is 4000.
SAP NetWeaver BI 7.00
Import Support Package 21 for SAP NetWeaver BI 7. 00 (SAPKW70021) into your BI system. The Support Package is available when Note 1270629"SAPBINews NW 7.00 BI Support Package 21", which describes this Support Package in more detail, is released for customers. -
We are facing error while executing Bex report.
Hi Gurus:
We are facing error while executing Bex report.
Messge :
u201CQuery 0: Runtime error program state check for conversation 05284411 / CP with parallel processing via RFC
Message no. DBMAN428u201D
The query is based upon Multiprovider (based upon 2 basic cubes).
Both cubes are partitioned by info object 0CALMONTH, (valid range - 01.2005 - 012.2010).
Those cubes are not containing any non-cumulative key figures and Service package level for SAP NetWeaver BI 7.0 is u2018SAPKW70012u2019.
I have checked those cubes in RSRV and carry out following steps:
"All Elementary Tests -> Transaction Data" and execute the repair "Consistency of the Time Dimension for an Info Cube"
I have found system inconsistency like u201CRecord with the DIMID 2 contains non-fitting time characteristics u201C
Detail ERROR:
Record with the DIMID 2 contains non-fitting time characteristics
Message no. RSCV053Diagnosis
The data record of the time dimension table with the described DIMID contains values for time characteristics that do not fit together.
I have found the u2018 Note 1130450 - Query displays error DBMAN 284; RSRV: Time dimension checku2019 for this but still not sure this will work or not .
I tested this in dev server , didn't feel useful.
Could you please let us know what to correct this error.
Anwser will be rewared.
Regards,>
Surendra Pande wrote:
> Anwser will be rewared.
> Regards,
Go read the RULES of these forums. -
Error while executing the query
Hi all,
I am facing two errors while executing my query namely
1)The validity interval has initial value as lower limit.
2)Diagnosis
Query uses non-cumulative key figures. It requires calculation for non-cumulative values for more than 2000 periods in time. The most common reason for this is that the non-cumulative InfoCube has a very large validity interval and the query has no time restrictions. With exception aggregation AVERAGE (AV1 or AV2) in particular, this lack of time restriction would result in considerable memory and performance problems.
System Response
Query cannot be executed in this way.
Please suggest a possible reason for these errors.
Thanks and Regards.
Mudit KhannaHi,
See
Refer Notes 496638,571364
210432
528202
1318741
208546
and also see simila thread
Problem getting data from BF cube in report (Non cummulative keyfigures)
Thanks
Reddy -
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 -
ORA-01008 Error while executing VO Query
HI,
I have a VO to get the heirarchy for the selected Business. On selecting appropriate business, ppr is fired to build up available heirarchies for that business. The query for VO is
SELECT pos.name ||' ('||DECODE(pos.primary_structure_flag,'Y','Primary', 'N', 'Non-Primary','')||')' name , posv.org_structure_version_id org_structure_version_id
FROM per_organization_structures pos,per_org_structure_versions posv
WHERE pos.business_group_id = :1
AND pos.organization_structure_id = posv.organization_structure_id
AND pos.business_group_id = posv.business_group_id
AND posv.date_to IS NULL
While executing the query, it throws ORA-01008 exception saying "Not all Variables are bound". During debugging i saw that the selected business group id is available in AM before calling the VO execution.
Any help will be appreciated.
Thanks,Hi Tapash,
The following is the information you have requested
1. VO defn from the xml file
<?xml version="1.0" encoding='windows-1252'?>
<!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
<ViewObject
Name="HierarchyVO"
BindingStyle="Oracle"
CustomQuery="true"
RowClass="ge.oracle.apps.per.orghierarchy.poplist.server.HierarchyVORowImpl"
ComponentClass="ge.oracle.apps.per.orghierarchy.poplist.server.HierarchyVOImpl"
MsgBundleClass="oracle.jbo.common.JboResourceBundle"
UseGlueCode="false" >
<SQLQuery><![CDATA[
SELECT pos.name ||' ('||DECODE(pos.primary_structure_flag,'Y','Primary', 'N', 'Non-Primary','')||')' name , posv.org_structure_version_id org_structure_version_id
FROM per_organization_structures pos,per_org_structure_versions posv
WHERE pos.business_group_id = :1
AND pos.organization_structure_id = posv.organization_structure_id
AND pos.business_group_id = posv.business_group_id
AND posv.date_to IS NULL
]]></SQLQuery>
<DesignTime>
<Attr Name="_isCodegen" Value="true" />
<Attr Name="_version" Value="9.0.3.12.53" />
<Attr Name="_CodeGenFlagNew" Value="36" />
</DesignTime>
<ViewAttribute
Name="Name"
IsPersistent="false"
Precision="44"
Type="java.lang.String"
AliasName="NAME"
ColumnType="VARCHAR2"
Expression="NAME"
SQLType="VARCHAR" >
<DesignTime>
<Attr Name="_DisplaySize" Value="44" />
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="OrgStructureVersionId"
IsPersistent="false"
IsNotNull="true"
Type="oracle.jbo.domain.Number"
AliasName="ORG_STRUCTURE_VERSION_ID"
ColumnType="VARCHAR2"
Expression="ORG_STRUCTURE_VERSION_ID"
SQLType="NUMERIC" >
<DesignTime>
<Attr Name="_DisplaySize" Value="22" />
</DesignTime>
</ViewAttribute>
</ViewObject>
2. the method in AM
public void getHierarchy(String strBusinessGrpId)
try
HierarchyVOImpl vo = getHierarchyVO1();
Number BusinessGroupId = new Number("0");
if(strBusinessGrpId!=null && !strBusinessGrpId.equals(""))
BusinessGroupId = new Number(strBusinessGrpId);
//vo.setWhereClause(null);
//vo.setWhereClauseParam(0,BusinessGroupId);
vo.executeQuery();
catch(Exception e)
throw new OAException(e.toString(),OAException.ERROR);
} //end of getHierarchy
3. calling code in CO
if ("changeBusiness".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
String businessGrpId = pageContext.getParameter("BusinessGroup");
Serializable[] parameters = { businessGrpId };
mAM.invokeMethod("handleChangeBusiness", parameters);
mAM.invokeMethod("getHierarchy", parameters);
Thanks,
Mohammadi
Maybe you are looking for
-
How do I transfer my emails and address book from Outlook Express 6....
...on my PC to Mail on my new IMac? Thanks in advance, Scott IMac Mac OS X (10.4.4) IMac Mac OS X (10.4.4)
-
Error with font as shown in the image below. http://i1085.photobucket.com/albums/j432/Lazmarr/Firefoxfontweird2.png
-
Hi When i try to preview my folio with the preview option located in the folio builder pane in Indesign Cs 5.5 it says it cant find the adobe content viewer. Can anyone help
-
Scale and Crop with Image Alchemy
Hello, We're using Digital Asset Managment with Image Alchemy for the conversion engine. Does anybody know how to configure a rendition set that scales and crops an image without distortion? So if you check-in a 1000x1500 pixel jpeg, it could scale i
-
Need to print new line when "," in string
Hi, I have a string having value 12,221,23,67... I need to print a new line after ", " i;e 12 221 23 67.... Please suggest. Thanks, Ajit