Is it possibe to define a badi with multiple filters for single implementation ?

is it possible to have a badi with multiple filters in one implmentation?

Hello Siva,
         There is no hierarchical concept in filter values. You can have multiple filter values and at any time you can pass only one filter value while invoking Badi.
The concept of hierarchy can be implemented by combination of filter and methods.
1. You can have filter as the first level and have multiple filters.
2. Then you can define methods in Badi and this now  becomes 2 level.
Thanks and Regards,
Veera

Similar Messages

  • Must I define abstract  interfaces with different names for BPM?

    Must I define abstract interfaces with different names for BPM?
    When interface appeared several times with different values and usage.
    Of course they are the same message type.

    Hi,
    Check this
    RFC Scenario using BPM --Starter Kit
    Regards
    Seshagiri

  • How many implmentation allowed of BAdi with multiple use option???

    Dear all ,
                        I have doubt in BAdi implementation -
    Case 1 -  I have create a z badi with multiple use option enabled . than i create two implementation of that BAdi . when i call it from my z program than it will call only one which was created 1st  so what is use of 2nd implementation and when it will call ???
    Case 2 - Same case for tcode VD02 their is badi CUSTOMER_ADD_DATA which is also multiple option enable Badi
                  for this also i have created 2 implementation but in this case when i create 2nd implementation it asked for migration of implementation why ???
    Thanks

    Dear deepak ,
                            i have check it both implementation showing yellow color please check my z program and tell me what is wrong in this .
    REPORT  Y_BADI_EXP1.
    CLASS cl_exithandler DEFINITION LOAD.
    DATA : l_badi TYPE REF TO ZIF_EX_MYBADI,
           email TYPE AD_SMTPADR,
           email1 TYPE AD_SMTPADR..
    PARAMETERS : p_user TYPE sy-uname.
    START-OF-SELECTION.
    CALL METHOD CL_EXITHANDLER=>GET_INSTANCE
    EXPORTING
      EXIT_NAME                     = 'ZMYBADI'
    NULL_INSTANCE_ACCEPTED        = 'X'
    CHANGING
      INSTANCE                      = l_badi               " here it will return 2 implementation  ZMYBADI_IM1 , ZMYBADI_IM2
    EXCEPTIONS
      NO_REFERENCE                  = 1
      NO_INTERFACE_REFERENCE        = 2
      NO_EXIT_INTERFACE             = 3
      CLASS_NOT_IMPLEMENT_INTERFACE = 4
      SINGLE_EXIT_MULTIPLY_ACTIVE   = 5
      CAST_ERROR                    = 6
      EXIT_NOT_EXISTING             = 7
      DATA_INCONS_IN_EXIT_MANAGEM   = 8
      OTHERS                        = 9
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
      WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD l_badi->GET_USER_EMAILID
    EXPORTING
      uname = p_user
    CHANGING
      emaill = email.
    WRITE : /5 email.       " when o/p comes it shows only 1st implementation .
    i placed break point in methods of both  implementation but as usual it stop only at first method ???

  • Create a flat file with multiple characters for enclosures

    Hello,
    we use OWB 11g2 (11.2.02).
    Now we try to create a flat file with multiple characters for enclosures. The manual wrote:
    "Enclosures (Left and Right): Some delimited files contain enclosures that denote text strings within a field. If the file contains enclosures, enter an enclosure character in the text box or select one from the list. The list displays commonenclosures. However, you may enter any character. The default for both the left and right enclosure is the double quotation mark ("). You can specify multiple characters and hexadecimal characters as field enclosures."
    But it will not work. The OWB use the first character from the left enclosure definition as left enclosure and the second one as right enclosure !?!
    Did anyone know this behavior? Is there a solution for this problem?
    Thanks and regards
    Norbert

    HI Raghu,
               Use the function module 'GUI_UPLOAD'.
               In that you have to specify the field_separator value = 'X' in export section.
    Regards,
    S.C.K

  • Multiple Alerts for Single error in interface is a design not issue with XI

    Hi,
    This is constraint of alert mechanism in XI.
    You get multiple alerts for single error,the reason is that since XI will try multiple times to process a failed message so each time it fails in its tries it will send an e-mail.to stop this the "Suppress multiple alert" box is checked but what it does is that it stops all the alerts of that specific rule until the first one is confirmed.Personally i myself (and other experts too) suggest to leave the box unchecked coz its better to get tons of mails for a specific error rather than not getting any e-mail and thereby wasting time in tracking/solving the issue resulting in revenue loss to client.
    As per above comments is it possible to write an ABAP code so that we can stop multiple alerts to be sending to inbox. I am sure if we can delete message from some table then we can stop sending multiple messages to alert inbox and to the subsequent mail id also. I am not sure how alert being generated. I know where they get logged in this table sxmsalertlogger. If someone know how it works in background please let me know the table names.
    Regards
    Ria

    Hi Gaurav,
    You can personalize the way in which you receive alerts.
    Simply choose Personalization to make individual settings for your alert inbox. You can determine a substitute who will then receive the alerts. In addition, you can choose whether alerts are sent to you time-independently or time-dependently. The default setting is that alerts are sent time-independently to your alert inbox and via e-mail when they occur. You can additionally select the communication methods FAX and SMS for time-independent alert notification.
    If you want to receive alerts only on certain days for a certain time, simply select the option for time-dependent sending of alerts and choose Create to create a new table entry. You can then choose the corresponding factory calendar, the time interval, and communication channel. Alerts that arise during this time frame will be sent in any case to your alert inbox. If you have also selected other communication channels, the alerts are additionally sent to you using these other channels. 
    This above text is from SAP help, do you think by changing anything in personnalisation i can stop multiple alerts. I have some issue with Personalisation link so was wondering would be worth to get tht personalisation issue resolved.
    Regards
    Ria

  • BW 3.5 works with multiple nodes for authorizations

    Hi,
    Does BW 3.5 allow to do authorizations on mutiple nodes? It seems that from the How to wotk with hierarchy authorizations paper, the variable can only allow filtering 1 node. for 2.0B. We have requirements to allow viweing multiple nodes in a hierarchy.
    Thanks
    Will

    Hi Will,
    creat a hierarchy-node variable fill by authorizations in the frontend. The type has to be multiple entries (not single value). In RSSM at the hierarchy authorization creation you have to use the F4 for selecting nodes. The F4 allows to drag more nodes into the right frame.
    Cheers
    Peter

  • Sharing photos with multiple users on single iMac

    I want to share all my iphotos with all users. I purchased an external hard drive (Rock Mobile) that automatically synced up to the Time Machine. I have loaded the iPhoto data base onto the Time Machine. I would like other users to have access via their screen saver - how can I do this?

    Welcome to the Apple Discussions.
    You'll need to partition that external if you want to share it with TM.
    For iPhoto 09 (version 8.0.2) and later:
    What you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.
    Regards
    TD

  • Time Machine with multiple users on single computer

    Hi All,
    I have an iMac at home with multiple user log ons. I'm about to get the Time Capsule and start using Time Machine (currently I use backup).
    When I switch on Time Machine, does it switch on for all users, or will each user need to turn on Time Machine?
    If I have to switch on Time Machine for each user, will each user's time machine back up the entire computer (so I'll have two complete copies on my computer on the external drive)?
    If this does occur, can I control what Time Machine backs up so TM only backs up user specific information?
    Thanks in advance,
    Chris

    When you first backup it will backup your whole system (user directories, system directories, applications, etc) unless you specify folders to exclude. When a user account is added to the computer, their home folder will be added to the backup in a similar way to if you added a new application. It will back up the directory structure exactly as it is on your main hard drive. The backup will essentially keep a copy of the whole hard drive on the backup drive.
    The Time Machine will either be on for the whole system, or off for the whole system. It is not on or off for a specific user account. Users (depending on if they've got admin privileges) may have control over turning time machine on or off, but this does not change who can access the backups. All users will be able to invoke Time Machine to get to their backed up files.
    Time Machine does not make separate backups for individual users. Instead, it preserves the permissions for backed up files, so while every user can access the backups, they cant just browse other users' files on the backup. The same restrictions on the main drive are carried over to the backup. Still, a standard user who's lost a file will be able to go into Time Machine, access a backed up version of the file, and restore it. Unlike standard users who are restricted from seeing other users' files in the backups, Admins are also restricted but they can be authenticated to view other users' files if they want to.

  • How can I create a hashmap() with multiple values for the same key?

    I am trying to write an application that will us something like a Map() with multiple values but some have the same key. Is this possible?

    i had the same question. just create a List, add all the values u want to it, and then put the List into the map like u would a normal single value. e.g.
    List list = new ArrayList();
    list.add(value1);
    list.add(value2);
    map.put(key, list);
    i bet u r doing the same course as i am =)

  • Issue with Multiple LTS for a fact table and filters

    Hello,
    I am facing an issue with obiee 10g.
    In my model, I have a huge FACT table F1 (partitioned and indexed). The average response time for the queries, which targeted it, was ~30-60 seconds, which was not really convincing our end user.
    So, we decided to create a materialized view, which removes some dimensions that are not used by default, but might be used if the end user adds some filters. I added the Materialized view in the Physical Layer and in the corresponding Logical Table Source.
    I then tried to see if it works, but I was a bit surprised by the result. Indeed,
    -> If the report does not reference a truncated dimension, it targets the materialized view. -> Perfect
    -> If the report does reference a truncated dimension in the columns, it targets the Fact Table. -> Perfect
    -> If the report does reference a truncated dimension in the Filters, it targets the materialized view. For this reason, the filter is never resolved and no join on the dimension table is applied, whereas it exists in logical SQL generated. -> Ko.
    A suggestion could be to add the filters into the columns, but I am not satisfied by this response because it will never use the materialized view in that case.
    An other suggestion could be to use query rewrite, but I 'd like to have the full control on the generation of the queries.
    Does someone know if the filters are not evaluated to determine which LTS to use? How can I force this evaluation?
    Regards,

    Hi,
    If I understand your description correctly, then your materialized view skips some dimensions (infrequent ones). However, when you reference these skipped dimensions in filters, the queries are hitting the materialized view and failing as these values do not exist. In this case, you could resolve it as follows
    1. Create dimensional hierarchies for all dimensions.
    2. In the fact table's logical sources set the content tabs properly. (Yes, I think this is it).
    When you skipped some dimensions, the grain of the new fact source (the materialized view in this case) is changed. For example:
    Say a fact is available with the keys for Product, Customer, Promotion dimensions. The grain for this is Product * Customer * Promotion
    Say another fact is available with the keys for Product, Customer. The grain for this is Product * Customer (In fact, I would say it is Product * Customer * Promotion Total).
    So in the second case, the grain of the table is changed. So setting appropriate content levels for these sources would automatically switch the sources.
    So, I request you to try these settings and let me know if it works.
    Thank you,
    Dhar

  • Create URL with multiple values for one parameter

    Post Author: cbamberg
    CA Forum: General
    While I have no problems to create the URL to open a report with a single value for a parameter from my Java application, I don't know how to format multiple values for a parameter when I want to pass the "&prompt0=" value. The values I want to pass are numbers, not strings.
    Anyone can help?

    Hi gayatri,
    you need to select both the product id and custname.put a count on the prodid column and write a condition of count>1 and apply it.
    Thanks
    Hari

  • Purchase in Foreign Currency with Multiple GR but single Invoice - URGENT

    Question on the following scenario:
    - Purchase order is foreign currency. 
    - Multiple goods receipts posted against the PO on different dates.  Goods receipts will follow the posting date for the exchange rate.
    - Single invoice receipt for the multiple goods receipts
    We need the invoice to not result in exchange rate differences for all the line items.  If it was just a single GR, we can change the IR header exchange rate to be equal to the GR exchange rate.  The problem is for multiple GRs with multiple exchange rates.
    Thanks for your help!

    Hi Chok,
    You can activate the functionality of Price Exchange Rate diffrence at the time of IV instead of GR and hence if there is any diffrence at the time of LIV that is to be accounted and the GR is posted as the PO price without any exchange diffrence.
    Try it!

  • Positional Polling a file with multiple records at single line

    Hi
    I am trying to poll a file with positional read.It works fine with single record at single line.But how to solve the problem when there are multiple records at single line???How to delimit the records??

    i have a file which contains emp records like empID,empName,Dept.And these records of fixed length.I need to poll this file wirh positional read.I used fixed length polling.It works fine when there is only 1 record at one line.But when 2 or more records on same line it takes first record correctly but could not understand the start of second record.
    for ex
    1 shital mktg
    2 priya finance
    it works when records are at separate line.
    but another case is:
    1 shital mktg 2 priya finance
    how to delimit these records??

  • SPGridView with filtering on Taxonomy Field Multivalue column( column with multiple values in single row)

    Hi
    I have SPGridView  control (fetching value from DB) with a column which is having multiple values
    in single row seperated by ";", whenever filter applied it show these values in single row but i want
    to dispaly these values separately in diff. rows when column filter is applied.
    I have exactly same req. as mentioned in http://sadomovalex.blogspot.in/2011/03/spgridview-with-filtering-by-multiple.html
    but this solution didn't work for me.
    Please help/suggest.

    Hi Erland,
    Thank you very much for the answer. Sorry I had to be more accurate on my XML : This XML is in a SQL Server Table column. This table also has an id column. It will be great if you can answer specifically to this.
    <RootNode>
    <Node1>
    <Line_id_Node>1 </Line_id_Node>
    <A>
    <B>
    <D>Val1 </D>
    </B>
    <B>
    <D>Val2 </D>
    </B>
    <B>
    <D>Val3 </D>
    </B>
    </A>
    </Node1>
    <Node1>
    <Line_id_Node> 2 </Line_id_Node>
    <A>
    <B>
    <D>Val4 </D>
    </B>
    <B>
    <D>Val2 </D>
    </B>
    </A>
    </Node1>
    <Node1>
    <Line_id_Node> 3 </Line_id_Node>
    <A>
    <B>
    <D>Val5 </D>
    </B>
    </A>
    </Node1>
    </RootNode>
    Expected O/P:
    Line_id_Node                Column_D
    1                                                                    1                                           
    val1, val2, val3
    2                                                                    2                                               
    val4, val2
    3                                                                    3                                                  
    val5
    Nichesl

  • Intermittent emails with blank body for single user

    Good morning!
    I have a client running Exchange 2010 on a SBS 2011 server.  There is a single user who will intermittently receive emails in which the body is blank.  The affected emails behave this way in both Outlook and in OWA.  I know the content is
    actually there because if there are multiple threads in the conversation in which an email is sent and then the user replies (this happened with a test email I sent him and then called about because the body was blank when i sent it to him) I can see the body
    in the single line preview until that particular message is expanded.  Additionally, it seems that if he continues to email back in forth in the same conversation thread, the missing content will appear once he's received an inbound message where the
    content displays properly.
    To our knowledge this only happens with inbound mail.  It happens with multiple senders, there doesn't appear to be just a single source so I haven't set up pipeline tracing since there is not a consistent problem with any one sender. Some messages
    will come in fine and others will have a blank body.
    Any advice you have would be much appreciated.

    I turned up Pipeline tracing on my email address for this user as this is the one address I can control.  For all of the emails that turned up with blank bodies in Outlook and OWA I can see the body of hte message in all of the Messaging Snapshots
    created by Exchange.

Maybe you are looking for

  • How to secure a J2SE Web Service

    Hi, I have created a J2SE Web Service using JAX-WS and I now wish to secure it but I can't seem to work out how to do it in an automated manner. I have used the simple Java-First method, writing an annotated java class and then running wsgen to gener

  • PGC...data rate too high

    Hallo, message nunew33, "Mpeg not valid error message" #4, 31 Jan 2006 3:29 pm describes a certain error message. The user had problems with an imported MPEG movie. Now I receive the same message, but the MPEG that is causing the problem is created b

  • 802.1x windows group policy

    We have strange issue , some users disconnected and connected again within few seconds. which result Cisco NAC agent started again to check posture status , but no logs on the switch that the ports were down also IP Phones connected between switch an

  • Client Export Profiles

    Hello all, Could I please get your opinions on my situation. I have been asked to take out Production system and make identical copies of it onto QA and DEV. I have installed all 3 systems and there has been plenty of development on all 3 systems, bu

  • I accidently deleted "recently added" how do I get the section back?

    I accidently deleted "recently added" in itunes how do I get the section back?