Unable to fetch data using control-blocks
Hi,
I have created two non base table text items(from_date, to_date) and if values are not entered from front end i.e. null then hadrcoded in pre_query trigger to default values as from_date (system date-present month-last year) and to_date(system date-present month-present year).when i have pressed the fetch button without giving values to from_date and to_date,it is retrieving data in default period,which i ahave hardcoded in PRE_QUERY trigger.But even i enter values dynamically from front end and when ever i press fetch button ,it is retrieving data in default period instead giving data in specified duration what i have entered dynamically from front end. i.e. it is not accepting values what i have entered.
any one please help me.
oracle forms 10g version:10.1.2.0.2
Thanks and Regards
Ram
hi,
Thanks for ur feedback.
here query is executed. My problem is,unable to fetch data in specified period,what i have entered dynamically.Even i entered dynamically,it is fetching data in default period(Which i have hardcoded in PRE_QUERY).
below code is ,what i have hardcoded in PRE_QUERY
:GLOBAL.DFROMDT := NULL;
:GLOBAL.DTODT := NULL;
IF :HEADER_BLOCK.NBTFROMDT is NULL THEN
SELECT TO_DATE('10'||'/'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MM')||'/'||
TO_CHAR(ADD_MONTHS(SYSDATE,-12),'YYYY'),'DD/MM/YYYY')
INTO :HEADER_BLOCK.NBTFROMDT FROM SYS.DUAL ;
END IF;
IF :HEADER_BLOCK.NBTTODT IS NULL THEN
SELECT SYSDATE INTO :HEADER_BLOCK.NBTTODT
FROM SYS.DUAL;
END IF;
IF :HEADER_BLOCK.NBTFROMDT IS NOT NULL
OR :HEADER_BLOCK.NBTTODT IS NOT NULL THEN
:GLOBAL.DFROMDT := :HEADER_BLOCK.NBTFROMDT;
:GLOBAL.DTODT := :HEADER_BLOCK.NBTTODT;
END IF;
IF :DETAIL_BLOCK.nbtFjdDrCrInd IS NOT NULL THEN
svWhere_String := 'WHERE FJH_VCHR_DT BETWEEN '''||nvl(:GLOBAL.DFROMDT,TO_DATE(:GLOBAL.DFROMDT,'DD/MM/YYYY'))||''' AND '||
''''||NVL(:GLOBAL.DTODT,TO_DATE(SYSDATE,'DD/MM/YYYY'))||''')';
Set_Block_Property('DETAIL_BLOCK',DEFAULT_WHERE,svWhere_String);
ELSE
Set_Block_Property('DETAIL_BLOCK',DEFAULT_WHERE,' ');
END IF;
Similar Messages
-
I have Problem in fetching data from CONTROL BLOCK
Sir,
I am facing problem in fetching data from control block.
Asif.is your control-block a filter-block for the detail-block?
Do you want to see only the detail-data of the user-id you have displayed in the master? -
Restful service unable to insert data using PL/SQL.
Hi all,
Am running: AL 2.01 standalone mode on OEL 4.8 in VM box A.
Oracle database 10.2.0.4 with Apex 4.2.0.00.27 on OEL4.8 in VM box B.
Able to performed oracle.example.hr Restful services with no problem.
Unable to insert data using AL 2.0.1 but works on AL 1.1.4.
which uses the following table (under schema: scott):
create table json_demo ( title varchar2(20), description varchar2(1000) );
grant all on json_demo to apex_public_user; and below procedure ( scott's schema ):
CREATE OR REPLACE
PROCEDURE post(
p_url IN VARCHAR2,
p_message IN VARCHAR2,
p_response OUT VARCHAR2)
IS
l_end_loop BOOLEAN := false;
l_http_req utl_http.req;
l_http_resp utl_http.resp;
l_buffer CLOB;
l_data VARCHAR2(20000);
C_USER_AGENT CONSTANT VARCHAR2(4000) := 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)';
BEGIN
-- source: http://awads.net/wp/2005/11/30/http-post-from-inside-oracle/
-- Ask UTL_HTTP not to raise an exception for 4xx and 5xx status codes,
-- rather than just returning the text of the error page.
utl_http.set_response_error_check(false);
-- Begin the post request
l_http_req := utl_http.begin_request (p_url, 'POST', utl_http.HTTP_VERSION_1_1);
-- Set the HTTP request headers
utl_http.set_header(l_http_req, 'User-Agent', C_USER_AGENT);
utl_http.set_header(l_http_req, 'content-type', 'application/json;charset=UTF-8');
utl_http.set_header(l_http_req, 'content-length', LENGTH(p_message));
-- Write the data to the body of the HTTP request
utl_http.write_text(l_http_req, p_message);
-- Process the request and get the response.
l_http_resp := utl_http.get_response (l_http_req);
dbms_output.put_line ('status code: ' || l_http_resp.status_code);
dbms_output.put_line ('reason phrase: ' || l_http_resp.reason_phrase);
LOOP
EXIT
WHEN l_end_loop;
BEGIN
utl_http.read_line(l_http_resp, l_buffer, true);
IF(l_buffer IS NOT NULL AND (LENGTH(l_buffer)>0)) THEN
l_data := l_data||l_buffer;
END IF;
EXCEPTION
WHEN utl_http.end_of_body THEN
l_end_loop := true;
END;
END LOOP;
dbms_output.put_line(l_data);
p_response:= l_data;
-- Look for client-side error and report it.
IF (l_http_resp.status_code >= 400) AND (l_http_resp.status_code <= 499) THEN
dbms_output.put_line('Check the URL.');
utl_http.end_response(l_http_resp);
-- Look for server-side error and report it.
elsif (l_http_resp.status_code >= 500) AND (l_http_resp.status_code <= 599) THEN
dbms_output.put_line('Check if the Web site is up.');
utl_http.end_response(l_http_resp);
RETURN;
END IF;
utl_http.end_response (l_http_resp);
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line (sqlerrm);
raise;
END; and executing in sqldeveloper 3.2.20.09 when connecting directly to box B as scott:
SET serveroutput ON
DECLARE
l_url VARCHAR2(200) :='http://MY_IP:8585/apex/demo';
l_json VARCHAR2(20000) := '{"title":"thetitle","description":"thedescription"}';
l_response VARCHAR2(30000);
BEGIN
post( p_url => l_url, p_message =>l_json, p_response => l_response);
END;which resulted in :
anonymous block completed
status code: 200
reason phrase: OK
with data inserted. Setup using 2.0.1
Workspace : wsdemo
RESTful Service Module: demo/
URI Template: test
Method: POST
Source Type: PL/SQLand executing in sqldeveloper 3.2.20.09 when connecting directly to box B as scott:
SET serveroutput ON
DECLARE
l_url VARCHAR2(200) :='http://MY_IP:8585//apex/wsdemo/demo/test';
l_json VARCHAR2(20000) := '{"title":"thetitle","description":"thedescription"}';
l_response VARCHAR2(30000);
BEGIN
post( p_url => l_url, p_message =>l_json, p_response => l_response);
END;which resulted in :
status code: 500
reason phrase: Internal Server Error
Listener's log:
Request Path passes syntax validation
Mapping request to database pool: PoolMap [_poolName=apex, _regex=null, _workspaceIdentifier=WSDEMO, _failed=false, _lastUpdate=1364313600000, _template=/wsdemo/, _type=BASE_PATH]
Applied database connection info
Attempting to process with PL/SQL Gateway
Not processed as PL/SQL Gateway request
Attempting to process as a RESTful Service
demo/test matches: demo/test score: 0
Choosing: oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as current candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=2648625079503782|2797815111031405, uriTemplate=demo/test], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true]
Determining if request can be dispatched as a Tenanted RESTful Service
Request path has one path segment, continuing processing
Tenant Principal already established, cannot dispatch
Chose oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as the final candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=2648625079503782|2797815111031405, uriTemplate=demo/test], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true] for: POST demo/test
demo/test is a public resource
Using generator: oracle.dbtools.rt.plsql.AnonymousBlockGenerator
Performing JDBC request as: SCOTT
Mar 28, 2013 1:29:28 PM oracle.dbtools.common.jdbc.JDBCCallImpl execute
INFO: Error occurred during execution of: [CALL, begin
insert into scott.json_demo values(/*in:title*/?,/*in:description*/?);
end;, [title, in, class oracle.dbtools.common.stmt.UnknownParameterType], [description, in, class oracle.dbtools.common.stmt.UnknownParameterType]]with values: [thetitle, thedescription]
Mar 28, 2013 1:29:28 PM oracle.dbtools.common.jdbc.JDBCCallImpl execute
INFO: ORA-06550: line 1, column 6:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin case declare exit for goto if loop mod null pragma
raise return select update while with <an identifier>
<a double-quoted delimited-identifier> <a bind variable> <<
close current delete fetch lock insert open rollback
savepoint set sql execute commit forall merge pipe
The symbol "" was ignored.
ORA-06550: line 2, column 74:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin case declare end exception exit for goto if loop mod
null pragma raise return select update while with
<an identifier> <a double-quoted delimited-id
java.sql.SQLException: ORA-06550: line 1, column 6:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin case declare exit for goto if loop mod null pragma
raise return select update while with <an identifier>
<a double-quoted delimited-identifier> <a bind variable> <<
close current delete fetch lock insert open rollback
savepoint set sql execute commit forall merge pipe
The symbol "" was ignored.
ORA-06550: line 2, column 74:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin case declare end exception exit for goto if loop mod
null pragma raise return select update while with
<an identifier> <a double-quoted delimited-id
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:205)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1043)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3713)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4755)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1378)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:242)
at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124)
at oracle.ucp.jdbc.proxy.CallableStatementProxyFactory.invoke(CallableStatementProxyFactory.java:101)
at $Proxy46.execute(Unknown Source)
at oracle.dbtools.common.jdbc.JDBCCallImpl.execute(JDBCCallImpl.java:44)
at oracle.dbtools.rt.plsql.AnonymousBlockGenerator.generate(AnonymousBlockGenerator.java:176)
at oracle.dbtools.rt.resource.templates.v2.ResourceTemplatesDispatcher$HttpResourceGenerator.response(ResourceTemplatesDispatcher.java:309)
at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:88)
at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:412)
at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:162)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1059)
at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:999)
at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:434)
at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServletAdapter.java:65)
at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:379)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:196)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:662)
Error during evaluation of resource template: ORA-06550: line 1, column 6:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin case declare exit for goto if loop mod null pragma
raise return select update while with <an identifier>
<a double-quoted delimited-identifier> <a bind variable> <<
close current delete fetch lock insert open rollback
savepoint set sql execute commit forall merge pipe
The symbol "" was ignored.
ORA-06550: line 2, column 74:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin case declare end exception exit for goto if loop mod
null pragma raise return select update while with
<an identifier> <a double-quoted delimited-idPlease advise.
Regards
ZackZack.L wrote:
Hi Andy,
Sorry, forgot to post the Source that's use by both AL1.1.4 and AL2.0.1.
Source
begin
insert into scott.json_demo values(:title,:description);
end;
it's failing during the insert?
Yes, it failed during insert using AL2.0.1.
So the above statement produces the following error message:
The symbol "" was ignored.
ORA-06550: line 2, column 74:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin case declare end exception exit for goto if loop mod
null pragma raise return select update while with
<an identifier> <a double-quoted delimited-idThis suggests to me that an unprintable character (notice how there is nothing between the double quotes - "") has worked its way into your PL/SQL Handler. Note how the error is reported to be a column 74 on line 2, yet line 2 of the above block should only have 58 characters, so at a pure guess somehow there's extra whitespace on line 2, that is confusing the PL/SQL compiler, I suggest re-typing the PL/SQL handler manually and seeing if that cures the problem. -
Crystal Reports XI - Unable to fetch data error
Hi all,
I get the below error when i click next or previous buton in my report after navigating the report for about 5 to ten minutes.
JRCAgent3 detected an exception: Unable to fetch data for the subreport 'Subreport1' at this position.
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.eA(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.E(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.aB(Unknown Source)
at com.businessobjects.reports.sdk.b.b.byte(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)
at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getPage(Unknown Source)
at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
at com.crystaldecisions.report.web.event.b2.a(Unknown Source)
at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
at com.crystaldecisions.report.web.event.av.a(Unknown Source)
at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
at com.dnb.asip.report.viewer.ReportViewerTag.doEndTag(ReportViewerTag.java:94)
at org.apache.jsp.Reports.JSP.VIPReport_jsp._jspService(VIPReport_jsp.java:247)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
any help woul be greatly appreciated.
some times i get the below error
"com.crystaldecisions.reports.queryengine.bo: The position is already past the end of the rowset." I am getting very wired errors but not in the same page everytime. what could be the issue?
Thanks,
Premhi,
These are the other exception which i get while clicking the buttons in my report after navigating for sometime.
I get DatabaseVerify error for all the subreports in my report since i have checked verify on first refresh option. can i remove that option? I am using a JDBC/JNDI connection.So the database will change in the runtime depending upon development ,CERT or production environment
here are few other wierd errors that occurs to me. All these error doesnt occur consistently,They all occur after accessin the report for some period of time(10 mins)
1. Exception:java.lang.outofMemory
2. A message is shown as Error 1 in the UI but the log shows 'the Unable to fecth data for subreport exception', agian the Message in the UI is not conistent sometime it is 1 and sometimes it is 0
3. when i click on the prevoius,last,nextor first after acessing the report for a lon time i get this exception
RCAgent2 detected an exception: Error fetching total page count: Unable to fetch data for the subreport 'Subreport74' at this position.
at com.businessobjects.reports.sdk.b.b.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
4.When i click on the search button some times i get the below exception
Exception:
com.crystaldecisions.reports.formatter.formatter.c: Invalid data position
at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.aB(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.b.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.b.do(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.b.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.b.a(Unknown Source)
at com.businessobjects.reports.sdk.b.b.try(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.findText(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.findText(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.findText(Unknown Source)
at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.findText(Unknown Source)
at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
at com.crystaldecisions.report.web.event.u.a(Unknown Source)
at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
at com.crystaldecisions.report.web.event.av.a(Unknown Source)
at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
at com.dnb.asip.report.viewer.ReportViewerTag.doEndTag(ReportViewerTag.java:92)
at org.apache.jsp.Reports.JSP.VIPReport_jsp._jspService(VIPReport_jsp.java:251)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
Caused by: com.crystaldecisions.reports.dataengine.ag: Invalid data position
at com.crystaldecisions.reports.dataengine.bk.V(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.n(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.n(Unknown Source)
... 71 more
4.Too many open files Error message is shown in the UI wheni try to load my report.
5. I get the below exception when accessin the report for a long time.
Exception:
JRCAgent2 detected an exception: java.lang.NullPointerException
at com.crystaldecisions.reports.dataengine.bk.new(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.do(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.int(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.G(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.eA(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.E(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.aB(Unknown Source)
at com.businessobjects.reports.sdk.b.b.byte(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)
at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getPage(Unknown Source)
at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
at com.crystaldecisions.report.web.event.b2.a(Unknown Source)
at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
at com.crystaldecisions.report.web.event.av.a(Unknown Source)
at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
at com.dnb.asip.report.viewer.ReportViewerTag.doEndTag(ReportViewerTag.java:94)
at org.apache.jsp.Reports.JSP.VIPReport_jsp._jspService(VIPReport_jsp.java:237)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
Am i missing out something very basic:-s Do i need to put any entry in my CRConfig.xml?
I am using JDTS JDBC Driver to connect to my Database and JBoss4.04 A is my application server
Sincerely,
Prem -
Unable to fetch data in embedded Xcelsius PDF file on disconnected system
I have an Xcelsius 2008 document with QaaWS. I am able to export it to the PDF and fetch data using QaaWS.
I would like to know, it is possible for the embedded Xcelsius file in PDF to fetch data when the PDF file is sent to customers outside the network.
We are using Business Objects XI 3.1, Xcelsius 2008, QaaWS, MS SQL Server 2008
Thanks in advance.Hi,
When you send the PDF file for the dashboard you have created in Xcelsius, it takes it with the data available in embeded excel. You need not send the data separetly with the PDF.
However, if the data changes, you need to save the dashboard again in PDF format and send it to the user community.
Hope I answered your question.
Regards,
Rashmi -
Custom Measure - Unable to Submit Data Using Input Schedule
We have an application that requires storage of data on a job-to-date basis. To accommodate this, the application was changed to a YTD application and 3 custom measures were added:
JTD (base data)
YTD_JOBS (offsets current period against last month of prior period)
PERIODIC_JOBS (offsets current period against prior period)
Everything is working and the measures resolve to the correct values. The system also completes logic (advanced and dimension) properly. Data may also be submitted through an Import process.
However, we are unable to submit data using an input schedule. We consistently get a "no data to refresh" error message. When the same schedule is used in the older, periodic version of the application, the submission works as expected.
I suspect the problem is the naming of the custom measures is the root cause. I have been unable to find documentation (BPC 5.1M) related to custom measures for 5.1. Any help resolving this issue and/or tracking down custom measures documentation for v5.1 is much appreciated.
Cheers,
JeffJoost,
I believe what you are describing is the root of the issue. The application is set to YTD as the data input type both in the web admin section and in the database table. The problem is that JTD is the input member for this application -- we are loading job-to-date values instead of year-to-date.
It seems that BPC does not understand JTD as a "base level" measure fort the input method. I have not been able to find a table in the database that defines PERIODIC and YTD. My hope was to add JTD to the settings.
Unless someone else has made something like this work, I suspect that I'll have to use YTD as the ID of the base member and restructure the custom measures. We did not start this way since the user community thinks in terms of JTD data. -
Fetch data using structure with full working example
does any body tell me how to fetch data using structure with full working example
the structure name is RSTXT and the field is TXLINE
the data in the form of text is entered from the functional side using t-code ME52N
from there i have to fetch the data
in smartform or in reportusing this code to get text from ME52N this is a structure still not getting output
DATA:BEGIN OF TA_ROW occurs 0,
TXZ01(1000) TYPE C,
END OF TA_ROW.
DATA:BEGIN OF IT_ROW OCCURS 0,
TXZ01(1000) TYPE C,
END OF IT_ROW.
DATA: thread LIKE thead.
DATA: headerid TYPE char24.
DATA: it_text LIKE tline OCCURS 0 WITH HEADER LINE.
data:wa_banfn like eban-banfn.
thread-tdid = 'B01'.
thread-tdname = headerid.
thread-tdobject = 'EBAN'.
select txz01 from eban into corresponding fields of table ta_row
where banfn = wa_banfn.
headerid = ' '.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = thread-tdid
language = sy-langu
name = thread-tdname
object = thread-tdobject
ARCHIVE_HANDLE
= 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
lines = it_text
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
LOOP AT it_text.
CLEAR ta_row.
BREAK-POINT.
FROM THIS POINT TEXT IS COMING
ta_row-txz01 = it_text-tdline.
APPEND ta_row TO it_row.
ENDLOOP. -
Inserting/updating data in control block based on view
Hi!
I`ve created a block based on a view to display data.
I want this block to be insertable and updateable, that is I will use a on-insert/update trigger to call an insert/update procedure located in the database.
When trying to change/insert a value in the block, the error message "Error: Can not insert into or update data in a view" pops up. I`ve tried to get rid of this error, without success.
How can I make a data block based on a view insertable and updateable?
My guess is that this have something to do with locking the records(there is no rowid in the view)... but I'm not sure.
Pls advise!!Morten
As well as on-update, on-insert, on-delete triggers you also need an on-lock,
(even though it might just contain null;) otherwise the form will try to lock the view and fail.
Actually your terminology is wrong, the block being based on a table or view is not a control block. A control block is not based on anything and has no default functionality for communicating with the database. If it was a control block, the on- triggers would not fire. -
Sorting the data of control block in oracle form 10g
I have two block....both are the control block..
in first block i select the date and in second block the data of that date is populated.but the data is populated
using cursor in when-button-pressed trigger of that first block button...
in cursor the data is selected and placed in field of detail block using into clause.... each field..
.and one item of detail block is srno which is create in post-query of detail block using
:sysyem.trigger_record.
Now i want after populated the detail block the data is sorted desc one of the field of the detail block...
Can this possible using set_block_property() of block although the block is control block if yes where i should do
this??????
Please explian...????but with the cursor of repopulate ...how the block is in desc by one field..because if i use again the same cursor to poulate than whats this benefits???
if i write a cursor in button when-button-trigger in first block like this code....
go_block('');
cursor emp_cur is
select empno,date,sal
from emp;
begin
for i in cur loop
select i.empno,i.date,i.sal
into :empno,:date,:sal
from emp
end loop
end;
this loop populate the block which is controll block..
syntax error should be ignored ...i wana to explain what i want to do...
this is not the actual query i have another query but the concept is that...
how i can do this... -
Entity Framework Query - Unable to fetch data
I am working on a WPF application and using Entity framework 6.0
I have written following query to fetch data from database but could not fetch any data:
var customersList = context.Customers.Include(x => x.ReturnedCustomerItems.Select(y => y.ReturnedLotItem)).Where(x => x.IsDeleted != false).ToList();
Notes:
1. context: Database Context Object
2. Customers: DbSet for Customer's table
3. ReturnedCustomerItems: List of Customer Items to be returned.
4. ReturnedLotItem: Lot Item corresponding to Returned Customer Item. Each Customer Item will have a corresponding lot item..
Following is the SQL Query I have written to check whether data exits inside database:
select * from
transportapp.dbo.customer cust,
transportapp.dbo.ReturnedCustomerItem ret,
transportapp.dbo.ReturnedLotItem item
where
cust.CustomerId = ret.CustomerId
and ret.BookingItemId = item.BookingItemId
As output I got the following data records:
Following is the Table structure generated by Entity Framework:
CREATE TABLE [dbo].[ReturnedCustomerItem] (
[BookingItemId] INT NOT NULL,
[IsDeleted] BIT NOT NULL,
[CustomerId] INT NOT NULL,
[ReturnCharge] DECIMAL (18, 2) NOT NULL,
[DemurrageCharge] DECIMAL (18, 2) NOT NULL,
[Weight] DECIMAL (18, 2) NOT NULL,
[Quantity] INT NOT NULL,
[ReturnDate] DATETIME NOT NULL,
[Status] NVARCHAR (100) NULL,
CONSTRAINT [PK_dbo.ReturnedCustomerItem] PRIMARY KEY CLUSTERED ([BookingItemId] ASC),
CONSTRAINT [FK_dbo.ReturnedCustomerItem_dbo.Customer_CustomerId] FOREIGN KEY ([CustomerId]) REFERENCES [dbo].[Customer] ([CustomerId]) ON DELETE CASCADE,
CONSTRAINT [FK_dbo.ReturnedCustomerItem_dbo.ReturnedLotItem_BookingItemId] FOREIGN KEY ([BookingItemId]) REFERENCES [dbo].[ReturnedLotItem] ([BookingItemId])
CREATE TABLE [dbo].[ReturnedLotItem] (
[BookingItemId] INT NOT NULL,
[IsDeleted] BIT NOT NULL,
[IsReturned] BIT NOT NULL,
[ReturnCharge] DECIMAL (18, 2) NOT NULL,
[DemurrageCharge] DECIMAL (18, 2) NOT NULL,
[Weight] DECIMAL (18, 2) NOT NULL,
[Quantity] INT NOT NULL,
[LotId] INT NOT NULL,
[LotItemId] INT NOT NULL,
CONSTRAINT [PK_dbo.ReturnedLotItem] PRIMARY KEY CLUSTERED ([BookingItemId] ASC),
CONSTRAINT [FK_dbo.ReturnedLotItem_dbo.BookingItem_BookingItemId] FOREIGN KEY ([BookingItemId]) REFERENCES [dbo].[BookingItem] ([BookingItemId]),
CONSTRAINT [FK_dbo.ReturnedLotItem_dbo.ReturnedLot_LotId] FOREIGN KEY ([LotId]) REFERENCES [dbo].[ReturnedLot] ([LotId]) ON DELETE CASCADE,
CONSTRAINT [FK_dbo.ReturnedLotItem_dbo.LotItem_LotItemId] FOREIGN KEY ([LotItemId]) REFERENCES [dbo].[LotItem] ([BookingItemId]) ON DELETE CASCADE
I am unable to debug the LINQ expression where I am going wrong. Need help in identifying the mistake.
Thanks!!
NBThe best way of debugging the SQL is to change the where portion
1) First eliminate the 'where'
2) Run with only one where statement : cust.CustomerId
= ret.CustomerId
3) Run with the other where : ret.BookingItemId
= item.BookingItemId
Then compare the 3 results. Your database may not contain any data that has both where statements true.
jdweng -
Data Federator not fetching data USING Netweaver BI Connector
Hi Gurus,
We have upgraded the BW system to use the Data federator.
callback ID that SAP NetWeaver BI uses to contact Data Federator has been configured as mentioned in guide.
we have already configured the CONNECTOR and we are able to test the connection in DF Designer and the connection is successful. i am able to see the list of fact tables and i am saving the data source and making it final and deployying my project .
i am using the jdbc connection and data federator strategy and the strategy is also creating the joins and classed automatically. when i export my universe and try to create the webintelligence report i am unable to see the data .even when i execute with one object and one keyfigure it is same .
even when i test my data source in designer to view the data using query tester tool it is also not able show the data it takes huge time and no data getting retrieved .
i would appreciate if you could help me with this issue
Regards and thanks
AbidHi,
Which version of Data Federator are you using ? Direct access to ECC table is not yet supported using Data Federator.
Jean-Pierre -
Unable to fetch data from R/3
hi
i have a few questions regarding data extraction from R/3 into BI 7.0. I am giving the steps that i followed for the same.
1. Created 2 char infoobjects vbeln,posnr. 1 keyfigure 0Gross_wt (unit 0UNIT_OF_WT)
2. In R/3 went into RSA5 activated SAP-R/3(SAP Application components) >> SD >> Activated 2LIS_11_VAITM (Sales Document Item Data)
3. In RSA6 double-clicked 2LIS_11_VAITM - all fields i.e POSNR, POSNR and BRGEW are present. these are the fields that I am mapping in the proposal.
4. In BI, RSA1 >> source systems >> SAP (RFC to R/3) >> SAP Application components >> Sales and Distribution >> replicate metadata >> got 2LIS_11_VAITM in the list (but under sales Master Data, There is no App. Comp. for item data).
5. Checked fields in the datasource.
6. Created infopackage >> in schedule >> Start data fetch >> Got mesage : Data was requested.
7. In Infoprovider >> created an Infocube >> added the chareacteristics and keyfigures to it.
8. created Transformation >> mapped the fields >> activated >> created DTP with : Extraction mode = Full >> Update >> error handling = request green >> activate.
9. Execute tabe >> executed.
10.Monitor message >> No more data available >> 0 records updated.
a. What am i doing wrong? data is available in R/3 tables VBAk and VBAP.
I tried the same steps for uploading Customer as Master data under the infoarea and was able to get the records in BI.
b. How do i create Transfer rules and Update rules while fetching data. Could you give me the steps.
c. Are the steps the same if i try using an ODS object instead of an Infocube?
Please help
Thanx
SujaiGoto SBIW tcode in the source system.
And follow the path.
Business Information Warehouse -> Settings for Application-Specific DataSources -> Logistics -> Managing Extract Structures -> Initialization -> Filling in the Setup Table -> Application-Specific Setup of Statistical Data
Select your component.
Also before filling you need to delete them.
You can do it in tcode LBWG.
Regards. -
How to load data using Control File in BW 7
Hi All,
I have a requirement to load data in BW using control file. The development is done in in BW 7.0. In BW 3.5 in infopackage, there is an option of FILE IS ( Control File or Data File ). Please suggest how to simulate the same in BW 7.0
Regards,
VikramAny suggestions?
-
Unable to open data process control
Hi,
While I open Data Process Control, it prompt error as below. How to fix it?
An error occurred while initializing POV data. Confirm that metadata has been loaded and that you have sufficient security rights.+Hi
According to Oracle Support, the cause of the issue is:
The file HsvWebSessionWSP.dll was not registered properly. This file will be in HFM Webserver under the location <MiddlewareHome>\EPMSystem11R1\products\FinancialManagement\WebServices.
And the solution is:
Re-registering the HsvWebSessionWSP.dll file should resolve the issue, by using this command: regsvr32 "<MiddlewareHome>\EPMSystem11R1\products\FinancialManagement\WebServices\HsvWebSessionWSP.dll"
Hope this helps.
Cheers,
Lu -
Unable to fetch Data with apps_query_role
Hi Guru,
There is some issue on fetching data with my database account i have apps_query_role i can fect the data from devlopemnet instance.
which checked in devlopemnt instance:
select * from all_directories
I am getting data
When doing same thing in prod i am getting no row selected. Please help here.Hi,
it would be hard to guess the things.. Try to check the session_privs from your current session with prod,
Try to check privs granted on directories to specific to your account or not.
- Pavan Kumar N
Maybe you are looking for
-
I have an Apple TV . My husband has an I-pad 2 and I Have an I-Pad 3. When my I-Pad 3 is used we have no problems. However when we try to use my husbands I-Pad 2 video mirrioing lags behind for minutes. We checked settings and both I-pads are the s
-
SAP Script LVSTALISTE not printing VEKP fields
Hi all, The SAP script LVSTALISTE does not print out any field in the packaging section. All the fields in this section come from the table VEKP. Is there some special config that needs to be done to activate the printing of the fields from this sect
-
Windows 7 PC. License (CS6) bought and installed. My work computer was reformatted by the I.T department and I sub-sequentially lost all my programs. I don't have the license code. Is there any way of retrieving the license and re-downloading? Please
-
BODS 4.1 -- 64 bit server and 32 bit client on 64 bit machine
Hi Team, I have a question about BODS Installation in Windows machine Is it possible to have 64 bit DS server and 32 bit DS client in 64 bit windows machine Regards, Venkat
-
I have an HD animation sequence that needs to be rendered on my timeline. Everytime I try the one of three rendering types ie: selection, All or Only it starts to render up to a certain point then it stops and says 'general error'. HELP!