Filtering entries in BP search based upon user

Hi
We are trying to filter out results shown in BP search, based upon users. For that we are trying to follow steps mentioned in IMG
SPRO->IMG-> Customer Relationship Management -> CRM Cross-Application
Components -> Generic Interaction Layer/Object Layer ->
Component-Specific Settings -> Extend Object Model for Business Partner
The field(region) we are using is already present in structure CRMST_HEADER_SEARCH_BUIL and as per my understanding we will be using method Adjust_Result_Table.
But still I am not able to resolve it. Please help me in this regard.
Thanx & Regards
Hits

Hi,
The object that we work with at 2007:
BuilHeaderSearchNew
and not BuilHeader like at the last version
so, we have to implement CL_BUPA_IL_HEADER_SEARCH and not CL_BUIL_HEADER
1. Create :
ZCL_BUPA_IL_HEADER_SEARCH
with superclass:
CL_BUPA_IL_HEADER_SEARCH
2. At customizing:
SPRO->CRM->Cross Application components->Generic Interaction Layer/Object Layer->component specific setting ->Extend Object Model for Business Partner
add:
External Object Name - BuilHeaderSearchNew
Implementation Class - ZCL_BUPA_IL_HEADER_SEARCH
Nou you can use this method for changing the result:
ZCL_BUPA_IL_HEADER_SEARCH ->GET_RESULT_TABLE
good luck
ayelet

Similar Messages

  • Searching PRODUCT column based upon user's input

    I have table in Oracle with one column PRODUCT. Column PRODUCT have following values -
    Account Management
    Active Directory
    NT Account
    Application Security
    Beehive Conference
    WebSite Account
    HP Laptop
    I am designing application where I need to search in column PRODUCT based upon user's input. Lets say user wants search on 'Laptop Account Broken'.
    I want to search for all rows in PRODUCT column which contains any of words in user's input. So based upon user's input I want output like below.
    Expected Output
    Account Management
    NT Account
    WebSite Account
    HP Laptop
    I need your help to write me SQL for my desired output. please help -

    You can use Regexp_like instead of Instr ;)
    PRAZY@11gR2> exec :user_input:='Laptop Account Broken';
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    PRAZY@11gR2>
    With TableA As (
    select 'Account Management' Product from dual union all
    select 'Active Directory' from dual union all
    select 'NT Account' from dual union all
    select 'Application Security' from dual union all
    select 'Beehive Conference' from dual union all
    select 'WebSite Account' from dual union all
    select 'HP Laptop' from dual
    --End of sample data
    ,Temp as
    (select regexp_substr(:user_input,'[^ ]+',1,level) str from dual
    connect by level <= length(regexp_replace(:user_input,'[^ ]+'))+1)
    select product from tableA,temp where
    regexp_like(product,str)
    PRAZY@11gR2> /
    PRODUCT
    HP Laptop
    Account Management
    NT Account
    WebSite Account
    Elapsed: 00:00:00.00or...
    PRAZY@11gR2> exec :user_input:='Laptop Account Broken';
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    With TableA As (
    select 'Account Management' Product from dual union all
    select 'Active Directory' from dual union all
    select 'NT Account' from dual union all
    select 'Application Security' from dual union all
    select 'Beehive Conference' from dual union all
    select 'WebSite Account' from dual union all
    select 'HP Laptop' from dual
    --End of sample data
    select distinct Product from tableA where
    regexp_like(product,regexp_substr(:user_input,'[^ ]+',1,level))
    connect by level <= length(regexp_replace(:user_input,'[^ ]+'))+1
    PRODUCT
    Account Management
    NT Account
    WebSite Account
    HP Laptop
    Elapsed: 00:00:00.06Cheers!

  • Derive values based upon user input

    Hello,
    I recieved a request for a report.
    When a user runs the report they are to be prompted for a fiscal year/period.
    Based on the fiscal year/period that the user provides I have the following columns  (in bold below are 2 examples that may make the description more clear).
    1. Revenue for the Fiscal year Prior to the fiscal year of the user input value
    2. Revenue for the Fiscal year/Period prior to the input Fiscal year/period
    3. Revenue for the Year to date accumulation up to the prior fiscal year/period that the user input
    4. Revenue for the Year to date accumulation up to the prior fiscal year (fiscal year rolls back first) and prior period (for period 01, it then rolls back the fiscal year 1 more year) that the user input
    Example 1: If the user ran the query and they provided the value 05/2007, then the values that need to be obtained would be:
    1. Revenue for 2006
    2. Revenue for 04/2007
    3. Revenue for 01/2007 to 04/2007
    4. Revenue for 01/2006 to 04/2006
    Example 2: If the user ran the query and they provided the value 01/2008, then the values that need to be obtained would be:
    1. Revenue for 2007
    2. Revenue for 12/2007
    3. Revenue for 01/2007 to 12/2007
    4. Revenue for 01/2006 to 12/2006
    Please help me with determining how to obtain the user input value, and then how to derive the time periods for the columns based upon that value.
    Thanks,
    Nick
    (points available)
    Edited by: Nick Bertz on Mar 13, 2008 9:43 AM

    Hello,
    See my example.. I am reading the value from Keydate Variable
    WHEN ZVND01
            READ TABLE i_t_var_range INTO w_var_range WITH KEY vnam = 'Keydate'.
             IF SY-SUBRC = 0.
              CLEAR l_s_range.
              l_date = w_var_range-low.
              concatenate l_date(6) '01' into l_first_date.
              CALL FUNCTION 'SLS_MISC_GET_LAST_DAY_OF_MONTH'
              EXPORTING
                        day_in = l_date
              IMPORTING
                         last_day_of_month = l_last_date
              EXCEPTIONS
                        day_in_not_valid = 1
                        OTHERS = 2.
              IF sy-subrc EQ 0.
                l_s_range-low  = l_first_date.
                l_s_range-high = l_last_date.
                l_s_range-sign = k_sign_inclusive.
                l_s_range-opt  = k_option_between.
                APPEND l_s_range TO e_t_range.
              ENDIF.
    Hope this example helps..

  • Unable to attach a file document without full data path (vers 8.0 beta) | Likely, based upon user testing.

    For the last two days I have been unable to attach relatively small Acrobat PDF or document files to my outgoing emails.
    This could be a problem with the Firefox browser (v8.0 beta) or Windows. Mozilla Firefox v8.0 beta has latest updates,
    AT&T "Mail.Yahoo.com" will not upload any files to the website for sending; the DRAFT email message can be stored as usual. "Mail.Google.com" also exhibits the same failure, however GMail allows the user to revert to "classic uploader" and the file can then be attached with the tag showing "the full PC data path".
    Both email access attempts were using Mozilla Firebox v8.0 beta.
    In the first example (AT&T) I was able to compose and save the draft email without attachments, then process the email normally (attaching the file) from my Nokia Smartphone using Symbian OS6.

    7-Zip 9.20
    Adobe Flash Player 13 ActiveX
    Cisco WebEx Meetings
    Java 7 Update 51
    It should be noted that I can't repeat the behavior on my test machine again today after some changes were made in our environment.
    Today, I found that someone had modified permissions on the folder to give the group my test account was a member of rights to traverse the folder hierarchy from the root of the share.  Additionally, in testing something with FIPS mode, I ended up reverting
    my virtual machine to an older snapshot.
    After removing the extra permissions that weren't present when I was doing my testing and reverting to the older snapshot, I  am not having issues accessing the real equivalent of folder3 directly in Windows Explorer via DFS UNC path or creating a shortcut
    with the New Shortcut wizard.
    Things have been fundamentally changed and I cannot repeat the behavior on this particular folder.  I will see if I can recreate the same situation on another folder.

  • Can I receive notifications based upon user answers on a web form?

    I currently use another form service and I'd like to change to Adobe across the board.  I have a web form that my customers complete so they can access their original image for download.  It is a 5 question survey.  If a customer selects, "I'm disappointed" I get an email notification with their response letting me know they are unhappy.  I don't want to review every response to watch for them because it would be thousands of emails per day during busy season.  Is this possible with FormsCentral?

    Thanks for your reply.  That answers my question about being able to convert to Adobe.  Is that in the pipeline?  Seems like a big one.
    Thanks!
    Andy

  • BP SEARCH BASED UPON DATA IN CONTACT PERSON RELATIOSHIP:WEBCLIENT

    HI GURUS,
    CAN U PLEASE THROW SOME LIGHT ON THE ISSUE. ITS VERY URGENT...UR HELP WILL BE HIGHLY APPRECIATED AND REWARD POINTS PROMISED...THANKS IN ADVANCE.
    > In business partner identification we are using the
    > contact record first and the company record second.
    > We are going to use the information on the address
    > fields to identify phone, fax and email.The current
    > address set up is to use the Relationship
    > information to house the address information for the
    > contact record.
    > an the telephony (CTI) integration read the
    > relationship information, without customization? Or
    > another way of phrasing this is can the standard
    > mappings from within CTI read the relationship data
    > on the customer to contact BP?
    >
    >
    > Thanks and we await your response
    JAI MISHRA

    Jai,
    You could anytime do an enhancement to read the relationships for a BP whenever an incoming call is there. I think you could also make it specific to only incoming call as well.
    I am not sure if there is some customizing to navigate directly to relationship form the BP data.
    Cheers,
    Ankur

  • HTTP Redirect based upon SRC IP Address

    Is there a way to perform an http redirect based upon user's source IP address on the CSM/GSS environment?
    Logic:
    IF < src ip address is within exception list > THEN
    http redirect to URL2
    ELSE
    http to URL1
    END

    Is there a version of this solution (redirect by client source IP) for the CSS?
    I'm attempting to redirect clients from a few specific networks (source IP's) to the VIP of a second CSS using a service-type redirect and "prefer " ACL commands:
    clause 10 permit any 1.1.1.0 255.255.252.0 destination content owner/content-rule prefer service-type-redirect
    There is an "any any destination any" last clause in the ACL for the remaining source IPs. The ACL is applied to the incoming circuits leading to the webservers.
    A show of the ACL's shows all responses - no matter the client source IP - being caught by the permit any clause at the end of the ACL.
    Extra points: this is a one-arm design with source group destination applied (to return server traffic to the CSS) and traffic is https with SSL terminating at the servers (no SSL module). Content rules are set to be sticky for srcip. Both CSSs are answering content-based DNS queries for the same URL with their local VIP address (but controlling which DNS server clients query isn't readily possible, so static proximity using DNS didn't provide the answer).
    Each CSS is in a different data center: the idea is to keep traffic local by redirecting non-local traffic to its "local" (the other) CSS if services are active (and to keep traffic on the first CSS if the services at the redirected-to CSS are down).
    Don't want too much, do I? ;-)
    Thanks for everyone's time -
    -K.

  • In search of end user based forums

    in search of end user based forums
    Any one know of SAP website for (expert) end user Q/A   ?
    Development is fun and all, but when I need A break from the 011001101000100110100 where do I go?

    Interesting question.
    You could try the forum or even [Scripting Languages|/community [original link is broken]; here on SDN to get closer to the front end, but I guess the "expert level" would need to be quite advanced before an end user spends more than just a careless mouse-click there.
    Otherwise there is the [SAP Design Guild|http://www.sapdesignguild.org] which has a lot of interesting things about the UI. However they closed their forums because of spam, and now point to . Downside: Not much action going on. Upside: You could become top contributor and will a free entry to SDN Community Day with just one post.
    Another option worth taking a look through is the [BPX category|/community [original link is broken]; where you might find some .ppt programmers hanging out.
    Cheers,
    Julius

  • Which data source of many to use, based on user entry of month

    Looking for hints relating to BEx queries inside the Web Application Designer's web templates.
    Currently a query is using 1 very, very large data source, such as payroll records.
    If data is divided into smaller portions, such as monthly data sources....
    How can we:
    - establish a link between the variable entry screen where the user selects 1 specific month and
    - force the query to return results from that 1 month's data source?  
    In other words, we are looking for a way to build intelligence into the query for it to make a decision about which data source to use, based upon the parameters that end user enters.... with the hopes that the process will return the results faster, because it has less data to weed thru to get to the results.
    Thanks.

    Hi Sharon,
    As U said the datasource is a huge one. Now let's say these datasource is feeding its data to only 1 cube IC1. After the data to the cube is loaded, there will be huge junk of data from the source, so, inorder to improve the reporting performance with respect to this cube you got different options of creating Indexes, Aggregates etc., on to this cube.  Again coming the BEx, there also U have other options to improve your query performance.
    As per your requirement, U want to display data with respect to a month which the end user enters. For this I guess U can have a variable entry for the time characteristic Calendar Month/Year. By this way, U can get the desired results for the query.  I suggest, U can even improve the performance by having range values (or) single value restrictions on the time characteristic Calendar Month/Year, if U are sure for which calendar months (or) years the data is to be queried upon.
    Hope this should serve your purpose.
    Regards,
    Syed.

  • How to go about changing settings based upon logged in user

    Hi all,
    I'm wondering if anyone has any thoughts on how one would go about changing a property on a node based upon the logged in user.
    For example, say you have a path property at /apps/myComponent/settings.path=/content/dam/genericfolder that for an author have the value of /apps/myComponent/settings.path=/content/dam/sandbox, and for an approver have the value of /apps/myComponent/settings.path=/content/dam/approvalsandbox

    Hi Ove,
    Thanks for the tip on the user role. I had thought about taking that approach, however, leveraging the user role and properties associated with it would be the correct approach if writing custom components. What I am looking for is a way to take existing components, and essentially use them in context of the user.
    For example, say if you are trying to give a sub group of users access to a subset of the DAM directory, and you don't particularly wish to hack around the existing WCM DAM component, there is a setting in the tree navigator (/libs/wcm/core/content/damadmin/treeRoot) that lets you specify where the root of the tree is. (There are more settings to work with, but this is just one used to illustrate.)
    If you can change the property based upon the user, that gives you the functionality without altering code.
    I would like to know if this is possible, if this is an inherently bad practice, if so why, and whether there may be another alternative out there which lets you avoid having to alter the code of an existing component.
    Thanks again for answering.

  • Filtering of the data based upon the selection screen data using ldb

    Hi Experts ,
    I am using ldb pnpce, for my report ,and i created my own report category with selection paramaters
    action type and payroll area
    now the problem is when i am giving the action type as Z0 ,the data to be extracted is not getting filtered
    based upon the action type ,the data consists the records having different action types other than Z0
    Please give me some solution for this

    Thanks Durga ,but the link wat ever u was for hiding the selection screen fields
    but my question is when am using get pernr event my data is not getting filtered with the selection screen paramater value
    i,e m giving action type as only hiring ,but m getting the data for all the action types ,its not filtering based upon my selection

  • ISE posture based upon switch user is connected to

    OK, I am a new ISE user and definitely an early beginner on creating ISE policies. I have successfully created a policy that can determine if you are using a corporate asset or not and using 802.1x authentication grant you access to corporate resources or not. This policy also assigns the VLAN the user is placed into. Seems to work quite well so far at least as a baby step in policy creation.
    Our building has different VLANS based upon floors and the like and I would like the policy(s) take this into consideration when assigning the VLAN. Is there a way to include which switch the postureing process is flowing through to assist in assigning the VLAN? I am thinking I would have separate policies based upon the switch / stack but not sure how to include that in the logic. I figured it would be similar to my policy where I check corporate assets and that you are wireless and that you have a valid AD account but have been unable to figure out the endpoint part. I have created network groups for my network devices but am stumped after that. Is there something else I should or could be doing instead? Do I need a completely different train of thought?    
    Brent

    Hello Brent, using "Network Device Groups" can definitely make this possible for you. For instance, you can create a "Location" based group hierarchy that looks like something like this:
    All Locations > HQ > Floor-1
    All Locations > HQ > Floor-2
    All Locations > DR > Floor-1
    etc
    Then you can reference that group in your authorization policy by using something like this
    If "Conditions > Device > Location" = All Locations > HQ > Floor-1
    then
    Permissions = "HQ_Floor-1-Posture"
    If "Conditions > Device > Location" = All Locations > HQ > Floor-2
    then
    Permissions = "HQ_Floor-2-Posture"
    I hope this helps and addresses your issue. 
    Thank you for rating helpful posts!

  • Which Portal user based upon SID

    I can use 'wwctx_api.get_user' to determine who is executing a particular session. But based upon the SID of a session how can I tell which Portal user is executing?

    Assuming that you know the session id (SID), you can get the portal user executing that session using the following query:
        select user_name
        from wwctx_sso_session$
        where id = &sessionId;
    For all the authenticated portal sessions it will return the user id of the authenticated user and for the unauthenticated portal sessions it will return PUBLIC.

  • Formatted search based on screen entry

    Hi,
    I need help to create a formatted search based on a field that the user entered on the screen. For example, I want a formatted search on the Purchase Order screen where the item search will only show the items where the vendor entered in the Default Vendor field of the master record is the same as the vendor specified in the Vendor field of the purchase order.  Please advise on the correct sql statement.
    Thanks,
    Jane

    Thanks Sudah! That worked!
    However, I do not understand the syntax.  What does [dbo] mean?
    I am trying to duplicate the query for the following scenario.
    I have a user defined field U_Freight in the Business Partner Master Data (OCRD) and also in the sales order screen. I want to create a formatted search for the freight field in the sales order to automatically find the freight from the business partner master data screen based on the customer entered in the sales order.
    I have tried the following as a formatted search on the sales order screen, but it does NOT work.
    SELECT T0.U_FREIGHT FROM [dbo].[OCRD] T0
    WHERE T0.CardCode = $[$4.0.0]
    Please advise.
    Thanks!

  • Customer exit to calculate previous quarter based on user entry in 0PCALMON

    Hi,
      I have written a CMOD code to calculate previous quarter based on user entry in 0PCALMON (0CALMONTH).  That is if 09.2008 is entered for 0PCALMON, it should fetch the months 04.2008, 05.2008,06.2008.
    But unfortunately I am getting all years and all months.
    Could you please help me debug this code.
    Global Declaration :
           z_vcalmonth(2) TYPE n ,
           z_vcalyear(4) TYPE n.
    When 'YQV_LQ'.
    if i_step = 2.
    READ TABLE i_t_var_range WITH KEY
      vnam = '0PCALMON'
      iobjnm = '0CALMONTH'
      INTO l_s_var_range.
      if sy-subrc = 0.
            z_vcalmonth = l_s_var_range-low+4(2).
            z_vcalyear = l_s_var_range-low(4).
          IF ( z_vcalmonth >= 1 AND z_vcalmonth <= 3 ).
            z_vcalyear = z_vcalyear - 1.
            CONCATENATE z_vcalyear '10' INTO l_s_range-low.
            CONCATENATE z_vcalyear '12' INTO l_s_range-high.
          ENDIF.
          IF ( z_vcalmonth >= 4 AND z_vcalmonth <= 6 ).
            CONCATENATE z_vcalyear '01' INTO l_s_range-low.
            CONCATENATE z_vcalyear '03' INTO l_s_range-high.
          ENDIF.
          IF ( z_vcalmonth >= 7 AND z_vcalmonth <= 9 ).
            CONCATENATE z_vcalyear '04' INTO l_s_range-low.
            CONCATENATE z_vcalyear '06' INTO l_s_range-high.
          ENDIF.
          IF ( z_vcalmonth >= 10 AND z_vcalmonth <= 12 ).
            CONCATENATE z_vcalyear '07' INTO l_s_range-low.
            CONCATENATE z_vcalyear '09' INTO l_s_range-high.
          ENDIF.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'BT'.
          APPEND l_s_range TO e_t_range.
    endif.
    endif.

    Hi,
    U can use the FM SLIM_GET_QUARTERLY_PERIODS
    Pass the variable first date of 0PCALMON ( 09.2009 => '01.09.2009') to get the table of all the 4 period ranges in PERIODS  table in result
    and read the Last entry to get the Previous Quarter period
    PERIODS table
    S OP LOW        HIGH      
    I BT 01.07.2008 30.09.2008
    I BT 01.10.2008 31.12.2008
    I BT 01.01.2009 31.03.2009
    I BT 01.04.2009 30.06.2009
    Then pass this values in l_s_range-low l_s_range-high
    Hope this helps
    Sonal...

Maybe you are looking for

  • Why can't I print out PDF files downloaded from the internet?

    Such as medical files, applications, etc. They just end up as an "error" in my printer queue. I have used four different printers and three differnt iMac computers. Same problem. What is UP? Do I have to convert it? Becxause, when I do -- and it so g

  • Mail turning 1 JPG in to 2 JPG files

    Any ideas on this one? Sending clients 20 or 30 JPG files and when they get it they receive 2 files. One is the JPG they can open the other is a slightly smaller file with a .- extension in front of it. Attaching the whole folder......also noticed ma

  • My hp computer won't go online on wifi

    I have an HP15. Only have had it for a week, all of a sudden it won't get online and I know my modem and router is working because every other device is able to get online. After restarting computer, it has a message that pops up with the command pro

  • Deprecation Warnings

    Hi I am using 3.2.3 and when I set a JLabel's label the code generated is label.setLabel - can I get JDeveloper to generate setText instead? Marc

  • How to select special character from OLE DB source in SSIS?- Truncation error.

    Hi, I have to pull data from one Oracle table and for that I am using OLE DB source in SSIS. In OLE DB source I write query like,  SELECT     DESCRIPTION FROM         INV.ITEMS_LOCATION and packages failed with truncation error. When I redirect this