Company code to be displayed in search help for vendors/Business partners

Hi,
We have a requirement to display the company code along with the vendor/business partner number when searching for preferred vendors while creating the shopping cart.
In standard the search help exit used is BBP_F4IF_SHLP_EXIT_SOS. This search help does not have logic to find the company code for the vendor/business partner. It only finds and displays the purchasing organization.
Can someone tell me where I find the company code agains the vendor?
I tried searching in SRM and couldnt find the table where this relationship is found.
Or is it that this data is not stored in SRM and we need to make an RFC call to R/3 using FM B470_VENDOR_GET_DATA.
Please let me know!
Thanks,
Srivatsan

I have the same problem due to multiple backends and 1 purchasing org to 2 company codes, have you got a fix for this yet would appricieate help if any one has ideas on this one
Tom May
<removed by moderator>

Similar Messages

  • Search Help for vendor

    I need to create a search help for vendor. I mean if i press F4, it should display vendor code along with name . Can anybody help me to create a search help and to assign it to vendor code.
    Thanks in advance..

    You need to call the following function on value help of your field.
      call function 'F4IF_FIELD_VALUE_REQUEST'
        exporting
          tabname                   = 'LFA1'
          fieldname                 = 'LIFNR'
          searchhelp                = 'KRED'
          dynpprog                  = <your program name from where you are calling this function>
          dynpnr                    = <your program screen number>
          dynprofield               = '<screen field name>'
          value                     = 'S*'
      if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    Hope this helps.
    Regards
    Raja

  • Search Help for Vendor Feild not getting populated in the Screen Element

    Hi Everyone,
    In transaction Miro, I get a POP-UP for Invoicing Party i.e. Vendor and Users required a custom search help.
    The Search help for Vendor(LIFNR) is KRED_C and i appended a Z search help under this.
    Now that the search help exists and I can drill down the values too but when i select/choose any value,  that value is not getting populated in Screen feild.
    is there any validation I need to do for this.
    Please suggest me... I checked SDN there are many things but i couldn't figure out wat i need to do and where I need to modify.
    Regards,
    Raj

    Dear Hema,
    Could you please tell me how many internal tables you are using to store the data for display.
    I observerd that you have lt_stock and lt_mat2 declared in the part of the program
    >DATA: lv_stock TYPE lty_stock.
    >DATA: ltmat2 TYPE TABLE OF lty_mat.
    you have displayed above, however you are also using ls_stock and lv_stock .
    >IF p_ztotal = ' '. "line
    >WRITE 18 ls_stock-matnr.
    >WRITE 38 lv_stock-strgr.
    >
    >ELSEIF ztotal = 'S'.                             "subtotal
        >WRITE: 15 ls_stock-nrmit.
        >WRITE 32 lv_stock-dispo.                    
        >WRITE 43 lv_stock-fevor.                      
      >ELSE.                                            "total
        >WRITE: 15 'TOTAL'(016), ls_stock-prgrp.
    >
      >ENDIF.
    Are those for displaying some other information?
    Also the problem of display you are facing can also be because there are no records to be displayed which satisfies the selection criteria.
    Best Regards,
    Rajesh.
    Please reward points if found helpful.

  • Addtional field display in search help for plant in MM01/MM02/MM03

    Hi Experts,
    my requirment is that when see search values of ( F4) plant field in MM01/MM02/MM03 t.codes only avilable plant and name1 values . i need to display name2 values also. How i can search help of plant field should be enhanced.
    Regards
    Jaya

    Hi,
    You need to:
    1/ append ALV grid structure PLM_ALV_116 with field (in SE11)
    2/ in form WERKS_LISTE in include LMATEFLI you need to implement following modyfication selecting NAME2 for all the plants which are to be shown:
    FORM werks_liste.
    * convert into ALV list
      DATA: c_structure_name TYPE tabname VALUE 'PLM_ALV_116'.
      DATA: status_set TYPE slis_formname VALUE 'ALV_PF_STATUS1' .
      DATA: et_list TYPE TABLE OF gs_list_type_06 .
      DATA: l_et_list LIKE LINE OF et_list .
      DATA: l_seqwerk LIKE LINE OF seqwerk .
    * Prapering data to be display
    *  SET TITLEBAR  'TIT' WITH text-003. Note 821186
      G_titlebar = text-003.
      LOOP AT seqwerk INTO l_seqwerk  .
        MOVE-CORRESPONDING l_seqwerk TO l_et_list .
        APPEND l_et_list TO et_list .
      ENDLOOP .
    "-------->INSERT
      SELECT name2 FROM t001W
        INTO CORRESPONDING-FIELDS OF TABLE et_list
        FOR ALL ENTRIES IN et_list
        WHERE werks EQ et_list-werks.
    "<--------
    * Praper fields for ALV Disply
      PERFORM alv_list_fieldcat_create
            USING lt_fieldcat c_structure_name .
    * Diplay ALV list
      PERFORM alv_list_display TABLES et_list[]
                               USING  c_structure_name
                                      status_set
                                      space.
    ENDFORM.                    "WERKS_LISTE
    Regards,
    Marcin

  • SEARCH HELP FOR DATE

    Hi Gurus,
    I have a screen containing fields from an internal table. As I cannot use the 'from dictionary' option in the screen painter attributes, (since internal table field is not in ABAP dictionary), I'm not able to display the search help for a field of type DATS. How can i access the stabdard date search help for my type DATS internal table screen fields?
    assistance will be rewarded.
    thanx in advance.

    Hi,
    Try this:
    On your customizing screen flow,
    PROCESS ON VALUE-REQUEST.
    Field T_ZT-SDATE " your date field
    module create_dateselect.
    In your main program:
    module create_dateselect.
    data:p_date like sy-datum.
    CALL FUNCTION 'F4_DATE'
    EXPORTING
    holiday_calendar_id = 'CN'
    display = ' '
    IMPORTING
    select_date = p_date
    EXCEPTIONS
    OTHERS = 4.
    t_zt-sdate = p_date.
    endmodule.
    Regards,
    Pole

  • No search help for Custom field ZZKUKLA in vk11

    Hi,
    I have added the field KUKLA - Customer classification as a pricing field in KOMP. Created an access sequence as follows: Sales Org.-> Customer Classification - material group.
    In the creation of the record in VK11 I'm not getting the search help for the ZZKUKLA field. The thing is that if I'm in change or display, the search help for the field appears and lists the possible values.
    Anyone have a clue?
    Thanks!
    /Patrik

    Dear Pratik,
    Request you to first add Customer classification field (ZZKUKLA) in KOMK structure insted of structure KOMP. Becasue it is header structure filed. After add this new filed in KOMK structure, Add this new filed in your field catelog and than create table and new access sequence. Also request you to select KOMK structure in your access sequence against this new field Customer classification ZZKUKLA.
    Regards,
    Haresh Panara

  • Search Help for Business Partners in tcode UKM_BP

    Hi all,
    In tcode UKM_BP or UDM_BP, I have to create a new search help for the business partner field. Can anyone help me with this? Should I create my search help in collective search help BUPA? Or is there a better way to to this?
    Thanks in advance!

    Hi
    <b>As per SAP Recommendation, better to go for an Append search help.</b>
    Steps to do ->
    Open Search help - BUPA using SE11 transaction and click F5 Key. Click on F6 Key to create a new Append search help.
    Refer to following links
    <b>http://help.sap.com/saphelp_47x200/helpdata/en/1f/29ef5777df11d2959800a0c929b3c3/frameset.htm
    Search Help Topic
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • Search help for partner functions in the message to get organisation unit O

    hello,
    Depending on the Business partner category (Organisation, Person,Group) the search help of the partner function in a message should return the corresponding partner list.
    This is working fine for standard partner functions like SLFN0002 (reported by=P) SLFN0003 (support team=O). When doing a searchhelp we get a list of organisation for the "support team" and a list of users for "reported by". this is a normal behaviour.
    When copying the partner function SLFN0003 into a new ZLFN0003 and including it in the partner profile of the message the search help returns all business partners of category P but should return category O.  The function category 0016 (service team) is well defined for ZLFN, I guess the link to business partner category is made indirectly there but I might be wrong.
    Does anyone of you experience the same behaviour ?  Any idea how to correct this ?
    thank you for your help
    Xavier

    Hi,
    Collective search helps:- Combination of elementary search helps. When we need to fetch data based on multiple selection criteriau2019s. More than one tables are Selection from multiple tables
    Steps for creating collective search help.
    1) Enter the search help name and click on create.
    2) Choose Collective search help radio button option as the search help type.
    3) Enter the search help parameters.
    Note that there is no selection method to be entered for a collective search help.
    4) Instead of the selection method, we enter the included search helps for the collective search help.
    5)We need to assign parameters for each of the included search helps.
    6) Complete the parameter assignment by clicking on the push button.
    7) Collective search help offers the user to obtain F4 help using any of the included search helps.
    Hope this helps u.
    thanks

  • How to build search help for company code (BUK) in SRM

    Hello,
    I am new to SRM and was wondering if any have come across similar requirement. I am a workflow developer and we are building a custom table to derive deadline escalation timelines. We are also adding a field in our custom table for company code so that we can have company specific deadlines. table T001 is empty in SRM and hence we are unable to use F4 (search help). Is there existing functionality in SRM that gets this search from the backend ECC system and displays when F4 is pressed. How can I use that functinoality?
    Appreciate any info folks.
    Thanks again.
    Samir

    Hi
    Which SRM version are you using ?
    <b>Related links -></b>
    Re: Search Help on SRM front end screen
    F4 Help for WBS Element
    Re: Company Code defaults
    Re: Search help for Custom Item level field
    Custom field in SRM as a dropdown field with values stored in R/3
    Calendar help for Date i/p field in SRM 5.0 shopping cart
    Company code
    Problems assigning values via F4 or search help
    Also There is a standard table in SRM which contains Plant data ->
    <b>BBP_LOCMAP</b> (Mapping Table Business Partner --> System --> Location)
    Try creating a  custom search help based on this Table, defined as selection method and assign the same to the related field.
    Do let me know.
    Regards
    - Atul

  • Search Help for Company Code from Backend

    Hi experts,
    How can I make a SH for company code from backend system? I already made a SH for account assigments from backend with USAGE_SH_F4  functioanality, but i don't know whether I can use it for Company code or not? And how?
    Best Regards,
    Mikhail.

    I need functionality where I will manually maintain backend system, and then I need bind search help for this backend system with my input field for web dynpro. For Account Assignment I use this: http://scn.sap.com/community/srm/blog/2014/01/08/standard-account-assignment-search-helps-in-custom-srm-developments
    But what should I use for company code?

  • Select options: Restricting Value Display in Search Help Parameters

    Hello friends,
    I have following requirement.
    I have declared one select option. On that select options I'am having different search help paremeters on which I can restrict the search help values display.
    Can I specify the restriction in search help at the time of programming so that it would display only the values that follows the given restriction?
    I can ofcourse do this by AT SELECTION-SCREEN ON VALUE REQUEST, however I am trying to avoid this.
    How can I proceed?
    Points will be rewarded generously.
    Best Regards,
    Navin

    hI
    SEE THIS CODE
    **************DATA TYPES DECLARATION **********************
    TABLES: HRP1001, HRP1026, HRP1000,PCHDY.
    TYPE-POOLS SLIS.
    TYPES :BEGIN OF ST_OUTPUT,
            COUNT TYPE STRING,
            OBJID TYPE HRP1001-OBJID,
            STEXT TYPE HRP1000-STEXT,
            BEGDA TYPE HRP1000-BEGDA,
            ENDDA TYPE HRP1000-ENDDA,
            CANCRT TYPE T77CRT-CANCRT,
            AEDTM TYPE HRP1026-AEDTM,
            UNAME TYPE HRP1026-UNAME,
            LSTEXT TYPE HRP1000-STEXT,
           RINVT TYPE T777V-RINVT,
           END OF ST_OUTPUT.
    TYPES: BEGIN OF ST_HRP1000,
            OBJID TYPE HRP1001-OBJID,
            STEXT TYPE HRP1000-STEXT,
           END OF ST_HRP1000.
    TYPES : BEGIN OF ST_HRP1001,
             OTYPE TYPE HRP1001-OTYPE,
             OBJID TYPE HRP1001-OBJID,
             RELAT type hrp1001-RELAT,
             BEGDA TYPE HRP1001-BEGDA,
             ENDDA TYPE HRP1001-ENDDA,
             SCLAS TYPE HRP1001-SCLAS,
             SOBID TYPE HRP1001-SOBID,
            END OF ST_HRP1001.
    TYPES : BEGIN OF ST_HRP1026,
             OTYPE TYPE HRP1026-OTYPE,
             OBJID TYPE HRP1001-OBJID,
             AEDTM TYPE HRP1026-AEDTM,
             UNAME TYPE HRP1026-UNAME,
             DELET TYPE HRP1026-DELET,
             CANCR TYPE HRP1026-CANCR,
            END OF ST_HRP1026.
    TYPES : BEGIN OF ST_REASON,
             CANCR TYPE HRP1026-CANCR,
             CANCRT TYPE T77CRT-CANCRT,
            END OF ST_REASON.
    TYPES : BEGIN OF ST_SOBID,
             OTYPE TYPE HRP1001-OTYPE,
             OBJID TYPE HRP1001-OBJID,
             RELAT type hrp1001-OBJID,
             BEGDA TYPE HRP1001-BEGDA,
             ENDDA TYPE HRP1001-ENDDA,
             SCLAS TYPE HRP1001-SCLAS,
             SOBID TYPE HRP1001-OBJID,
            END OF ST_SOBID.
    TYPES : BEGIN OF ST_OBJID,
             OBJID TYPE HRP1001-OBJID,
            END OF ST_OBJID.
    TYPES : BEGIN OF ST_LOCATION,
             OTYPE TYPE HRP1001-OTYPE,
             OBJID TYPE HRP1001-OBJID,
             RSIGN TYPE HRP1001-RSIGN,
             RELAT TYPE HRP1001-RELAT,
             SCLAS TYPE HRP1001-SCLAS,
             SOBID TYPE HRP1001-SOBID,
            END OF ST_LOCATION.
    TYPES : BEGIN OF ST_LOCATION1,
             OTYPE TYPE HRP1001-OTYPE,
             OBJID TYPE HRP1001-OBJID,
             RSIGN TYPE HRP1001-RSIGN,
             RELAT TYPE HRP1001-RELAT,
             SCLAS TYPE HRP1001-SCLAS,
             SOBID TYPE HRP1001-OBJID,
            END OF ST_LOCATION1.
    TYPES : BEGIN OF ST_LSTEXT,
             OTYPE TYPE HRP1000-OTYPE,
             OBJID TYPE HRP1000-OBJID,
             LSTEXT TYPE HRP1000-STEXT,
            END OF ST_LSTEXT.
    TYPES : BEGIN OF ST_OBJID_SH,
             OTYPE TYPE HRP1000-OTYPE,
             OBJID TYPE HRP1000-OBJID,
            END OF ST_OBJID_SH.
    DATA : IT_OBJID_SH TYPE STANDARD TABLE OF ST_OBJID_SH.
    DATA : WA_OBJID_SH TYPE ST_OBJID_SH.
    DATA : IT_LSTEXT TYPE STANDARD TABLE OF ST_LSTEXT.              "TOS STORE THE TEXT OF COURCE LOCATION
    DATA : WA_LSTEXT TYPE ST_LSTEXT.
    DATA : IT_LOCATION TYPE STANDARD TABLE OF ST_LOCATION.          " TO STORE THE LOCATION OF COURCE
    DATA : WA_LOCATION TYPE ST_LOCATION.
    DATA : IT_LOCATION1 TYPE STANDARD TABLE OF ST_LOCATION1.        " TO CONVERT SOBID INTO OBJID FOR COURCE LOCATION
    DATA : WA_LOCATION1 TYPE ST_LOCATION1.
    DATA : IT_SOBID TYPE STANDARD TABLE OF ST_SOBID.                " TO CHANGE THE SOBID OF HRP1001 TO OBJID OF HRP1026
    DATA : WA_SOBID TYPE ST_SOBID.                                   " BY USING FOR ALL ENTRIES
    DATA : IT_REASON TYPE STANDARD TABLE OF ST_REASON.              "TO STORE T HE REASON FOR CANCELL TEXT
    DATA : WA_REASON TYPE ST_REASON.
    DATA : IT_OUTPUT TYPE STANDARD TABLE OF ST_OUTPUT.               "OUTPUT FEILDS OF REPORT.
    DATA : WA_OUTPUT TYPE ST_OUTPUT.
    DATA : IT_OUTPUT_1 TYPE STANDARD TABLE OF ST_OUTPUT.               " TEMP OUTPUT FEILDS OF REPORT.
    DATA : WA_OUTPUT_1 TYPE ST_OUTPUT.
    DATA : IT_HRP1000 TYPE STANDARD TABLE OF ST_HRP1000.             "DATA FROM HRP1000 TABLE
    DATA : WA_HRP1000 TYPE ST_HRP1000.
    DATA : IT_HRP1001 TYPE STANDARD TABLE OF ST_HRP1001.             "DATA FROM HRP1001 TABLE
    DATA : WA_HRP1001 TYPE ST_HRP1001.
    DATA : IT_HRP1026 TYPE STANDARD TABLE OF ST_HRP1026.              "DATA FROM HRP1026 TABLE
    DATA : WA_HRP1026 TYPE ST_HRP1026.
    DATA : IT_OBJID TYPE STANDARD TABLE OF ST_OBJID.                  " TO STORE THE OBJID OF HRP1001
    DATA : WA_OBJID TYPE ST_OBJID.
    DATA: WS_FCAT    TYPE SLIS_FIELDCAT_ALV .                         " FEILDCATALOG FOR ALV REPORT
    DATA: IN_FCAT    TYPE SLIS_T_FIELDCAT_ALV.
    DATA: W_LAYOUT   TYPE SLIS_LAYOUT_ALV.
    DATA : LV_COUNT TYPE I.                                           "FEILD FOR SERIAL NUMBER
    ***************************END OF DATA DECLARATION******************************************
    ************SELECTION SCREEN DESIGN************************
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    *SELECT-OPTIONS : S_OTYPE FOR HRP1001-OTYPE NO INTERVALS .
    SELECT-OPTIONS : S_OBJID FOR HRP1001-OBJID NO INTERVALS .
    SELECT-OPTIONS : DATE FOR SY-DATUM NO-EXTENSION OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1.
    ***********END OF SELECTION SCREEN DESIGN******************
    *****INITIALIZATION VENT TO ASIGN DEFAULT VALUES TO OTYPE
    *INITIALIZATION.
    S_OTYPE-LOW = 'D'.*
    S_OTYPE-SIGN = 'I'.*
    S_OTYPE-OPTION = 'EQ'.*
    APPEND S_OTYPE.*
    CLEAR S_OTYPE.*
    **************END OF EVENT INITIALIZATION******************
    **********VALIDATION FOR SCREEN FIELDS*********************
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
    IF S_OBJID IS NOT INITIAL.*
        SELECT OTYPE OBJID FROM HRP1000
                     INTO TABLE IT_OBJID_SH
                     WHERE OTYPE = 'D'.
    IF SY-SUBRC EQ 0.
    SEARCH HELP FOR QUALIFICATION.*
        CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
                 DDIC_STRUCTURE         = ' '*
            RETFIELD               =  'OBJID'
                 PVALKEY                = ' '*
           DYNPPROG               = SY-REPID
           DYNPNR                 = SY-DYNNR
           DYNPROFIELD            = 'S_OBJID'
                 STEPL                  = 0*
                 WINDOW_TITLE           =*
                 VALUE                  = ' '*
           VALUE_ORG              = 'S'
                 MULTIPLE_CHOICE        = ' '*
                 DISPLAY                = ' '*
                 CALLBACK_PROGRAM       = ' '*
                 CALLBACK_FORM          = ' '*
                 MARK_TAB               =*
               IMPORTING*
                 USER_RESET             =*
          TABLES
            VALUE_TAB              =  IT_OBJID_SH
                 FIELD_TAB              =*
                 RETURN_TAB             = RETURN_TAB*
                 DYNPFLD_MAPPING        =*
               EXCEPTIONS*
                 PARAMETER_ERROR        = 1*
                 NO_VALUES_FOUND        = 2*
                 OTHERS                 = 3*
        IF SY-SUBRC <> 0.
              MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO*
                      WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.*
        ENDIF.
      ENDIF.

  • CLM How to add search-help for extension field(New Company Field) in MA.

    Hi all,
         Based on demand,I need to extend a new field(Company) in Master Agreement.
    But I do not know how to add search-help for this field,just like User Accont page.
    Anyone can help me ?thank you very muck.
    Regards,
    JackyCheng

    Hello Jacky,
    To combine all the answers above and have a topic-based reply please go through the below steps:
    #1. Inactivate the current extension field Company (I see it is actually a String value and this is not what you want to have)
    #2. Go to Setup -> System Setup -> Extension Reference Types
    Check if you already have a Company reference type
    If not, create a new Extension Reference Type for Class Company. Fill in all required information.
    #3. Create a new Extension Attribute
    Select Data Type: Object Reference
    Now you can add the Company type as reference
    Regards,
    Bogdan Toma

  • Creating search help for AFNAM, and display the hit list with values only

    Hi guys,
    I have created a search help for AFNAM, but the hit list displays all even if it is blank.
    I want to display in the hit list the AFNAM with values and do not diplay the blank values...
    Is it possible? How am i going to do it?
    Thanks!
    Mark

    Hi Mark,
    After selecting data use this statement.
    DELETE it_table WHERE AFNAM is initial.
    Regards,
    Suneel G

  • Search Help for requisitioner in T/code ME51N

    Dear all,
    Is there any way to include the search help for requsitioner ME51N?
    Thank you

    Dear all
    Is there any way to include the search help for requsitioner in purchase requisition - ME51N?
    Thank you

  • Search Help Exit in Modal Display of Search Help

    I have created a new search help within the collective search help kred (Vendors/Creditors).  The new search help shows up in FK01,2,3 as a separate tab and uses value restriction.  Furthermore, I have written a Search Help Exit for it.  THE PROBLEM:  Everything works fine when in Control(amodal) mode (menu path: help -> settings -> F4 help), but has a problem when in Dialog(modal) mode.  The Filter button produces a blank dialog box when selected.  Callcontrol-step is PRESEL after the button is selected, do I need to use some function module for this callcontrol-step in the exit to get Filter functionality?
    Message was edited by: Jason DeLuca

    closed

Maybe you are looking for

  • Howto close all open windows?

    Hi, I am developing some kind of library, and I would like to close all open windows, dialogs, tooltips in the error case. The problem is I don't have control about the windows currently open, many are instantiated by plug-ins. Is there a way to get

  • Error syncing with mail

    How do I fix? What is a "record identifier"?

  • 'Delete' KeyListener

    Hi, I have this function to add the 'delete key pressed' event. But, the problem is that I have about 30 text input fields and when I press the delete key to delete a character in one of these input fields it triggers this function. So, What I need i

  • Best practice for sharing LOV's over multiple Application Definitions?

    We want to define/generate (complex) LOV's in 1 place and use them in multiple sub-applications (different application definition files). What is the best practive to accomplish this? Frank

  • IMessage is charged as SMS several Times

    Even when the adressfield in the Messages-App is blue (what means that iMessage is given)  the receiver does not get the sended pictures. They only receive empty green bubbles. Further it is charged as a regular SMS to me. No matter if I have my phon