Plannig Function Execution
Dear IP Experts,
I wrote a small planning function to copy values from one cube to other cube. It was working fine. Basis person has applied latest patch 2 days back. Since to days when I try to execute it is throwing me an error
RFC_ERROR_SYSTEM_FAILURE
Only while executing few planning sequences I am facing this issue. Other plannig sequences are working fine. Since 2 days I am facing this issue. Code for my planning function is
DATA A6 TYPE 0INFOPROV.
DATA A7 TYPE ZSBUH.
FOREACH A7.
{ZCYGRT, 'ZICHOPP11', A7} = {ZCYGRT, 'ZICHRPP1',A7}.
ENDFOR.
Fields to be changed are
SBUH
0INFOPROV
Please help me in this.
Regards,
Pushpa
Hi Pushpa,
Either use Standard Copy Planning Function
Or Directly use the function not Planning Sequence in Query.
Regards
Aditya Panwar
Similar Messages
-
Best practice usage of system users for different RFC functions execution
Hello experts,
Could you guys share your thoughts on RFC type 3 - system userid usage:
Would it be recommended to use ONE RFC destination (type 3) for execution of various functions?
Is it recommended using the different RFC destinations (type 3) (with different system user ids) depending on the functions execution?
Thanks in advance for your thoughts.
Thanks
HimadamaThanks Julius for your information.
Option 1: System user id / password:
Password is sent over the network. But SNC control would take care of this.
1 destination = 1 system userid
If the useru2019s password is compromised the risk would be limited to that destination function group (RFC_NAME in S_RFC auth object)
System users only need RFC authorizations (S_RFC).
Only monitoring System users would be enough.
Better password management if required.
Option 2: u201CCurrent Useru201D option:
One user may need access for more than one function groups access ( RFC_NAME).
Compromising user's password would result more damage than the system user. Since this user has broad access to execute multiple function groups.
Monitoring these users would be overloaded job in this case becoz of increased users numbers.
The management of authorizations (roles) to these users may require strict approval process.
Option 3: Trusted system option:
u2022 RFC_SYSID :
u2022 RFC_CLIENT:
u2022 RFC_USER : ' '
u2022 RFC_EQUSER: Y (for Yes)
u2022 RFC_TCODE : *
u2022 RFC_INFO :
u2022 ACTVT : 16
Seems user requires both the auth objects S_RFCACL and S_RFC in this case.
Compromising user's password would result more damage than the system user. Since this user has broad access to execute multiple function groups.
Monitoring these users would be overloaded job in this case becoz of increased users numbers.
The management of authorizations (roles) to these users may require strict approval process.
Would you say considering the system userid/password is better option than other methods with SNC control in place? Please share your thoughts.
Thanks
Himadama -
"IMAQdxOpenCamera" function execution time is particularly long,why?
I install VAS2011 in CVI2010 environment, running IMAQdx the samples <Grab and AttributesSetup>, "IMAQdxOpenCamera" function execution time is particularly long, more than 7 seconds,why?
Thanks!
Solved!
Go to Solution.Thank you for your answers!
I capture video using VFW initialization faster, only use IMAQdx speed slow.
thanks! -
Audit Procedure and Function Execution
Hello,
Does anyone know if Data Vault is capable of auditing procedure and function execution?
Regards,
HugoData Vault is a vault ... it does not perform auditing.
Audit Vault, the title of this forum, is a vault that stores audit trail information ... it is not an auditing creation tool.
If you want to audit procedure and function execution tell of your version and specifically what metrics you want for your audit trail.
Also look at the following:
http://www.morganslibrary.org/library.html
scroll down to OWA_UTIL
and look at the WHO_CALLED_ME procedure. -
? Regarding 'SQL user-defined function' execution performance ?
Hi All,
I have an user-defined function in SQL which am using in a SQL select statement and i found that the execution time taken by the user-defined function is 9-10 minutes as a result of which my whole query execution time is affected.
How to i improvise the execution time. Should i do some sort of scheduling for executing the user-defined functions only. Am new to the database world. Your early response with a good suggestion would really be appreciated.
Thanks in Advance.Try to read SQL tuning documents along with TkProf. Then only you will be able to detect the problem.
There is no instant method by which you can solve this problem.
But, you can get idea from this samples.
Tuning:
http://www.dba-oracle.com/art_sql_tune.htm
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::NO::P11_QUESTION_ID:8764517459743
Reading TkProf:
http://www.dbspecialists.com/presentations/use_explain.html
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:920429344869
Regards.
Satyaki De. -
Procedure/function execution sequence
Hi,
I've a package that has about 20 stored procedures & functions and I know these are executed sequentially but don't know which procedure/function is called when and in what order.
Is there a way for me to query some Oracle table to check the sequence in which these procedures or functions are called during the last execution?
I understand, it can also be achieved by logging messages but am wondering if there's a Oracle table that stores this information.
Thanks in advance.If you can start the dbms_profiler before the procedure is executed and stop the dbms_profiler after the procedure is finished. It will give you each statement which gets executed in sequenc.
NOTE: The source code should be unwrapped.
Please follow the Forums Etiquette and tag the answers helpful or correct. -
CVI XML Functions Execution Times Increase When Looped
I have written multiple functions using CVI that read XML files. I have confirmed in the Resource Tracking utility that i have cleaned up all of my lists, elements, documents, etc. I have found that when I loop any of the functions I have created, the execution times increase. The increase is small but it is noticable and does effect my execution.
Are there any other sources of memory that I need to deallocate? It seems that there is a memory leak somewhere but I am unable to see where this increase is located.
I am currently running LabWIndows/CVI 2009 on Windows 2008 Server. I have looped my functions using TestStand 4.2.1. Any help would be appreciated!
Thanks in advance,
Kyle
Solved!
Go to Solution.HI Daniel,
Thanks for the quick response.
It is indeed slow down in execution speed when we loop. When looped, the XML reader is overwriting variables, not adding to an array. Our application is structured differently than my test case. We run a CVI function from TestStand that contains a series of commands, which contains the XML reading. The XML looping is really done in CVI. I used TestStand in my test case just to get execution times. Our psuedocode for the CVI function is as followed:
For loop (looping over values, like amplitude or frequency)
Reading the XML
Applying the data from the XML to set up some instrument(s)
Do something...
End loop
I can confirm that the instrument set up is not the cause of the slow down. We have written the same XML reading in C# and applied the values to the instrument setup and do not experience the slow down.
I tested with On-The-Fly Reporting enabled and the execution time continued to slow down.
I hope that answers all of your questions!
Thanks,
Kyle -
Procedure/Function execution time
I want to get my procedure/function total execution time which is running inside of application.
I think that I can use PLSQL_EXEC_TIME column of v$sql time. Please confirm this if I can or not.Hi;
Please see:
http://www.orafaq.com/maillist/oracle-l/2004/01/27/0522.htm
http://www.dbforums.com/microsoft-sql-server/1625184-how-catch-stored-procedure-execution-time.html
http://www.geekinterview.com/talk/9466-procedure-execution-time.html
Regard
Helios -
Authorize plugin notify, on connection timeout + remote function execution
When a client application stops the stream I normally get an
E_STOP notify. But if a client dies due to network outage or the
client computer dies (or something other unforseen that doesnt give
a FIN/RST on the TCP connection), then it seems there is no way to
get a notification about this..
Or have I missed something?
If not, that is a big feature request for us, and probably
other people developing pay-per-view-stuff..
Also, is there some way to catch remote executions? Ie if my
client calls a function on my SSAS, can I catch that invocation in
my authorize module somehow? (Or in some other way get trigger some
code in my plugin, when a client calls a function)
Is there somewhere on the adobe site one can submit feature
requests to FMIS?
Thanks!Hi, thanks for your answer!
Yes, that would be one solution that I've thought of.. But
then the question is how to interconnect SSAS/remote events with
the authorization plugin..
The only thing i've found is the addNotifyAction on
IFmsAuthEvent that allows me to call a a SSAS function from my
plugin (when I process an actual event). But not the other way
arround (dispatching an authorize/notify event in my plugin, from
SSAS) as far as I've seen...
I guess if I implement the server pinging feature, and do a
disconnect, i should get a E_DISCONNECT that I can use, so that
might be a (very ugly) solution.
Okay so I tried that now, with the following code:
application.onAppStart = function()
setInterval(application.pingAll, 30000);
Client.prototype.onStatus = function(info)
trace("client "+this.id+ "/"+this.ip+" onStatus with
"+info.code+", "+ info.level +": " +info.details);
Client.prototype.onResult = function(info)
trace("client "+this.id+ "/"+this.ip+" onResult with
"+info);
application.pingAll = function()
trace("Pinging "+application.clients.length+" clients");
for (i = 0; i < application.clients.length; i++)
var c = application.clients[ i ];
var r = c.call("ping", c);
trace("Pinging " + c.id + "/"+c.ip+ ", result "+r);
The result of this was, when pinging a client that was alive
I got "NetConnection.Call.Failed" immediately, but that was
expected since I haven't implement the ping function in my client.
So far so good.. Then I started another connection/stream on a
laptop, and pulled the plug.. A while later it tried to ping.. No
call to onStatus nor onResult.. waited a bit, after 5 minutes still
no call to onResult??.. return value from c.call was always true,
but after around 6-7 minutes, it started to return false instead.
But no call to onResult..
To me this seems like a bug? Or do I have to enable timeouts
or something?
I do have <AutoCloseIdleClients enable="true"> (with
60s check interval and 300 max idle) in my config, but still it
seems that the client object is alive in application.clients way
longer than 5 minutes..
Seems Adobe got a few quirks to sort out?
Thanks for any help or input! -
How to link the variable entry with the planning function execution
Hi All,
I am new to IP , we have a requirement where the user enters the value 2008 for a variable year. Then we are supposed to copy the same combinations for the next four years against which the user will be able to input the key figure values. But i have only 2008 data in the cube, so i need to generate new records for the same characteristic combinations as present for 2008 for the next four years. I am planning to use a copy function for this but how can i trigger this planning function once the user enters the value for the year variable. I want the planning function to get executed once the user clicks OK after the variable entry. Request your valuable inputs on the same.Hi Tilak,
for this u have an option of executing the planning sequence when the web template loads ie. after the variable screen.
open the WAD.
go to the properties of Web Template web item. Under the section standard action of the webtemplate, we have a n option to include planning functions under action before rendering.
If u include your planning sequence in this this will get executed every time the layout loads.
guess this is usefull to u.
Regards.
Shafi. -
Planning Function Execution Using Formula Function
Is there a way to execute a "planning function" N times in a formula function and being able to change the parameters of the "planning function" on each iteration.
Regards,
salmanSalman,
You should go for any kind of Exit functions when they are really required, I guess your requirement is like such that you have certain selections different in your level and accordingly you are planning.
Then you should go on creating packages as many different selections you can on a level and you call them up using a sequence.
That's good way to deal this, I hope this is a helpfull input for you
Best Regds,
Ven -
Wait for while between two functions execution
Hi, Pro,
I am now using jdk1.2 to develop GUI using Swing. I need help from you to figure out how do you make program waiting for while(like sleep) between function A and function B, and still not block the screen allow user to do other thing on the screen.
like:
private void Function(){
functionA();
//wait for 30 seconds here but
functionB();
Thank you very much!!
ywangI did put it on, but I got message as:
java.lang.InterruptedException: operation interrupted
at java.lang.Thread.sleep(Native Method)Then you're probably trying to sleep the dispatcher thread. Sleep should never be called in event handler processing. A GUI event which triggers a process taking a substantial ammount of time, like this one, should always spawn a new thread to do it and, itself, return promptly. -
Function and procedure execution
hi all,
i have question in procedure execution and function execution oracle database.
i want know that which is faster in execution procedure or function.
can i see the time taken by procedure and select query
i want to see only time not cpu cost or anything else.
i am waiting for your responses...There is no difference in cost between whether something is a function or a procedure.
The decision making should reflect usage only. For example you can not use a procedure in SQL.
If you wish to break things down further focus on 10046 and 10053 tracing.
Seeing time only is roughly equivalent to cutting off all of your fingers to see how something feels to your thumb.
Timing is only one very small part of what you should be watching. -
Is Function Activity execution synchronous/asynchronous?
Hi,
I would like to know the mode of execution of Function activity, that is whether it is synchronous/asynchronous?
Suppose if I have 2 activities in a process, one is of type PL/SQL and another is of type External Java. When I start the process from a java program, when will the calling program get the control back? will the exceution of each activity is synchronous or asynchronous?
thanks in advance
Regards
honnurThanx for the reply.
I find that if the function activity is of type PL/SQL then the calling function(WF Engine) waits till the PL/SQL procedure/function exection is complete. But if the function activity is of type External Java then the calling function(WF Engine) does not wait until the Java function execution is complete. In this case, when External Java Agent finishes the function excution, we have to explicitely invoke background process to complete that activity.
So the Java function activity execution is asynchronous from calling function perspective.
is my understanding right??
TIA
honnur -
Use of forecast planning function in Integrated planning
Hai ,
Can I Know What is the use forecast planning function in Integrated planning.
Give me One Example.
Please tell What i hv to select in aggregation level, Filter, and Planning function for doing forecast.
Regards
Kishore.Hi,
Filter is indeed used in IP similar to how planning package was used in BPS. There really is no difference 'conceptually'.
What you have seen is the different options IP offers compared to BPS regarding planning function execution. You can execute planning function directly or using a planning sequence in an application (although in planning modeler, its only a planning sequence that can be executed, for eg., for testing purpose).
If you just execute a planning function without specifying any restriction, it will operate on the entire set of planning data. Whether its a planning sequence or planning function, the data it operates on can be restricted by binding the various characteristics (or variables) using various DPs in the application. What kind of dynamic selection are you looking at?
You can see following links if you have not read them already -
http://help.sap.com/saphelp_nw70/helpdata/en/43/f0f8dc73b56bede10000000a11466f/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/44/33a31fd463060ce10000000a155369/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/43/f0f92373b56bede10000000a11466f/content.htm
These are for WAD; you can find similar links for the BI Analyser.
Maybe you are looking for
-
How do i use Desktop PC (Mini Hdmi or DVI) to imac27 as monitor
How do i use Desktop Pc through imac27 as monitor? first of all i dont want to use bootcamp. cos it dont run high end game, this is a reason i want to use my pc . my Graphics Card use Dvi or mini Hdmi, so which kind of Adapter to use and want full Re
-
For some reason, my USB microphone is not being recognized by Logic Express...I had it working before but now nothing? The only options I see under my Core Audio prefs are Internal Microphone and Line-In? Any ideas why the mic isn't working now even
-
Commercial Application developed with Oracle APEX
Except the commercial application list on the official Oracle APEX web-site, anyone can give more information regarding commercial application developed using Oracle APEX? One I can find: XPinventory (http://xp4each.wordpress.com).
-
Dear Apple what will happen if I charged my iPod touch 5 gen for 9 hours?
Hello. Apple .. What will happen if I charged my iPod touch 5gen for 9 hours?
-
This error occurs when I type in an address or copy an address from an earlier message. Any Ideas?