Limit on # of Parameters / Conditions?
Is there a max limit to the number of conditions and/or parameters a user can have in a single worksheet? I have a user who wants to create a workbook with 100-200 parms or conditions.
Even if this is no trouble for Disco to handle, it will probably make the query run very slow, right?
Thanks!
Sure sounds suspect that a user would require 100 - 200 parameters.
In any case it would be a nightmare to:
a. create
b. maintain
c. run each time
As the parameter window will only show a certain number of parameters on each screen (something like 4 or 6) that would be a heck of a lot of screens - and of course the user never makes a mistake typing ... right?.
As for a slow query - I doubt it. It just becomes an exact SQL statement with all the WHERE conditions. But maybe a SQL statement size limit will be reached, etc.
Suggest the user revisit what they're talking about or maybe creating a custom table to handle what they're trying to do.
Russ
Similar Messages
-
Is there a limit to number of conditions I can set in Mail's spam filter?
There seems to be a limit to the amount of conditions I can set in Mail's spam filter. ie there's no scroll bar down the side - the list just goes as long as my computer monitor's length will allow, and that's it.
Is that right - or is there a way to set more than about 28 conditions (in my case).Tim,
yes, you can add more conditions (I don't know whether this is a limit or not) using AppleScript - the problem with the approach is that you will have somewhat of a hard time editing the rule in Mail after that as the buttons at the bottom of the window will no longer be accessible...
Look at the following AppleScript as an example on how to add a new condition to a rule called "Junk Rule"
Click to open this script in your Script Editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; padding: 0.2em; font-size: 10px; width:500px">tell application "Mail"
tell rule "Junk Rule"
set theNewCondition to make new rule condition at end of rule conditions
tell theNewCondition
set rule type to subject header
set expression to "viagra"
set qualifier to does contain value
end tell
end tell
end tell</pre>
Andreas -
5.000,00 exceeds the limit 100,00 for condition type PR00.
Please help me to resolve this problem as I am not able to find where sud I go to delete the upper and lower limit of condition type PR00..Whene I maintain the record for pr00 for different material it create a error with limits.
Hi
What error message you are getting? Can you check if you have maintained anything for PR00 in SD > Basic Functions > Pricing > Define condition types > Maintain upper and lower limits.
Thank$ -
Limit of for each conditions in rtf templates
Hi Everyone,
I have a use case where i need to genereate a report by using values from two data sets. data sales, cost.
Data set sales have four columns product1, product 2, product 3, product 4
Cost has cost1,cost 2, cost 3, cost 4.
I need to display in below format
product 1| product 2| cost 1|cost 2| product 3| product 4| cost 3| cost 4|
To get above format i am using four for each condition groupings two for each data set
<?for-each:/data/sales?><?product1?>|<?product2?><?end for-each?>|<?for-each:/data/cost?><?cost1?>|<?cost2?><?end for-each?>|<?for_each:/data/sales?><?product3?>|<?product 4?><?end for-each?>|<?for-each:/data/cost?><?cost3?>|<?cost4?><?end for-each?>
If i use first two for each conditions i am able to see values in template but if i use four line is missing in the template.
I did not understand where lies the problem.
Please let me know if you need more info.
Regards
SandeepIf you have product ID or key in the cost data set, then you can follow the method in this post to display data:
http://blogs.oracle.com/xmlpublisher/2009/09/formatting_concatenated_dataso.html -
Time out condition for FTP parameters in communication channel
Hi
Could you please tell what should be the maximum limit for time out condition in receiver file communication channel for FTP.
it should be either 120,90 or 60 seconds or can we exceed time than this?
Thanks in advance
Best Regards,
Harleen Kaur ChadhaThere is no hard limit, but the time limit should be less than the polling interval: if you set the polling interval to 60 seconds, your timeout interval should be less than that value. If you exceed this value, you have the risk of an adapter deadlock (adapter stops polling)
You can imagine that a timeout interval of 300 seconds would not make much sense. -
How to maintain minimum price limit and maximum price limit for a condition
Hello Gurus,
Goodmorning,
How to set minimum price limit and maximum price limit for a pricing condition type where we will do this ?, is it possible to set in VK11 ?
Note- I can see minimum and maximum setting in condition type pricing - in SPRO but not seen anything in VK11 condition record maintaince . so how to maintain in condition record( VK11-Minimum limit price and Max limit price )
Looking for your inputs
Thanks in advance
Regards
Venkathi,
in VK12
select the condition record - goto blue ladder icon
there you can maintain scales
like lower limit and upper limit.
balajia -
Bi Publisher Enterprise 11.11 Parameters.
I am building a report and i have couple of parameters. the user will enter the values for the parameter in a text field. now, i want to make that text field optional. how can i do that? i do not want to set a default value, i want it load blank but i want it to be optional.
thanks for your help.AlexAnd wrote:
2 Srini VEERAVALLI
where col1=:p1 and (col2 is not null or col2=:p2)may be
where col1=:p1 or col2=:p2will be more simple?
or may be i understood incorrectly your idea
2 YeisonSoto
>
I am building a report and i have couple of parameters. the user will enter the values for the parameter in a text field. now, i want to make that text field optional. how can i do that? i do not want to set a default value, i want it load blank but i want it to be optional.
>
as idea
if your reports have one parameter per report but for different column
then you can use this one parameters and create other for indicate report
say you have rep1 with par1 and rep2 with par2
so you create one parameter(p1) for par1/par2 and second parameter(p2) for rep1/rep2
and in data model use
where ((:p2 = 'rep1' and column1 = :p1 ) or (:p2='rep2' and column2 = :p1))so before execute you must know for which report use parameters condition
for ebs second parameter no need because you can check this condition by request_id
what I did was this:
WHERE REPLACE(REPLACE(TRIM("ABTAX"), '-', ''), '.', '') like *:identification*
OR (REGEXP_LIKE(TRIM(ABALPH),TRIM(UPPER(*:Name*)))
AND REGEXP_LIKE(TRIM(ABALPH),TRIM(UPPER(*:LastName*)))
OR( REGEXP_LIKE(TRIM(ABALPH),TRIM(LOWER(*:Name*)))
AND REGEXP_LIKE(TRIM(ABALPH),TRIM(LOWER(*:LastName*)))
Now I can filter the results of the records for identification or the name of a person
but when I filter by the name I have both data (Name and LastName)
that have not been solved, I wonder if I can display a message that says "There should be no empty fields" -
How can I tell that a default numeric format has been applied to a numeric limit step?
I am working on generating custom HTML code for our test systems in order to reduce the 'footprint' of the standard HTML entries for numeric limits, multiple-numeric limit steps etc....
For a Numeric Limit step, I can set the Numeric Format via the 'Limits' tab and select the pulldown arrow to select any format. Does TestStand actually save this information with the step so I could possibly use this later? I ask this because my modifications are within the 'ModifyReportEntry' Callback. When I am modifying the code to generate new HTML within this callback, I have no idea if the developer has selected a Numeric Format for a given step OR simply left it as DEFAULT.
To make matters more confusing, here is some more information....
When I pause the execution in the callback I notice the following:
Case 1: User has selected a Numeric Format ( this example I will say 3 digits of precision ) %.3f. for a numeric limit step.
Parameters.Result.Limits.Low = 10.000
Parameters.Result.Limits.High = 20.000
Parameters.Result.Numeric = 15.657
Notice the numeric data is ALREADY formatted! Great, I can simply use this to generate my custom HTML table for the numeric limit step.
Case 2 : User has left the numeric format to <Default> for the step.
Parameters.Result.Limits.Low = 10
Paramters.Result.Limits.High = 20
Parameters.Result.Numeric = 15.65713515155
Numeric data is NOT formatted. I know that TestStand will apply the Default Numeric Format that is configured in the report options when it writes the report but since I am doing a custom report I am stuck.
My question is how can I possibly tell that the data has already been formatted by TestStand in the ModifyReportEntry callback? Is there some flag that I could check or anything?
I do notice that the Parameters.ReportEntry string contains TestStand's default HTML code for the step and this is already properly formatted.. so as a possible workaround I could 'pick out' the data from this string but this is slow and time consuming.
Thanks
PHPH,
You can find out if the numeric format has changed using the TestStand API. I use the following statement in my step's post-expression to find out the numeric format that TestStand uses for the step.
Step.Limits.Low.NumericFormat
If the string returned is an empty string, then it is the default format, otherwise, it's the one specified in the string.
Hope this helps.
Raj
National Instruments
Applications Engineer -
Hi experts,
Is there any way to limit a specific condition type can be entered by an authorized person?
i.e. A can enter condition HA00, while B cannot
Can it be set in user profile? Thanks
Points will be awarded for useful answers.Hi,
Generally development and maintenance of condition records in VK11 is done by core team members only.
Its better to leave this authorization to them.
Still if you feel this scenario is there, you can limit the values in which the condition type can be limited, like the upper and lower limit of a particular condition type.
regards,
Siddharth. -
Procedure varchar2 parameter size limit? ORA-6502 Numeric or value error
Hi ALL,
I am trying to create out parameters in a Procedure. This procedure will be called by 4 other Procedures.
PROCEDURE create_serv_conf_attn_cc_email
( v_pdf_or_text varchar2,
v_trip_number number ,
v_display_attn_for_allmodes out varchar2,
v_display_cc_for_allmodes out varchar2,
v_multi_email_addresses out varchar2,
v_multi_copy_email_addresses out varchar2
When I call that procedure in another Procedure I am getting following error, which is caused by one of the out parameter being more than 255 characters.
I found that out via dbms_output.put_line(ing) one of the out parameter as I increased its size.
ORA-06502: PL/SQL: numeric or value error
I thought there was no size limit on any parameters passed to a Procedure.
Any one know of this limit of 255 characters on varchar2 Procedure parameters? Is there a work around keeping the same logic?
If not I will have to take those parameters out and resort to some global varchar2s which I do not like.
Thanks,
Suresh BhatI assume one of the variables you have declared is not large enough for it's assignment.
Here's an example.
ME_XE?create or replace procedure test_size(plarge in out varchar2 )
2 is
3 begin
4 plarge := rpad('a', 32000, 'a');
5 end;
6 /
SP2-0804: Procedure created with compilation warnings
Elapsed: 00:00:00.03
ME_XE?
ME_XE?declare
2 my_var varchar2(32767);
3 begin
4 test_size(my_var);
5 dbms_output.put_line(length(my_var));
6 end;
7 /
32000
PL/SQL procedure successfully completed.
--NOTE here how the declared variable is 500 characters, but the procedure will try to assign it over 32,000 characters...no dice
Elapsed: 00:00:00.00
ME_XE?
ME_XE?declare
2 my_var varchar2(500);
3 begin
4 test_size(my_var);
5 dbms_output.put_line(length(my_var));
6 end;
7 /
declare
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "TUBBY.TEST_SIZE", line 4
ORA-06512: at line 4
Elapsed: 00:00:00.04Edited by: Tubby on Oct 22, 2008 12:47 PM -
Number of parameters possible in cgicmd.dat?
Is it possible to have more than 10 parameters in the cgicmd.dat keyfile?
I have a query that requires a lot of joins and would like to use parameters like
param1=%1
param20=%20.
The problem seems to be that I can't use 2-digit parameters - I run into trouble as soon as I use something like %10. The cgi then substitutes the %1 value and errors on the '0' part.
any help much appreciated!
nullHi, Alan and John
The following is written in the cgicmd.dat file ITSELF:
; Currently recognized special parameters:
; %0 - %9 - 0..9 arguments from original RWCGI60 URL request. Note that %0 refers to the key itself.Remember that you can also create different key maps for the same report (again in cgimap.dat) with some of the parameters already filled.
Or you can use PARAMFORM=YES and use an HTML FORM to enter the parameters (if you are not calling the reports in BATCH mode).
The limit of 9 parameters only applies for parameters that you would want to enter in the URL itself.
Hope this helps,
Pedro -
HI,
when i set a limit to my condition types that are used in the pricing procedure, I cannot manually change the value of that condition in the sales order....even if the new value lies in the limit.eg. if my limits are 2.000 and 8.000, and my sales order entry is 6.000, the message goes like this.."6.000 falls below the limit 2.000- for condition type xyz"
Even if I delete my condition limit entry, I still keep getting the same error message whenever I try to change my condition value in the sales order.
Can you please give me a solution for this?
Regards,
Adityahi,
i dont find any reason why it should happen this way. just recheck this, remove the pricing limits first. So now you would be free to do any change.
Place limits now once again and make sure the limits are given as desired and save. try a fresh order again.
thanks -
Repport conditional formatting
Hi,
We used BIP 10.1.3.4.2.
We want to change the size font and other parameters conditioning from data in XML file;
We used a font reference in our template :
Name :xdo-font.XMLPScript.normal.normal
Type :Text
Value :truetype./tmp/fonts/XMLPScript.ttf
We received a tag in our xml <fontType>TestFont.ttf</fontType> to define the font.
We would like to know if this is allowed to update the name of the font file with the data in XML file,then the report generate with the fontTestfont.ttf instead of XMLPScript.ttf ?
Regards,
Julien
Edited by: user9522172 on 8 mars 2012 15:18Hi,
We used BIP 10.1.3.4.2.
We want to change the size font and other parameters conditioning from data in XML file;
We used a font reference in our template :
Name :xdo-font.XMLPScript.normal.normal
Type :Text
Value :truetype./tmp/fonts/XMLPScript.ttf
We received a tag in our xml <fontType>TestFont.ttf</fontType> to define the font.
We would like to know if this is allowed to update the name of the font file with the data in XML file,then the report generate with the fontTestfont.ttf instead of XMLPScript.ttf ?
Regards,
Julien
Edited by: user9522172 on 8 mars 2012 15:18 -
Call Method - Parameters exporting
Hi All,
CALL METHOD ZXXX->PROCESS
exporting
struct1 = struct1
struct2 = struct2
int_tabl1 = int_tab1
int_tabl2 = int_tab2
int_tabl3 = int_tab3
var1 = var1
var2 = var2.
I'm calling a method like above and exporting 2 structures,3 internal tables and 2 variables to do further processing in the PROCESS routine.
Is there a limit on exporting parameters while calling methods? Will it have any performace issues?
Any ideas appreciated.
MeghnaHi,
There is restriction on the number of Parameters passed to a method. But it is always better from the performance aspect to pass by reference. So, unless and otherwise needed you can always use the Pass By Reference to Pass by Value.
You can have a look at the link below for a detailed and complete overview of Method Declarations:
http://help.sap.com/saphelp_nw04/Helpdata/EN/56/1eb6c705ad11d2952f0000e8353423/frameset.htm
Hope this will help.
Thanks,
Samantak. -
Define upper/lower limits for shipment cost condition
Hi people, help please!
How can I define upper/lower limit for shipment cost conditions?.
The transaction TK11 has the functionality for upper/lower limits, but I can't find how to define it in customizing.
I follow the path Logistic Execution>Transportation>Pricing>Pricing Control>Define Condition Types, but is not like the transaction for pricing elements in condition types for sales.
How can I do it?
Regards.The problem is on the class condition import limits.
I cant customize upper and lower prices for the shipment cost class condition and i cant find how define it or what else can I do.
The customizing transaction for shipment cost lass condition is not like sales price class condition, please look this:
For the shipment cost class condition follow the path SPRO>Logistic Execution>Transportation>Shipment Cost>Pricing>Pricing Control>Define Condition Types.
For the sales price class condition follow the path SPRO>Sales and Distribution>Basic Function>Pricing>Pricing Control>Define Condition Types, and take a look in Define upper/lower limits for conditions.
So then, when I go to functional transaction VK11 for the sales price condition y cant assign an import out of the limits defined. I need the same for shipment cost condition, transaction TK11, but I cant find where define the limits, as result, user can load any import without limits.
I hope the explanation is useful.
Maybe you are looking for
-
How to print over Ip protocol.
Hi everyone, im new in this section of the forum, and hope this topic fits good in here... Anyway here's my problem. I've bought an Hp Color laserJet printer (which has the rj45 connection for Lans), and i've read somewhere in the web that people hav
-
GNU fortran 90 no longer works. I get the error message: gfortran: warning: couldn't understand kern.osversion '14.0.0 ld: library not found for -lcrt1.o collect2: error: ld returned 1 exit status
-
I need to install a new hard disk - not sure how to install
Hello; I travelled for a month, and didn't turn off my imac, which I thought I did. My country is hot at this time of the year. When I got back home, I found that the desktop was crashed, so I did a restart and the computer never booted. I tried agai
-
RoboHelp HTML 9.0.1.232, Word 2003 (SP3), Adobe Reader 10.0.1, Windows 7 Creating PDF output from a RH project. Progress bar gets to 95%+ and then hangs. Message box doesn't respond to the Cancel button. Have to kill the application from Windows task
-
CopyRights problem with "expires at the fixed time" uat mode
Dear all I found a problem with rights parameter When I use rights parameter in uat mode or umt mode it can't be work with this two modes($uat and $umt) and I found a document in adobe jp the document says "only uat mode works well with expire functi