Parameter option
hi,
I have created a parameter field (preferred/notpreferred) and i have created a list box for that .i have given values in the list box as preferred,not preferred and blank.in the output i can see the field name as preferred/not preferred .but the values are displayed as either 'P' or 'N'.How can i see the values displayed in full text?
Regards,
Hema.
Hi
See the sample program and do accordingly
TYPE-POOLS : vrm. "Value Request Manager
PARAMETERS: p_test AS LISTBOX VISIBLE LENGTH 20 OBLIGATORY.
INITIALIZATION.
PERFORM f4_value_request.
START-OF-SELECTION.
WRITE P_TEST.
*& Form f4_value_request
text
FORM f4_value_request.
DATA: l_name TYPE vrm_id,
li_list TYPE vrm_values,
l_value LIKE LINE OF li_list.
l_value-key = '1'.
l_value-text = 'Value 1'.
APPEND l_value TO li_list.
CLEAR l_value.
l_value-key = '2'.
l_value-text = 'Value 2'.
APPEND l_value TO li_list.
CLEAR l_value.
l_value-key = '3'.
l_value-text = 'Value 3'.
APPEND l_value TO li_list.
CLEAR l_value.
l_value-key = '4'.
l_value-text = 'Value 4'.
APPEND l_value TO li_list.
CLEAR l_value.
l_name = 'P_TEST'.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = l_name
values = li_list
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " f4_value_request
Reward points for useful Answers
Regards
Anji
Similar Messages
-
Leaving a date parameter optional and blank, not supposed to work but it does?
Everything I have found online (here and elsewhere) states that you cannot make a data parameter optional without setting a default value in the parameter dialogue box. However, I tried it, and it does appear to be working.
Now, I do have a formula that checks the value of the parm and if blank, it calculates a fiscal start date, otherwise it accepts the entered date, and that formula is what I use in my selection criteria.
So, I have a start date and end date (not a range), and the user can leave both blank, and the report works fine. Am I missing something? Or is this just a newer feature that I have missed in the documentation?thanks Abhilash...you're absolutely correct i missed that xi piece.
in earlier versions use syntax like
({Orders.Order Date} >= {?DateStart} or {?DateStart}= date(1900,01,01))
and
({Orders.Order Date} <= {?DateEnd} or {?DateEnd}= date(2100,01,01))
where datestart has a default value of 1900,01,01
and dateend has a default value of 2100,01,01
this allows the end user to leave either datestart or dateend blank. for 2008 and later use the hasvalue method above....you can still use this syntax (with the default values) in cr2008 and later, but it's not as user friendly as you have to have those defaults.
-jamie -
Morning all,
I have yet another question regarding multiple parameter options. I have three parameters originally on my report however now there are 5.
Addition of Product Group and Sales Area, originally had Date range (2 parameters) and Customer account number.
Now question is that how can I setup all 3 of the parameters as optional.
I know you can do it from the properties of the parameters though it didn't work.
I am using the code,
{order_header.date_entered} >= {?Start Date} and
{order_header.date_entered} <= {?End Date} and
(not HasValue({?Account Number}) or {order_header.account_no} = {?Account Number});
(not HasValue({?Product Group}) or {lens_types.prod_group} = {?Product Group});
(not HasValue({?Sales Area}) or {slslsp.slr_slspname} = {?Sales Area});
though this does not work after adding the two new parameters. It works find if I leave one code of "not hasvalue" but not with all three.
any ideas how to set this thing up so that report can be filtered according to those parameters?
many thanks
regards
JehanzebThanks for the quick and informative reply Tim, however your method doesn't work either.
The parameters if used without the last 2 parameters, it works perfectly i.e. with Parameter Customer Account number on its own, the record is filtered perfectly.
The problem persist when I added last two parameters that is Product Group and Sales Area.
The report otherwise shows the correct results however, by adding these two parameters the report shows maniac numbers, where the total jobs are 5 it shows 4005 and where total jobs are 2 it shows 3490. Crazy numbers like that are shown when using the last two parameters.
{order_header.date_entered} >= {?Start Date} and
{order_header.date_entered} <= {?End Date} and
(not HasValue({?Account Number}) or {order_header.account_no} = {?Account Number})
Above code works perfectly (with or without account number)
{order_header.date_entered} >= {?Start Date} and
{order_header.date_entered} <= {?End Date} and
(not HasValue({?Account Number}) or {order_header.account_no} = {?Account Number})and
(not HasValue({?Product Group}) or {lens_types.prod_group} = {?Product Group})
Above code - big time blunder, huge random numbers displayed
As I mentioned in my post I did manage to get it however for some stupid reason i entered or in between the two last parameters, ran the report and it crashed and I lost the coding I did.
now I can't remember what i just did, hence this post!
any other ideas I can try?
many thanks
Regards
Jehanzeb -
Hi Experts,
Im executing a report program.Parameter option is provided for the User to enter/select the value from the search help.but the particular field dont have any help assigned to it.Is there any alternates to do this .?
Thanks !Check this code...
PARAMETERS:p_matnr TYPE mara-matnr.
DATA:BEGIN OF itab OCCURS 0,
matnr TYPE mara-matnr,
END OF itab.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
SELECT * FROM mara INTO CORRESPONDING FIELDS OF TABLE itab
UP to 10 rows.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'MATNR'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'P_MATNR'
value_org = 'S'
TABLES
value_tab = itab. -
HOWTO configure parameter options in oracle apps R11i for reports ??
Hello
I've developed a character report with orientation = landscape ,width=180 and height=66 on my laptop.It takes FROM DATE & TO DATE input from user which are passed to the sql query.
KINDLY GUIDE ME IN CONFIGURING PARAMETERS OPTIONS TO RUN THIS REPORT IN ORACLE APPLICATIONS 11i.
More what would the Token Option be in my case.
I'm pasting the sql query and the last line indicated in bold takes parameter.I'm working in the HR & PAYROLL SCHEMA.
SELECT DISTINCT
PAPF.PERSON_ID AS "PERSON_ID",
PAPF.BUSINESS_GROUP_ID,
PAPF.TITLE,
PAPF.FIRST_NAME,
PAPF.MIDDLE_NAMES,
PAPF.LAST_NAME,
PGD.SEGMENT4 AS "GRADE",
PPG.SEGMENT1 AS "GROUP_NAME",
PPG.SEGMENT2 AS "DEPARTMENT",
PPEMP.PEM_ATTRIBUTE8 AS "PREVIOUS_SALARY",
PAC.SEGMENT2 AS "SALARY_OFFERED",
PQFS.TITLE AS "QUALIFICATIONS",
(SELECT
SUM(PPEMP.PEM_INFORMATION1)
FROM
PER_PREVIOUS_EMPLOYERS PPEMP
WHERE
PPEMP.PERSON_ID=PAPF.PERSON_ID
AND PPEMP.BUSINESS_GROUP_ID=3788
) AS "RELEVANT_EXPERIENCE",
(SELECT
SUM(PPEMP.PERIOD_YEARS) ||' '||'Y'||' '|| SUM(PPEMP.PERIOD_MONTHS)||' '||'M'
FROM
PER_PREVIOUS_EMPLOYERS PPEMP
WHERE
PPEMP.PERSON_ID=PAPF.PERSON_ID
AND PPEMP.BUSINESS_GROUP_ID=3788
) AS "TOTAL_EXPERIENCE",
(SELECT PJD.SEGMENT4
FROM
PER_JOBS PJ,
PER_JOB_DEFINITIONS PJD
WHERE PAPF.PERSON_ID=PAAF.PERSON_ID
AND PAAF.JOB_ID=PJ.JOB_ID
AND PJ.JOB_DEFINITION_ID = PJD.JOB_DEFINITION_ID
AND PJ.BUSINESS_GROUP_ID = 3788) AS "FUNCTIONAL_TITLE"
FROM
PER_ALL_PEOPLE_F PAPF,
PER_ALL_ASSIGNMENTS_F PAAF,
PER_JOBS PJ,
PER_JOB_DEFINITIONS PJD,
PAY_PEOPLE_GROUPS PPG,
PER_GRADES PG,
PER_GRADE_DEFINITIONS PGD,
PER_QUALIFICATIONS PQFS,
PER_PREVIOUS_EMPLOYERS PPEMP,
HR_ALL_ORGANIZATION_UNITS HRAOU,
PER_PERSON_ANALYSES PPALYS,
PER_ANALYSIS_CRITERIA PAC,
APPS.FND_ID_FLEX_STRUCTURES FIFS,
HR_LOCATIONS_ALL HLA,
PER_APPLICATIONS PA
WHERE PAPF.PERSON_ID = PAAF.PERSON_ID
AND PAAF.GRADE_ID = PG.GRADE_ID
AND PG.GRADE_DEFINITION_ID = PGD.GRADE_DEFINITION_ID
AND PAAF.PEOPLE_GROUP_ID = PPG.PEOPLE_GROUP_ID
AND PAAF.JOB_ID (+)=PJ.JOB_ID
AND PJ.JOB_DEFINITION_ID (+)=PJD.JOB_DEFINITION_ID
AND PQFS.PERSON_ID (+)= PAPF.PERSON_ID
AND PPEMP.PERSON_ID (+)= PAPF.PERSON_ID
AND HRAOU.ORGANIZATION_ID (+)= PAAF.ORGANIZATION_ID
AND PAPF.BUSINESS_GROUP_ID=3788
AND PAPF.EFFECTIVE_END_DATE=TO_DATE('31/12/4712','DD/MM/RRRR')
AND PAAF.EFFECTIVE_END_DATE=TO_DATE('31/12/4712','DD/MM/RRRR')
AND PAPF.CURRENT_APPLICANT_FLAG='Y'
AND PAAF.ASSIGNMENT_TYPE='A'
--AND HRAOU.ORGANIZATION_ID = PAAF.ORGANIZATION_ID
AND nvl(PPEMP.END_DATE,TO_DATE('31/12/4712','DD/MM/RRRR'))=nvl((SELECT MAX(END_DATE)
FROM PER_PREVIOUS_EMPLOYERS P
WHERE PPEMP.PERSON_ID=P.PERSON_ID),TO_DATE('31/12/4712','DD/MM/RRRR'))
AND PAPF.PERSON_ID=PPALYS.PERSON_ID
AND PPALYS.ANALYSIS_CRITERIA_ID=PAC.ANALYSIS_CRITERIA_ID
AND FIFS.ID_FLEX_NUM=PAC.ID_FLEX_NUM
AND FIFS.STRUCTURE_VIEW_NAME='HIRING APPROVAL'
AND HLA.LOCATION_ID=PAAF.LOCATION_ID
AND PA.PERSON_ID=PAAF.PERSON_ID
AND PAPF.EFFECTIVE_START_DATE between :From_Date And :To_DateHi Dinesh
I have some bad news for you I'm afraid. Discoverer workbooks are not stored as SQL definitions, they are stored as BLOBs within the database. It is therefore not possibly to write any sort of query to interrogate the inner workings of a workbook. The only way to do this is to open each workbook in turn and analyze it.
Sorry to be the bringer of bad news
Best wishes
Michael -
How to use parameter option in smartform program line.
HI all,
how can i give parameter for matnr directly in smartform program line, it wont take gives a dump
i don wanna create a separate driver program for that.
Error in the ABAP Application Program
The current ABAP program "/1BCDWB/SF00000001============FT" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "/1BCDWB/SAPLSF00000001 " in
include "/1BCDWB/LSF00000001F01 " in
line 539:
"You can only use "PARAMETERS" for programs other than type 1 between B"
"EGIN/END OF SCREEN."
The include has been created and last changed by:
Created by: "SAPUSER "
Last changed by: "SAPUSER "
how can i solved this.
Kavinath B.Hi,
You can not code
SELECTION-SCREEN BEGIN OF BLOCK.
SELECT-OPTIONS selcrit FOR (name).
SELECTION-SCREEN END OF BLOCK.
like this in smartform program line it wont allow
all you have to do is create a driver program
for smartform create a selection screen and call smartform by
n pass variables or internal tables.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname =
* VARIANT = ' '
* DIRECT_CALL = ' '
* IMPORTING
* FM_NAME =
* EXCEPTIONS
* NO_FORM = 1
* NO_FUNCTION_MODULE = 2
* OTHERS = 3
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
I hope it will help u
Ketan.P -
Trouble with Parameter Option - Show Value or Description
First off we are on BI 4.1 SP01 Patch 6. I have a Crystal Reports 2013 report with a lot of optional parameters some of which are based on dynamic lists of values which I created using Business View Manager.
My hope would be that whatever values I select would be shown in the Prompt Panel on the left side of the screen.
Rather than displaying the value of "Limited Liability Company" for the Organization Type I get the code of "06".
That is the correct code and it works from a functional perspective, but I want to see the description. To get to this point in my Crystal Report I created a parameter based on a Dynamic List of Values created in Business View Manager called OrganizationType with the following settings...
That in turn creates something in Business View Manager called "OrganizationType - Prompt Group". If I edit my Organization Type paramter in Crystal Reports I see that it is now based on that OrganizationType - Prompt Group and not Organization Type LOV I had just selected. When I look at the OrganizationType - Prompt Group in Business View Manager the Show on (Viewer) Panel and Show Value or Description options are not what I set them to be in Crystal Reports.
My expectation when choosing the "Show Description" setting for the Show Value or Description option would cause the Description to be shown in the prompt panel. Is that correct? If so, then why isn't this setting sticking. If not, how do I do that?
I realize that I could create my LOVs based on just the Description rather than the ID and Description and filter on the Description rather than the ID, but I shouldn't have to. This should work shouldn't it? What I am doing wrong?
Thanks,
NoelI now understand that the "Show Value or Description" option will have no impact on my situation.
As you can see in my screenshots I have the "Prompt With Description Only" option set to "True". Within Crystal Report I am seeing the Description as expected in the Parameters panel...
However, when I run the report from the BI Launchpad I see the code ("06") rather than the description ("Limited Liability Company")...
Is this a bug?
Noel -
How to make multi value parameter optional in SSRS
I HAVE REPORT IN SSRS 2005.
I have @strjournal as multi value parameter. Allow blank is checked. Parameter values r assigned through query.
select jornalno,jornalno as descr from tran_table
union select 'NULL','NULL'
So for @strjournal, valuefield = jornalno , label field = descr
my main query i am giving,
select .... from myTable where (TRANKEY IN (@strjournal) AND @strjournal<> 'NULL' ) OR (TRANKEY LIKE '%' AND @strjournal = 'NULL')
If i select 'NULL' its giving me correct result (returning all records as condition is like '%')
if i select only 1 journalno (not 'NULL') also giving me correct result (i.e. only 1 record for which jornalno is selected)
if i select more than 1 jornalnos then its giving me error "an expression of non boolean type specified in a context where condition is expected , near ',' "
Any help ??
h2007I have report in SSRS 2005 with multi value parameter.
@strjournal is multi value parameter. Allow blank is checked. Values r assigned by below query
select journalno,journalno as descr from tranTable
union
select 'NULL','BLANK'
so for @strjournal, value field = journalno and label field = descr
My main query is,
select ---- from mainTable where
(TRANKEY IN (@strjournal) AND @strjournal<> 'NULL' ) OR (TRANKEY LIKE '%' AND @strjournal = 'NULL')
if i select 'NULL' gives me correct result (returns all rows as condition is like '%')
if i select only 1 journalno (not 'NULL') also gives me correct result (returns only 1 record for which journalno is selected)
if i select more than 1 journal nos gives me error, An expression of non-boolean type specified in a
context where a condition is expected, near ','
if i select more than 1 values (though i have selected it as multi-value) its giving me error.
if i just give condition,
select ---- from mainTable where (TRANKEY IN (@strjournal))
then i can select multiple
h2007 -
Using Data Pump Storage Parameter option
I am creating database replica of our production environment - the db name don't have to be the same.
My option is to use Oracle data pump to move the data from source database to target database.
I performed the same schenerio for our Windows 2003 evnironment with no problem.
Doing the same for Linux, I am getting tablespace creation error as you can see below:
Lix
Linux-x86_64 Error: 2: No such file or directory Failing sql is: CREATE TABLESPACE "INQUIRY" DATAFILE '/oraappl/pca/vprod/vproddata/inquiry01.dbf' SIZE 629145600 LOGGING ONLINE PERMANENT BLOCKSIZE 8192 EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO ORA-39083: Object type TABLESPACE failed to create with error: ORA-01119: error in creating database file '/oraappl/pca/vprod/vproddata/medical01.dbf' ORA-27040: file create error, unable to create file
My question is do we have to create the tablespaces or data pump should use the default tablespace location already being used by the new database?Hi Richard,
I am working creating my extra database using duplicate command as you suggested.
I got everything up until I got this error:
channel ORA_AUX_DISK_1: reading from backup piece /oraappl/pca/backups/weekly/vproddata/rman/VPR ackupset/2013_08_27/o1_mf_nnndf_TAG20130827T083750_91s7dz0r_.bkp ORA-19870: error reading backup piece /oraappl/pca/backups/weekly/vproddata/rman/VPROD/backupset 3_08_27/o1_mf_nnndf_TAG20130827T083750_91s7dz0r_.bkp ORA-19505: failed to identify file "/oraappl/pca/backups/weekly/vproddata/rman/VPROD/backupset/2 08_27/o1_mf_nnndf_TAG20130827T083750_91s7dz0r_.bkp" ORA-27037: unable to obtain file status Linux-x86_64 Error: 2: No such file or directory
It is defaulting to the recovery location of the production database, instead of the auxiliary db.
My next option was to catalog the backup files, even that is not working. Any suggestion? -
Passing Item Number as a Parameter takes long time,need to make it optional
Hi,
I am trying to pass Inventory Item as a parameter in the discoverer report and it is taking long time to query the results. I am not sure how to make a parameter optional (Not Required)
Please advice
Thanks,
user12048986
Edited by: user12048986 on Apr 19, 2010 2:54 PMHi
In order to use the value ALL in a list of values you have to do two things. These are:
1. Create the LOV like you did with a SELECT 'ALL' FROM DUAL unioned to the real LOV
2. Create a condition that looks for the word ALL
Here's the condition:
COLUMN_VALUE = :Parameter_Value OR :Parameter_Value = 'ALL'
You could also make sure the value is in uppercase using this:
COLUMN_VALUE = :Parameter_Value OR UPPER(:Parameter_Value) = 'ALL'
This way if a user keyed 'all' it would still work.
Best wishes
Michael -
Optional Parameter in Crystal Report XI designer
Hi,
Is there a way to have parameter as optional in Crystal Reports XI ?
I am okay to have the parameter shown but I dont want it to be mandatory.In CR XI the only way to make a parameter optional is to assign it a default value.
For example:
If it is a date range parameter then give the date range parameter a default value say '1900-01-01'. Set this by editing the parameter and clicking on 'Default Value' in the options section.
Then, in your selection criteria have logic similar to this.
If minimum({?date parameter}) = date(1900,01,01)
and minimum({?date parameter}) = maximum({?date parameter}) then
{database.date} = {database.date}
else
{database.date} in {?date parameter};
If the users do not change the default value for the date range then it will pick up all records otherwise limited to the date range.
If it is a numeric parameter then assign a value of zero and for string perhaps 'z' (make sure the default value will never be equal to a DB value) and then in the selection criteria use:
If {?parameter} = 'z' then {database.field} = {database.field}
else
{database.field} = {?parameter}; -
Difficulty in figure out the DDL option parameter
When i try to apply the below lines the local extract parameter the error throws
DDL &
DDLOPTIONS REPORT
DDLOPTIONS ADDTRANDATA
Error
2013-03-22 10:13:44 ERROR OGG-00288 Oracle GoldenGate Capture for Oracle, LSTGDC1C.prm: Unrecognized option in DDL statement [DDLOPTIONS].
2013-03-22 10:13:44 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, LSTGDC1C.prm: PROCESS ABENDING.
After i do changes by adding the comment line, it will start. Guess the (--) comment lines do the gg to understand the below ddl parameter options.
DDL &
DDLOPTIONS REPORT
DDLOPTIONS ADDTRANDATA
Would like to know what is _'&'_ and _'--'_ means when applying the ddl parameters.
Apologize for the silly doubt.DDL and DDLOPTIONS are two separate parameters.
The & denotes a continuation function. So, if my DDL parameter is too big I can move it to multiple lines... for example..
DDL INCLUDE ALL
could be
DDL &
INCLUDE &
ALL
and it would be considered the same thing...
So, when you use
DDL &
DDLOPTIONS blah blah
to the product it looks like..
DDL DDLOPTIONS blah blah
which isn't a valid parameter. -
Why Dynamic Parameter is not working, when i create report using stored procedure ?
Post Author: Shashi Kant
CA Forum: General
Hi all
Why Dynamic Parameter is not working, when i create report XI using stored procedure ?
Only i shaw those parameters which i used in my stored procedure, the parameter which i create dynamic using stored procedure
is not shown to me when i referesh the report for viewing the results.
I have used the same procedure which i mention below but can not seen the last screen which is shown in this .
============================================================================================
1. Select View > Field Explorer2. Right-click on Parameter Fields and select New from the right-click menu.3. Enter u201CCustomer Nameu201D as the name for your parameter4. Under u201CList of Valuesu201D select u201CDynamicu201D5. Under the Value column, click where is says u201Cclick here to add itemu201D and select Customer Name from the drop-down list. The dialog shown now look like the one shown below in Figure 1. Click OK to return to your report design.
Dynamic Parameter Setup6. Next, select Report > Select Expert, select the Customer Name field and click OK.7. Using the drop-down list beside select u201CIs Equal Tou201D and using the drop-down list, select your parameter field (it should be the first field). 8. Click OK to return to your report design and see the parameter dialog.The parameter dialog will appear and show you a dynamic list of values that is updated each time your run your report. It couldnu2019t be easier! In our next tutorial, we will be looking at how to use this feature to create cascading parameter fields, where the values are filtered by the preceding selection.
Dynamic Parameters in Action
My question is that whether dynamic parameter is working with storedprocedure or not.
When i added one table and try to fetch records using dyanmic prameters. after that i am not be able to find the dynamic parameter option when i referesh my report.
One more thing when i try the static parameter for my report, the option i see when i referesh the screen.
Please reply soon , it's urgent
Regards
shashi kantHi Kishore,
I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
=lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
As to the second issue, please try to use the following expression:
=Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl file with all the size properties to us by the following E-mail address? It is benefit for us to do further analysis.
E-mail: [email protected]
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to formulate an SSRS expression to hid 2 document types if parameter is true
Hi,
I have a report with a Full and Partial Parameter option. If the Full parameter is selected all data should be displayed but if the Partial parameter is selected I want to exclude any entry with a SubmissionTypeID value of 47 and 51 from the report.
I can get it to work using just 1 of the values but not using the 2 values.
This is the expression that works for me using only 1 value and I put it the query window of the dataset, the use if 'Niamh' is just to have an else value as it wouldn't work otherwise. When the report is run using this it excludes all entries
with a value of 47 which is what I want except I also want to exclude 51 values also:
Where
(Reporting.SUBMISSIONS.SubmissionTypeID <> case when @FullorPartial= 2 then 47 else 'Niamh' end)
I also tried this in the query window and when partial is selected it works exactly as I want it to excluding all date with a SubmissionTypeID of 47 & 51 but when Full is selected I get an error "Cannot read the next data row for
the dataset DataSet1"
Where
((Reporting.VW_LATEST_SUBMISSIONS.SubmissionTypeID <> case when @FullorPartial= 2 then 47 else 'Niamh' end
OR
Reporting.VW_LATEST_SUBMISSIONS.SubmissionTypeID <> case when @FullorPartial= 2 then 51 else 'Niamh' end))
I have also tried using an IIF on the Visibility option in the Group Properties of the Row Group which didn't work either.
=IIF((Parameters!FullorPartial=2) AND (SubmissionID IN (51, 47), True, False))
Any help would be very much appreciated as I have tried all number of variations without success.
Thanks
NiamhHi ,
Try the below condition. I am assuming 1 is Full and 2 is partial.
Where
Reporting.VW_LATEST_SUBMISSIONS.SubmissionTypeID not in (47,51)
or
@FullorPartial = 1
Best Regards Sorna -
Mix of Parameters & Select Options in a Selection screen in WD4A
Hi All.
I just created my first selection screen in WD4A couple of days back.
Now, we have to mix up some parameters and select-options just like in normal ABAP.
But I could only find a way to insert a "Range" into the WD4A screens via "Create_Range_table".
Supposing I have 2 select-options, then 2 parameters - i.e. no Pattern or range or intervals options (simple = option); then again 2 select-options.
Can't we make a simple Parameter option in WD4A selection screen? I know we can make no_extension and no_intervals as true so that it does look like a parameter. But still user can enter a pattern search in it like a select-option.
Hope my query is clear.
Another question is : As far as I understood, we ALWAYS need a IT_RESULT table in the method ADD_SELECTION_FIELD. Then why is it not mandatory in the method?
Thanks in adv.Hi Aishi,
In an early version of SelectOptions, the parameter it_result was mandatory. Some time later, a developer contacted me and showed me an example where it was benefitial to first create the field and to pass in the range table at a later point in his algorithm. This can be done by calling set_range_table_of_sel_field( ). Hence, the parameter has become optional. Of course, a range table needs to be specified before the page gets rendered.
Best regards,
Thomas
Maybe you are looking for
-
PCA Balance Carry Forward - Retained Earnings
In PCA, balance carryforward does 1. Zero's out balances in accounts with transaction types & books the net of each account to the beginning balance Transaction Type. 2. Zero's out all P&L accounts and records earnings to retained earnings account fo
-
IPhone 4s camera. As you know back camera iPhone is very good)) I am a student in grade 11. So when I conducted laboratory work on spectral analysis, I would like to register the result with iPhone. What I got, and I got it that the photograph of the
-
My ipod nano 1gb plays, but the center button won't allow me to select specific songs. It doesn't recognize when I press to select from the menu (ie., "music >"). I've reset it several times... any ideas? dell Windows XP dell Windows XP
-
Solaris 10: BIND 9 Chroot Service fails to start with SVCADM but works when
I recently upgraded with Solaris patches and after the reboot my Bind Named services (DNS) go into maintenance mode. bash-3.2# svcs -xv svc:/network/dns/server:chroot (?) State: maintenance since Thu Nov 01 00:22:19 2012 Reason: Start method failed r
-
Opportunity "Status" required in component BT111H_OPPT
Dear All, I have a requirement where i need to disable the delete button in opportunity when the status is "in Process". Now when the user searches for all the opportunities with 'in process' status in search opportunities. The user selects any opp