How to transform a business partner (t-code BP) into a customer ? (XD01)

Hi expert,
I'm trying to figure out a way to transform (or duplicate) a BP (data are in table BUT000) into a customer (data in table KNA1) in sap ECC6.0. Is there a BAPI or any other way to do this ? Any help would be highly appreciated !
Thank you !
C.K.

Hi Sai,
Thank you for the insightful answer, to my knowledge Bdocs require CRM, however we don't have CRM, just SAP ECC; I would like to do this within ECC itself.
Or is there a way to trigger bdocs nonetheless ?
Thanks !
C.K.

Similar Messages

  • How to create a business partner whose BP category is person in crm portal?

    How to create a business partner whose BP category is person in crm portal.When I use Partner and account management>Partner function in portal,I create a new partner,the partner category is default organization,can not change.
    But I what to create a partner with the partner category person,how can I do it?
    Is there any other special function to ceate a BP in portal matching the function  with T code Bup1(create BP)in sap gui?
    By the way,I have the whole privileges in portal and crm.
    thanks

    Hello,
    Standard CRM PC UI application offers three options when you push 'New' button: 'Person', 'Organization' and 'Group' (combobox appears). In your case, 'Person' should be selected.
    p.s. If you don't see combobox mentioned above, it could be security issue.
    Kirill

  • Business partner auto code generation

    hi how to create business partner auto code generation. its based on customer group for example we have more customer group..dealer, distributor,subcontractor...
    here dealer and distributor group starting cardcode is - C000001,C000002,C000003..... etc
    when i was choose subcontractor its starts SUB00001,SUB00002...... etc
    vendor is maintain same starting letter in all groups V000001,V000002
    Thanks in advance
    Thanks & Regards
    B.Lakshmi Narayanan

    hi thanks for your valuable replies...
    i changed the codes...pls check its right or wrong
    declare @temp as char(20)
    IF $[OCRD.GroupCode] = 104  and $[OCRD.cardtype] = 'c'
    BEGIN
    set @temp=(select isnull(max(right(cardCode,7)),0) + 1 from Ocrd where (groupcode= 104) and (len(cardCode)=7))
    set @temp='TRA'isnull(replicate(0,7-len(@temp)),'')@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.cardtype] = 'C'
    BEGIN
    set @temp=(select isnull(max(right(cardCode,7)),0) + 1 from Ocrd where   (len(cardCode)=7))
    set @temp='C'isnull(replicate(0,7-len(@temp)),'')@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.cardtype] = 'S'
    BEGIN
    set @temp=(select isnull(max(right(cardCode,7)),0) + 1 from Ocrd where   (len(cardCode)=7))
    set @temp='S'isnull(replicate(0,7-len(@temp)),'')@temp
    select cast(@temp as char(20))
    END
    Thanks & Regards
    B.Lakshmi Narayanan

  • Case created without business partner, reason code and  result code

    In our CRM system, some cases was created without business partner, reason code and result code.
    We created some customer functions to make these fields as mandatory, it always work for our technique people and process expert, but it didn't work for some users occasionally. We cannot debug it.  
    Can anyone tell me why and how to solve it?
    Please help me !
    Regards,
    Shirley

    Hello Shirley,
    Well, then I would check the code, which calls your custom function modules.
    It may be possible, that you have an IF in the 'Main' program, which makes it possible to skip the custom FM for these users.
    The reason I am assuming this, is that normally you need just to change attributes for a field to make it mandatory, or customizing like SHD0 makes this possible. If you use custom FM, you have to call them somewhere and this is the point I would be looking for.
    Check the traces for the users and you should find, that the custom FM are not called for them.
    My opinion, of course
    Award points if this helps.
    Regards,
    Martin Kuma

  • Creating Business Partner Through Code

    Hi Everyone
    I just wanted to know if any of you knew a way to create a business partner through code.
    If there is a way or a sample that anyone can provide that would greatly
    apreciated.
    What would mandatory fields be? I know CardCode would be one mandatory field but what else would be essential?

    Hi Sebastiano,
    If you only need to read the BP data from the 'source' company then you shouldn't need to log in to it. The RecordSet object should be capable of sending a SQL query that references the other database.
    For example:
    string sSQL = "select * from " + sSourceDatabase +"..OCRD where CardCode = '" + sMyBPCode +"'"
    where sSourceDatabase is the Database ID for the source company and sMyBPCode is the BP you wish to copy.
    Using this you should only need to log in to the company where the BP needs to be created. So the whole process should be something like this:
    1) Connect to second company
    2) Run the query to collect the BP data from the first company
    3) Create an instance of the BP object and use the recordset object to assign the properties
    4) Add the BP
    Hope this makes sense
    Owen
    P.S. The other option is to use XML. See this post:
    Copy items between databases

  • How to read the business partner activity

    Hi experts,
    How to get the business partner(role:employee) assigned activities  in crm and how to create the activity .my requirment is change the assiged from old employee(bp) to new employee(bp). i have to develop the program. i searched some BAPI's.
    Please help on this.
    thanks,
    venu.

    Pls use the FM CRM_REPORT_CALL_RF. Pass the partner function to the exporting parameter table ir_partner_fct_h and partner number to the partner number to  ir_partner_id_h . You will get all the guid and then use CRM_ORDER_MAINTAIN to change the partner.
    CALL FUNCTION 'CRM_REPORT_CALL_RF'
        EXPORTING
          iv_stat_open            = 'X'
          iv_maximum_hits         = ' '
          ir_object_type_h        = it_act_objtype
          ir_partner_fct_h        = it_partner_fct_h
          ir_partner_id_h         = it_partner_id_h
        IMPORTING
          et_guidlist             = it_guid
        EXCEPTIONS
          parameter_error_partner = 1
          parameter_error_items   = 2
          parameter_error_ref_obj = 3
          OTHERS                  = 4.

  • How to link the Business Partner with the SAP User ID.

    Hi,
    We are working on a scenario wherein the resources are created as Business Partners in R/3.
    now How to link the Business Partner with the SAP User ID.

    HI AP,
    Maintain the business partner in role Internet User - BUP005.
    Now assign the existing user to this BP .(you can make this assignment in tab "internet user'. Just enter the user name in the field User and save).
    You can now see the link in table HRP1001.
    Cheers,
    Rishu.

  • How to block a business partner...in sales order????

    Hi all,
               While generating the sales order....In the customer tab i will select one business partner from CFL,after choosing i want one particular customer to be blocked....means it should unable to post the sales order.....i know that i should write my coding in the customer tab LOST FOCUS event......can anybody suggest me the coding for this problem....
    regards,
    shangai.

    Shangai,
    How about blocking some partner from ChooseFromList of BP in Sales Order?
    Meaning that blocked some bp with criteria in Choose From List. Sample 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
    Regards, Yatsea

  • HOW TO GENERATE A BUSINESS PARTNER AUTOMATICALLY

    Hi in my other sap i see someone created a trigger to auto generate a business partner number.  eventhough i copied the trigger to my new db i dont see the option to generate the following number.  in my old database once i selected to create a customer on the code field it showes me like a search/magnifying glass and once i click on it it generates the next customer number.
    does someone know how to do this.
    thank you.

    THIS IS MY TRIGGER
    SELECT
    CASE
    WHEN N'C'='C' THEN 'C'replace(str(MAX(convert(decimal,substring(CardCode,2,5)))1,5,0),' ','0')
    WHEN N'C'='S' THEN 'V'replace(str(MAX(convert(decimal,substring(CardCode,2,3)))1,3,0),' ','0') 
    ELSE 'L'replace(str(MAX(convert(decimal,substring(CardCode,2,3)))1,3,0),' ','0') END
    FROM OCRD
    WHERE cardcode>=
    CASE
    WHEN N'C'='C' THEN 'C00000'
    WHEN N'C'='V' THEN 'V000'
    ELSE 'L000' END
    and
    cardcode<
    CASE
    WHEN N'C'='C' THEN 'C99999'
    WHEN N'C'='S' THEN 'V999' 
    ELSE 'L999' END
    WHEN I CLICK CUSTOMER IT GENERATES THE NEXT CUSTOMER NUMBER FINE BUT WHEN I CLICK VENDOR OR LEAD
    IT STILL GIVES ME THE CUSTOMER NUMBER.

  • How to look for business partner number in GTS

    Hi Experts,
    How to look for the business partner number in GTS when we have the Customer Id number in r/3?
    Please let me know the path in GTS.
    Edited by: Anurag87 on Dec 9, 2010 2:17 PM

    Hello,
    just simple in GTS in transaction BP find by "3 External number" (which is yours R/3 number).
    Or in se16 table /SAPSLL/PNTBP type in field BPVSY you external number from R/3 system.
    Cheers,
    Gabriel.

  • How to create the Business Partner Relationship

    Dear Sir,
    I would like to add the new  Business Partner RElationship , but I don't know how to do . Please kindly advise me the step to add the new business partner relationship.
    Thank you and  best regards,
    Vimol

    Hi Vimol,
    BP Relationship can be created in the Tcode - BP.
    Eg: If an Org, say SAP is defined as a BP (Org), and now u need to define some relationships for this org, say the Contact person, Employee responsible etc., then we nd to first create the separate BP's, for eg Contact PErson for SAP Org is Vimol S, then create Vimol S as an individual. and after doin this go to SAP Org BP and there click Relationship tab, on the TOP RIGHT hand side of the screen. Here it'll ask for the BP no. and the relationship u need to assign b/w this BP and the Org. There will be many relationships, choose the one which suits your requirement. This will take care of it.
    I hope my explanation and steps are clear. Pls revert if any isues.
    Suji

  • How to copy a Business Partner (partner/contact) across Dev & QA

    Hi,
    Requirement is to copy few Business Partner data (partner/contact) from QA system to  Development system.
    How do I do that ? Are there any standard FM ?
    Awaiting response.
    Regards,
    Mahesh

    Hi,
    sorry i do not have the answer for your question.
    In our company we do complete client copy from prod to dev twice a year.
    Therefore we have masterdate there in DEV-System.
    Kind regards
    Manfred

  • How to get HR Business partner

    Hi all,
    In which table I can fine HR Business Partnerer which are available under Rule ( OOCU_RESP ) Tcode.
    Is there any function module where we can get Business Parter based on Personnel Area and Personnel Sub Area?
    Thanks,
    Venkata Prasad

    Hi,
    Business partner is identified with object type "BP". Table BUT000 stores the business partner information. You can see the Business partner attributes using Transaction code BP using the object I.D.
    Business partner object is not associated with Personnel area or Sub area directly.
    Instead you can find the association of Person (Object P) with Central Person (Object CP) in HRP1001 and you can find association of Object CP with Object BP - Business partner.
    Alternatively, the below functional module is used to determine Determine Employee No. for Business Partner Number
    BAPI_BUPA_GET_EMPLOYEE_FROM_BP
    Hope this information helps.
    Best Regards
    G Raj

  • How to create a Business Partner with internal number assignment

    Hello,
    We are using a CRM 7.0 system. We want to create a new Business Partner using LSMW. We chose IDoc basic type CRMXIF_PARTNER_SAVE_M03 to perform it. We want to create it with internal number assignment (we don't have BP ID or BP GUID). Unfortunatelly, when we leave PARTNER_NO and PARTNER_GUID fields empty, we get an error message that we should supply at least BP ID or BP GUID. So what values should we enter in order to create a BP with internal number assignment?
    Please put attention that we also don't want to enter any alternative external number because we don't want the end user to see after in the WebUI.
    Thanks in advance,
    Sergey Kozyrev

    Hello,
    Standard CRM PC UI application offers three options when you push 'New' button: 'Person', 'Organization' and 'Group' (combobox appears). In your case, 'Person' should be selected.
    p.s. If you don't see combobox mentioned above, it could be security issue.
    Kirill

  • How to delete standard business partner role in CRM

    Hi,
    on CRM in the business partner relationships we got some relations marked as 'standard'.
    If we delete such a relationship in the mobile client the bdoc will be rejected during ConnTrans and the changes will be set back on the mobile client.
    If we delete such a relationship in the R/3 backend the deletion will be rejected by CRM but the change is not being set back in R/3, hence we get inconsistencies.
    We need to delete standard business relations initiated by R/3 and from the mobile client. Can this be set in customizing or otherwise?
    Best regards.

    Hi Wiliam,
    Maybe notes 497146 and 914470 can help you. These will solve that deletions from R/3 are correctly reflected in Mobile. I don't know if it solves also the other way around as we don't use this functionality.
    Best regards,
    Boris

Maybe you are looking for

  • Java heap space error: OutOfMemoryError

    Hi, We are getting below error when we XML Publisher report. Oracle XML Publisher version is: 5.6.3 We have followed below things to get rid off this error but there is no success. Log in as XML Publisher Administrator. Select Templates, then query u

  • Error invoking SSL web service using pl sql UTL_HTTP

    Web Services Gurus, I am invoking a secure web service based on the following WSDL file from a pl/sql program using UTL_HTTP package. The web service is secure and prompts for authentication. The web services certificate is imported in Oracle Wallet

  • OnRollOver - mouse too fast??

    I have a simple movie clip that says PRODUCTS and the "onRollOver" just makes the letters turn yellow. "onRollOut" makes them white again. But if I move the cursor over it too quickly, it fails to trigger the "onRollOut". It just turns yellow and sta

  • Transport querries and workbooks?

    hi friends, can we transport work books and querries directly? Thanking u suneel.

  • Can't get videos from my documents to Itunes! Please help!

    I've tried doing file import and it doesn't show up in Itunes. I've also tried dragging the file from my documents to itunes but that doesn't work either. The ipod I'm using is an 80g ipod video, thought I'd include that. Not sure what else I can try