Dynamically finding Number of Parameters in Parameter List.
Hi All,
Does it possible to count the number of parameters in the list.
I am creating discoverer report so I need to find out how many periods I am passing in parameter list.
Thanks in advance.
Regards,
Bluetooth
No, you can't "read" a forms parameter-list.
Similar Messages
-
How to delete or add parameters in the list.
hi,
can someone please tell me how to delete/ add parameters (the parameter list that is displayed in the Address Node).
actually in my application i have to similar scripts. so i if can copy the whole script and make some changes in the list of parameters, i will be able to save a lot of time.
can somebody please help ....
thanks in advanceI am not sure if you already checked this thread out or not, but from your question, it looks like you are having the same problem as in this.
http://qazone.empirix.com/thread.jspa?messageID=668ʜ -
Hi all,
I'm new with Crystal Report, and I have a problem.
The goal is to create a Price List based on SAP conditions tables.
So, In my report I have linked table Axxx KONP KNA1 MAKT MVKE T179T TINCT TVSBT.
All work find except for the customer parameter selection.
I want create a dynamic list with Customer Number and description (but only those which exist in table Axxx)
I can create a dynamic list based on KUNAG and KUNWE from table Axxx(master table), but I have only the Number of customer and no description (because description don't exist in Axxx table)
I have try to select NAME1 form KNA1 table, but without success.
I have search in SAP about a table which contain Number, Name1 and Parvw(partner role) but without succes.(table KNVP don't have Name1)
I have try to create list value from KNA1 but whe have much more customer and the list is > then 1000 occurence(too big!)
Do someone have an idea to create a dynamic list which take his information from two tables linked ?
Or another solution to reach the goal...:)
Thank in advance for your suggestion,
Regards
Martine BombardelliYour requirement for me looks like a straight forward task.
If you need a DP on 2 fields from 2 different tables in SAP using Integration Kit all you need to do is:
> create a new parameter in the report
> select 'Dynamic' from the List of Values drop down. Your options in the Parameter window will change for dynamic compared to static.
> Choose Data Source: New
> Below 'Value' select table1.Customer number and next to it under 'Description' select the table2.Description and set the further options you require under the Value options.
Just as an FYI...there is no option to have a custom SQL when working with SAP Intg Kits. Business View Manager is also not helpful.
So if a dynamic prompt is needed for a Crystal report above are steps it can be achieved, no other option is available today.
Thanks,
Madhu -
Dynamically finding form parameters
Hi all,
I am using Forms 6i.
I want to give my users the ability to 'bookmark' any form they are currently in enabling them to return to that form later displaying that data by selecting that bookmark (very much like a web browser's bookmarks.)
To do this I need to be able to dynamically find out what form parameters are in any form. Whilst I can use GET_FORM_PROPERTY(FIRST_BLOCK) etc to find out what blocks and items are in a form, I cannot see any way of finding out what parameters it contains and what values they hold.
Can anyone help me out with this?
Thank you,
David.Maybe you could convert the forms to .fmt's and parse them? I bet that'd be a mess.
To expand on my previous suggestion, when you build your parameter list in FormA to call FormB, use a library proc that (1) adds the parameter and value to the param list, and (2) writes the userid, session id, form name (FormB), param name and value to a table. Then, when a user is running FormB and decides to bookmark it, query the table by userid, session id, and form name for the parameters that were used when it was called.
I know that isn't as neat as what you're looking for, but could it work for you? -
Dynamic Parameter List questions: Length and Custom Values
I've got a Crystal Report that I want to use Dynamic Values for.
Right now... this report is simply a "SELECT stuff FROM table" SQL query... with a parameter that the report uses to filter.
I use a "Select DISTINCT value from table" to generate a list of values. I put those values into a txt. I then import the text into a static list. This creates a parameter list that is 11 "pages" long on the parameter screen. I also have "custom" values allowed. This is to allow for "new" values and also allow not needing to browse 11 pages for one or two known values.
If I turn the parameter into a Dynamic List based on the same Select statement it stops at 5 pages, obviously cutting off half of the possible values.
Dynamic List also removes the ability to do Custom Values. The filter option wouldn't be a bad alternative BUT it don't work for pages 6+ that aren't there.
How can I remove the 5 page limit (or whatever it is) for Dynamic values?
Thanks
Chris
Edited by: WernerCD on Aug 4, 2010 4:14 PMThere is a limit of 1000 records in dynamic parameters. You can change this by adding a registry value:
registry key : HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV
and then add a key called MaxRowsetRecords and give it a value.
if you have Crystal 2008 then the above registry folder will say Suite 12.0. -
Hi,
My CFC component is defined as:
<cffunction name="updateNote" output="false" access="remote" returntype="void" >
<cfargument name="notedetails" required="true" type="string" >
<cfargument name="notename" required="true" type="string" />
<cfquery name="qupdateNote" datasource="notes_db">
UPDATE
notes
SET
notes.notedetails=<CFQUERYPARAM CFSQLTYPE="CF_SQL_VARCHAR" VALUE="#ARGUMENTS.notedetails#">,
WHERE
notename="<CFQUERYPARAM CFSQLTYPE="CF_SQL_VARCHAR" VALUE="#ARGUMENTS.notename#">"
</cfquery>
</cffunction>
In Flash builder when I test the operation I get this error:
"There was an error while invoking the operation. Check your server settings and try invoking the operation again.
Reason: Server error Unable to invoke CFC - Error Executing Database Query. Parameter index out of range (2 > number of parameters, which is 1)."
Im really quessing that this is something small but right now its causing me to pull my hair out of my head!! Argg. Tried a bunch of things but I know thik im stuck.
Help would be very very appreciated.
ThanksCreate test.cfm along these lines:
<cfset myObj = createObject("component", "dotted.path.to.cfc.file")>
<cfset myResult = myObj.myMethod(arg=value1, etc)>
<cfdump var="#myResult#">
Or, really, you could just browse to this:
http://your.domain/path/to/your.cfc?method=yourMethod&arg1=value1 [etc]
Although I dunno which of those two approachs will give you a better error message (indeed, it might be the same).
Try both.
Adam -
Report Viewer Dynamic Parameter List not showing a complete list of values
Hi, I have installed the crystal report runtime 13.0.1.220 for framework 4.0 in a 64-bit windows 7 professional server.
I have an aplication that opens crystal reports using the crystal report viewer control for visual studio 2010, also version 13.0.1.220.
ISSUE: The report opens fine, but it does not shows all the available values in the dynamic parameter list.
I have tried setting the MaxRowsetRecords registry key to diferent values but it does not work.
I do not have any crystal report stand alone version installed in my server.
Please help me?Hi Ludek,
yes i followed the instructions of the KBase you are mentioning, but it isn't working for me.
I modified the following keys:
HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports\DatabaseOptions\LOV
and
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports\DatabaseOptions\LOV
1) I had to create the LOV key under the DatabaseOptions in both keys.
2) Inside the LOV keys I created the new string value MaxRowsetRecords and set the value to different values. (Ex: 5000, 10000 and 1000000)
3) I restarted my server. Still not working.
4) Then after that i modified the following registry keys: (leaving the first 2 keys modified)
HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports\DatabaseOptions\LOV
and
HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports Designer Component\DatabaseOptions\LOV
5) Also had to create the LOV key under the DatabaseOptions in both keys.
6) Inside the LOV keys I created the new string value MaxRowsetRecords and set the value to different values. (Ex: 5000, 10000 and 1000000)
7) Restarted my server. still not working
8) Then after that i modified the following registry key: (leaving the first 4 keys modified)
HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports Designer Component\ReportView
Inside this key I created the DWORD PromptingLOVBatchSize and gave it a decimal value of 1000000
9) Restarted the server. Still not working. For crying out LOUD!! -
How to create a dynamic query in which I can vary number of parameters
I am writing a JDBC connector. I want to write a dynamic query in that. The query should be able to proceed variable number of parameters and also in the where clause the and/or/like parameters I want to place dynamically.
I can't write store procedures as we just have read only access to Database so I want to do it through query only.
Please help me out in doing that as I am not able to proceed further without it ...Hi,
Have a luk at :placeholder for IN condition in database adapter -
IMPORT from database with dynamic parameter list
Hi Gurus,
Iu2019m having problems during import from a cluster table.
I wanu2019t to do an import with a dynamic parameter list, but I cannot get it to work.
Sample code ********
DATA: BEGIN OF st_key,
report LIKE rsvar-report,
variant LIKE rsvar-variant,
END OF st_key.
DATA dirtab1 LIKE cdir OCCURS 10 WITH HEADER LINE.
DATA dirtab2 LIKE cdir OCCURS 10 WITH HEADER LINE.
st_key-report = 'ZPRG'.
st_key-variant = 'VAR1'.
IMPORT DIRECTORY INTO dirtab1 FROM DATABASE vari(vb) ID st_key.
IMPORT DIRECTORY INTO dirtab2 FROM DATABASE vari(va) ID st_key.
DATA: tmp_var(100) TYPE c.
This works - P_BWTAR is a parameter from the selection screen registred in VARI
I'm getting the content of the field in tmp_var
IMPORT p_bwtar TO tmp_var FROM DATABASE vari(va) ID st_key.
This does not work - the parameter P_BWTAR is in the dirtab2-name
I'm not getting the content
LOOP AT dirtab2.
IMPORT dirtab2-name FROM DATABASE vari(va) ID st_key.
ENDIF.
ENDLOOP.
I have tried the syntax IMPORT (dirtab2-name) ........
but this fails the syntax check.
Please - if you have any suggestions :o)
Best Regards,
VibekeDear Vibeke,
Could you please explain us how you solved the problem because you have the same issue ?
thanks a lot
KR
véronique -
List of all parameters in parameter file
Hi,
Could you provide me the link to list of all parameters in parameter file for Oracle 10g.
Thanks.http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/toc.htm
HTH... -
I was doing some minor editing in Logic Pro 9.1.8, like adding some plug-ins to audio and midi tracks on numerous songs. Most of the songs I had no problem bouncing. For some reason 2 of the songs I tried to bounce kept showing me this error message:
"Error in parameter list / Not an existing volume, and no default volume / Bad positioning information / Bad drive number" result code=-50.
The songs open and play fine, but won't let me bounce. I've worked with Logic for a few years and this has never happened. Any suggestions?
Thanks,
JohnnyFixed! Ran disk utilities and repaired my external HD.
-
id like a method that will be able to have any number of parameters when called ( -> methodName( int a, int b, int c ....) )
is this possible?[http://java.sun.com/j2se/1.5.0/docs/guide/language/varargs.html]
-
How and where should I create a parameter list
Hi, I4m trying to create a parameter lists but I don4t know where and how.
I guess as a program unit but as function or procedure, sorry I4m new on this for that I4m finding this a bit difficult. Please, someone could help me to understand this:
PROCEDURE Run_Emp_Report IS
pl_id ParamList;
BEGIN
** Check to see if the 'tmpdata' parameter list exists.
pl_id := Get_Parameter_List('tmpdata');
** If it does, then delete it.
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
** Create the 'tmpdata' parameter list afresh.
pl_id := Create_Parameter_List('tmpdata');
** Add a data parameter to this parameter list that will
** establish the relationship between the named query
** 'EMP_QUERY' in the report, and the record group named
** 'EMP_RECS' in the form.
Add_Parameter(pl_id,'EMP_QUERY',DATA_PARAMETER,'EMP_RECS');
**Pass a Parameter into PARAMFORM so that a parameter dialog
will not appear
**for the parameters being passing in.
Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
** Run the report synchronously, passing the parameter list
Run_Product(REPORTS, 'empreport', SYNCHRONOUS, RUNTIME,
FILESYSTEM, pl_id, NULL);
END;Hi,
What you've pasted the code here is absolutely correct.
You'll have to write the code in Forms builder.
You can either paste the same code in a procedure & call that procedure
from button's When-Button-Pressed trigger or paste the code in
your button's When-Button-Pressed trigger like this :
DECLARE
pl_id ParamList;
BEGIN
** Check to see if the 'tmpdata' parameter list exists.
pl_id := Get_Parameter_List('tmpdata');
Run_Product(REPORTS, 'empreport', SYNCHRONOUS, RUNTIME,
FILESYSTEM, pl_id, NULL);
END;
However, don't write the code in a function as you will need to return some value from the function.
Thanks,
Mayur Shah
[email protected] -
CR 2008, all values in parameter list not showing up
The parameter is not optional, the parameter value exists in the view on SQL server, but at report run-time, only get 5 pages of possible values to select from and user needs to go back farther to get the required report.
I can get the report to run in full CR version by passing the value into the select expert, but users only get prompt window from the runtime version of CR.
How can I get ALL the values of the field in the view to show up in parameter list?
Thanks for any pointers.
RobertNot sure if the help you metion is equivalnet to KB [1218588 - How to increase the number of values in a dynamic parameter list?|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333533383338%7D.do], but have a look.
Also, make sure you are on SP3:
https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
I have made an IMovie consisting of slides and some video. I cannot create a DVD with it. A window tells me there is a problem and that the problem is listed in the User parameters.....I am at a loss. There are hours of work in the Movie. Anyone have a thought? HELP
problem and that the problem is listed in the User parameters
Can it be
Error -50 paramErr Error in user parameter list
Can there be any external hard disks - if so How is/are it/they formatted ? Must be Mac OS Extended (hfs) if used for Video.
UNIX/DOS/FAT32/Mac OS Exchange - works for most but not for VIDEO.
What this means in Your situation is above me.
• free space on internal boot hard disk? How much ?
Video codec
• streamingDV, AIC etc. (not .avi, .mp4, .m4v, .wmv etc as they are containers not codecs)
Pictures
• in what format ? .jpg, .bmp, .tif, else ?
Audio
• from where/what format ? iTunes, .avi, .mp3, .aiff, else ?
The "com.apple.iMovie.plist" file
Many users has not observed that there are TWO libraries.
• Library - at root level
• Library - in user/account folder - THIS IS THE ONE to look into
from Luke Burns
I fixed the problem.. but it was very, very strange. I had a very long section for credits and set the line spacing to 1.0.. for some reason this caused it. I removed it, and it worked fine. I put it back, and I couldn't preview or play the video.
I don't know why that could cause that big of a problem, but it did..
Klaus1
You need more free space on your hard drive.
jonorparkerjon
After phone support from apple I ended up creating a new project and adding all 117 clips back in individually till I found out what clips flagged and would not allow me to export. I had 3 I deleted and replaced and everything works now 1hr after tedious work....
Where do Your material come from
• Camera
• External hard disk
• USB-memory
And all are connected so that iMovie can find it ?
Yours Bengt W
Maybe you are looking for
-
Errors while Changing the Database to Mutli User Mode from Single user mode in SQL Server 2012
Hi, Good Afternoon :). Need your help in resolving one of the issue with SQL Server 2012. Today, we kept one of the database in the Single User mode and wanted to bring back to Multi User mode. But we are getting the below error. There are no user
-
UPDATE statement in Receiver JDBC adapter
Hi all, I would like to use UPDATE statement in my receiver JDBC adapter and would like to know how this UPDATE statement works in following case. 1) If i have 10 records to be updated in database, whether Commit happens at the end of all 10 records
-
Powering on without presing power button?
Hi, On my old G5 tower with an old ADC Cinema display, the G5 was hidden under the desk and I used the power button on the monitor to power on the Mac. Same monitor, Apple ADC-DVI adapter, Mac pro. No good - not working! So, is there any way I an eit
-
One customer entry is not comming into datasource.
Hi, I did not get one of customer Line item details in Datasource. But i can see the data in FB03. what will be the reason. Regards.
-
RESET FUNCTION EVEN DINT TURN ON MY IPAD MINI WHAT DO I DO NOW
my ipad is not turning on , i did press home button and top but together to reset but it dint turn on also i hold top button for 3 sec and then hold home button ,but dint turn on either what else i can do to turn my pad minni back on.