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,
Jeff
Joost,
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.
Similar Messages
-
Error while sending the data using input schedule
Dear Friends,
I am unable to send the data using input schedule due to following error is occur while sending the data.
The Error Message : Member (H1) of dimension (ENTITY) is not a base member (parent or formula)
Can anyone please help me to resolve the above error.
Thanks and regards,
MD.Hi,
You are trying to send data to a parent/node, you can only send data in BPC to lowest-level children (base mamabers) of any dimension.
"H1" is a parent in the entity dimension so you should try sending to a child.
Tom. -
Load master data using input schedules
Hi all,
Does there exist a way to load and modify master data using input schedules?
Regards,
NithyaHi Nithyapriya,
Chiming in here to 2nd Joost's statement above. As of BPC 5.1 version, it is not possible to update master data from an Input schedule.
Whether that's possible in other products or with BPC 7.0 NW (currently in Ramp-up), is another story. For now, the general answer is that it's not possible.
This is a known area for improvement with BPC at this time, and we're sure to hear more about either integration with NetWeaver or some other methods of making things more dynamic, or with SSIS packages, etc.. in the future.
Edited by: garrett tedeman on Sep 2, 2008 7:20 PM -
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. -
Submit data using Jquery/Javascript during button click
submit data using Jquery/Javascript during button click
Hi,
From your description, my understanding is that you want to restrict edit form with jQuery/JS.
If you want to restrict the default edit form with jQuery/JS, you could refer to these steps below:
Enter your editform.aspx.
Add below code under <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">.
Save this file.
<script src="https://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
function PreSaveAction(){
if($("select[id$='DropDownChoice']").val()==""){
alert("please choose a value!");
return false;
return true;
</script>
The screenshot below is my result(it will not save data after clicking OK in the message alert):
If you customize your list with InfoPath, you could check the checkbox “Cannot be blank” under Validation section or add a rule for your validation as the screenshot below:
In addition, you could check your code with pressing F12 to debug your code.
Best Regards,
Vincent Han
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Loading of master data through input schedule
Hi guys!
Is any solution for loading/updating of master data through input schedule?Hi Maxim,
In addition to all above, Input Schedules are used to enter and send data for whatever dimension members you have maintained in BI or BPC.
The master data can be maintained in BI, then you need ot load data from BI and it will be reflected in BPC.
If you want to make changes in master data in BPC, then you need to goto Admin, select whatever properties you want to display and then Maintain Dimension Members for the same.
However, you can also import master data from BI using DM packages in BPC Excel.
Hope this clarifies.
Rgds,
Poonam -
Mapping measures of cube with data using awm
hi i am new in using analytic workspace manager i have already created dimension of a cube and mapped data into that.the i created cube now i want to map dimension into cube and aggregating values into measures.but i am unable to load data into cube and calculate the aggregate values.
that pls help me if any one knows this as this is part of my project so its very necessary to understand for me.
Edited by: karuna nidhan tiwary on Sep 3, 2012 10:09 PMin this a long list is comming.
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
BUILD
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
SCOTT.DEPARTMENT USING
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
LOAD NO SYNCH,
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
COMPILE SORT
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
JAVA 0 58
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
0 0 1
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
288 rows selected. -
How to get the refreshed data from Input schedule while using evsnd
Hi Experts,
I am using EvSnd function for sending the data from a Input schedule.
Acc Value
xx----
xy------ 10
xz------- 20
these above cell value 10,20 are getting sent by evsnd function which is written in different cell.
Now after successfully sending, how I can see these are also getting refreshed, like in Evdre
Acc Value
xx----
30
xy------ 10
xz------- 20
Thanks
AnupamThanks my friend.
But the point is I need to show the updated data for all the cells (for xx, xy,xz). The point is if I use the evsnd then after the data has been sent, those two cells xy & xz will be blank once again. And so if the user will not be able to check what the data they have sent for these member from that sheet.
They have to get a report which will show the figures.
And we can't even use the evgts in the xy/xz cell as the formula is going to be erased as soon as the user enter the data in that.
so how we can do the sheet similar to evdre ip schedule..where after every data send the cell range shows latest data. -
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
Ramhi,
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; -
Unable to persist data using oracle BC
HI all
I am using Jdeveloper 11.1.2.3.0.
I have followed the Adf insider BC and Faces component tutorials.
All works fine and i am able to view all data correctly.
When i try to insert a new record, using create and insert or create, i can see the row added from the web interface, but it does not get persisted in DB.
What could be the possible causes?
ThanksAlso, you need to make sure that your Task Flow uses a transaction, otherwise you would have to supply custom code for the commit to work. To determine this, open the Task Flow file, go to the Overview tab, then click on Behavior in the left-hand column. You should select « Always Begin New Transaction » or « Use Existing Transaction if Possible. »
Best Regards,
Frédéric. -
FM - HR_INFOTYPE_OPERATION - Unable to delimit data using this FM
Hi All,
I am trying to delimit the end date of infotype 0014 using function module "HR_INFOTYPE_OPERATION", Though the FM returns a zero return code and the sy-subrc is also zero. The FM doesnt sav ethe data. I do not get any error in this FM, But i see no date is not delimited.
I have used the below code to demilt the end date.
CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
EXPORTING
number = int_tab_0014-pernr.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '0014'
NUMBER = int_tab_0014-pernr
SUBTYPE = int_tab_0014-subty
OBJECTID = int_tab_0014-objps
OBJECTID = ' '
LOCKINDICATOR = int_tab_0014-sprps
VALIDITYEND = int_tab_0014-endda
VALIDITYEND = l_valend "99991231
VALIDITYBEGIN = l_valbegin "20110101
RECORDNUMBER = int_tab_0014-seqnr
RECORD = g_record
OPERATION = 'MOD'
tclas = 'A'
DIALOG_MODE = '1'
NOCOMMIT = ' '
IMPORTING
RETURN = g_return
KEY = g_key.
call function 'BAPI_TRANSACTION_COMMIT'.
CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
EXPORTING
number = int_tab_0014-pernr.
I have also tried commit work, but it doesnt work as well.
Could someone please get me on this? How do i save the delimit of end date?
Regards,
SuchitraHi,
LIS9 does not work to delimit. Instead use INS and try inserting a new record , which should automatically
delimit the previous record.
Regards,
Srini. -
Passing Messages after Submit in Input Schedules
All,
I have a scenario where I would like to send messages to the user after they submit data from Input Schedule. This is very similiar to how we receive error messages when we submit entries to a parent node. My scenario is this: When users submit data, I always write data to a particular version and run thru from BADI logic for validations. If it passes the validation, I move the data to a final version or else, I would like to display the messages due to which the data is not posted to final version. Currently, I have a BADI written in default logic. Whenever I write messages to ET_MESSAGES, it appends it to the log and I do not see it on the screen. I tried raise exception using CX_UJR_EXCEPTION, but the text id is 32 characters so it displays only the first error message. In my case, if I reject 10 entries, I would like to provide info on all these 10 entries.
Ideally, I would like to write entries similiar to ET_ERROR_RECORDS (table) in UJR_WRITE_BACK but I do not see a similiar logic for UJ_CUSTOM_LOGIC. Has anyone done this before? Any input is appreciated.
Thanks in advance.This is because excel still stores the values internally in the original format. It just formats the data for the display. So you need to enter the data value correctly in the cells.
The other alternate would be to have the numbers sent from another evdre where number are multiplied by 1000 from the input cells.
Hope this helps.
Badrish -
Unable to copy data in planning
Hi Gurus,
I am unable to copy data using "copy data" in planning web application.
getting an error "MSG_COPY_DATA_OPTIONS_FAILED: An error occurred while running the specified calc script. Check the log for details."
here are the steps I checked:
I checked whether planning and essbase are in sync.
The DBA team says that there was no spikes in memory.
when I take small data set it see data in target but the status in Job Console says processing for the past 45 min.
I was copying only one month of data.
please help.I see you must of read the two Oracle Support articles by what you wrote in your post.
Have you checked the essbase app log? also it sometimes help to restart the planning web app when it happens.
Also have a read of Re: Where is the calc script created when running the 'Copy Data' function ?
Cheers
John
http://john-goodwin.blogspot.com/ -
Smartview adhoc to submit data
we are trying to submit data using smartview adhoc "submit data" button. However, instead of hard coded values in the data cell, we are using a formula to calculate the value to be submitted.
for example, in cell F24, instead of typing in 200, it uses a formula cell A10*2 to get to calculate a value to submit. When I click on Submit data with that formula there, it will not submit the data. I know the intersection points are valid because if I sumbit a hard coded value it is submitted successfully.
I do have the "Preserve Formula and Comments on Adhoc Operation (Except pivot) checked. If I uncheck this and click submit. it brings back the data from the cube and my formulas are gone. So I cannot remove the check for the "Preserve formula"
is there any way to submit data based on calculated value?
we will be submitting data to both Essbase and HFM cube.
The SV version we are using is 11.1.2.1.103 (Build 100)
Thanks!The issue is fixed in SV 11.1.2.2. Please refer - Smart View Submit Data Fails If "Preserve Formulas" Option Checked. (Doc ID 1475272.1)
HTH -
Jasmine. -
Create input schedule with several dates
Dear experts,
I need to create an input schedule with the following layout:
jan10 | fev10 | .... | nov10 | dez10 | jan11| ... | dez11 | jan12 | ... | dez12
jan10 and fev10 must show real values.the rest of the months for 2010, 2011 and 2012 must be available to be planned.
How do I accomplish this using BPC? how do I do this?
Thank You
InêHi,
As per my understanding you wanted to have - jan10 | fev10 | .... | nov10 | dez10 | jan11| ... | dez11 | jan12 | ... | dez12
etc.,members, wherein it should show the values in "jan10 | fev10" , and rest of the months should be for Planed right? So in Time dimension you please create the members as you wanted (like jan10 | fev10 | .... | nov10 | dez10 | jan11| ... | dez11 | jan12 | ... | dez12), then come to BPC Excel load the real values for for jan10 | fev10 |, and send the data through Input schedule.
Then prepare one more Input Template including all months....then it will display the values for those jan10 | fev10 | months and remaining will be kept open to accept the data. Even you can put those 2 months ( jan10 | fev10 |) in Actual category, remaining months you can put them in Plan category. In member set you can concatinate both the categories and you can have all in one template. These 2 months ( jan10 | fev10 |) will display the data in Actual, and remaining months can be shown as Plan and they are ready to accept the inputs.
I hope you might have understood.
Regards,
Raghu B.S.
Maybe you are looking for
-
hi gurus, I have situation where the GR/IR account was created without open item managed.and now they want to make it open item , But account has line items /Values , it been in use for almost a year. now that they are reconciling it end of fiscal ye
-
Need help trying to install XP on a athlon , k7t turbo limited edition mother board , 1 stick 128 mb 133mhz , 40 gig ata100 "only can run a 66 cable cause Im poor" 32 mb radeon pci . I also dont know how many mhz I got, its running at 1.3 but the ove
-
Creation of Requisition Request through MSS
Dear All, Currently we are on Ehp4 and using standalone eRec server We have the following requirement. Line manager needs to raise a requisition by Poistion/Job of his Org Unit in MSS and go for the approval to Higher level manager and then after the
-
Moving a table with long data type column
hi 1.how to move a table with a long data type column in 8.1.7.3.0 ver database. alter table APPLSYS.FND_LOBS_DOCUMENT move lob(BLOB_CONTENT) store as (tablespace testing) ERROR at line 1: ORA-00997: illegal use of LONG datatype 2. and a table with v
-
Stereo Audio in from FCP to DVDSP
I can't seem to figure out how to create stereo audio when compressing from FCP5. My workflow... I export my timeline using compressor I pick and export such as DVD 150 minutes best I choose all so that I have MPEGS, AIFF and Dolby AC3 I generally do