How To - ChooseFromList - Business Partner Contacts

Hi,
Does anyone know how to define/create a ChooseFromList (in XML or via code) with BP contacts that can have conditions to filter out the list based on CardCode?  I have looked through the BoLinkedObject list and don't see contacts in there.  I have also troed to set the ObjectType to "OCPR" but SAP raises an Invalid ObjectType error.
Any ideas?
Thanks,
David

Hi David,
Try instead of ObjectType = "OCPR" with ObjectType = "11" (obtained with this query "SELECT ObjType FROM OCPR"). That should do it. To have it filtered with the CardCode, just add a condition like this:
oCon.Alias = "CardCode"
oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
oCon.CondVal = "C00001"
The alias is just the field name.
Hope this helps,
Ian

Similar Messages

  • How to create business partner temblet

    Dear friends,
            how to create business partner temblet .
      please send the following mail address
       [email protected]
                      Thangs in advance
    Regards,
    S.Siva

    hi
    Refer to the links below might get u some info
    General Business Partner-initial screen
    http://help.sap.com/erp2005_ehp_02/helpdata/en/39/0b77a9df3011d189fc0000e829fbbd/frameset.htm
    Business partner as Template
    http://help.sap.com/erp2005_ehp_02/helpdata/en/2f/3a2a09969611d2ac750000e829fbfe/frameset.htm
    Business Partner
    http://help.sap.com/erp2005_ehp_02/helpdata/en/43/a0dfe510d825e5e10000000a1553f7/frameset.htm
    Creating or Changing Master data Template
    http://help.sap.com/erp2005_ehp_02/helpdata/en/c7/adcef39296f94e8ef7077ce160200e/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/57/92f63aad7e3014e10000000a11402f/content.htm
    http://b1up.net/index.php?id=modules
    Reward if USeful
    Thanx & Regards.
    Naren..

  • How to Create Business Partner with  fix number in t-code :BP

    Dear SIr,
    Normally I will set number range for auto  to create Business Partner. In case , If we would like to crea How to Create Business Partner with  fix number in t-code :BP , howe to do?
    Please kindly advise.
    THnak you and best regards,
    Vimol

    Dear Shobhit,
    How to put the thread as you mentioned.
    Best regards,

  • How to create business partner in solman

    How to create business partner in solman?...

    Hi,
    Check pages 8 - 11 in this document.
    https://websmp209.sap-ag.de/~sapidb/011000358700001197002005E/Addtional_Information.pdf
    This would solve your problem.
    feel free to revert back.
    --Ragu

  • Business Partner Contacts Define new is blank when addon runs

    version 2007 PL 15
    When my addon is running the business partner contacts tab is missing the "Define New" option and contacts cannot be added.
    When the addon is stopped then the businness partner contacts tab functions normally.
    There is nothing in the addon that affects or references the business partner form, and the event filters have been set carefully to exclude any unnecessary events.
    Has anyone had this strange problem or does anyone have any ideas?
    Thanks,
    Mel

    Mel,
    the problem must be in your addon. I think that you dont catch correctly the events or you work on incorrect form. For solution I recomend to find out the item no in BP contact (its 13) and search  through your code where is the 13 and check if is it correct. Maybe the problem is, that contacts in BP are only in ok form mode - check if have somewhere in code changing of formmode for BP form.
    Petr

  • How to search Business Partner filter by country

    As topic above, how to search Business Partner filter by country, which table is involve?
    Appreciate your kind effort
    Thx

    Hi
    1) you can use the function module 'BAPI_BUPA_SEARCH' to filter BP by country. In the address data field, you can enter country code (say IN for India) and this will return you the list of BP's belonging to the country.
    2) You can use view BBPV_BUPA_ADDR to see the BP's for a particular country.
    for this view, if you look at the "Table/Join Conditions" tab, you can see the underlying tables used for join ->
    BUT000 ->BuPA Master
    BUT020 ->BP Address table
    ADRC ->Address services.
    Hope the above info helps.
    Regards
    Nisha

  • How to create Business Partner in CRM 2007

    Hi gurus!! how are you? I´m a rooky to sap crm and I would like your help and guidance to know how can I create a Business Partners and Roles.
    Whatever detailed help or documentation you may give me will be rewarded =)
    Thanks a lot in advanced!!!
    Lorena.

    Hello!
    In the WebUI there are different Business Partner Types (Person, Organization, Group).
    From user perspective you can differentiate between:
    - Corporate Account (Organization)
    - Individual Account (Person)
    - Group Account (Group)
    - Employee (Person)
    - Contact Person (Relationship) (Person)
    All these Business Partner have an own Overview-Page. Usually you can create the Business Partner starting from the related Search-Result-List (by default the new-button is not available for Employees as a Sales Rep usually doesnu2019t create new Employees u2026).
    You can assign Business Partner Roles to these Business Partners (there is an own Assignment-Block within every Overview-Page of a Business Partner). Some roles will also get assigned automatically, if you create this Business Partner.
    However it is possible to assign multiple roles to the Business Partner. Itu2019s also possible to have different Views of one Business Partner. E. g. an Individual Account can also be a Contact Person for another Account. But here it is not the Role determining the View it is the Contact Person Relationship doing this.
    The Role itself also has an impact on the UI of the Business Partner as dependent on the Roles some Assignment-Blocks are displayed or not.
    I hope this was not confusing u2026
    Best regards
    Arno

  • How can I Business partner Number create manully or Externally In SRM 7.0?

    Hello all, I am working in SRM 7.0
    1. I am trying to replicate Employee from backend system to SRM, but I want that all Employee have same number in two  systems, for example:
    Employee 1000 in backend shows as 1000(Employee ID or Business Partner ID) in SRM
    How can I do it?
    2. How can I set Busines Partner Number range as external?
    3. There are several Business Partners in SRM 7.0
        For Example, Internal Bp(Employee, Purchasing Company) and External BP(Invocing Party and Contact Person and Employee so on).
        Is it possible to use each Business partner External Number Range separately?
        Ex) 0000000001 ~ 0000000100 : Employee Number
              0000000101 ~ 0000000200 : Contact Person
              0000000900 ~ 0000001000 : Supplier         
    Thanks in advance                    
    Chris.

    My opinion is standard function not support. Modification(not Enhancment) is necessary....

  • How to create business partner with Role : "Loyalty Partner"

    Hello,
    During the creation of Loyalty Program, we can add loyalty partners which are Business Partners created with Role --> "Loyalty Partner". In standard package I could not see the the Role "Loyalty Partner"
    For this role to be available during the creation of Business Partner, does any business functionality needs to be activated or should we create new role "Loyalty Partner" through BDT
    Thanks
    Ram

    Hi Vishal
    Thanks for your explanation but I think it has not answered my question fully.
    Yes, I do agree that only Loyalty Partners can be added in a Loyalty Program and those are Business Partners.
    If you read through my question, I have asked how the system differentiates between Business Partners for example a sold to party and Loyalty Partner.  In other words, which part of data in the Business Partner is the one which actually differentiates a Loyal Partner with other Business Partners. I think, just creating a Business Partner with Role --> Loyaly Partner will not serve our purpose.
    The BP view is the same and the BP Role category does not contain my customization to differentiate this
    Hope you understand what I am trying to say. Please let me know if you have any questions !!
    Regards
    Ram

  • How to create business partner in a specific role

    Hi experts,
    We are implementing CRM 4.0 Business package in EP 7.0.
    When we checked the business partner creation screen, we couldnt find an option to create the business partner in a specific role (eg, prospect, sold to party, ship to party etc).
    When we create a business partner, it is automatically added to the "business partner - general" role.
    Can anyone suggest us how to enable the option of adding to different roles from the BP creation screen itself?
    Thanks alot in advance
    Shobin

    Hi Shobin
    For Creating a BP with only one specific role.
    You can enhance the BP by creating a transaction code that allows you to create BP only with specific roles.
    Tx code: to create a transaction code is SE93
    To assign the Tx code to a specific role related activity: BUSF
    Hope this would help.
    Regards,
    Rekha Dadwal
    <b>You gain a point for every point that you reward. So reward helpful answers generously</b>

  • How To upload business partner into sap crm using xif Adapter by XML File

    HI Guru's,
                 I got Requirement to upload the business partner information into sap crm system using xif adapters from xml file , please give  imformation how can achive this .
    Regards,
    Naveen Kumar MS

    Dear Naveen,
    please see the information given in note 448742 General notes on CRM external interfaces!
    Hope you can find the information!
    Regards, Gerhard

  • How to change Business partner PERSON in GTS system

    Hi,
    I have developed an program to create business partner (Person, Contact person and Organization). But now I have to include code for changing Business partner.
    I have used BAPI_BUPA_FS_CREATE_FROM_DATA2   BAPI for Person creation. But now I am not finding any BAPI to change PERSON business partner.
    Let me know a BAPI or any other way to change PERSON BP.
    Thanks
    Atanu Das

    Hi experts,
    I am facing the exact same issue and was wondering:
    1.  Are there specific authorization objects that I can use to limit access on the web UI based on BP roles?  I found authorization object B_BUPA_RLT.  But does this work for just SAP GUI or web GUI as well?
    2.  I have read threads relating to another solution, to use a BADI to alternate configuration views.  Are there any other alternative solutions that are purely configuration based?
    Vinay,
    Could you provide details on which solution you eventually went with to solve your problem?
    Thanks,
    jo

  • How to get business partner in BUPT for BP screen enhancement ??

    I have enhanced Business partner transaction screen using BDT - BUPT to show a sub screen, my problem is that I don't know how to get the BP no at subscreen level. Please help.

    A subscreen should have the main screen data available, so you just have to refer to the main screen's BP field.

  • How to delete  Business partner in solution manger.

    hi friends
    I have two business partner BP1 & BP 2 assigned to  xxx user(1 user).
    but i want to delete the BP1 and it was not in use.
    i have tried below transcation but i can not delete 
    Program : BUPA_TEST_DELETE
    tcode : BUPA_DEL
    > given BP1  and executed
    > i am not able to delete and giving below message.
    Delete Business Partners
    No Business Partners Deleted
    can any one knew how to delete
    regards
    raja

    Hello Raja,
    Have you checked and implemented the following notes (check they are correct for your release and sp level)
    BUPA_DEL
    SAP Notes:
    893900  Report for inconsistencies b/w BUT000 &  relationships
    1383199 BUPA_DEL: Fatal error stops deletion process      
    1393366
    1111635  
    Apoloigues for the list of notes but it seems any inconsistency in details for the business partner may block the deletion and there are many corrections linked to this transaction.
    Hope the above help,
    Paul

  • How to restrict business partner in selection help

    I want to restrict the business partner category shen selecting business partners, for example I only want the partners with the category 'organization' will be in the list, how to do?
    Bst regards,

    Hi,
    Goto the particular Search Help and in the Definition of that Search help, provide the default value for "BP TYPE " as the "ORG BP". Then, when ever you put  F4, only the ORG BP will be populated in the list.
    Thx,
    Waseem.

Maybe you are looking for