Blocking business partner

i need to block business partner in transaction FMCAC2 so that no transaction will be done for that business partner. there is a requirement for abap to do that. transaction XD05 is not meeting the requirent because its not in SD but in TRM which is specifically for Revenue Authority. What do i need to do

i need to block business partner in transaction FMCAC2 so that no transaction will be done for that business partner. there is a requirement for abap to do that. transaction XD05 is not meeting the requirent because its not in SD but in TRM which is specifically for Revenue Authority. What do i need to do

Similar Messages

  • Block business partner (vendor) for local purc. org

    Hi,
    I have a problem regarding, block business partner for local purchase organization.
    Process:
    R/3: Transaction MK05, block vendor for ONE purc. org.
    SRM: Transaction BBPUPDVD.
    If I activate transaction BP, and look into the purchasing data, the bp is only blockt for my SAP purc. org.
    If I activate transaction BBP_UPDATA_PORG, tape in the local purc. org. and the SAP purc. org, run the transaction, nothing happens. It is NOT possible to mark the block indicator for the local purc. org.
    BR. Kim

    Hi
    <b>Please go through the following SAP OSS Notes -></b>
    Note 805467 - BBPUPDVD/BBP_VENDOR_SYNC: purch. org. view deletion indicato
    Note 613182 - BBP-GP: New field: Purchasing block
    Note 805468 - BBPUPDVD/BBP_VENDOR_SYNC: Deletion indicator in POrg view
    Note 563677 - Purchasing documents: No message when partner blocked
    Note 859615 - Error 06 025 Partner is not created for Purchasing Organizat
    Note 900620 - E WY017 Partner not created for Purch.Org.(BAPI_PO_CREATE1)
    Note 1053064 - MEB1: Invoicing party partner cannot be used in agreements
    Note 654416 - BBP_PARTNER_VALIDATE: Long runtime
    Note 840215 - PO is created with wrong terms of payment in ECS
    Note 702888 - ECS: Terms of payment in ECS
    Do let me know.
    Regards
    - Atul

  • 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

  • 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

  • Can we block the business partner master data for embargo reason?

    Hi,Experts:
       Do you know if we can add the embargo block on business partner master data in GTS just like SPL checking?
    Thanks

    Embargo checking in SAP GTS can be enforced using any combination of the following:
    country-to-country, country group to country, or all countries to country.
    The check is based on the combination of the country of departure and the country of destination (or groups of countries).
    If the system detects an embargo situation, the document is blocked for further processing.
    IF you want to block Business partner for embargo reason,
    you may have to do some code enhancement(abap coding based) for the same.

  • 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

  • Set order block for new business partner

    Hi experts,
    I have the requirement to set the order block for a business partner (based on some attributes) at the moment when it will be created or changed.
    I tried to use the BAdI BUPA_GENERAL_UPDATE where I am using the FM CRM_BUPA_FRG0050_READ/ CRM_BUPA_FRG0050_GET_DETAIL to retrieve the already existing status data and the FM CRM_BUPA_FRG0050_CREATE/ CRM_BUPA_FRG0050_CHANGE to add or change this data.
    In the SAPGUI at least the update scenario (CRM_BUPA_FRG0050_CHANGE) is working.
    In the WebUI application none of the both is working: In the create scenario the application is even dumping (SAPSQL_ARRAY_INSERT_DUPREC) but this dump happens in an other implementation of this BAdI!
    In the BP update scenario nothing happens though the UI will be refreshed by some coding like
    lr_bol_core = cl_crm_bol_core=>get_instance( ).
    lr_bol_core->modify( ).
    Is there something wrong or missing or is there a better BAdI to achieve this requirement?
    Thanks for any help!
    Regards,
    Wolfhard
    PS: I found another post which covers exactly my requirements but unfortunately without a solution...
    [Re: Update of BP General Data during creation of BP]

    Hi Bruce,
    I propose to select the right value programmatically and then hide the original combo box (use the FromPane / ToPane properties - better don't disable it or make it invisble) and display a disabled EditText item which displays the pricelist which should be applied to new customers when the Form is switched to - or launched in "Add" mode.
    When the form is switched to other modes than "Add" reactivate the original ComboBox...
    HTH,
    Frank

  • Block documents due to missing business partner

    Hello to everyone,
    I have problem with blocked documents in GTS due the missing external business partner account. I have to give for every blocked document, the business partner account manually in order to release the document. Eventhough the vendor master record has been correctly maintained, also on purchasing organization, I can not understand why the business partner account is missing in GTS. In Screedshot you can see first line is always blocked with block sign.
    Can anybody help me to find the solution for that ?  Thanks in advance.
    Please see attached screenshot (unfortunately avaliable in German language only, I hope you would understand).

    Hi Aman,
    Thanks for your replay. I have again tested the Business parter transfer by changing in name field. The data was transfered sucessfully from R/3 to GTS.
    Regards,
    Iftikhar

  • Business partner - Delition / block for posting

    Hi,
    It seems very basic question, but I have not come across any such option..
    Can a Business partner be deleted before posting.  Is there any way to block a BP from posting / mark as deleted.
    thanks,
    Kumar
    Edited by: KM Kumar on Aug 31, 2009 8:33 AM

    Hi,
    You can block a BP for any area using Authorizations for that role.  But once a transaction has been created using the BP's payment details then I don't think it is possible to block it for posting.
    You can always change the valid to date for the BP for that role.  Then that role will not be valid from that date.
    Regards,
    Ravi

  • Business Partner in SRM gets Centrally Blocked

    Hi SRM Gurus,
    We are in now SRM 5.0 Version.
    I have noticed that the Business Partner for a user is centrally blocked and this happens automatically. User gets the error "Partner xxxxx is blocked", while creating the Shopping Cart. This will be resolved by unlocking the central block through transaction code BP.
    We are in SRM 5.0 and release 700 for both ABAP and BASIS stacks. I found the OSS note 781507, but it is applicable for release 640.
    Can any one please let me know what would be the reason for this and how to overcome this?
    Thanks and Regards,
    Ramesh Kyla

    Hi
    In HR, user can be locked in two ways.
    1. Through action type - inactive status. Once this is done, security team will lock this user for certain time period.
    2. Thru Tx BP. flag the Central Block in the Status tab.
    Once it is blocked in HR, thru change pointers it will be updated in SRM.
    To find the BP number of the user, you can get it from HRP1001 table. Give the CP number of the user, it will list the BP number.
    R/Reddy.

  • Business Partner in EBP gets centrally blocked.

    Hi,
         I have noticed the business partner for a user in EBP gets centrally blocked, and this happens
    automatically.  So the user gets this error " Partner is blocked " while creating shopping carts.
    This problem gets solved when we unblock the partner in EBP using transaction BP.
      Can any one please let me know what would be the reason for this central block.  And also how can we
    avoid this?
    Thanks in advance

    Hi Priya,
    Check if the partner who is getting automatically blocked is a vendor replicated from R/3.
    If the partner is blocked in Backend system and if you have any vendor synchronization jobs running, to update data from backend to SRM it can get blocked.
    Do check is this vendor created in SRM ? or being replicated and updated from R/3.
    This might solve your problem.
    Best Regards,

  • Blocking of Adding or Updation of Business partner

    Hi Folks,
    I am having problem with the transaction notification where i am having a udf in the business partner master data where in that udf i want to maintain only unique records for that i have used transaction notification but i am getting error message for every unique record updation or adding of the record
    iF @transaction_type IN (N'A', N'U') AND
    (@Object_type = N'2')
    begin
    select t0.sortkey
    from ocrd t0
    where t0.cardcode =  @list_of_cols_val_tab_del
         and t0.sortkey in (select t1.sortkey  from ocrd t1 where t1.U_Envsrtky <> '' and t1.CardCode <> @list_of_cols_val_tab_del )
    end
    Begin
    SET @error = 14
    SET @error_message = N'Same Sort key is not allowed'
    End
    Here sort key is my udf.Please help me regarding this
    Thanks & Regards
    Charan.B

    Hi,
    Plz check dis :
    IF @transaction_type IN (N'A', N'U') AND
    (@Object_type = N'2)
    BEGIN
    If EXISTS (SELECT T0.[U_Envsrtky ]
    FROM OCRD T0
    WHERE T0.[cardcdoe] = @list_of_cols_val_tab_del and T0.[U_Envsrtky ]  =  T0.[U_Envsrtky ])
    Begin
    SET @error = 14
    SET @error_message = N'Same Sort key is not allowed'
    End
    END

  • Error in creation of Employee for Business Partner

    I am using SRM 4.0 and ECC 5.0. I have created Vendor Root Org EBP and replicated vendors from R/3 which is appearing in Vendor Organization in EBP.
    Now when I am trying to create Employee as contact person in thru WEB transaction in EBP "Manage Business Partner".
    After filling all mandatory info when I am saving the same and error popup is coming as given below:
    "Central system not reached"
    Can some body help analyze the same?
    Thanks
    Sanjay

    Hi Vadim,
    Following attributes are already maintained for Vendor Root in Org Plan :-
    BUK
    BWA
    CUR
    ITS_DEST
    SYS
    VENDOR_ACS
    VENDOR_SYS
    Beside this I have checked up availability of replicated vendors in VENMAP table with GUID.
    First error message is coming:
    "Central system not reached"
    When I am defining Logical system and external business partner ID that is R/3 Supplier code than another error is coming :
    "BP role BUOP001 already exists for partner XXX"
    This XXX is running sr. no. of BP number range but do not appear in BP data base . And in next attempt next Sr. no. is blocked by system.
    Problem is still persisting pls. suggest.
    Sanjay

  • Business Partner Role Specific Field View in WebClient

    Hello to everyone,
    I have a question that really needs a answer.  We are upgrading from SAP CRM v4 to SAP CRM v7.0 and as such we have a number of custom Business Partner Roles within the Person BP Type.  Against these custom roles we have developed custom field and tabs in order to separate the content within the BP Role further.
    After rolling off an implementation of SAP CRM v6.0 [2007], the following seems apparent:
    - Assignment of Roles is done via an assignment block in the Customer Maintenance view.
    - You can create Business Partners in different roles initially.
    - You cannot maintain Business Partner details in specific roles
    However, you cannot display the role specific fields as you can in the WinClient.  As an example, a Citizen Role BP will have different fields to that of a Teacher, but these roles could be assigned to one Business Partner.
    There does not seem to be any guidance as to how this is managed in the WebClient and as it seems a fundamental part fo the SAP CRM offering, you would have thought that this questions has been asked, but I have found no answers.
    I really hope anyone can help and appreciate any time and effort put into solving my question.
    Many Thanks,
    MatFlat.

    Hi MatFlat,
    Yes, your observation is right - in the Web UI, fiel grouping is not implemented for roles. This is because the role concept is quite different between SAP Gui and Web UI.
    In SAP gui, (CRM 4.0) roles had a functional meaning as well as a UI control. However, the concept was changed with Web UI. Now, roles have only a functional meaning, and no effect on the UI at all.
    If you want to implement role based field grouping in Web UI, you need to define your own methods in the implementation class.
    E.g : you can write code to influence the field properties based on the roles. I guess you can redefine the DO_PREPARE_OUTPUT  methods of the impl class.
    In order to get info about which roles the BP is maintained , you can use FM BUPA_ROLES_GET_2.
    Hope this helps you.
    Cheers,
    Rishu.

  • Formating existing Business Partner Telephone No.

    Hi,
    We would like to format the phone nos. of existing business partners(BP) in CRM to xxx.xxx.xxxx.
    I have written a program ...and the formatting works fine.
    The problem comes when I am trying to update the BP's...I have written a BDC..and it doesn't seem to work. I am not very good in  BDC...so would appreciate if somebody could help tweaking the code.
    Further, would appreciate to know..whether using a BDC is the right approach...is there any BAPI's that can do the trick.
    Once again, thanks to everbody once again.
    Rajib
    Code:
    *& Report  ZTEST_RD1                                                   *
    REPORT  ZTEST_RD1       .
    tables : but000.
    data:  begin of t_output occurs 0,
            bp  like but000-partner,
            home_phone like BAPIADTEL-TELEPHONE,
            mobile_phone like BAPIADTEL-TELEPHONE,
            fax like BAPIADTEL-TELEPHONE,
            work_phone like BAPIADTEL-TELEPHONE,
           end of t_output.
    data: workphone like BAPIADTEL-TELEPHONE.
    data: begin of t_bp occurs 0,
            partner like but000-partner,
          end of t_bp.
    data: w_addressguid like bapibus1006_addresses_int-addrguid,
          w_addrnr like bapibus1006_addresses_int-ADDRNUMBER,
          w_addressdata like bapibus1006_address,
          t_address like bapibus1006_addresses occurs 0 with header line,
          t_return like bapiret2 occurs 0 with header line,
          t_tel like bapiadtel occurs 0 with header line,
          t_fax like bapiadfax occurs 0 with header line.
    bdc declaration
          Batchinputdata of single transaction
    DATA:   BDCDATA LIKE BDCDATA    OCCURS 0 WITH HEADER LINE.
          messages of call transaction
    DATA:   MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
          error session opened (' ' or 'X')
    DATA:   E_GROUP_OPENED.
          message texts
    TABLES: T100.
    bdc
    start-of-selection.
      selection-screen  begin of block b2 with frame title text-105.
    *Business Partner Number
      select-options:  s_bp     for but000-partner, " obligatory,
                       s_bpkind for but000-bpkind, "  obligatory,
                       s_bptype for but000-type. " obligatory.
      selection-screen end of block b2.
    end-of-selection.
    get the basic data
      select partner
                from  but000
                into  table t_bp
                  where partner in s_bp     and
                                bpkind  in s_bpkind and
                                type    in s_bptype.
      loop at t_bp.
    write :/1 t_bp-partner.
    get the address guids.
        call function 'BAPI_BUPA_ADDRESSES_GET'
          EXPORTING
            businesspartner       = t_bp-partner
            addresstype           = 'HOME'
          IMPORTING
            standardaddressguid   = w_addressguid
            STANDARDADDRESSNUMBER = w_addrnr
          TABLES
            addresses             = t_address
            return                = t_return.
      Get Address Detail
        call function 'BAPI_BUPA_ADDRESS_GETDETAIL'
          EXPORTING
            businesspartner = t_bp-partner
            addressguid     = t_address-ADDRESSGUID
          IMPORTING
            addressdata     = w_addressdata
          TABLES
            bapiadtel       = t_tel
            bapiadfax       = t_fax.
    populate the data in the output table
        t_output-bp = t_bp-partner.
    home and mobile phone
        loop at t_tel.
          if t_tel-TELEPHONE is not initial.
            if t_tel-R_3_USER = '1'.                "Home Phone
              perform format_phone USING t_tel-TELEPHONE.
              t_output-home_phone   = t_tel-TELEPHONE.
            else.                                   "Mobile Phone
              perform format_phone USING t_tel-TELEPHONE.
              t_output-mobile_phone = t_tel-TELEPHONE.
            endif.
          endif.
        endloop.
    get fax number
        loop at t_fax.
          if t_fax-FAX is not initial.
            perform format_phone USING t_fax-FAX.
            t_output-fax =  t_fax-FAX.
          endif.
        endloop.
    get work number
        select single ADEXT from BUT020 into workphone
        where PARTNER = t_bp-partner
        and ADDRNUMBER = w_addrnr.
        if workphone is not initial.
          perform format_phone USING workphone.
        endif.
        t_output-work_phone = workphone.
        clear: t_tel[], t_fax[], workphone.
        append t_output.
        clear: t_output.
      endloop.
      write :/1 ' bp ', 20 ' home_phone ', 35 ' mobile_phone  ',
                50 'fax', 75 'workphone'.
      skip 3.
      loop at t_output.
        perform bdc_update.
        write :/1 t_output-bp, 20 t_output-home_phone, 35
        t_output-mobile_phone, 50 t_output-fax, 75 t_output-work_phone.
      endloop.
    *&      Form  format_phone
          text
         -->P_PHONE    text
    FORM format_phone  USING p_phone.
      Data: w_strlen type i,
           w_offset type i.
      clear w_offset. clear w_strlen.
      w_strlen = STRLEN( p_phone ).
      do w_strlen times.
        if p_phone+w_offset(1) na '0123456789 '.
          p_phone+w_offset(1) = ' '.
        endif.
        w_offset = w_offset + 1.
      enddo.
      condense p_phone no-gaps.
      clear w_offset. clear w_strlen.
      w_strlen = STRLEN( p_phone ).
      if w_strlen gt '10'.
        w_offset = w_strlen - 10.
      endif.
      p_phone = p_phone+w_offset(10).
      w_strlen = STRLEN( p_phone ).
      if w_strlen ne '10'.
        MESSAGE
        'Please enter 10 digit phone number in the format'
        TYPE 'E'.
      else.
        concatenate p_phone(3) '.' p_phone3(3) '.' p_phone6(4) into
    p_phone.
      endif.
    ENDFORM.                    " format_phone
    *&      Form  BDC_DYNPRO
          text
         -->PROGRAM    text
         -->DYNPRO     text
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM  = PROGRAM.
      BDCDATA-DYNPRO   = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    ENDFORM.                    "BDC_DYNPRO
           Insert field                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
    IF FVAL <> NODATA.
      CLEAR BDCDATA.
      BDCDATA-FNAM = FNAM.
      BDCDATA-FVAL = FVAL.
      APPEND BDCDATA.
    ENDIF.
    ENDFORM.                    "BDC_FIELD
    *&      Form  bdc_update
          text
    -->  p1        text
    <--  p2        text
    FORM bdc_update .
      perform bdc_dynpro      using 'SAPLBUS_LOCATOR' '3000'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=BUS_LOCATOR_SRCH_GO'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'BUS_LOCA_SRCH01-SEARCH_TYPE'.
      perform bdc_field       using 'BUS_LOCA_SRCH01-SEARCH_TYPE'
                                    '1'.
      perform bdc_field       using 'BUS_LOCA_SRCH01-SEARCH_ID'
                                    '1'.
      perform bdc_field       using 'BUS_JOEL_SEARCH-PARTNER_NUMBER'
                                    '1000'.
      perform bdc_dynpro      using 'SAPLBUS_LOCATOR' '3000'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=%_GC 116 3'.
      perform bdc_field       using 'BUS_LOCA_SRCH01-SEARCH_TYPE'
                                    '1'.
      perform bdc_field       using 'BUS_LOCA_SRCH01-SEARCH_ID'
                                    '1'.
      perform bdc_field       using 'BUS_JOEL_SEARCH-PARTNER_NUMBER'
                                    '1000'.
      perform bdc_dynpro      using 'SAPLBUS_LOCATOR' '3000'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=BUS_MAIN_SAVE'.
      perform bdc_field       using 'BUS_JOEL_MAIN-PARTNER_ROLE'
                                    '000000'.
      perform bdc_field       using 'BUT000-NAME_FIRST'
                                    'KUMAR'.
      perform bdc_field       using 'BUT000-NAME_LAST'
                                    'ASHOK'.
      perform bdc_field       using 'BUT000-NAMEMIDDLE'
                                    'S'.
      perform bdc_field       using 'BUT000-NAME1_TEXT'
                                    'KUMAR ASHOK'.
      perform bdc_field       using 'BUS000FLDS-LANGUCORR'
                                    'EN'.
      perform bdc_field       using 'BUT000-BU_SORT1'
                                    'KUMAR'.
      perform bdc_field       using 'BUT000-BU_SORT2'
                                    'ASHOK'.
      perform bdc_field       using 'ADDR2_DATA-HOUSE_NUM1'
                                    '5638'.
      perform bdc_field       using 'ADDR2_DATA-STREET'
                                    'SHAWN TER'.
      perform bdc_field       using 'ADDR2_DATA-CITY2'
                                    'GWINNETT'.
      perform bdc_field       using 'ADDR2_DATA-POST_CODE1'
                                    '30092-1536'.
      perform bdc_field       using 'ADDR2_DATA-CITY1'
                                    'NORCROSS'.
      perform bdc_field       using 'ADDR2_DATA-REGION'
                                    'GA'.
      perform bdc_field       using 'ADDR2_DATA-COUNTRY'
                                    'US'.
      perform bdc_field       using 'ADDR2_DATA-TIME_ZONE'
                                    'EST'.
      perform bdc_field       using 'ADDR2_DATA-PO_BOX'
                                    '02255217'.
      perform bdc_field       using 'ADDR2_DATA-POST_CODE2'
                                    '30045-1111'.
      perform bdc_field       using 'SZA7_D0400-TEL_NUMBER'
                                    '678.770.0001'.
      perform bdc_field       using 'SZA7_D0400-MOB_NUMBER'
                                    '678.770.0002'.
      perform bdc_field       using 'SZA7_D0400-FAX_NUMBER'
                                    '678.770.0003'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'BUS000FLDS-ADEXT'.
      perform bdc_field       using 'BUS000FLDS-ADEXT'
                                    '678-770-0004'.
      perform bdc_field       using 'SZA11_0100-TEL_COUNTR'
                                    'US'.
      perform bdc_field       using 'SZA11_0100-MOB_COUNTR'
                                    'US'.
      perform bdc_field       using 'SZA11_0100-FAX_COUNTR'
                                    'US'.
      perform bdc_dynpro      using 'SAPLSPO1' '0300'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=YES'.
      perform bdc_dynpro      using 'SAPLSPO1' '0300'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=YES'.
      perform bdc_dynpro      using 'SAPLSPO1' '0300'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=YES'.
      perform bdc_dynpro      using 'SAPLBUS_LOCATOR' '3000'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=BUS_MAIN_SAVE'.
      perform bdc_field       using 'BUS_JOEL_MAIN-PARTNER_ROLE'
                                    '000000'.
      perform bdc_field       using 'BUT000-NAME_FIRST'
                                    'KUMAR'.
      perform bdc_field       using 'BUT000-NAME_LAST'
                                    'ASHOK'.
      perform bdc_field       using 'BUT000-NAMEMIDDLE'
                                    'S'.
      perform bdc_field       using 'BUT000-NAME1_TEXT'
                                    'KUMAR ASHOK'.
      perform bdc_field       using 'BUS000FLDS-LANGUCORR'
                                    'EN'.
      perform bdc_field       using 'BUT000-BU_SORT1'
                                    'KUMAR'.
      perform bdc_field       using 'BUT000-BU_SORT2'
                                    'ASHOK'.
      perform bdc_field       using 'ADDR2_DATA-HOUSE_NUM1'
                                    '5638'.
      perform bdc_field       using 'ADDR2_DATA-STREET'
                                    'SHAWN TER'.
      perform bdc_field       using 'ADDR2_DATA-CITY2'
                                    'GWINNETT'.
      perform bdc_field       using 'ADDR2_DATA-POST_CODE1'
                                    '30092-1536'.
      perform bdc_field       using 'ADDR2_DATA-CITY1'
                                    'NORCROSS'.
      perform bdc_field       using 'ADDR2_DATA-REGION'
                                    'GA'.
      perform bdc_field       using 'ADDR2_DATA-COUNTRY'
                                    'US'.
      perform bdc_field       using 'ADDR2_DATA-TIME_ZONE'
                                    'EST'.
      perform bdc_field       using 'ADDR2_DATA-PO_BOX'
                                    '02255217'.
      perform bdc_field       using 'ADDR2_DATA-POST_CODE2'
                                    '30045-1111'.
      perform bdc_field       using 'SZA7_D0400-TEL_NUMBER'
                                    '678.770.0001'.
      perform bdc_field       using 'SZA7_D0400-MOB_NUMBER'
                                    '678.770.0002'.
      perform bdc_field       using 'SZA7_D0400-FAX_NUMBER'
                                    '678.770.0003'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'BUS000FLDS-ADEXT'.
      perform bdc_field       using 'BUS000FLDS-ADEXT'
                                    '678-770-0004'.
      perform bdc_field       using 'SZA11_0100-TEL_COUNTR'
                                    'US'.
      perform bdc_field       using 'SZA11_0100-MOB_COUNTR'
                                    'US'.
      perform bdc_field       using 'SZA11_0100-FAX_COUNTR'
                                    'US'.
    perform bdc_transaction using 'BP'.
      CALL TRANSACTION 'BP' USING BDCDATA
                        MODE 'N' UPDATE 'S'
                        MESSAGES INTO MESSTAB.
    message tab
      DATA: L_MSTRING(480).
      LOOP AT MESSTAB.
        SELECT SINGLE * FROM T100 WHERE SPRSL = MESSTAB-MSGSPRA
                                  AND   ARBGB = MESSTAB-MSGID
                                  AND   MSGNR = MESSTAB-MSGNR.
        IF SY-SUBRC = 0.
          L_MSTRING = T100-TEXT.
          IF L_MSTRING CS '&1'.
            REPLACE '&1' WITH MESSTAB-MSGV1 INTO L_MSTRING.
            REPLACE '&2' WITH MESSTAB-MSGV2 INTO L_MSTRING.
            REPLACE '&3' WITH MESSTAB-MSGV3 INTO L_MSTRING.
            REPLACE '&4' WITH MESSTAB-MSGV4 INTO L_MSTRING.
          ELSE.
            REPLACE '&' WITH MESSTAB-MSGV1 INTO L_MSTRING.
            REPLACE '&' WITH MESSTAB-MSGV2 INTO L_MSTRING.
            REPLACE '&' WITH MESSTAB-MSGV3 INTO L_MSTRING.
            REPLACE '&' WITH MESSTAB-MSGV4 INTO L_MSTRING.
          ENDIF.
          CONDENSE L_MSTRING.
          WRITE: / MESSTAB-MSGTYP, L_MSTRING(250).
        ELSE.
          WRITE: / MESSTAB.
        ENDIF.
      ENDLOOP.
      SKIP.
    end message tab
    ENDFORM.                    " bdc_update

    Rajib,
    There won't be any bapi to convert or format telephone number. But you can find a bapi to update business partner. Try with bapipartner in se37.
    Have you tried changing telephone number with XXX.XXX.XXX. I don't think system will accept with this format for telephone number field.
    Regds
    Manohar

Maybe you are looking for