Incident Search helps relations between Sold-to Party & Configuration Item

Hi experts,
Can someone help me to know what is the best approach for the following scenario:
When I select de Sold-to Party e.g (BP 70), then when I try to use the search help for "Configuration item" it should filter only for my BP, but this is NOT happening. The result that is showing are all items of all BP's.
How can I modify the BOL Object "Product" Search help or I have to create a "Z".
Is this the correct approach?
Thanks & Kind Regards,
César Felce

Hi,
In you can create a z class with interface IF_BSP_WD_CUSTOM_F4_CALLBACK.
In get v method of configuration item put below logic.
ls_map type if_bsp_wd_valuehelp=>gtype_param_mapping
lt_inmap type if_bsp_wd_valuehelp=>gtype_param_mapping_tab
lt_outmap type if_bsp_wd_valuehelp=>gtype_param_mapping_tab
ls_map-f4_attr = 'BP_ID'.
ls_map-context_attr = bp value.
append ls_map to lt_inmap.
append ls_map to lt_outmap.
create object rv_valuehelp_descriptor
type cl_bsp_wd_valuehelp_f4descr
exporting
iv _help_id = '(zclass)'
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
iv_inputmapping= lt_inmap
iv_output_mapping = lt_outmap
iv_trigger_submit = abap_true.
Now in method if_bsp_wd_custom_f4_callback~retrieve_custom_values of your zclass put logic
check is_search_help is not initial and is_search_help-selopt is not initial.
loop at is_search_help-selopt assigning <fs_selopt>.
check <fs_selopt>-shlpfield = 'BP_ID'.
lv_bpid = <fs_selopt>-low.
endloop.
Now you have your sold to party id in lv_bpid.
now write the logic to fetch configuration items based on sold to party id and fill ct_results_tab which will your output searchhelp.
Thanks,
Tejaswini P.

Similar Messages

  • There is any table which makes the relation between sold to party and ship

    Hi Gurus,
    There is any table which show the relation between ship to party and sold to party.
    regards
    gursharan

    You can get this information from KNVV, KNVP Tables.
    Refer following link: http://www.erpgenie.com/abap/tables_sd.htm ....Customer Master Data for more detailed explanation.
    Please award points if you find this information useful / resolves your issue.
    Letme know if you need more information.
    Thanks,
    Ramesh

  • SMLETS. Get related Business Services from a Configuration Item

    Hi
    I need som help or guidiance on how to create a PS query to list out all the related business services from a Configuration Item (Computer) using the Windows Computer Class
    Im using the following orchestrator activity today to get the related business services from the CI.
    Thx for all replys! :)

    Hi,
    you can use this script as an example:
    Import-Module smlets
    #Definde Input-Values
    [String]$Server = "SCSMSERVER"
    [String]$SCObjectGUID = "6555226c-5e77-ea85-b79f-05dc8843dcb0"
    #Get Computer-Object by SC Object GUID
    [System.Object]$Computer = Get-SCSMObject -Id $SCObjectGUID -ComputerName $Server
    #Get Relationship Class "Is Related to Configuration Item"
    [System.Object]$Relationship = Get-SCSMRelationshipClass -Name "System.ConfigItemRelatesToConfigItem" -ComputerName $Server
    #Get defined Relationships by target
    [System.Object[]]$RelatedBSs = Get-SCSMRelationshipObject -ByTarget $Computer -ComputerName $Server | where { $_.RelationshipId -eq $Relationship.Id }
    #Create Arrray for Orchestrator Published Data
    $BusinessServiceDisplayNames = @()
    foreach($RelatedBS in $RelatedBS)
        #Add DisplayName of Business Service to Output-Array
        $BusinessServiceDisplayNames += $RelatedBS.SourceObject.DisplayName
    $BusinessServiceDisplayNames

  • Transaction codes related to Sold To Party and material association

    Hello all,
                being very new to this, can any one tell me the transactions/path to add the records in table KNMT,
                which contains sold to party and material information.
                Is it possible to add new records to this table through or is there any other way?
                Please help me out.
    Regards,
    Sandip

    Hi ,
    The table KNMT is releated to CUSTOMER MATERIAL INFORMATION RECORD.
    Transaction code : VD51
    Path: LOGISTS->MM->PURCHASING-.MASTER DATA->SUBSEQUENT SETTLEMENT->CUSTOMER REBATE AGREEMENTS->ENVIRONMENT->CUSTOMER->ENVIRONMENT->CUSTOMER MATERIAL INFO RECORD->CREATE (VD51)
    Tyr this
    thanks,
    santosh

  • Search Help related question

    Dear Friends,
    I have schedule ID and description field in my transaction.
    I added the search help for Schedule ID field and in this help schedule description is also showing.
    when we select any value from search help schedule ID field is automatically filled by that id but
    schedule description field is remail empty.
    i want to fill schedule descrption field accordingly.
    Can you please help me to sort out this problem.
    Regards
    Malik

    Hi,
    there are different ways in which this is possible. To tell you a solution that is apt for you , can you tell me how you have assigned the search help and the screen field? Have you given the screen field name as a normal variable, or is it dictionary_table name - field name , or is it work_area-fieldname?
    Regards,
    Suzie

  • Relation between employee data and SAP user ID

    Hi experts,
    I am searching a relation between a SAP User Id and the personal data of an employee like Infotype 2.
    Is there any relation like this?
    Thanks!

    Hi,
    The SAP User ID is attached to employee number using communications infotype IT 0105 subtype 0001.
    Also e-mail, fax, telephone number are stored in this infotype under different subtypes.
    hope this helps
    Ajay

  • Sold-to Party and Customer Number

    Hi frnds,
        I need to know the relation ship between sold to party and customer number.I know that for a customer number there may be more than one ship to party.But i want to know whether there exist more than one sold to party for a customer number. And i had a confusion that the customer number is either sold to party or ship to party Please explain me.
    Thanks in Advance

    Hi Anand,
    Generally we have some Paarner Functionslike
    SOLD TO PARTY
    SHIP TO PARTY
    BILL TO PARTY and
    PAYER. These are the partner functions.
    If u look in to Table VBAK u can find the Field name KUNNR with the data element KUNAG ( Sold to Party ).
    Customer Number and Sold to party may be same in some scenarios.
    SOLD TO PARTY will be always ONE for one Customer Number
    Customer Number may to Sold to Party or Ship to Party depending on the scenarios and the  requirment
    Best regards,
    raam

  • Regarding Search Help Exit

    I am having a problem in Search help exit.
    Currently we have a search help “Z_srchlp”. In the Selection method of this search help we have a Help view “z_view”.
    In this view we have a join on Tables KNA1 and KNVV. But now the requirement is to fetch some fields(STR_SUPPL1 and STR_SUPPL2) from ADRC table also. I have to write a Search help Exit for that.
    The search help is on “SHIP-TO PARTY” in VA01. In the Output I need to Display the fields (STR_SUPPL1 and STR_SUPPL2) from ADRC based on adressnumber i.e., ADDRNUMBER in addition to what we are displaying currently.
    Please let me know How can I achieve it. It will be great help if u can send me the Code as it is very urgent.

    Hi,
    take a look to the search help F4IF_SHLP_EXIT_CUSTOMER with SE37.
    Regards
    Nicole

  • How to find out Sales organization of a sold to party from tables

    Hi all experts, I have the following questions:
    1. How to find out Sales organization of a sold to party using tables?
    2. Also please tell any function module which gives relationship between sold-to-party and sales organization to which it belongs.

    Hi,
    Check table CRMM_BUT_LNK0141 to obtain the sales area of a BP (by BP Guid).
    If you need the sales office and sales group, read GuidSet of that table and check table CRMM_BUT_SET0140 to list the sales office and sales group by that Guid set.
    There are some function modules too:
    CMS_BUPA_ORGDATA_GET_BL among others.
    Regards,
    Susana Messias

  • Sold-To Party and Reported missing when doing Help - Create Support Message

    Sorry, I know this has been asked multiple times, but I'm missing something in the responses.  The responses I am finding either don't seem to apply to my situation, or aren't detailed enough to explain what I'm supposed to be doing.
    Solution Manager 7.0 EhP1 SAPKITL435.
    If we try to do a "Help - Create Support Message" from within our production Solution Manager system, the "Reported by" field is correct, but the Sold-To Party is blank.
    If we try to do a "Help - Create Support Message" from within our non-production Solution Manager system, both the "Reported by" and  Sold-To Party fields are blank.
    If we try to do a Help - Create Support Message" from another SAP system whose RFC is pointing to our non-production Solution Manager system, both the "Reported by" and  Sold-To Party fields are blank.
    I've looked at IB52, as well as the SPRO activities under "Partner Determination Procedure."  I think a big part of my problem is that they just don'e make sense to me yet, because I can't figure out what I should be changing.
    For example, IB52 looks to me like it only applies if you want to assign something to the same person all the time.  Am I missing something there, or is that an answer to a different question?
    I also can't figure out if I need to create something new in "Define Access Sequences," or modify something existing, and, if I modify, to what?
    Does anyone know where I could find specific instructions for setting this up?

    Hi Brenda,
    Regargind this issue, please check if Sold-To party is maintained for
    your system with IB52 in your solman system as the steps below:
    SOLUTION MANAGER system
    ->IB52
    ->select the system on left hand side
    ->click on 'goto' on top menu
    ->Select 'partner'
    ->Now maintain Sold-To party
    Also check below note:
    1165357    Sold-to-Party is not assigned to Service Desk messa
    As you said ou already assigned then i would request you to please check if you have assigned at the system level or not. Somtimes people define at top of the tree and also at system level. Please assign at system level and delete all other. Most of the times this is the issue Sold-to-party doesnt fill automatically.
    For reported by field:
    Please check the note: 824640: Customizing missing for Service Desk in Solution
    read this note carefull and this will help you fixing the reported by issue.
    Please, make sure you have applied the following corrections:
    1439191 Incident Create: Message Reporter or Processor is not saved
    1486132 Incident Create: Enhance search help of Reporter field
    1497700 Work center: Message details not updated after refresh
    After this if you still having issue you need to provide more details but i think this will fix the issue.
    Thanks
    Regards
    Vikram

  • Create Incident via CRM_UI, non-SAP components depending of sold-to-party

    Hello!
    We are using CRM_UI on Solman 7.1 ( SPS 10 ) to create Incidents. On the 3'rd step there is option to select SAP Components or non-SAP Components if defined. We are using a lot of non-SAP components.
    Is it possible to prevent users to choose all SAP component, only few of them depending of customer ( BP sold-to-party  )? Does it exist authorisation object for this?
    Thank's in advance!
    Best regards,
    Renato

    Hello,
    Please run SPRO tcode and search for
    Maintain User Application Components
    Use
    This activity maintains your application components. Create your own component hierarchy, and add it to the default SAP application components.
    Recommendation: Choose component names that are easy to recognize and distinguish.
    Activities
    1. Specify a component. If your components are hierarchical, enter the leading component first.
    2. Enter a description of the component.
    3. Specify the hierarchy level of the component (01-0n). Create the component hierarchy top-down.
    4. Specify the node type. Use node type 0 for a header, and 1 for normal nodes.
    5. Flag whether the node is selectable.
    6. Save.
    To configure the display of value help in the SAP component search, edit the VH_SAPCOMP_TREE parameter in the Define Parameters activity.
    BR,
    K.

  • Does ECC 6.0 Provide a Search-as-you-type Enhancement for Sold-To Party Field?

    In our quest to continually simplify the creation of sales orders, I would like to know if SAP has provided any way to simplify the search and entry of the customer sold-to or ship-to party.  What I am looking for is a way to enter the customer's name (or other customer search criteria such as city) in a single field and have it search-as-you-type.  This is also known as instant search, auto-complete and auto-suggestion.
    We would like to eliminate the clicks it takes to use the standard F4 search help.
    One of our internal developers has created a web-based (.NET) application that brings in SAP data for writing sales orders for a specific segment of our business.  This tool allows you to find the ship-to party by typing in the customer's state, city, zip, address or name in the Ship-To field.  The instant search feature narrow's the list down as you type.  What he has done is written SQL to concatenate the customer name, customer number and address information, and then provided a search-as-you-type feature on top of this.
    Fictious Example of concatenated data (State, City, Customer Name, Address, Zip, SAP Customer Number):
    WA Seattle, Home Depot, 11616 Aurora Ave N, 98133, 18394978
    Typing any of the above information in the field will search for matches and bring back results as you type.
    I would like to know if ECC 6.0 has any similar feature that can be used in VA01 to accomplish the same thing.
    Thank you.
    Rob Scofield

    I don't have access to the code our developer used but again, I am referring to a .NET browser-based application.  We extract a subset of SAP data using Attunity (say, every hour) and the SAP data is stored in a separate SQL Server database.  This database is used by a few browser-based applications we have developed.  For example, we have an application that allows external customers or internal employees the ability to look-up the status of an order.  The first thing you enter is the customer.  In some cases, this may be the Ship-To.  In other cases, the Sold-To.  The user can simply enter some part of the customer and records are searched for a match, as you type.  In our case, the lookup is occurring in SQL Server, not directly in SAP.  The developer took a simple approach of using some SQL query magic (it may be in a SQL Server Stored Procedure), to concatenate the relevant customer information that most people use to lookup a customer - Customer Name, Address, Customer Number.  So as you type, this entire concatenated string is searched and the list of potential "hits" is narrowed as you type.
    The paradigm is similar to Google's Search as you type (SayT), which you can read about here:
    http://www.theverge.com/2012/7/11/3152186/google-search-as-you-type-instant-results-merchants
    http://code.google.com/p/search-as-you-type/
    Or auto-complete: https://support.google.com/websearch/answer/106230
    This is nothing new in the web commerce world.
    I was told by an SAP rep that there might be an enhancement in SAP ECC (SAPGUI Desktop) that could do something similar.  However, I never heard back from him and was wondering if anyone else had heard of something.
    This is another example of how it seems SAP has fallen behind in their UI and search capabilities; and they need to catch-up.  For those of us that have used SAP for many years, F4 seems straight forward and we sometimes don't understand why so many users don't also find it simple.  The answer is, other vendors have made it more simple and with the consumerization of apps, SAP needs to get there.
    Rob

  • Change of Search help for location field in report incident

    Hi All,
             i have added new fields Region,BSA in the report incident form .here based on the region entered in the search help the corresponding bsa have to be displayed in the search help of BSA .these are achieved customising  the search help exit FM    EHFND_SHLP_EXIT_F4_BOBF_QUERY.
    similarly based on the BSA entered in the BSA field Location field search help should filter the values and display .the isues here are
    1. the location field and search help attached are standard and they are being used in many instances .
    2.when i click on the f4 help the control doesnt stop any where in the feeder class CL_EHHSS_INC_Q_LOC_UI_FRM of the form  though i put the breakpoints .ie the event on enter locid is not getting triggered.
    my question is where can i write the code to filter the values being displayed in the location search help.
    Thanks&Regards
    Luxmi

    Hi Luxmi,
    Dictionary-based search helps are triggered from directly within the WDA layer. Therefore, there is no callback from the FPM event loop. The filter would need to be implemented as an implicit enhancement of the aforementioned search help exit function.
    Thanks,
    James

  • An anyone help me to find the difference and relation between the following

    Hi,
    can anyone help me to find the difference and relation between the following methods of Swing :
    a) validate()
    b) invalidate()
    c) revalidate()
    d) repaint()

    You'd be far ahead by opening up the API and Java turorial and your course book and learning for yourself, rather than, asking other to do your homework for you.
    But if you have andwers already to go, then post them and ask if you have drawn appropriate conclusions.

  • How to pass set 'Relation' between blocks dynamically..Pls help

    Dear all,
    Best wishes,
    Please help me to find solution for this..
    I have two forms A and B. Form A will pass 4 parameter to form B so that B will fetch the details. till this everry thing is fine..
    Form A -- > Uses Table A --> col1,col2,col3,col4
    Form b ----> Uses Table B ---> col1,col2,col3
    table a col1 = table b col1
    a col2 = b col2
    a col3 = b col3
    a col4(already exist) = b.col4(newly added) (no data exist for col4 table B for current records but will have future records)
    Form A passes all these 4 col as parameter to form B.
    But actual problem is for all new records (will have all the relation records i.e. Table A col1,col2,col3,col4= Table B col1,col2,col3,col4) so existing relation works fine Form B while fetching the data ( I manully edited relation between these two tables by adding Table A.col4=TableB.col4)
    How ever this relation is giving problems for EXISTING RECORDS in Table B which does not which is not having corresponding equal value to Col4 in Table A.
    so now scenario is if i remove that addition I made , THEN IT ONLY WORKS FOR EXISTING RECORDS
    and
    if i keep update relation between block (updated one including col4) then IT ONLY WORKS FOR NEW RECORDS since col4 parameter passes as null to form B then since no records in Form B.
    what my idea is to pass 'relation' dynamically creating relation for old and new records.
    like "telling form B to check -- if Table B.col4 is null where TableA.col1 = TableB.col then -- opt for relation which DOES NOT INCLUDE a.col4=b.col4 in relation statement
    or
    if Table B.col4 is notnull (Table having correspoiding records) where TableA.col1 = TableB.col then -- opt for relation which INCLUDE a.col4=b.col4 in relation statement
    Sorry for long post..hope i am clear on my requirements..
    Any suggestions are welcome...
    thanks in advance
    Prasanth

    Prasanth,
    Were I in your situation, I would push back on the author of the requirement and inform them that the data in Table 1 must be updated to conform with new requirement. This eliminates any DDL change to the tables and it is not unreasable to require a DML change to the data to support a "New" requirement. If the author of the requirement still will not see reason and wants you to make it work as is, then it could be made to work as is, but it will require a complete redesign of the Form and a complete regression test of the form to ensure the new Form process doesn't break functionality or have unexpected side-affects. Provide development time and cost estimates so the "author" can determine the cost effectiveness of the options.
    As to the options, you could make this work using a From Clause Query based block or a Procedure based block. Both options will allow you to use NVL or DECODE, but will require you to handle any Forms DML manually using the On-Ins, On-Upd and On-Del triggers. Both options will also allow you to use the Relationship feature of data blocks.
    If you have access to My Oracle Support, take a look at the following documents:
    <ul>
    <li>How to use Fro m Clause Query in Forms [ID: 69884.1]
    <li>Basing a Block on a Stored Procedure - Sample Code [ID: 66887.1]
    <li>Master/Detail Relationship Based on Stored Procedures [ID: 124650.1]
    </ul>
    If you don't have My Oracle Support access, take a look at this URL for some examples:
    Oracle Forms 10g release 2 : Demos, Tips and Techniques and scroll to 2.3.2 Block based on stored procedures.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

Maybe you are looking for

  • Error when releasing a transportation order

    Good morning. I am trying to release a transportation order that contains a nonstandard table which has been added two fields, and the corresponding data elements and dominions of the new fields. When releasing the order, dumps an error and cancels t

  • Custom HRP Infotype for e-Recruiting

    I am trying to create a custom HRP infotype to be used in our e-Recruiting system. I want to be able to update the infotype using the SAP standard RH_INSERT_INFTY and like function calls. However my entry in table t777d won't let me change the Update

  • EEM Unable to execute scripts.

    Hi, Need support here to understand the Problems for getting EEM script executed. The Script and debug output is as follows. The script is now getting executed. IOS :c2800nm-spservicesk9-mz.124-12a.bin" Can Plese help here!. Thanks.. Script: event ma

  • When I'm typing on my keyboard my computer will shut down.

    Help me out! When I'm typing on my keyboard my computer will shut down. I can't figure it out. It's happening more and more like several times a day. Does anyone have an idea on how to fix this annoyance? My computer is updated with maverick.

  • Firefox loads for approx. a week then stops working and has to be downloaded again

    For the past month or so when I try to get into Firefox it will not load. I will download Firefox and it will work for a few days and then stop working again and I have to re-download again. If this doesn't stop I will try another web browser.