Filter in F4 Functionallity

Hi! Frnds,
         At selection-screen am having three fields with F4 Functional 1) Company Code 2)Accounting Document Number 3)Fiscal year. when press f4 on company code  depending on the company code selected it should fillter the Accounting Document Number. Based on Accounting Document Number Selected Fiscal year should be fillted. Please help me to find this...........thanks

hi,
Following Code will help you out in this way in the bellow code i am selecting the RSM With Respect to Customer and then select ASM the People under RSM and then CR the all People under ASM,
Hope this will help you lot.
data: i_return type ddshretval occurs 0 with header line,
      c type c value 'S'.
* Search Help for RSM
at selection-screen on value-request for sorsmid-low.
  types: begin of t_sh_rsmid,
    rsmid like zsdo-rsmid,
    ename like pa0001-ename,
  end of t_sh_rsmid.
  data: it_sh_rsmid type standard table of t_sh_rsmid with header line.
  select distinct zsdo~rsmid pa0001~ename
    into corresponding fields of table it_sh_rsmid
    from zsdo left outer join pa0001 on ( zsdo~rsmid = pa0001~pernr and pa0001~endda = '99991231' )
    where zsdo~kunnr in sokunnr.
  delete it_sh_rsmid where rsmid = '00000000'.
  sort it_sh_rsmid by rsmid.
  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
      retfield    = 'RSMID'
      dynpprog    = sy-repid
      dynpnr      = sy-dynnr
      dynprofield = 'rsmid'
      value_org   = c
    tables
      value_tab   = it_sh_rsmid
      return_tab  = i_return.
* Search Help for ASM
at selection-screen on value-request for soasmid-low.
  types: begin of t_sh_asmid,
    asmid like zsdo-asmid,
    ename like pa0001-ename,
  end of t_sh_asmid.
  data: it_sh_asmid type standard table of t_sh_asmid with header line.
  select distinct zsdo~asmid pa0001~ename
    into corresponding fields of table it_sh_asmid
    from zsdo left outer join pa0001 on ( zsdo~asmid = pa0001~pernr and pa0001~endda = '99991231' )
    where zsdo~kunnr in sokunnr.
  delete it_sh_asmid where asmid = '00000000'.
  sort it_sh_asmid by asmid.
  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
      retfield    = 'ASMID'
      dynpprog    = sy-repid
      dynpnr      = sy-dynnr
      dynprofield = 'asmid'
      value_org   = c
    tables
      value_tab   = it_sh_asmid
      return_tab  = i_return.
* Search Help for CR
at selection-screen on value-request for socrid-low.
  types: begin of t_sh_crid,
    crid like zsdo-crid,
    ename like pa0001-ename,
  end of t_sh_crid.
  data: it_sh_crid type standard table of t_sh_crid with header line.
  select distinct zsdo~crid pa0001~ename
    into corresponding fields of table it_sh_crid
    from zsdo left outer join pa0001 on ( zsdo~crid = pa0001~pernr and pa0001~endda = '99991231' )
    where zsdo~kunnr in sokunnr.
  delete it_sh_crid where crid = '00000000'.
  loop at it_sh_crid into it_sh_crid where crid <> '' and ename = ''.
    count_loop = sy-tabix.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
      exporting
        input  = it_sh_crid-crid
      importing
        output = it_sh_crid-crid.
    select single ename from pa0001 into it_sh_crid-ename where pernr = it_sh_crid-crid.
    modify it_sh_crid from it_sh_crid index count_loop.
  endloop.
  sort it_sh_crid by crid.
  delete adjacent duplicates from it_sh_crid comparing all fields.
  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
      retfield    = 'CRID'
      dynpprog    = sy-repid
      dynpnr      = sy-dynnr
      dynprofield = 'crid'
      value_org   = c
    tables
      value_tab   = it_sh_crid
      return_tab  = i_return.
Replay if any problem,
Kind Regards,
Faisal

Similar Messages

  • Filter by "Result from another query" option not available in Webi

    Hi all
    I am trying to filter one query by zipcode based on the results of a previously run query in the same report. However this option is not available on the drop down when I drag zipcode into the filter pane. I am restricted to the options: Constant, Value(s) from a list, Prompt or Object.
    I have "use subqueries enabled" within my universe and the data is held in an RMDBS (i.e. it is not an OLAP universe) so I expected this functionallity to be available.
    I am using XI 3.2 and Java version 1.6.0.15, i.e. up to date.
    Any help would be greatly appreciated.
    Thanks
    Sharon

    Sharon,
    Here is one method to achieve your objective, however, it involves the use of Merge Dimensions.  Here goes:
    In the Edit Query mode, build two queries, where the first query has all the objects, to include Zip code, and the second query has the zip code, filtered for the one at hand.  (you probably have done this portion already)
    In the Edit Report mode, think of your data set as Query1 (all the data objects you want) and Query2 (zip code and filtered on that zip code) and thus you'll have Query1.zip and Query2.zip.  If you build a grid containing all the data you want from Query1, then simply add Query2.zip to that grid, voila, the grid will be "filtered" due to the "merge" that occurs under the wire.  The 'problem' here is that you have two columns that are repetitive and there is no inherent way to "hide" a column in WebI other than masking the column with white on white (font/borders) or some folks sometimes apply Alterters to achieve the same.
    Best of luck in moving forward with your task.
    Thanks,
    John

  • Inbound Queue - new filter

    Hi, i'm trying to create a new filter for an Inbound Queue using as reference the document <b>HowTo_prioritizeXImessages.pdf</b>.
    As I follow the document point by point, and after created a new Sender/ReceiverID for my Service (Epiphany) and choose as Message Category - Request the wild card (*) both for Interface Name/Interface Namespace, next I add a new filter for the IS Inbound Exactly Once for my SenderID created before.
    Using the functionallity Enter Test Message and after enter the value in the required fields the result turns me an error message as follows : <i><b>No filter found for your test message</b></i>.
    Can anyone help me regarding this question ??
    Thanks
    JMatos

    Hi, José,
    when you configure your sender and receiver id, enter your receiver interface and namespace into the message category instead of leaving it empty.
    Regards
    Cornelius

  • In the filter scheme driver, how to i get the filename in open() or handleOpen ()

    I want to implement filter scheme driver to monitor and prevent file open or read calls based on certain rules. For this I would need file name, user name and application process name. I did not find a way to extract this information. Any hint would be of great help.

    If the reset doe not work, connect tot he comouter and try to restore via iTunes.
    If the logo is still showing, let the battery fully drain. After charging for an hour, try the reset and restore again.

  • AND/OR + some nulls in filter

    I'm running into another problem with the AND/OR filter.
    The filter for selecting from object "a" and joining to objects b, c & d
    is:
    (b.theid==2 || c.theid==2 || d.theid==3) && active=="Y"
    The SQL that gets generated is:
    SELECT <...>
    FROM b t1, d t3, a t0, c t2
    WHERE ((((t1.theid = 2 AND t0.bid = t1.id) OR (t2.theid = 2 AND t0.cid
    = t2.id)) OR (t3.theid = 3 AND t0.did = t3.id)) AND t0.active = 'Y')
    This returns a number of instances of the same a object when some of the
    OR clauses do not match. For example, if there's no record
    with d.theid=3, then it will do a full join on table d.
    Do I need to specify something else to flag these as potentially null
    fields so that the filter parser adds that check in? The following SQL
    query works
    ok if I add some checks for NULL on those join fields:
    SELECT <...>
    FROM b t1, d t3, a t0, c t2
    WHERE ((((t1.theid = 2 AND t0.bid = t1.id OR t0.bid IS NULL) OR
    (t2.theid = 2 AND t0.cid = t2.id OR t0.cid IS NULL)) OR (t3.theid = 3
    AND t0.did = t3.id OR t0.did IS NULL)) AND t0.active = 'Y')
    Thanks,
    -Mike
    Mike Bridge

    Hi D,
    Thank you for your answer.
    I have seriously thought about that solution; but I don't think it's a smart way to do it.
    If i do it like that, i need to copy the whole table and paste it inside the if statements.
    I have two xml elements that I need to make the decisions on. POH_PO_TYPE & CP_RELEASE_NUM.
    POH_PO_TYPE can be: STANDARD, RELEASE or BLANKET.
    CP_RELEASE_NUM can be: '' or N
    If POH_PO_TYPE is RELEASE AND CP_RELEASE_NUM is not ''
    OR POH_PO_TYPE is STANDARD
    OR POH_PO_TYPE is BLANKET AND CP_RELEASE_NUM is ''
    THEN show table (which contains the whole PO).
    It shall show the content of the PO in any of these cases.
    BR Kenneth

  • Jabber Windows - no phone control with LDAP Custom filter

    I am unable to control the desktop phone from the Jabber 9.1 Windows client when the CallManager LDAP Directory uses a Custom Filter.
    Has anyone else experienced this?
    If I set the LDAP Custom Filter to <none> and save, then Desktop Phone control works great.
    If I set it to use my custom filter, then trying to enable Desktop control just gives me the spinning circle, then times out to the Red X symbol.
    I do not need to resync the LDAP Directory to get the error, just enable/disable the custom filter and save.
    In both cases calling from the Computer works great.
    This is an On-Prem deployment with full MS-AD LDAP integration.
    Versions are:
    Jabber - 9.1.0 build 12296
    CUPC - 8.6.4.11900-1
    CUCM - 8.6.2.22900-9
    I upgraded to CUCM 8.6.2 SU2 last night hoping that would fix the problem, but no luck.
    The LDAP filter is one I have used in numerous other clusters with no CTI issues.
    It allows me to sync to the root directory, but only import active user accounts with an entry in the ipPhone AD attribute:
    (&((objectclass=user)(ipPhone=*))(!(objectclass=Computer))(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))
    Thanks, Randy

    Hi Randy,
    Have you specified this base filter in jabber-config.xml file? As per Admin Guide:
    "In some cases, base filters do not return query results if you specify a closing bracket in your Cisco Jabber for Windows  configuration file. For example, this issue might occur if you specify  the following base filter: (&(memberOf=CN=UCFilterGroup,OU=DN))
    To resolve this issue, remove the closing bracket; for example, (&(memberOf=CN=UCFilterGroup,OU=DN)"
    Thanks,
    Maqsood

  • In ALV Report Filter selection should be case sensitive

    Dear All,
    since one field is case sensitive in database table , i have to fetch that in alv report , but when i am applying  filter on that field its is simply fetching data with case description.  if its in caps it should fetch caps data but in   smaal case report showing no data
    Regards,
    Pankaj Vashista

    Hi,
    All text datas are case sensitive.
    To make it work perfectly You have to Use the Keyword translate to Upper Case than display
    Now filter can work.
    Without Transalation to Upper Case filter will not work.
    Regards
    Arbind

  • My Mac is bypassing a website filter... How can I stop it?

    I am a computer technician at our local high school. Right now, the school has about 800 Dell computers, but we are planning on introducing a few Macintosh labs within the next school year.
    Since they lack educational value, the school district's director of technology (my boss) has a web filter (Deep Nine) that blocks myspace, facebook, youtube, proxy sites, and other similar sites.
    Myspace is blocked via a keyword filter, any page containing the word "myspace" in the url, or in the document a set number of times, is automatically blocked. The other sites are simply blocked by URL. This filter works perfectly on our Dells, no one can access Myspace, Facebook, Proxies, etc.
    I brought my Macbook to work today, plugged it into the network, and logged onto the internet. I noticed instantly that my homepage (Facebook) loaded without being blocked at all. Curious, I tested myspace and youtube, and I could get on youtube fine, but myspace remained blocked.
    I checked on the Dell next to me, and all those sites will still being filtered and blocked. Yet my Macbook was able to access them without issue. So it would appear that my Macbook has some mystic ability to bypass the web address filter, but it can not bypass the keyword filter.
    I do not have any proxies configured. My Macbook connects to the network (and thus, the internet) the same exact way the other computers within the school do, with the exception of the other computers being within Active Directory.
    I need to find out if it is an issue with the Mac or with our Filter. I don't have any other Macs available to test with (Our only other Mac in the school is our DHCP server, and we do not use servers as "lab rat" computers).
    Has anyone had any similar issues with this? Or does anyone know of any way I can diagnose this with only one Mac and only one Filter?
    Specs: OS 10.5.5, Safari 3.1.2, wired networking.
    Message was edited by: Joey Hogan
    Message was edited by: Joey Hogan

    The DeepNines product works well and does much more than a simple URL filter. The problem lies entirely in your district setup and not in their product. If you're not using a proxy filter, then you have all access and routes designed to head out on typical port 80 traffic to your isp and ultimately the internet hence no proxy configs. The filter is integrated with LDAP accounts at each of your locations to tell it which users and groups are to get filtered at what level. That tie in is what breaks down who goes where. If you introduce new macs onto the network and they have not been configured to work with the DN appliance and are going out unfiltered... then there are 2 problems here. #1 is that you have computers attaching to the network, receiving leases and doing what they want. Use DHCP reservations or a whitelist to control who gets on your network. #2 is that your DeepNines filter has not been set to failover to BLOCK. Instead, it's allowing unknown users to bypass freely simply because it doesn't recognize their group/account. And Orange, stop slamming the company. They are a smaller business that has taken a much better approach to filtering than any other large corporation. Standard database driven URL filters DO NOT WORK....PERIOD! I challenge you to call any district that is running their appliance to get their opinion of it in comparison to any of the other basic url filters out there. I did just that last week and they had absolutely nothing but high praises for the DN product. One even laughed at Websense which they had before switching simply for the lack of ability to block anonymouse proxies.

  • How to use one Filter Pane to multiple Dataproviders

    Hi Experts.
    i have checked the threads on this but i did not get correct solution.
    we have issue in using single Filter pane web item in WAD for three different dataproviders ( three dataproviders have same free charecteristics and variable) charecteristics in row and keyfigures are different.
    thanks in advance.
    Regards
    Raj.

    Hi Gill,
    Thanks for your Quick responce.
    when we use the single filter pane, filter conditions are working for only first dataprovider (since data binding is to dataprovider 1. in affterted dataproviders i selected dataprovider 2 and 3, but filter pane is not active for other two dataproviders in tabs.
    thanks in advance.
    Any inputs please....
    Regards,
    Raj.
    Edited by: Rajsapbi on Apr 6, 2009 9:22 AM

  • How to use property of dimension to filter the 2nd dimension in Allocation?

    Hi experts,
    How do we use a property of one dimension to filter out the members of another dimension in allocation script engine?
    eg of two dimensions
    1.)Entity dimension - (entity dimension)
      memberset:                                        Channeltype (property)
                       Stores
                        Store1                           Boutique
                        Store2                           Kiosk
                        Store3                           Branch
                        Store4                           Concession
                        Store5                           Franchise
                      Nonstore
    2.)business Channel dimension - (user define)
       memberset:
                   Channeltype   
                       Boutique
                       Kiosk
                       Branch
                       Concession
                       Franchise
                       Nochannel
    in allocation code
    *runallocation
    *factor
    *dim entity                          what=Nonstore;                where=bas(Stores)
    *dim businesschannel        what=nochannel;             where= ? ;
    *endallocation
    The thing is that when the engine selected store 2 for entity it should select kiosk as its businesschannel.
    Please advise.
    Thanks as always,
    yajepe

    Hi,
    In this case, I believe, you should have the allocation within a for loop. But you should note that the performance might reduce.
    *FOR %VAR% = BAS(STORES)
       *RUNALLOCATION
       *FACTOR
       *DIM ENTITY WHAT = NONSTORE; WHERE = %VAR%
       *DIM BUSINESSCHANNEL WHAT = NOCHANNEL; WHERE = %VAR%.CHANNELTYPE
       *ENDALLOCATION
    *NEXT
    Hope this helps.

  • How can I create a filter for an exact set of characters?

    Hello! I am setting up a filter to catch messages with GG in the subject. Sometimes this will be at the beginning of the subject (no space at the front) and other times it will be somewhere in the middle. The problem I'm having is that this filter catches any word with "gg" in it, like "logged" or "baggage" (one of my customers has baggage in their name, but their messages should not be caught by this filter). How can I make this work? Thank you for your time!

    I think FiltaQuilla might be useful. It adds so-called Regular Expressions to the filter system, where you could use a construction like:
    "subject regex" "matches" "/\bgg\b/i"
    \b means a word boundary
    gg is your two letters
    \b is the trailing word boundary
    / and /i mean ignore the case, so it'll find gg, GG, Gg and gG.
    There lots of ways of doing this. You could have
    [ ]GG[ ]
    where it would require a space (explicitly; nothing else!) before and after, and capital letters. \b is usually superior as it matches at the beginning and end of the line, and recognizes regular punctuation in addition to spaces.

  • Lightroom 5 Beta – Radial Filter | What's New in Lightroom 5 Beta | Adobe TV

    Learn how easy it is to apply local adjustments including modifications to exposure, contrast, sharpening and more, using the new non–destructive Radial filter in Lightroom.
    http://adobe.ly/ZpT4bB

    Just keeps getting better

  • How can I filter a Sharepoint 2007 libarry list based on current user login?

    Hi all.
    I would like to know how I can filter a SharePoint library list based on current user login.
    Suppose I have created the followings:
    1) A SharePoint form library containing bunch of uploaded InfoPath form data.
    2) The InfoPath form template contains a promoted text field called "TargetUser" to store user domain login (ex: DOMAIN\JOE) and every InfoPath form file in the library has a valid domain name stored in the "TargetUser" field.
    I have created a custom view for the form library and would like to filter this view so only items whose "TargetUser" field matches current user's login ID are displayed.
    I went to Edit View page to customize the view and tried to use the [Me] function but I got a "Filter value is not a valid text string" message instead when clicking OK. Apparently [Me] returns a Person/Group data type and the filter cannot compare its value
    to that of "TargetUser".
    I tried using text functions (ex: TEXT([Me],"") hoping to extract default string value from [Me]. The filter accepts the parameter without any error but the resulting fitlered list does not display any items at all.
    I have googled this subject for hours but I have not found any solution.
    It would be greatly appreciated if anyone can help me to create a functional filtered list.
    FYI, my SharePoint 2007 installation is just WSS 3.0 + Form Server. I do not have MOSS 2007 (so no MOSS 2007 web parts or web services).
    Thank you.
    Jason

    Here's what I usually do in order to accomplish this.  Ultimately you'll need to have 2 different fields.  There's the one you already have, with DOMAIN\username stored in it.  Then you'll need an additional field as a "person" column type. 
    Call it "TargetPerson" or something.
    Create a sharepoint designer workflow that runs each time an item is created or changed.  One action:
    Set FIELD to VALUE.
    The first FIELD is "TargetPerson", the VALUE is your "TargetUser" field. 
    Once this is done, then the person value is stored in the person field.  This is the field that you can filter by "TargetPerson" is equal to [Me]
    Laura Rogers, MCSE, MCTS
    SharePoint911: SharePoint Consulting
    Blog: http://www.sharepoint911.com/blogs/laura
    Twitter: WonderLaura

  • How can I create a fIlter to delete only "junk" from the server?

    One of my E-mail accounts is that of a major client. I handle their customer service online. Normally our protocol is to always leave all messages on the server, so for that one Thunderbird account, I have it set to never delete messages on the server.
    But the account recently started getting a lot of junk messages. Thunderbird is doing a remarkable job at marking those and placing them in the junk folder for that account. I would like to create a filter that could remove them from the server, preferably those more than "x" days old so I could monitor the activity to be sure that no important message are removed.
    I did notice that in "Filters" I can create a custom filter from a header of my choice, but can't seem to create what I want which is:
    - after mail is marked as Junk by Thunderbird to delete those messages from the server if they are older than "X" days (my choice of "X").
    - not delete any other messages from the server for that account

    I believe that did it! Thank you. I am running those changes on a secondary E-Mail address for the same job and server and it appears to be working properly.

  • SSRS Dataset Filter expression query

    I have an SSRS report which has a simple dataset and accepts two date parameters, and filters the results based on a Position parameter. The Position parameter filter is:
    Expression: Position
    Operator: In
    Value: [@Position]
    I have now been told that each position has a few other aliases in the database against the Position column. i.e. For a Position of "Contractor" I now also need to return "Consultant" records, based on the same field. Note, only one Position
    can be selected at a time.
    I imagine I have to update the Value expression above to do something like:
    - When @Position in "Contractor" also return rows where Position is x, y, z (I am happy to hard code these)
    I have about 10 Positions each with one or more aliases - can someone help guide me on how to set up the expression?
    Thanks!

    Thanks Ione.
    Ok - I have set my parameter values in the value box, comma separated
    My dataset filter for the param Operator is set to IN and the value [@Position]
    However where I have multiple values set against a position I do not get any results (there is data in the DB)
    Do I need to do something different when setting the paramter values? i.e. use the expression and then a function to parse the comman separted values
    Or - something in the Filter to make the expression parse the incoming paramter?
    Thanks again

Maybe you are looking for

  • Neo2 Platinum and AMD X2 ??

    I am currently running an Athlon64 3500 in my Neo2 Platinum with BIOS v1.4. I want to upgrade my CPU to an Athlon 64 X2 3800 Dual-Core Will i have to upgrade my BIOS ? I`m running Windows XP Home. Can i easily flash the BIOS using Live Update ? I`ve

  • Export crystal report to excel with subreport

    I have a report with two subreport, and the question is when I export the main report to excel ( data only ) there is no data in the excel file, but when I just export the subreport to excel ( data only ), the excel file shows all data correctly. Doe

  • How to specify the webLogic server startup script to use different config.xml  file ??

    Hi, I have 2 weblogic startup scripts (startWebLogic.sh and startWebLogic_recovery.sh) for the same domain. startWebLogic.sh uses config.xml file. I would like to use config_recovery.xml as the configuration file for startWebLogic_recovery.sh How wou

  • BLACKBERRY Z10 PROBLEMS

    Hi, BlackBarry This is you informing you to my blackbarry z10 mobile is not still repair. My problem is - when does battery come near 45% then my mobile switched off suddenly. why is dalying in my mobile problems to resolve. I have 2 times visited yo

  • Here's a cure for 'clunking' Hard Disks on MacBook Pro's..

    I've had this problem with a 'clunking' (i.e. marble dropping onto a granite floor sound) coming from the hard disk area of my year old MacBook pro Core2Duo with a 120Gb Fujistu Drive. On my MBP it happened every 20 secs or so and was really annoying