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

Similar Messages

  • E-Recruiting: Business partner - Telephone

    Hi All,
    When ever I create a user in E-Recruiting, by default a BP  will be generated. If we go to BP transaction, in Address independent data - telephone number is empty.
    So how to update the telephone number in BP?
    Please share your ideas.
    Thanks,
    Anil

    Hi,
    unfortunately the first given solution will not work for e-recruiting. E-Recruiting uses fields to tag the telephone numbers which are not available in the standard screen configuration of business partner. Furthermore E-Recruiting creates entries in infotype 5110 (table HRP5110) without these entries the data from business partner will not be read. Once this information is in place it is possible to change the number in business partner directly as the not visible fields stay the same.
    The standard way of maintaining this information is the e-recruiting application itself. The configuration of available communication channels defines which / how many telephone numbers are available. The e-recruting application shows the fields accordingly.
    For internal candidates the new ALE should also allow to transfer telephone numbers from IT 0105 to the business partner. When debugging this coding I saw lines for some subtypes similar as the ones for subtype 0010 email but I have not tried this in real live so far.
    Best Regards
    Roman

  • Add some more marketing attributes to an existing Business partner ( BP ).

    Hi...
    I need to add marketing attributes to an existing BP without deleting the previous ones.
    If i use CRM_MKTBP_ASSIGN_ATTRIBUT_TAB the old ones are get deleted.
    Please help me out.
    Regards,
    Swati

    Hi Swati,
    Can you try with FM CRM_MKTBP_ASSIGN_ATTRIBUT ?
    There fill the following parameters:
    IV_ATNAME = Characteristic attribute id
    IV_ATTRIBUTE_SET = Characteristic attribute set
    IV_ATWRT = Characteristic attribute value
    IT_PARTNER = Fill with partner GUID and Partner ID
    Leave the other parameters with default values.
    Hope that helps!
    Kind regards,
    Garcia

  • Changing GL Control Account of existing Business Partner

    Hi, We have created and processed against some business partners. However the "Accounts Receivable", under the "Accounting" tab, the wrong GL account was selected. Now it is greyed out because there is postings. Is there anyway to reallocate the transactions to the correct account as well a fixing the "Accounts Receivable" account?

    I don't think so it is possible to change the control account for a BP after transction are done.
    Alternatively put the BP on hold and create a new BP with proper control accout.

  • Business Partner problem (FOXJ)

    Dear SAP Gurus,
    I am having problem when create business partner via tcode FOXJ. System gave me message:
    Number range  does not exist
    Message no. B0101
    Diagnosis
    Number range &1 is not defined in partner or customer management.
    System Response
    Business partner data is not saved.
    Procedure
    Create the missing number range in Customizing for business partner or customer management, and migrate the Customizing of the selected business partner grouping.
    This business partner grouping refers either to a non-existent business partner number range or to a customer account group that was not assigned an existing number range.
    Where can i maintain this nuber range in config (SPRO)? Help me please.
    Thanking you in advance
    Regards,
    Nazrul

    Hi Nazrul,
    I would kindly ask you to check the following customizing settings:
    customizing:                               
    Real Estate                                
    Partner Data                               
    Controlling Business Partner Maintenance   
    Assign Role Category to Application        
    Applicat. cat.  0031                       
    Role category   0640                       
    Which grouping is assigned here?           
    then please check if in:
    BP Grouping: Assign Number Range, Account Group          
    a number range is defined for the grouping assigned above.
    Hope this helps.
    Regards, Franz

  • Deletion of Business Partner from tcode "BP"

    Hi!
    I set up ChaRM functionality and have the problem that for one existing Business Partner
    from tcode "BP" the error message comes up:
    The current business partner does not have a vald assignment to change Request Manager or Organization.
    Therefore I would like to delete this value from tcode BP and recreate them.
    Question
    Does anyone know how to delete business partner from tcode "BP"?
    Are there some report, functional module, etc. for this approach?
    Thank you very much!
    regards
    Thom Heinemann

    Hi!
    When I try tp delete a business partner by usage of tcode "BUPA_DEL" I get the warning that this business partner will be used in some transactions.
    Therefore I closed all the messages with theis assignment.
    Unfortunately when I start CRM_DNO_MONITOR I see that some service desk messages with this business partner still exist, bu are closed.
    Question:
    What is the report or tcode to delete all the closed Service Desk messages?
    Thank you very much!
    regards
    H. Thomasson

  • Business Partner Role  and Business Partner Grouping

    Hello Everybody!
    Business Partner Role  and Business Partner Grouping.
    Which correlation ist between this attributes existing.
    In which table are this infos stored, In order create I can use
    e.g. BUPA_CREATE_FROM_DATA
    but how is the way inversely. Suppose I want to abtain the information
    about a existing business partner which group he has etc.
    Regards
    sas

    Dear Sas,
    Business Partner Grouping is used to determine the number ranges to be used by the business partner at the time of creation.
    Business Partner Role determines the subset of all the data available to be shown and edited.
    I will give you a very simple (but imaginary) example for understanding the role concept: the business partner in a role of employee might allow you to enter a department id. So this field should be available to you for input when you edit the business partner in the role of employee. But suppose the same business partner is also a person who is your customer. And your customer will require a default payment term. So this field should be available for input when you edit the business partner in the role of a customer. Also, some applications use these roles to determine if the business partner is suitable for particular transaction. In the above example, Payroll application will only allow those Business Partner to be used if they are maintained as an employee. Similarly the sales application can mandate that you can only sell a product to a business partner if he is maintain in a 'customer' role.
    Please understand the example above is not real but given for the understanding of the concept of role.
    You can use the function module 'BUPA_CENTRAL_GET_DETAIL' to find the business partner group. And you can use the function 'BUPA_ROLES_GET' to find the role assigned to a Business Partner.
    Regards, Rakesh

  • SAP Workbench Issue Business Partner Master Data

    Hi Team,
    I have an issue which we could not update existing Business Partner Master Data but we can add new. The data involved are marked in red below. Please advise.
    Thanks.
    Regards,
    David Lai

    Hi,
    Can you explain your issue in bit detail?
    Pl. specify your SAP version and PL .
    Can you paste the screen shot of DTW template here, which you are trying to upload ?
    Thanks
    TAruna

  • Business Partner approval when changing payment term

    Hi Expert,
    Is it possible to set up approval process when user changing payment term in existing Business Partner?
    Thank you in advance.

    Hi,
    Try this:
    IF @object_type = '2' AND @transaction_type = 'U'
    BEGIN
         IF EXISTS
         (SELECT T0.CardCode from OCRD T0 INNER JOIN ACRD T1 On T1.CardCode=T0.CardCode
    WHERE CardCode = @list_of_cols_val_tab_del AND T1.GroupNum !=T0.GroupNum)
         BEGIN
               SELECT @error = 2, @error_message = 'Payment Terms should not be changed'
         END
    END
    Thanks,
    Gordon

  • BAPI_BUPA_CENTRAL_CHANGE: Business partner does not exist

    Hello,
    I'm trying to change a business partner, which I created with BAPI_BUPA_CREATE_FROM_DATA.
    But I get the error message "Business partner does not exist"
    I do following:
    1. create the BP with the BAPI_BUPA_CREATE_FROM_DATA
         get the BUSINESSPATNER- number
    2. fire BAPI_TRANSACTION_COMMIT.
    In the SAP-GUI transaction BUP3 I can see my BP, ok
    3. I try to change this BP with BAPI_BUPA_CENTRAL_CHANGE
         and I get an error "Business partner does not exist"
    Why?
    I'm using JCO, I used to set BUSINESSPARTNER with and without leading zero - it doesn't work.
    Can some one give me an advice?
    Thanks,
    Sergej Berg

    Hi,
    The "VALID_DATE" should be set to the date of execution (at least this is what I'm doing in my system).
    If you execute it via SE37 you can give it in the format of DDMMYYYY, but if you are testing an IDOC via WE19 you have to give it in the format of YYYYMMDD.
    Enjoy,
    Ayal.

  • Formatted search - Copy Business Partner address of active screen

    Hello,
    I am using a credit card addon that creates a tab in Business Partner Master Data labeled "Credit Card". On this tab, credit card information is stored for the business partner. This includes CC Name, CC Type, CC Cardholders Name, CC Number etc.
    Credit cards are added on this tab, similar to an address being entered on the address tab. You have to click "Add New"
    The business process is the following:
    - CSR receives call from random customer (no BP data exists)
    - CSR creates new BP
       - Enters address for Bill to and Ship to.
       - We are required by this addon to enter address on credit card for a third time. This is where we would like to streamline the process by creating a formatted search to copy the Bill to information from the Address tab, to the address information on the credit card tab.
    This is where my dilema is. I am not sure how to capture the active record's information and bring it over to the credit card tab.
    Does anyone have an recomendations?
    John Sefton

    From what I have noticed.  You can create individual FMS and place them in the respective fields in the CC Tab.  I could only test this on the BP Remarks and they seem to work.
    For Address Name
    SELECT $[$178.1.0]
    For Street
    SELECT $[$178.2.0]
    For Block
    SELECT $[$178.3.0]
    Please enable system information from the VIEW menu for the other field co-ordinates

  • Existing Business Catalyst Standard Partner & Creative Cloud Subscription

    I am an existing Business Catalyst Partner (Standard Partner Plan) and thinking of purchasing a Creative Cloud Subscription. Can I access the 5 free web basic hosting packages via my existing Business Catalyst Membership? Or do I need to create a new Adobe ID?

    Moved from the Creative Cloud to the Business Catalyst forum. They will be able to help you here.

  • Error - Business partner 30000011 does not exist in role TR0151

    Hello,
    I am receiving an error "Business partner 30000011 does not exist in role TR0151" while creating a Fixed Deposit Transaction through FTR_CREATE.
    Whilst testing Fixed Deposit accounting in SAP Treasury, i was testing a scenario of a MINOR and his/her GUARDIAN. Both have been created as Business Partners. However, i have NOT created the Minor further as a Customer.
    I now have a MINOR defined as a Business Partner, a GUARDIAN defined as a BUSINESS PARTNER and CUSTOMER both and a relationship established between the two through the RELATIONSHIPS tab.
    After doing the above, i am trying to create a Fixed Deposit through FTR_CREATE where i am receiving the above mentioned error.
    In Customizing, i have checked that the TR0151 is assigned to COUNTERPARTY role and TR0154 to the BENEFICIARY role
    The GUARDIAN was created with BP role - Business Partner General and then changed to COUNTER PARTY. The MINOR has been created with BP Role - Business Partner General and then changed to BENEFICIARY.
    My expectation was that since MINOR is not defined as Customer, the system would not allow me to create a FD for the Minor and display such a message which would ask me to create the FD using the GUARDIAN as the Business Partner.
    Request your help on this.
    Regards,
    Murtuza.
    +91 9923205169

    Hi,
    It is not necessary that a business partner has to be linked to a customer account.  In certain cases, your house bank itself acts as a counterparty, in that case you can directly settle to your bank account instead of managing through a customer.
    For your case, you need to maintain the role of counterparty for MINOR as well.  Only if the business partner exists in that role can you create a transaction.
    Regards,
    Ravi

  • FSCM-COL Business Partner Creation for Existing Customers

    Experts-
    After using MDS_LOAD_COCKPIT to create the initial load of Business Partners, there are a few Customers which are still missing Business Partners. Automatic Creation of Business Partners is set up and fully functioning for any new Customers created, however when attempting to use MDS_LOAD_COCKPIT for the existing Customers which are missing Business Partners the error message 'No transfer of interval for object BU_PARTNER' (Message no. NR028) is received.
    If the Automatic Creation of Business Partners is working correctly at the time of Customer Master creation, what would prevent the Business Partner from being created after the Customer already exists?
    Please let me know if further clarification is needed on what is outlined above.
    Thanks and Regards,
    Corey

    In case someone runs into a similar issue in the future, the resolution to this issue is provided below:
    In the case I've highlighted the customer had been created, yet the Business Partner failed to be created in the Automatic Business Partner Creation functionality initially due to a missed Tax Number Category configuration. Once this configuration was complete the BP still failed to create via XD02 or MDS_LOAD_COCKPIT. MDS_PPO2 gave the initial error message as 'Business partner ##1 does not exist' (Message no. R1201).
    Although the Customer to BP synchronization setting were set up for an external number range, the presence of contact persons in the Customer Master record were causing SAP to look for grouping data. Since no grouping data was present SAP was attempting to create BPs contact persons using the internal number range, which was already set at its limit.
    By removing the contact persons from the customer master via XD02 and then re-executing the MDS_LOAD_COCKPIT, the requested Business Partner was created. After that the contact persons were then re-maintained in the customer master.

  • Segment Builder: 'Business partner does not exist in target group'

    After having built a target group in the segment builder the following error message occurs: 'Business partner does not exist in target group'. What is meant by this error message and what has caused this error?

    Hi Mahesh,
    Are data sources based in infoset¿? If the are based in infoset u can do simple queries.
    I create infoset in t-code 'SQ02', once the infoset has been created u can go to 'Enviroment' --> Queries, and here u can created simple queries based in the infoset. With this tool u can check if this infoset has been created sucessfully.
    Hope it helps u.
    Regards,
    Mon

Maybe you are looking for