List Of Business Partner

Hi friends,
        I created a new for replacing List of business partners form.I need to display the newly created form when i press tab key from customer textbox of A/R Invoice form.For that my code is
   if (pVal.ItemUID == "4") & (pVal.EventType == PbouiCOM.BoEventTypes.et_KEY_DOWN) &  (pVal.Before_Action == true  & pVal.CharPressed == 9)
                                BubbleEvent = false;
                                string xmlFile = "";
                                xmlFile = "ListOfBusinessPartners.srf";
                                oCommonmethods.LoadFromXML(ref xmlFile, SBO_Application);
The problem is when i pressed the tab key both the forms are coming ...Please suggest solution for this problem.
Nisha

Hello Nisha,
Are you going to filter some customer in A/R invoice when type tab in cardcode. Actually you cann't change the system choosefromlist, but you can set the condition for it, It is unnecessary to create a new BP list form for it.
try the following code:
If pVal.FormType = 139 And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST Then
            If pVal.ItemUID = "4" Then
                If pVal.InnerEvent And pVal.Before_Action Then
                    BubbleEvent = False
                    Dim oForm As SAPbouiCOM.Form
                    oForm = SBO_Application.Forms.Item(FormUID)
                    Dim oCons As SAPbouiCOM.Conditions                   
                    Dim oCFL As SAPbouiCOM.ChooseFromList
                    'oCFL = oCFLs.Add(oCFLCreationParams)
                    oCFL = oForm.ChooseFromLists.Item("2")
                    oCons = oCFL.GetConditions()
                    'Note: Add the condition only once.
                    If 0 = oCons.Count Then
                        Dim oCon As SAPbouiCOM.Condition
                        oCon = oCons.Add()
                        oCon.Alias = "Cardcode"
                        oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                        oCon.CondVal = "C0001"
                        'Set your own condition here instead of the system conditions
                        oCFL.SetConditions(oCons)
                    End If
                    BubbleEvent = True
                End If
            End If
        End If
Or it doesn't meet your requirement, you would like to block the CFL of B1, you may set BubbleEvent = fale in Before Action for ChooseFromList Event. But this is the last option.
Kind Regards
-Yatsea
Edited by: Yatsea Li on Oct 10, 2008 4:54 PM

Similar Messages

  • Prevent users from printing the List of Business Partner window

    Hi All
    I have had this request and not sure if it possible.
    He wants to prevent the users from printing the List of business partner.
    That is when you do a search on the marketing documents.
    when do a search it brings up the window, List of Business Partners.
    they can go to file print...choose table and print the list of BP.
    is there anyway to prevent that?
    Thank you
    Jerusha

    is it a smartform
    You have to disable from ADOBE end
    sfpoutputparams-NOPRINT = X
    when calling the function module FP_JOB_OPEN.
    Unfortunately the PDF converter, which converts the output
    of a Smartform, does not allow to disable the print button.
    Please see note 841850 about this. Only the PDF-based forms
    support this features (class CL_FP_PDF_OBJECT also belongs
    to the PDF-based forms).

  • Post Code : Want to determine the list of Business Partner !!!

    Hi all
       I have given Post Code of BP.
       I want to determine the <b>list of Business Partner</b> present in the specified <b>Post Code Location</b>.
      Is their any direct way around to determine the list of
    Business Partner ?  or Please let me know the possible ways to determine the BPs with the given Post Code !!!!
    Many Thanks
    Jack

    Hi Jack,
    Have a look at BAPI_BUPA_SEARCH function module.
    Enter the Post Code in the ADDRESSDATA structure and it will return list of Business Partners for the same.
    Also ,have a look at BUPA_PARTNER_CONTACT_SEARCH function module.
    <b>Reward points if it helps.</b>
    Message was edited by: Amit Mishra

  • Multiply price list per Business partner

    Hi
    does any one come accross information on how i assign Business partner 2 or more price list
    basicly what i want to do is  to give diffrent factors (price list) for diffrent Group of items , so each BP will have diffrent disscount for each group of items in the same time .
    Example :
    2 items from group  A will have Price List  50% disscount
    3 items from group  B will have Price List  45% disscount
    i want to assign  both Price List  for the same bussnies partner.
    Thanks
    yanivh

    Hi Zohar,
    I did something a while ago for a customer, the basics of it were as follows:
    Create a UDT to store the discount matrix
    Add a UDF to the UDT so that you can store the Customer Group
    Add a UDF to the UDT so that you can store the Item Group
    Add a UDF to the UDT so that you can store the Discount % for the combination of Customer & Item
    Add a formatted search to the Customer Group column in the UDT so you can lookup the OCRG table
    Add a formatted search to the Item Group column in the UDT so you can lookup the OITB table
    Then add a formatted search to the Discount % field so that it goes and gets the Discount % from the UDT where the Item Group is the Item group from the row item $\[$38.1.0\] and get the customer group from the BP on the form $\[$4.CardCode\]
    Hopefully that should give you a starting point for this and allow you to work out the rest yourself.
    Regards,
    Adrian
    Sorry, a couple of extra points, you can simplify this is you don't need to know the Customer Groups (e.g. all customers get the same discount %'s for the item groups)  or you can make this as complicated as you need it to be.
    Edited by: Adrian Johnson on Oct 20, 2009 1:45 PM

  • Problem with External List Management; Business Partner Type

    Hello experts;
    I created a mapping format for importing a simple notepad file. In the ELM i see all my fields populated correctly. Once i start the importing process it goes smoothly with no mistakes at all (green lights). The bp is actually imported and i can see it in the BP transaction with most of the fields correctly imported BUT the business partner type (PERS_PERS_BPKIND in ELM). For this field i have a Constant Assignment which is always HH and because of that i don't have it in my notepad file but i pass the value directly from ELM constant assignement=HH. Unfortunately this value is not copied. Any idea? Am i doing something wrong or i'm loosing some steps in between?
    Thank you very much

    Hello,
    the issue is most probably related to missing authorizations. As you know the processing in external list management happens in the background using WF-BATCH user.
    Please check the following notes:
    708557 - 'ELM: Troubleshooting' point 1.
    https://service.sap.com/sap/support/notes/708557
    1912414 - ELM upload: Error in the map data-step
    https://service.sap.com/sap/support/notes/1912414
    1664498 - External List will not execute
    https://service.sap.com/sap/support/notes/1664498
    The information provided in the notes should help to solve the issue.
    best regards,
    Johannes

  • Which BAPI to list all Business Partner on CRM?

    Hi All,
    Can someone let me know the BAPI which lists all the business partner available on particular CRM system based on some criterion such as country or date Range.
    Regards,
    Naveen

    Use BAPI_BUPA_SEARCH
    It takes input parameters such as:
    Partner Number
    Business Partner Role,
    Partner Category (Person, Org or Group).
    First Name, Last Name
    Telephone
    Email
    Address data etc
    Easwar Ram
    http://www.parxlns.com

  • Extract list of Business Partner attachments from CRM to BW

    Hi All.
    I have a need to extract from CRM to BW a list of documents (Name only, not the actual document) that are attached to CRM Business Partners.  Does anyone know of a business content datasource that would provide this?  Lacking that, would anyone know on which tables this information is stored in CRM?
    Thanks in advance.
    Casey

    have a look at the MDM IT scenario Configuration Guide: https://websmp110.sap-ag.de/~sapidb/011000358700004656452006E
    This document describes how you setup bupa data extraction from CRM to MDM, which is actually done via Proxies and not via IDocs.
    Regards
    Christine

  • Block Business Partner to move in

    Hello,
    I want to block a list of  Business Partner to move in.
    is there a standart way to do it?
    what do you recommend ?
    Noga

    I don't know about how to block the business partner.
    but we can set deleation flag to these Business partners by executing this t-code  BUPA_PRE_DA.
    While createing move-in we can check this flag by enhancements.
    Regards,
    Siva

  • Delete and Restore Business Partner

    Hi all,
    I was able to delete business partner via BUPA_DEL, I want to ask some question:
    How to restore deleted business partner?
    How to get list of business partner that deleted via BUPA_DEL, who is perform deletion and when its deleted? Any report for this need?
    Thank you

    Hi Agus,
    There are no way to restore data deleted by this transaction.
    The only way is restore the backup if the BASIS team activated in your enviroment.
    Regards.

  • Multiple accounts of Business Partner

    Hi,
    I am trying to pick up multiple bank accounts for a particular Business Partner. I see that the external current account is in BKK42  and would like to pick up all the external current account related to particular Business Partner.
    Any help will be rewarded with points
    Edited by: Philip Eller on May 29, 2008 8:45 AM
    Edited by: Philip Eller on Jun 12, 2008 9:19 AM*
    Edited by: Philip Eller on Jun 26, 2008 11:08 AM**

    Hello,
    As I understand from your query, you need list of Business Partner Bank Accounts, in order to choose for the transaction.
    For Example:
    Customer XX has 3 bank accounts.
    In BP master under Payment Terms--> Bank Details you would Define the Bank Accounts and you would set one out of 3 as default.
    In transaction level (Incoming payments), though default takes, you can always choose the defined bank Accounts of your choice.
    If there is any understanding gap please explain.
    Regards,
    Raghu N
    SAP Business One Forums Team

  • To Get the list of sales orders for a Business partner in CRM.

    Hi all
    Is there any Function module or BAPI to get the Sales orders for a Business partner in CRM. I know there is a BAPI to get the list of sales orders for a customer in ECC, but I donu2019t know how to get the list of sales orders for a Business Partner in CRM.
    Can anybody tell me if there is an inbuilt function module or BAPI available?
    If not how can I pick the sales orders of a business partner in CRM? Between which tables should I apply a join and write SELECT statement to get list of sales orders for a business partner in CRM.

    Hi Jessica,
    Try CRM function module CRM_BUPA_READ_ORDER_OBJECTS.
    You'll get a table with the documents associated to that partner, where you can work on.
    Kind regards.

  • Problem with Business Partner List - State

    I'm using SAP B1 2007A. We recently added several International countries and their regions (states). We are having a problem with the state that appears on the Business Partner List (list that appears when you search using part of a company name or *). The query that gets the data does not take into consideration the Country where the state is located. The result is that the query returns the first state it finds based on the state code not the state associated with the country.
    Is there a fix for this query or is there a way I can adjust the query to get the correct state results in the Business Partner List.
    Thanks,
    Mark

    No. Different state name but same state code.
    Ex:
    GA - Georgia in USA
    GA - Galapagos Islands in Galapagos Islands
    When searching for the Business Partner the city is Atlanta the Country is USA but the State is Galapagos Islands not Georgia.

  • List service tickets and activities by Business Partner

    Does anyone know of a function / BAPI that can be passed Business Partner ID and list all Service Tickets and activities associated with it.  Many thanks

    The only FM I found list the order guids and is CRM_BUPA_READ_ORDER_OBJECTS.
    I would advise you to pass the date from and to as well, else this might create performance problems.

  • Business Partner Function Exclusion List

    Does anybody know what is the business partner function exclusion list? How to maintain it?

    Hi
    Can you please elaborate your problem?
    as per my understanding if you are replicating or creating BP in crm system the partner functions tab should automatically exclede selected partner functions.
    is it correct?
    Regards
    Srinivas Maddineni

  • Blocked Business Partner List

    Hi,
    can anyone help me to find how this blocked list updated?
    1. Some of the business partner updated automatically in this blocke list
    2.  Some business partners added into blocked list after SPL screening.
    Also please confirm the below questions
    1. when ever a customer/document blocked in SPL screening then BP will be automatically added into blocked list.
    2. If yes then after releasing document in SPL screening, i have to release BP also from Blocked list to avoid feature blocking?
    Thanks in advance

    it would be helpful if u can you provide the answer for that
    thank you
    bharadwaj

Maybe you are looking for

  • Unable to send fax from computer

    Hi, I'm unable to send faxes from my computer (e.g, from Word). I get a message: "The device is disconnected or powered off", which is not true. The printer is an HP  LaserJet 1536dnf MFP. The OS is Windows 7 Ultimate, 64-bit, with 8 GB RAM. I have u

  • How to apply one animation to play 30 different images?

    I'm brand new to Edge Animate and I'm struggling to find the answer to this. I have an image that comes on to the screen from the left, then stops, then user clicks a button and the image exits stage right and next image needs to come on from stage l

  • Unwanted blank page

    While working on one of the pages or the Master Page (I'm not sure which), in my document, I inadvertently typed a sequence of keys or clicked with my mouse on an option that some how ads a new page to my document every time I add a new element to th

  • Levels vs auto tone

    Is there a way to set auto tone to work like a modest levels adjustment? I simply can't use auto tone for anything and I am having to apply my levels adjustment by editing in Photoshop. There has to be a better way to do this. thanks

  • Deleting Line from Return Document (error occurs)

    Does SBO Allows to delete a line from return document using the SDK I tried to delete a line but an error occurs Sincerely yours Riade Asleh