Selection for Multiple Hierarchy

Hi,
I am having query which uses Profit Center Hierarchy ( A ) to display results.
we have two Profit Center hierarchies created suppose ( A) & (B) . There is one requirment of selection of any one hierarchy for reporting. means user can select either (A) or (B)  from input variable.
I hv tried with restriction to Profit center with two hierarchy nodes but system gives error <b>' Different Hierarchies are used for characteristic Profit Center'</b>
To acheive this I dont want to create another query.
Is there any solution available ?
thanks,
Manish

HI Manish,
Don't select any hierarchy ,select hierarchy variable to display all hierarchies.
In variable entry screen (in Analzyer or WEB) it will display all the hierarchies which you want.
Then select ur desired(two hierarchies) Hierarchy.
OR
Try to restrict the two desired hierarchies in QD it self, then it wil display only two hierarchies in Analyzer.
Hope it will solve your problem.
regards,
Shailaja

Similar Messages

  • Critical :MIRO TRANSACTION-POP UP SELECTION FOR MULTIPLE VENDOR SELECTION

    Hi experts ,
    I have a requirement in my project in which AP ( accounts payable ) requires pop up selection box in MIRO when there are multiple remit to address exist for the same vendor.Currently AP does not have the ability to see  when mulitple remit accounts exist for a vendor.   This is causing payment to be sent to the wrong place.so the requirement is 1.Modify the MIRO transaction to determine if a multiple remit-to vendor scenario exists and issue an info message to the user so that he/she can perform a vendor search.
    Modify MIRO to Issue Info Message for Multiple Remit-to Scenario
    If possible, find an appropriate BAdi or user exit where an info message can be issued.  The message must be issued after entry of the purchase order number.
    Determination of a multiple remit-to case is as follows:
    -     User in transaction MIRO enters a value in the purchase order number field and presses enter or other function key
    -     In exit code:
    o     the vendor number is determined from the purchase order entered
    o     the vendor master is then searched and the following vendor records are returned as matches:
         ADBR remit-to vendors defined as partners to the purchase order vendor number
         Vendor records with the same tax ID number as the purchase order vendor number
         ADVN vendor records with the same value in LFA1-ZZMCOD2 in the first 12 characters only
         Include the vendor number defined to the purchase order number entered
    o     If the search returns more than one vendor record, then issue the info message u201CMultiple remit-to vendors may exist.  Please validate vendor on PO with vendor on the invoice.u201D
    can anybody provide any inputs in this.
    regards
    Prasun

    I have wondered about this for a while. I was trying something tonight and it seemed to do what you need. I suggest you save your document before trying it.
    Select one of your popups.
    Copy Style
    Select all the popups
    Paste Style
    With all selected, go to the Inspector and add another item to the list.
    All popups should now have the new item. The selected values should not have changed. Copy/paste style is required to make this work.
    Please let me know if this works for you. I've tried it a few times and it seems to do the trick.

  • Select * for multiple tables in cfquery does not work anymore as it used to with CF5

    I am migrating from CF5. the following code used to work:
    SELECT *
    FROM tablea a, tableb b
    where a.id =b.id
    now I get an error when getting the value of ID (error:
    queryname.ID undefined). I suspect the * is the problem and is not
    permitted in that format with CF 7.
    Any help will be appreciated
    Thanks

    cfdump is, for the most part, a debugging tool which allows
    you to look at varialbes and their values at various points of the
    template. Rarely would you want to let real users see that sort of
    output.
    I'd be suspicious if adding cfdump, and nothing else solved
    the problem. I also wouldn't rely on it as a permanent solution.
    Using select * for a query against more than one table is still
    "sloppy" code and cold fusion tends be less forgiving of sloppy
    code with each upgrade.
    In case you were wondering, it's "sloppy" because it brings
    back more data than you need. You will never need the joining
    fields twice.

  • Keep switch channel selected for multiple steps in a scan list

    Hi,
    I have 3 switches (PXI-2575), one to apply a source to a given line, one to apply a sink, a one to apply a DMM.  I have all three switches triggering off each other as well as a DMM (PXI-4070). I apply a source to any given line with the source switch and then cycle through other lines using the DMM switch. Problem is i want to keep the wear on the relays of the source switch to a minimum (for each cycle through the DMM lines I'm selecting same source pin multiple times!). Is there a command for scan lists or some way of setting up the switches so that this can be done?
    I thought it might be possible to use the debounce command ';' on its own to signify that i don't want to change the channel selection but this does not appear to work, the DMM times out whilst waiting for a trigger on the second reading. Simplified example scan list that i currently have:
    Break Mode: No Action
    Source Switch: ch0->com;;;;~ch0->com & ch1->com...
    DMM Switch: ch100->com;~ch100->com & ch101->com;~ch101->com & ch102->com;~ch102->com & ch103->com;~ch103->com & ch100->com...
    I've also tried selecting the same channel in subsquent scan list entries which flags up error saying explicit connection already exists between the channels.
    So is the only possibility just to needlessly wear out the relays?!

    Hi leon007,
    I can understand your desire to keep the wear on the relays of the Source switch to a minimum.  I have a few questions, but we should be able to get the application working without needlessly wearing out the relays.
    1.  Can I assume you are using NI-SWITCH to program this application?  If you are using the NI-DAQmx Switch API, please let me know.
    2.  When you state "I have all three switches triggering off each other as well as a DMM", can I assume (leaving out the Sink switch for now) the scan advanced output of the Source switch (TTL0) is sent to the trigger input of the DMM switch (TTL0), the scan advanced output of the DMM switch (TTL1) is sent to the trigger source of the DMM (TTL1), and the measurement complete destination of the DMM (TTL2) is sent to the trigger input of the Source switch (TTL2)?
    3.  If you are still having troubles after this post, I would like to know the following so I can assist in testing the issue:  What versions of NI-DAQmx and NI-SWITCH do you have installed?
    OK, that's it for my questions.  Now for yours.  Unfortunately, the debounce command ';' didn't work because it is simply a dummy entry - without creating a connection no scan advanced signal will be sent.  I've noticed this is not documented well in our help file, and I apologize for that.  However, attempting to create a connection where one already exists should be an error.  Either the user is attempting to redundantly connect channels (which shouldn't happen if niSwitch Get Relay Position is used), or there is a driver issue.
    To keep the relay wear to a minimum, I want to suggest a couple of ideas. 
    1.  Use only one trigger line for the DMM's measurement complete and one trigger line for all the switches scan advanced outputs.  To use this option, it cannot matter in your application which switch operates first, and which operates last.  The switch that always makes a connection (the DMM switch) will send a scan advanced output trigger with a set scan delay (configured in niSwitch Configure Scan Trigger) that should accommodate for all the switches.  This option may add delay in your application, but you will save relay life.
    2.  Use the DAQmx Switch API and the '&&' command between seperate switch connections.  In the DAQmx Switch API, you use just one scan list for all switch modules.  For example, we would perform the example scan list entries you provided with the following scan list:
    /Source/ch0->com && /DMM Switch/ch100->com; ~/DMM Switch/ch100->com & /DMM Switch/ch101->com; ~/DMM Switch/ch101->com & /DMM Switch/ch102->com; ~/DMM Switch/ch102->com & /DMM Switch/ch103->com; ~/Source/ch0->com & /Source/ch1->com && ~/DMM Switch/ch103->com & /DMM Switch/ch100->com...
    The above connects the Source switch CH0 to COM, waits for the relays to settle, connects the DMM switch CH100 to COM, sends the scan advanced output signal, and waits for the trigger input before executing the next scan list entry.  This method will keep an order to the madness, as you will have the power to decide which switch operates first, and which operates last.
    Let me know if I assumed anything incorrectly or if neither option works for you!
    Chad Erickson
    Switch Product Support Engineer
    NI - USA

  • Dynamic select for multiple tables

    Hi Thanks for your reply.Can you please help me in this issue.
    I have a requirement like how to select data from multiple tables using dynamic select. How do we maintain dynamic where condition.
    Manohar.

    [How to write dynamic where clause|How to write a Dynamic Where clause]

  • Powershell Unique Selections for Multiple Combo Boxes

    I am currently working on a powershell script that will use 4 combo box controls. I would like for them to all use the same data source whether it be an array or just a .txt file. I would like for each selection to be unique so that no 2 combo boxes can
    have the same item selected. Is there a way to hide the item selected in the data source so the other combo boxes do not even have the option to select it and then when the user changes the item in one of the combo boxes the item is available again? 

    What I am looking do do is have a list of values (T1111,T1112,T1113,T1114) to be selected from by 4 combo boxes. Each value can only be selected once so if one combo box picks T1111 the other 3 do not have that option in its selection. So far I reload the
    combo boxes ever time a selection is made and remove the option from the array, but I was looking to see if there is a better way. As it currently stands, getting distinct values isn't working.
    Code snippet to remove item from array:
    function Get-DataSource
    $array = @("T1111", "T1112", "T1113", "T1114")
    $combo1 = $combobox1.SelectedItem.ToString()
    $combo2 = $combobox2.SelectedItem.ToString()
    $array = $array | Where-Object -FilterScript { $_ -ne $combo1 }
    $array = $array | Where-Object -FilterScript { $_ -ne $combo2 }
    return $array
    I apologize for not uploading my code.
    function OnApplicationLoad {
    #Note: This function is not called in Projects
    #Note: This function runs before the form is created
    #Note: To get the script directory in the Packager use: Split-Path $hostinvocation.MyCommand.path
    #Note: To get the console output in the Packager (Windows Mode) use: $ConsoleOutput (Type: System.Collections.ArrayList)
    #Important: Form controls cannot be accessed in this function
    #TODO: Add modules and custom code to validate the application load
    return $true #return true for success or false for failure
    function OnApplicationExit {
    #Note: This function is not called in Projects
    #Note: This function runs after the form is closed
    #TODO: Add custom code to clean up and unload modules when the application exits
    $script:ExitCode = 0 #Set the exit code for the Packager
    #endregion Application Functions;2
    # Generated Form Function
    function Call-tenet_psf {
    #region Import the Assemblies
    [void][reflection.assembly]::Load('mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089')
    [void][reflection.assembly]::Load('System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089')
    [void][reflection.assembly]::Load('System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089')
    [void][reflection.assembly]::Load('System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089')
    [void][reflection.assembly]::Load('System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
    [void][reflection.assembly]::Load('System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089')
    [void][reflection.assembly]::Load('System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
    [void][reflection.assembly]::Load('System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089')
    [void][reflection.assembly]::Load('System.ServiceProcess, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
    #endregion Import Assemblies
    #region Generated Form Objects
    [System.Windows.Forms.Application]::EnableVisualStyles()
    $form1 = New-Object 'System.Windows.Forms.Form'
    $combobox2 = New-Object 'System.Windows.Forms.ComboBox'
    $combobox1 = New-Object 'System.Windows.Forms.ComboBox'
    $buttonOK = New-Object 'System.Windows.Forms.Button'
    $InitialFormWindowState = New-Object 'System.Windows.Forms.FormWindowState'
    #endregion Generated Form Objects
    # User Generated Script
    function OnApplicationLoad {
    #Note: This function is not called in Projects
    #Note: This function runs before the form is created
    #Note: To get the script directory in the Packager use: Split-Path $hostinvocation.MyCommand.path
    #Note: To get the console output in the Packager (Windows Mode) use: $ConsoleOutput (Type: System.Collections.ArrayList)
    #Important: Form controls cannot be accessed in this function
    #TODO: Add modules and custom code to validate the application load
    return $true #return true for success or false for failure
    function OnApplicationExit {
    #Note: This function is not called in Projects
    #Note: This function runs after the form is closed
    #TODO: Add custom code to clean up and unload modules when the application exits
    $script:ExitCode = 0 #Set the exit code for the Packager
    $FormEvent_Load={
    #TODO: Initialize Form Controls here
    Load-ComboBox $combobox1 (Get-DataSource)
    Load-ComboBox $combobox2 (Get-DataSource)
    function Get-DataSource
    $array = @("T1111", "T1112", "T1113", "T1114")
    $combo1 = $combobox1.SelectedItem.ToString()
    $combo2 = $combobox2.SelectedItem.ToString()
    $array = $array | Where-Object -FilterScript { $_ -ne $combo1 }
    $array = $array | Where-Object -FilterScript { $_ -ne $combo2 }
    return $array
    #region Control Helper Functions
    function Load-ComboBox
    <#
    .SYNOPSIS
    This functions helps you load items into a ComboBox.
    .DESCRIPTION
    Use this function to dynamically load items into the ComboBox control.
    .PARAMETER  ComboBox
    The ComboBox control you want to add items to.
    .PARAMETER  Items
    The object or objects you wish to load into the ComboBox's Items collection.
    .PARAMETER  DisplayMember
    Indicates the property to display for the items in this control.
    .PARAMETER  Append
    Adds the item(s) to the ComboBox without clearing the Items collection.
    .EXAMPLE
    Load-ComboBox $combobox1 "Red", "White", "Blue"
    .EXAMPLE
    Load-ComboBox $combobox1 "Red" -Append
    Load-ComboBox $combobox1 "White" -Append
    Load-ComboBox $combobox1 "Blue" -Append
    .EXAMPLE
    Load-ComboBox $combobox1 (Get-Process) "ProcessName"
    #>
    Param (
    [ValidateNotNull()]
    [Parameter(Mandatory=$true)]
    [System.Windows.Forms.ComboBox]$ComboBox,
    [ValidateNotNull()]
    [Parameter(Mandatory=$true)]
    $Items,
       [Parameter(Mandatory=$false)]
    [string]$DisplayMember,
    [switch]$Append
    if(-not $Append)
    $ComboBox.Items.Clear()
    if($Items -is [Object[]])
    $ComboBox.Items.AddRange($Items)
    elseif ($Items -is [Array])
    $ComboBox.BeginUpdate()
    foreach($obj in $Items)
    $ComboBox.Items.Add($obj)
    $ComboBox.EndUpdate()
    else
    $ComboBox.Items.Add($Items)
    $ComboBox.DisplayMember = $DisplayMember
    $combobox1_SelectedIndexChanged={
    #TODO: Place custom script here
    Load-ComboBox $combobox2 -Items (Get-DataSource)
    $combobox2_SelectedIndexChanged={
    #TODO: Place custom script here
    Load-ComboBox $combobox1 -Items (Get-DataSource)
    # --End User Generated Script--
    #region Generated Events
    $Form_StateCorrection_Load=
    #Correct the initial state of the form to prevent the .Net maximized form issue
    $form1.WindowState = $InitialFormWindowState
    $Form_Cleanup_FormClosed=
    #Remove all event handlers from the controls
    try
    $combobox2.remove_SelectedIndexChanged($combobox2_SelectedIndexChanged)
    $combobox1.remove_SelectedIndexChanged($combobox1_SelectedIndexChanged)
    $form1.remove_Load($FormEvent_Load)
    $form1.remove_Load($Form_StateCorrection_Load)
    $form1.remove_FormClosed($Form_Cleanup_FormClosed)
    catch [Exception]
    #endregion Generated Events
    #region Generated Form Code
    $form1.SuspendLayout()
    # form1
    $form1.Controls.Add($combobox2)
    $form1.Controls.Add($combobox1)
    $form1.Controls.Add($buttonOK)
    $form1.AcceptButton = $buttonOK
    $form1.ClientSize = '614, 289'
    $form1.FormBorderStyle = 'FixedDialog'
    $form1.MaximizeBox = $False
    $form1.MinimizeBox = $False
    $form1.Name = "form1"
    $form1.StartPosition = 'CenterScreen'
    $form1.Text = "Form"
    $form1.add_Load($FormEvent_Load)
    # combobox2
    $combobox2.FormattingEnabled = $True
    $combobox2.Location = '123, 92'
    $combobox2.Name = "combobox2"
    $combobox2.Size = '121, 21'
    $combobox2.TabIndex = 2
    $combobox2.add_SelectedIndexChanged($combobox2_SelectedIndexChanged)
    # combobox1
    $combobox1.FormattingEnabled = $True
    $combobox1.Location = '123, 64'
    $combobox1.Name = "combobox1"
    $combobox1.Size = '121, 21'
    $combobox1.TabIndex = 1
    $combobox1.add_SelectedIndexChanged($combobox1_SelectedIndexChanged)
    # buttonOK
    $buttonOK.Anchor = 'Bottom, Right'
    $buttonOK.DialogResult = 'OK'
    $buttonOK.Location = '140, 254'
    $buttonOK.Name = "buttonOK"
    $buttonOK.Size = '75, 23'
    $buttonOK.TabIndex = 0
    $buttonOK.Text = "&OK"
    $buttonOK.UseVisualStyleBackColor = $True
    $form1.ResumeLayout()
    #endregion Generated Form Code
    #Save the initial state of the form
    $InitialFormWindowState = $form1.WindowState
    #Init the OnLoad event to correct the initial state of the form
    $form1.add_Load($Form_StateCorrection_Load)
    #Clean up the control events
    $form1.add_FormClosed($Form_Cleanup_FormClosed)
    #Show the Form
    return $form1.ShowDialog()
    } #End Function
    #Call OnApplicationLoad to initialize
    if((OnApplicationLoad) -eq $true)
    #Call the form
    Call-tenet_psf | Out-Null
    #Perform cleanup
    OnApplicationExit

  • Direct Select for Multiple Objects?

    Trying to fit a 3D box with a 2D skin that I made, and losing miserably.
    I know that using direct select I can move anchor points to fit the DIMs
    of my box, I cannot get Illustrator to use the entire layer, or group in its
    direct select though (Probably why it's called 'Direct' select, right? lol).
    Anyway, anyone know how I can adjust an entire layer of objects? I
    wish Illustrators Transform capability was the same as Photoshops,
    would make this a snap.
    -jd

    Do you know how to use Photoshops Transform feature? It is really a whole
    lot easier to explain it like that. In Photoshop, you can select multiple layers
    (in our case, the layers are really objects ). Transform, and hold down
    CTRL (or whatever the MAC equiv) to Skew and Distort your layer by grabbing
    the corners, or the center of the object and moving. This will allow you to have
    your base |_| all of a sudden turn into a diagonal /_ / .....? Get it?
    Okay I have a 3D box,  at a 35* angle or so. I have a layer that is pretty much
    a rectangle. What I am trying to do is, skew one end, to fit that 35* slope. It
    would essentially make that 90* by 90* recangle diagonal, 90* by 35* grade.
    If that doesn't make sense I will screencap but I think I'm explaining it fairly
    well.

  • Random selections for multiple criteria

    I think the easiest way to explain my question would be to use an example.  Lets say I have 10,000 sales reps and I want a random sampling of 10% of them.  I create a formula {@Random}: Rnd(), use that formula to sort, and suppress the details where recordnumber > 1000.  I got that.
    Now lets say those reps are divided into club levels where there are 500 top performers, 2500 in the next group, and 7000 in the last.
    ( {contact.Club} = A )
    ( {contact.Club} = B)
    ( {contact.Club} = C)
    I only want a random 10% from each category, so 50, 250, and 700 respectively.  Does anyone know how I could get that to work?
    The following thread seems similar but I wasn't able to follow or did something wrong.
    Re: Random and Grouping Problem

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly

  • Struggling to search for multiple files

    Hi there,
    I am struggling to do a search / select for multiple files.
    Here is my workflow:
    I have 2 computers, the one is used for all image manipulation using a combination of LR & PS and the other computer is used for the sales presentation using ProSelect.
    Once I am finished with my post production I export all the images to my sales presentation computer in JPG file format.
    After the sales presentation I then want to be able to Star the images they purchased on my post production computer. Currently I have been doing this manually, although time comsuming not too bad when you are only talking 20 images. However this is not working for weddings when looking at 150-200 images.
    This is what I have tried. I did an export of filenames from ProSelect. I then removed the suffix i.e. .jpg. In Lightroom I select the Filter Bar, Text, Any searchabe Text, Contains and then paste in the list of filenames. After quite a while it will come back and say no images found or it might come up with only the 1st image in the list. I have tried several combinations of formating the list of filenames and none seem to work i.e. spaces, commas, semi-colon, each filename in "".
    If anyone can help me in this regard I would be very grateful.
    Thanks
    Tony

    If you have the file names of the photos, you can simply paste the text containing the file names into the filter bar text search (set the filter bar to search by file name)
    For example, here's a short list of filenames that I would paste into the filter bar if I was searching my photos
    DSC_0417 DSC_0922 DSC_0924

  • BW Tree Hierarchy-multiple selection for query possible?

    Hello,
    I have a question in regards to BW Tree Hierarchies and its usage in Bex Reporting:
    Is it possible to select multible Tree Hierarchy (based on the same characteristic) when executing a query in Bex Analyzer. If yes, how?
    I tried to configure this by making use of a hierarchy variable on the characteristics, but it does only allow me to select one hierarchy.
    Thanks for your help,
    Elisabeth

    Elisabeth,
    Your query can only assign one hierarchy per characteristic.
    If you need multiple ones - I'd suggest you make a query per hierarchy and you can user Query Views in the WAD to let the user select the View (i.e.. the Hierarchy) they wise.
    Regards
    Gill

  • Use of LIKE in where clause of select statement for multiple records

    Hi Experts,
    I have a account number field which is uploaded from a file. Now this account numbers uploaded does not match fully with sap table account numbers but it contains all of the numbers provided in the file mostly in the upright positions.
    For example in file we have account number as 2ARS1 while in sap table the value is 002ARS1.
    And i want to fetch data from sap table based on account number uploaded. So, i am trying to use LIKE with for all entries but its not working as mentioned below but LIKE is not working with FOR ALL ENTRIES.
    data : begin of t_dda occurs 0,
            dda(19) type c,
           end of t_dda.
    data : begin of t_bukrs occurs 0,
            bukrs type t012k-bukrs,
           end of t_bukrs.
    data : dda type t012k-bankn,
           w_dda type t012k-bankn.
    CONCATENATE '%'
                             '2ARS1'
                     INTO  W_DDA.
    MOVE W_DDA TO T_DDA-DDA.
    APPEND T_DDA.
    CLEAR T_DDA.
    free t_bukrs.
    SELECT BUKRS
      FROM T012K
      into TABLE t_bukrs
        for all entries in t_dda
    WHERE BANKN like t_dda-dda.
    Can anybody suggest what should i use to get the data for multiple account numbers using one select statement only instead on using SELECT UP TO 1 ROWS in LOOP....ENDLOOP ?
    Thanks in advance,
    Akash

    Hi,
    yes, For All entries won't work for LIKE with '%  '.
    I think the other alternative is go for Native SQL by writing sub-query
    sample code is here:
    data: begin of i_mara occurs 0,
              matnr like mara-matnr,
              matkl like mara-matkl,
           end of i_mara.
    exec sql.
    select matnr, matkl from mara where matnr in (select matnr from marc) and matnr like '%ma' into :i_mara
    endexec.
    loop at i_mara.
    write:/ i_mara-matnr, i_mara-matkl.
    endloop.
    hope u got it.
    regards
    Mahesh
    Edited by: Mahesh Reddy on Jan 21, 2009 2:32 PM

  • Select options for multiple entries

    hi,
    in selection screen i have 2 select-options as below
    SELECT-OPTIONS: s_belnr  FOR bkpf-belnr ,
                                  s_bukrs  FOR bkpf-bukrs.
    the problem is if BELNR or BUKRS are not given the error message should be displayed as enter the required fields.
    if i keep the OBLIGATORY i will get the message but if i keep OBLIGATORY first they need to enter one belnr  or bukrs  in selection screen then it allows for multiple option but the bussiness want to directly goto multiple option and upload data.
    please help

    Note Replace P with % Sign in IF Condition it not allow me to Put % there
    TABLES: bkpf.
    SELECT-OPTIONS: s_belnr FOR bkpf-belnr,
                    s_bukrs FOR bkpf-bukrs.
    AT SELECTION-SCREEN.
      IF s_belnr[] IS INITIAL AND s_bukrs[] IS INITIAL AND sy-ucomm NE 'P000' AND sy-ucomm NE 'P001'.
        IF s_belnr[] IS INITIAL OR s_bukrs IS INITIAL.
          MESSAGE: 'Please Enter Value in Bothe Fields' TYPE 'E'.
        ENDIF.
      ENDIF.

  • Enhancing standard (single select)search help for Multiple value selection

    Hi,
    Standard search help for Business Partner (in cProjects) allows only single value selection for input fields. I want to make this multiple selection.
    Is there a way to do it.
    I used an OVS and built a similar search but its difficult to get the standard options like saving to personal value list etc in it.
    It would be good if there is a way to modify the standard search help to allow multiple selection. Any ideas??
    Appreciate your help,
    Thanks,
    Sri
    Edited by: Sri on Sep 9, 2010 8:50 PM
    Edited by: Sri on Sep 9, 2010 8:52 PM

    As far as I know you can't make a standard ABAP dictionary search help return multiple entries - where you get this sort of functionality the searches don't use the standard Elementary search help framework (e.g. organisational structure searches)
    Given that the WDA search help relies on these dictionary based searches, I'd think very much that you couldn't enhance it to return multiple. how you could even return multiple entries into a single UI element input field is also confusing to me.
    I'd suggest creating a freely programmed value help, it would certainly take quite some effort to recreate those personal value lists etc, but it could be done - I don't like OVS, but that just me.

  • 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

  • Is there a way for multiple users to connect to my home sharing with their iOS device to select music to stream to my A/V receiver jukebox style?

    I have an A/V receiver that I can connect to and select music to stream over my network but I want to know if I have a party if it's possible for multiple users to have access on their own devices to my home shared music and select music to play like a jukebox.

    I almost forgot that using folders can allow each folder to contain a song. I also recall touch tracks or one key play...

Maybe you are looking for

  • NOKIA C5-03 Internet connectivity Problem..

    I Have Nokia C5-03 bought before 4 months. I use BSNL Prepaid card, 3G/EDGE enabled. I am facing problem of not being able to connect to internet via 2G/3G reliably. whenever I try to connect to internet, 7 out of 10 times it gives me message" "conne

  • "Sort Album" field

    Does the iPod classic use the sort album field so it will display albums in non alpha order like iTunes can, the 5.5G ipod ignores them, hoping the classic will not Flubster

  • Tree Region Example

    Hi, I'm using my apex.oracle.com workspace. I'm trying to create a tree region using the emp table. I'm using the typical wizard but when i run the page the tree is not displayed. This is the query built by apex with the wizard. select case when conn

  • Data grid Pull

    I want my data to fill a data grid but I am getting a comma delimmited grid with only one record and all of the data going into the first record as comma delimited data. what am I doing wrong here? Thanks in advance. <?xml version="1.0" encoding="utf

  • AVCHD-Import without 5.1 surround sound

    I doen't get 5.1 surround sound, when I import AVCHD clips from my Sony Camcorder HDR-CX550E in FCP X. After the import in FCP X it's just stereo. I know for sure, that the recorded clip on camera is 5.1 surround sound, because I can play it via HDMI