Multiple parameter options

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
Jehanzeb

Thanks 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

Similar Messages

  • One search help for multiple select-options in webdynpro abap

    Hi,
    I need a way to use one search help for multiple select-options fields. My scenario is :
    I have a table for keeping different organizational units' values of different systems. I have pasted some sample data from this table at the end of this mail. On the screen I want to have 1 select-options filed for werks, and 1 select-options filed for vkorg. (In fact I will have more org. unit fields...) In the beginning of my application the user will select sid.
    If the user selects ADS as SID, when he opens search-help for the first org. unit (werks), he will see the records with SID: ADS, VARBL = $WERKS, LANGU = SY-LANGU.
    If the user selects AGT as SID, when he opens search-help for the second org. unit (vkorg), he will see the records with SID: AGT, VARBL = $VKORG, LANGU = SY-LANGU.
    I have created a search-help taking SIDD, VARBL and LANGU as import parameters; used field mapping and bound this search help to my table. I have created 2 context nodes : org1 and org2 having attributes SID, VARBL, VALUE, LANGU .
    I have assigned related SID, VARBL and Langu values to these attributes at runtime as I needed. That way, if I use input field and reference to the related context attributes org1-value and org2-value2 accordingly, search help works well as I want.
    However, when I use select-options field , I can not bind the field to the context data. I can give reference only to ddic structure. Is there any way to reference to a context attribute? I searched for this in SDN, but could find nothing.
    I think I won't be able to use this way. What do you say?
    As I read from forums maybe using OVS help will be suitable for me. But I have to use one search-help for all select-options fields. Do you know how I can determine the active select-options field and pass its name (for instance "werks" ) as parameter to this OVS search help. (Also I'll pass SID and LANGU.)
    MY TABLE (ZBYYT080) CONTENTS:
    SID     VARBL     VALUE     LANGU     VTEXT
    ADS     $WERKS     1     T     Werk 0001
    ADS     $WERKS     11     T     OZYAS  GIDA URETIM YERI
    ADS     $WERKS     5501     T     BOYA GEBZE FABRİKASI
    ADS     $WERKS     5502     T     BOYA CIGLI FABRİKASI
    AGT     $WERKS     2301     T     KAMLI DAMIZLIK
    AGT     $WERKS     9601     T     PANAR DENIZ URETIM YERI
    ADS     $VKORG     22     T     AA KİMYASALLAR
    ADS     $VKORG     8001     T     İINSAAT BOYALARI
    AGT     $VKORG     6500     T     DAMk St.Org
    AGT     $VKORG     5400     T     PANAR St.Org.
    I wish I'm clear enough..
    I will be gald if someone answers me as soon as possible...
    Thanks İn advance..
    MERAL

    Hi,
    Your ques is how to refer to a DDIC search help to refer to selection screen parameter ?
    Am I right ?
    If Yes, then in the interface IF_WD_SELECT_OPTIONS
    method ADD_SELECTION_FIELD, ADD_PARAMETER_FIELD etc
    have importing param like I_VALUE_HELP_TYPE and  I_VALUE_HELP_ID, I_VALUE_HELP_MODE, I_VALUE_HELP_STRUCTURE
    etc which may help you to link your create DDIC Search help to selection screen params.
    this is just a clue from my side. I haven't tried it myself.
    You can go to the where used list of this method and find some sample implementations which use these params.
    Hope this helps.
    Regards
    Manas Dua

  • Multiple Select option in Module pool

    Hi,
    I wanna add a field for 'Delivery number' in the screen of a mod pool prgm.I created a subscreen area in the main screen and did the coding needed.now the problem i am having is if i giv a single value in the from field or  values in the 'From' and 'To' field its not taken to the program,i saw it while debugging. but if i enter the values in the multiple selection option its taken to the program.That means from screen its not going to the program where as from the multiple select option its taken to the program,What may be the propblem.
    Regards in Advance,
    Nitin

    Hi,
    Have you used the select-options in the subscreen or you have placed the multiple option manually?
    Either way, please check the two methods, it may solve your problem.
    Create a SELECT-OPTIONS in module pool screen using two methods as shown.
    Method 1
    a) Create a subscreen area in your screen layout where you want to create the select options.
    b) In the top include of your module pool program declare a selection screen as a subscreen e.g.
    SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.  
        select-options s_matnr for mara-matnr.
    SELECTION-SCREEN END OF SCREEN.
    c) In the PBO and PAI of the main screen where the select options needs to be created do a call subscreen of the above screen (100).
    CALL SUBCREEN sub_area INCLUDING  <program>   <screen>
    This CALL SUBSCREEN statement is necessary for transport of values between screen and program.
    Note: All validations of the selection screen fields e.g. the s_matnr field created above should be done in selection screen events like AT SELECTION-SCREEN etc and not in PAI. These selection screen validations etc should be done in the top include only.
    Method 2
    a) Create 2 separate fields in your screen layout - one for the low value and one for the high value. Insert an icon beside the high value which will call the multiple selections popup screen on user command. Use function module COMPLEX_SELECTIONS_DIALOG to achieve this.
    struc_tab_and_field-fieldname = con_cust.  " 'KUNNR'
    struc_tab_and_field-tablename = con_kna1.  " 'KNA1'.
    CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'  
    EXPORTING*         
    TITLE                        = ' '    
    text                          = g_titl1   " 'Customers'     
    tab_and_field             = struc_tab_and_field   
    TABLES     
    RANGE                     = rng_kunnr   
    EXCEPTIONS     
    NO_RANGE_TAB       = 1    
    CANCELLED              = 2     
    INTERNAL_ERROR     = 3     
    INVALID_FIELDNAME  = 4    
    OTHERS                       = 5.
    IF NOT rng_kunnr[] IS INITIAL.       
    Read the very first entry of the range table and pass it to dynpro screen field   
    READ TABLE rng_kunnr INDEX 1.   
    IF sy-subrc = 0.       
      g_cust = rng_kunnr-low.    
    ENDIF.
    ENDIF.
    You can use the return table rng_kunnr to populate your own internal range table with the values entered by the user. Basically here you are just simulating the work of a select-options parameter by module pool screen elements.
    Regards

  • Comparing two column values with multiple Parameter in VC (Indicator)

    Hello VC experts,
    GM
    I would like to know about how to indicate multiple parameter with different colour in same column and also comparing value with adjucent column.
    Eg.
    Parameters     ,,           Column1      ,,              Column 2       ,,            Indicator (Image)
    Parameter 1    ,,             a1             ,,                     b1          ,,                  RED
    Parameter 2    ,,            a2              ,,                     b2          ,,                  GREEN
    Parameter 3    ,,            a3              ,,                     b3          ,,                 
    Parameter 4    ,,            a4              ,,                     b4          ,,
    In case I  : Parameter -1     Column 1 ( value)  =  more is better compared to Column 2
    In case II : Parameter -2     Column 1 ( value)  =  Less is better compared to Column 2
    How to acheive this  INDICATOR based value comparison.
    Edited by: Sunil  B. Mundhe on Mar 7, 2009 6:30 AM
    Edited by: Sunil  B. Mundhe on Mar 7, 2009 6:38 AM

    Hi
    This is possible in VC. You have to insert 'Image' UI in the required table. Add images of alert through 'Image manager' (Tools tab). Select relevant images of alert in 'Image' UI. In display there is option for 'visibility condition' there you enter condition (like if greater than ,true,false).
    Like wise you can add multiple 'Image' UIs in that table & based on visibility conditions you will get these alert images in table.
    Regards
    Sandeep

  • Multiple select options in 1 drop down box?

    Hi,
    I have created a form that works perfectly except for the fact that I need to provide multiple select options in the 1 drop down box; for example, I'm asking what product the customer is interested in and his answer could be multiple items such as Soap, Sanitizer, Hand Towels, Face Cloths etc...
    At the moment, the customer can only select 1 item not multiple.
    Is this possible?
    Thanks in advance for the help!

    Hi,
    It is not possible to allow the user to select multiple items in a dropdown list.
    You could use a list box, which does allow multiple selections.
    Good luck,
    Niall
    Assure Dynamics

  • Multiple select options for an input field

    Hi All,
    We have a requirement where in we need to provide multiple select options for an input field in a BSP application and get output relevant to all the given inputs(do not require range).
    Please do let me know how to solve this.
    Thanks & Regards,
    Lavanya .

    Hi,
    The requirement is : Suppose there is a input field PLANT.
    If we give input for plant it gives related output.
    Now if it is required to give 5 or 6 inputs..like plant1,plant2...plant6 and get the output related to all 6 inputs.
    (Like we implement in ABAP)
    Please do let me know how can this be implemented in BSP.
    Thanks & Regards,
    Lavanya.

  • I want to use Mac Mail for my work email address, which containts multiple outbound options (i.e. hr@, me@ etc). Is there a way to set up Mac Mail to have an account with multiple outbound addresses rather than adding in multiple accounts?

    I want to use Mac Mail for my work email address, which containts multiple outbound options (i.e. hr@, me@ etc). Is there a way to set up Mac Mail to have an account with multiple outbound addresses rather than adding in multiple accounts?

    This sounds like the age old problem with keychain & Safari. I don't know of a way to solve it without using something like 1Password.
    The iOS app has it's own built in browser, so it has more control over what gets autofilled. Safari on OS X has an 1Password extension that handles account selection & autofill etc.
    Keychain is great in principle, but it quickly falls down when you need tight integration with many ID's & different use cases (work, home etc).
    I'd suggest you submit feedback to Apple about your thoughts. I did so years ago about this issue & this is how far we have come (back to the point where me.com synced passwords) :^)
    http://apple.com/feedback/macosx.html
    Other tools like lastpass or keypassx may also help if you want to truly segregate password storage, but that doesn't fix autofill, the way around that issue is to dedicate one browser for work.

  • How does 'Multiple Calendar Option' work in 7.9.6

    Friends, Could some one please explain me what this 'Multiple Calendar' option is, in 7.9.6. There is not much Information in Config guide with this regard.
    My Question is, does 'Multiple Calendar option' means 7.9.6 supports different calendars but one at a time or does it support more than one calendar at a time in the application.
    Where I'm coming from is, our source is EBS and some Business users want OBIA calendar to be same as EBS so that they can see Adjustment Periods as well..but on the other side they also want Weekly Analysis..which is not present in EBS (our EBS is configured with 445 calendar with Adjustments...so lowest is periods) ..so not sure how to go about this.
    is there is a possibility of using EBS Sourced Claendar( Enterprise) as well as another 445 calendar which will give us week level analysis capabilities? Lets say it allows different calendars at a time..then how does it work?..does it pre-aggregates for different calendars?..please explain.
    Any help regarding this will be highly appreciated.
    Thanks
    Edited by: Madhu.Hosadurga on 23-Sep-2009 03:49

    hey madhu,
    try this forum here: Business Intelligence Applications
    cheers, rnm.

  • I am no longer able to sync multiple photo albums/folders on my iphone. I use to be able to sync many folders and now itunes only gives the option of 1 folder. How do I get back to the multiple folder option?

    first time to the discussion forum. Like I stated in the title, I use to be able to have all my photo albums sync to my iphone. I did something and now it only allows me to "sync photos from..." and it only allows me to chose from 1 of my folders and not pick multiple folders from my photo library. does anyone know how to get back to the multiple folder option? I'm sure its simple since I changed this so easily when trying to add a single folder to my library.

    Firefox now always stores the old session, and you can access it by going to the History menu and selecting "Restore Previous Session"
    If you want Firefox to display the message to save the session, it can be turned back on by changing some preferences.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
    # Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''
    If you always open the last set of tabs, an alternative approach is this:
    # Click the orange Firefox button, then select options to open the options window
    # Go to the General panel
    # Change the setting "When Firefox starts" to "Show my windows and tabs from last time"

  • Multiple Price options while creation of PO

    Hi SAP Gurus,
                       The client requirement is that to have multiple price options at the time of creation of PO.can we achieve this through standard SAP, if not any workarounds OR any development needed?If it is development please provide me some logic .
    Regards
    Yashaswini

    Hi,
    Better go for different price for same material with validity period in  condition record in t.code:MEK1. For example:
    Material -----Material Price --------Validity
    M1--------------230---------------------01-05-2014 to 31-05-2014
    M1--------------240---------------------01-06-2014 to 30-06-2014
    M1--------------250---------------------01-07-2014 to 31-05-2014
    M1--------------260---------------------01-08-2014 to 31-05-2014
    OR
    Go for using of split valuation and maintain different price for same material with different  valuation types.
    Regards,
    Biju K

  • Multiple select option in the screen painter

    Hi all,
    I want to give multiple select option for a particular field in the screen painter.
    how to provide it.
    Nitin

    Hi,
    Refer to this link..[Select-Option in Dialog programming   |Re: Select-Option in Dialog programming]
    [How to make select option in module pool   |how to make select option in module pool]

  • How to Pass multiple parameter into single store procedure

    How to Pass multiple parameter into single store procedure
    like a one to many relationship.
    it is possible then reply me immediatly

    you mean like this .....
    CREATE OR REPLACE procedure display_me(in_param in varchar2,in_default in varchar2 := 'Default') is
    BEGIN
    DBMS_OUTPUT.put_line ('Values is .....'||in_param || '....'||in_default);
    END display_me;
    CREATE OR REPLACE procedure display_me_2 as
    cnt integer :=0;
    BEGIN
    For c1_rec In (SELECT empno,deptno FROM test_emp) Loop
         display_me(in_param => c1_rec.empno);
         cnt := cnt+1;
         end loop;
         DBMS_OUTPUT.put_line('Total record count is ....'||cnt);
    END display_me_2;
    SQL > exec display_me_2
    Values is .....9999....Default
    Values is .....4567....Default
    Values is .....2345....Default
    Values is .....7369....Default
    Values is .....7499....Default
    Values is .....7521....Default
    Values is .....7566....Default
    Values is .....7654....Default
    Values is .....7698....Default
    Values is .....7782....Default
    Values is .....7788....Default
    Values is .....7839....Default
    Values is .....7844....Default
    Values is .....7876....Default
    Values is .....7900....Default
    Values is .....7902....Default
    Values is .....7934....Default
    Values is .....1234....Default
    Total record count is ....18

  • Logic Pro X - Cannot see multiple input options

    Hello,
    I've been using other DAWs(DP and Studio One 2) but I decided to try Logic Pro X and purchased it yesterday.
    I'm using a firewire audio interface which has multiple input options. For example, Ch1 and Ch2 are for mic inputs, ch3 and ch4 are for my external sound module (Yamaha Motif Rack), etc.
    I tried to play and record the sound module on Logic, I first added "New External Midi Track". Then, I added "New Audio Track" to record the sound of sound module, like I do on other DAWs. I tried to select the ch 3-4 as an input for the audio track, however I could only see the input ch1-2 as an option for the track.
    The audio interface's driver is installed correctly. In fact, I can use the input ch 3-4 with no problem on other DAWs.
    Since I'm new to Logic Pro, I might have overlooked how to assign / setup the inputs.
    Can anybody let me know how I can activate input ch3-4 on Logic Pro X?
    Thanks in advance.
    -Holly

    Yeah, after I wrote the post, I found out that this happened because "built-in input" was chosen as a default input source on "Preferences -> Audio". That's why it only showed ch1-2. Now I chose my audio interface as the default input and I could see other channels.
    That's good, however this brought up a new question, if I want to use multiple input options such as two audio interfaces or combination of built-in input and an audio interface, is it possible to do so?

  • Upload multiple documents option is not visible for one user in SharePoint 2007.

    Hi,
    For one user Upload multiple documents option is not visible.
    We are using SharePoint 2007 environment.
    User is using IE 9 32 bit,Office 2010.
    I did repair office 2010.
    Active x controls are enabled.
    Please anyone help me on this.
    Thanks,
    Ashok

    Hi,
    According to your post, my understanding is that after client upgraded to Office 2013 the option for Upload multiple document was grayed out.
    I try to reproduce the issue in my environment, however everything works well.
    My configuration of system is:
    Windows 8.1;
    IE11;
    Office 2013 32bit.
    Please repair the Office 2013 to check whether it works.
    In addition, there are many thing you need to check. Please refer to:
    http://sharepointknowledgebase.blogspot.com/2013/09/upload-multiple-documents-is-disabled.html
    Here is a similar thread for your reference:
    http://social.msdn.microsoft.com/Forums/en-US/1a5af332-ed21-41ee-bf64-9122a7439623/sharepoint-not-activating-stsuplddll-upload-mutliple-documents-greyed-out?forum=sharepointgeneralprevious
    More information:
    "Upload Multiple Documents" is disabled in Document Library
    SharePoint 2010 : How to Enable Uploading Multiple Documents Functionality
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Problem with Multiple selection option

    Hi all,
    I am working on a report, when I execute the report and the selection screen comes up, there I need to enter 5 different employee name so I am trying to use "multiple selection" option but as soon as I hit that "Yellow arrow" in front of employee name field .. I saw the output first and when I go one screen back I get that screen where I can enter the names. So can you please help me with this.
    Thanks,
    Rajeev

    Hi,
    I have written the following code, I guess the problem is in
    GD_REPID = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM     = GD_REPID
    DATA: FIELDCATALOG TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
          GD_TAB_GROUP TYPE SLIS_T_SP_GROUP_ALV,
          GD_LAYOUT    TYPE SLIS_LAYOUT_ALV,
          GD_REPID     LIKE SY-REPID.
    FORM DISPLAY_ALV_REPORT .
      GD_REPID = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM     = GD_REPID
          I_CALLBACK_TOP_OF_PAGE = 'TOP-OF-PAGE'
          IS_LAYOUT              = GD_LAYOUT
          IT_FIELDCAT            = FIELDCATALOG[]
          I_SAVE                 = 'A'
        TABLES
          T_OUTTAB               = IT_tab
        EXCEPTIONS
          PROGRAM_ERROR          = 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.                    " DISPLAY_ALV_REPORTcode}
    Thanks,
    Rajeev

Maybe you are looking for

  • How to find the encoding of a file?

    hi, Is it possible to findout the encoding of a file through programing? thanks, Mahi

  • How I can acess to master entity object from detail entity object

    If I have two Entities Object, master and detail. How I can to access to any value in the master entity from the detail entity?

  • XI cache refresh error 'HTTP status code503 Service Unavailable'

    We are running XI 3.0, SP 9 XI cache refresh stopped working today (red traffic light). Tried a Delta refresh. Got a program dump with error 'Access with ‘ZERO’ object reference not possible'. Activated all objects in Change lists of Repository, dire

  • DNS url changes to with server name URL

    We have created  dns url for our sharepoint site, but users click on some links urls get changed to with server name URL Like http:\\server1:81\main\ and i have created new subsite and all the pages comeu p with server name url instead on DNS URL Can

  • Trouble saving on A1176s

    I've written a script writes a log in TextEdit and saves it, it works perfectly on older Mac Minis but seems to have trouble on the newer model. Instead of saving in the alias it's given, it opens a Save As... dialogue. Any idea why or how to fix it?