Assigning mobile number to Business Partner through BADI

Hi Experts,
I have to create a business partner(organization) through a badi with the fields like name name1,name2,street, house number,telephone,email,mobile number. I am stuck in mobile number. I was able to create business partner with all the other fields but i dont know how to get hold of mobile number.Please suggest me functional module or the process of assigning mobile number to the BP.
Edited by: anurag112 on May 18, 2011 2:36 PM

Hi Anurag,
   There is a field called R3_USER in the telephone structure(IT_ADTEL). If this field is populated with 2 or 3 which means it is a mobile number. You can use BUPA_CREATE_FROM_DATA FM to create BP.
Regards,
Lakshmi.Y

Similar Messages

  • How to Enter the Mobile number for Business Partner

    Dear CRM ABAPers,
               I am creating the Business Partner Using the BAPI "BAPI_BUPA_CREATE_FROM_DATA".
    But I am not able to Enter the Mobile number for the Business Partner.Please help me how to Do this
    It is very Urgent Requirement.
    Thanks & Regards,
    Ashok.

    Hello Ashok,
             Using the same BAPI , set the field R_3_USER of the tables parameter TELEFONDATA to 3 to save the mobile number.
    Hope it helps.
    Thanks,
    Sriram S

  • Assigning mobile number tto BP through BADI.

    Hi Experts,
    I have to create a business partner(organization) through a badi with the fields like name name1,name2,street, house number,telephone,email,mobile number. I am stuck in mobile number. I was able to create business partner with all the other fields but i dont know how to get hold of mobile number.Please suggest me functional module or the process of assigning mobile number to the BP.
    Edited by: anurag112 on May 18, 2011 2:35 PM

    thanks for your reply. I tried to use the function module but i was not able to get the mobile number. This is what i tried to do.
    *& Report  ZTEST_LOG2
    REPORT  ZTEST_LOG2.
    DATA :PARTNER_CATEGORY TYPE BAPIBUS1006_HEAD-PARTN_CAT,
          PARTNER_ROLE  TYPE BAPIBUS1006_BPROLES-PARTNERROLE,
          BP TYPE BAPIBUS1006_HEAD-BPARTNER,
          CENTRALDATA TYPE BAPIBUS1006_CENTRAL,
          ORGAN_DATA TYPE BAPIBUS1006_CENTRAL_ORGAN,
          ADDRESS_DATA TYPE BAPIBUS1006_ADDRESS,
          IT_TELEPHONDATA TYPE TABLE OF BAPIADTEL ,
          WA_TELEPHONDATA TYPE BAPIADTEL,
          IT_FAXDATA TYPE TABLE OF BAPIADFAX ,
          WA_FAXDATA  TYPE BAPIADFAX ,
          IT_URI TYPE TABLE OF BAPIADURI ,
          WA_URI  TYPE BAPIADURI ,
          IT_E_MAILDATA TYPE TABLE OF BAPIADSMTP,
          WA_E_MAILDATA TYPE  BAPIADSMTP,
          IT_RETURN TYPE TABLE OF BAPIRET2 ,
          PARTNER_GRP TYPE BAPIBUS1006_HEAD-PARTN_GRP,
          TITLE_KEY TYPE AD_TITLE,
          TITLE(2) TYPE C,
          BPDISTI TYPE BAPIBUS1006_HEAD-BPARTNER,
          IT_RETURN1 TYPE TABLE OF BAPIRET2,
          IT_MObile type  TABLE OF ADTEL,
          WA_mobile type ADTEL,
          RELTYPE TYPE BAPIBUS1006_relations-relationshipcategory.
    PARTNER_CATEGORY = '2'. "Organization
    *PARTNER_GRP = '0001'.
    PARTNER_ROLE = 'ZCRM02'.
    ORGAN_DATA-NAME1 = 'ANURAG77 '.
    ORGAN_DATA-NAME2 = 'K'.
    ADDRESS_DATA-HOUSE_NO = '24'.
    ADDRESS_DATA-STREET = 'MAIN'.
    ADDRESS_DATA-POSTL_COD1 = '461661'.
    ADDRESS_DATA-CITY = 'BANGALORE'.
    ADDRESS_DATA-REGION = '05'.
    ADDRESS_DATA-COUNTRY = 'IN'.
    WA_TELEPHONDATA-COUNTRY = 'IN'.
    WA_TELEPHONDATA-TELEPHONE  = '9827654651'.
    WA_TELEPHONDATA-EXTENSION = '91'.
    APPEND WA_TELEPHONDATA TO IT_TELEPHONDATA.
    wa_mobile-country = 'IN'.
    wa_mobile-tel_number = '987654321'.
    wa_mobile-r3_user = '2'.
    append wa_mobile to it_mobile.
    WA_FAXDATA-COUNTRY = 'IN'.
    WA_FAXDATA-FAX = '987654321'.
    WA_FAXDATA-EXTENSION = '91'.
    APPEND WA_FAXDATA TO IT_FAXDATA.
    wa_uri-uri_type = 'FTP'.
    WA_URI-URI = 'ftp.abc.com'.
    APPEND WA_URI TO IT_URI.
    CALL FUNCTION 'BAPI_BUPA_CREATE_FROM_DATA'
      EXPORTING
        BUSINESSPARTNEREXTERN              =
          PARTNERCATEGORY                    = PARTNER_CATEGORY
          PARTNERGROUP                       = PARTNER_GRP
          CENTRALDATA                        = CENTRALDATA
        CENTRALDATAPERSON                  = PERSON_DATA
          CENTRALDATAORGANIZATION            = ORGAN_DATA
        CENTRALDATAGROUP                   =
          ADDRESSDATA                        = ADDRESS_DATA
        DUPLICATE_MESSAGE_TYPE             =
        ACCEPT_ERROR                       = ' '
      IMPORTING
          BUSINESSPARTNER                    = BP
      TABLES
          TELEFONDATA                        = IT_TELEPHONDATA
          FAXDATA                            = IT_FAXDATA
         TELETEXDATA                        = it_mobile
        TELEXDATA                          =
         E_MAILDATA                         =
        RMLADDRESSDATA                     =
        X400ADDRESSDATA                    =
        RFCADDRESSDATA                     =
        PRTADDRESSDATA                     =
        SSFADDRESSDATA                     =
          URIADDRESSDATA                     = IT_URI
        PAGADDRESSDATA                     =
        ADDRESSNOTES                       =
        COMMUNICATIONNOTES                 =
        COMMUNICATIONUSAGE                 =
        TELEFONDATANONADDRESS              =
        FAXDATANONADDRESS                  =
        TELETEXDATANONADDRESS              =
        TELEXDATANONADDRESS                =
        E_MAILDATANONADDRESS               =
        RMLADDRESSDATANONADDRESS           =
        X400ADDRESSDATANONADDRESS          =
        RFCADDRESSDATANONADDRESS           =
        PRTADDRESSDATANONADDRESS           =
        SSFADDRESSDATANONADDRESS           =
        URIADDRESSDATANONADDRESS           =
        PAGADDRESSDATANONADDRESS           =
        COMMUNICATIONNOTESNONADDRESS       =
        COMMUNICATIONUSAGENONADDRESS       =
          RETURN                             = IT_RETURN.
        ADDRESSDUPLICATES                  =
    CALL FUNCTION 'BUPA_ADDRESS_ADD'
      EXPORTING
        IV_PARTNER                           = BP
      IV_PARTNER_GUID                      =
        IS_ADDRESS                           = ADDRESS_DATA
      IV_DUPLICATE_MESSAGE_TYPE            =
      IV_ACCEPT_ERROR                      = ' '
      IV_ADDRGUID                          =
      IV_X_SAVE                            = 'X'
      IV_CONSIDER_CONSNUMBER_FOR_INS       = ' '
      IV_CHECK_ADDRESS                     = 'X'
    IMPORTING
      EV_ADDRNUMBER                        =
      EV_ADDRGUID                          =
    TABLES
       IT_ADTEL                             = it_mobile
      IT_ADFAX                             =
      IT_ADTTX                             =
      IT_ADTLX                             =
      IT_ADSMTP                            =
      IT_ADRML                             =
      IT_ADX400                            =
      IT_ADRFC                             =
      IT_ADPRT                             =
      IT_ADSSF                             =
      IT_ADURI                             =
      IT_ADPAG                             =
      IT_ADREM                             =
      IT_ADCOMREM                          =
      IT_ADUSE                             =
      IT_ADDR_COMM_USE                     =
      ET_ADDR_DUPLICATES                   =
      ET_RETURN                            =
    CALL FUNCTION 'BAPI_BUPA_ROLE_ADD_2'
        EXPORTING
          BUSINESSPARTNER                   = BP
        BUSINESSPARTNERROLECATEGORY       =
        ALL_BUSINESSPARTNERROLES          = ' '
          BUSINESSPARTNERROLE               = PARTNER_ROLE
        DIFFERENTIATIONTYPEVALUE          =
        VALIDFROMDATE                     =
        VALIDUNTILDATE                    = '99991231'
      TABLES
        RETURN                            =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        WAIT          =
      IMPORTING
        RETURN        =
    please help me with the same. I am new to SAP and BADI.

  • Problem in Creating Business Partner through BP

    Hi All,
    I am facing a problem in creating a business partner through transaction BP. I am selecting the Create Person tab. Selecting 'Employee' as BP role, choosing Xxternal Assignment. I am also giving mandatory fields like First name , last name and country. When i am saving it it is getting saved but an error message comes which says "Personal Address does not exist".
    The entry comes in table BUT000 also but when I go to BP transaction again and open the Business partner it is not opening giveing the same error message. Please help in resolving this.
    Thanks & Regards,
    Saket

    Hello Saket,
    The error "Personal Address does not exist" (AM013) indicates a DB inconsistancy. That is the address number in table BUT020 does not have data in table ADRC. Please check whether this is your case.
    If you can recreate such error in a non-modified SAP enverionment, please raise a customer message to SAP.
    To correct the inconsistancies, please use the reports in note 865271 and note 1096330.
    Best regards,
    Maggie

  • 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

  • Limit the number of Business Partner relations in BP Master data

    Hello Gurus,
    I have a requirement where I have to limit the number of business partner relations to 2 at BP Master Data.For example for a BP X, there cant be more than 2 contact persons. So in the relationship tab they should not be able to add more than 2 contact persons. I know we can do this partner processing in sales transactions, but not sure we can implement the same in BP Master Data.
    Thanks a Lot in advance for your replies,
    Krishna.

    Hi,
    You can achieve this by customizing. Go to Transaction BUBA. Double click on you relationship category. Now change the cardinality. In your case it will be 0:2 .
    This will solve your problem.
    Thanks and warm regards,
    Smita.

  • Error in creating business partner through transaction FPP1 in ECC6.0

    HI,
    We have upgraded our system from 4.7E to ECC6.0.Now when we are trying to create business partner through transaction FPP1 we are getting error as " Exception condition "NO_ACTIVE_TAB" raised."
    Can any one help us in rectifying the error and tell us the possible causes of error.. .??
    Regards,
    Shruti Singh

    Hello,
    Notes  696189 & 618123 may be of some help to you....:)
    Regards
    Olivia

  • LSMW to upload Business Partner through IDOC

    Hello,
    I have requirement to upload Business partner  through IDOC. I am using below message type and IDOC type.
    1:- Message Type :- CRMXIF_PARTNER_SAVE_M
    2:- Basic Type :- CRMXIF_PARTNER_SAVE_M02
    Could you please tell me what configuration I need to do for this? Like creating partner profile, port etc
    Also I need to extend this IDOC segment to take care of my Z fields.
    After extending the IDOC segment do I need to write code in order to update this Z filed or it will be take care and also how to extend existing IDOC.
    If any one have has done this before then please share the logic.
    Kindly help.
    Regards
    Sachin

    Hi,
    Try LSMW with the IDOC method.
    Message type: BUPAFS_FS_CREATE_FRM_DATA2
    Basic type: BUPAFS_FS_CREATE_FRM_DATA201
    You will need to setting for IDOC: port, partner type, etc.
    Manish

  • Creation of Business Partner through IDOC

    Dear All,
    I have to create a business partner which happens through Idoc of message type DEBCOR. My problem is that though I am getting the IDOC message as incoming type which is also getting processed however the creation of BP is not happening. Since IDOC is also showing in green as successfully processed, I dont have any clue where to check it. Any idea as to what could be the possible problem ?
    best regds
    Subha

    IDocs and BAPIs sometimes behave differently than transactions. You might need to add a user exit specifically for IDoc processing. Otherwise send a message to SAP and have them look at it.

  • Customer number of business partner can not be determined

    Hello,
    I created the BP for role TR0100 Main Loan Partner and I also added the role for FLCU00 for FI Client where I put the Company Code information and link this BP with the customer number in FI.
    When I am create a general loan (SAP Banking) the system did not determine the customer number in the Partner view, so when I go to make a Disburse (FN5V), I put the company code and the contract number, and then I get the error message "Customer number of main loan partner cannot be determined" Message no. 67087.
    I have reviewed the configuration and the SAP help for this scenario but I have not resolved this problem. We are starting this project so do you think this error could be generated because FI has not been fully customized ?
    Thank you for your help.

    Thank you Prasad,
    But I have not resolved the issue,
    I reviewed you 2 suggestions but the issue still continues.
    1. I configured 2 company codes and the settings for product types and the activities for the loans are completed. In fact, I can save contracts and see the cash flow.
    2. I am using for example the condition 201 A_Nominal Interest and the flow type assigned is 0110 and the check "Payment transaction" is set.
    I hope you can tell me others suggestions,
    Thank you.
    Regards

  • Assign Address Name in Business Partner with UI API

    Hi all,
    I want to assign an address to a Business Partner before is added with UI API.
    The code I use is:
    Dim Source As SAPbouiCOM.Matrix
    Dim EText As SAPbouiCOM.EditText
    oItem = oForm.Items.Item("69")
    Dim oMatrix As SAPbouiCOM.Matrix = oItem.Specific
    Dim ocol As SAPbouiCOM.Column
    ocol = oMatrix.Columns.Item("20")
    ocol.Cells.Item(2).Click(SAPbouiCOM.BoCellClickType.ct_Regular)
    oItem = oForm.Items.Item("178")
    Source = oItem.Specific
    EText = Source.Columns.Item("1").Cells.Item(1).Specific
    EText.Value = cardname
    When I try to assign to EText.Value it prompts me an error that item is not editable.
    Am I missing something??
    Many Thanks,
    Lena Apostolou

    Hello Lena,
    here is a code sniffet, which is working....
    If pVal.FormType = "134" Then
                If pVal.BeforeAction = True And pVal.ItemUID = "1" And pVal.EventType = BoEventTypes.et_ITEM_PRESSED Then
                    Dim oForm As SAPbouiCOM.Form = sbo_application.Forms.GetForm(pVal.FormTypeEx, pVal.FormTypeCount)
                    Dim oMatrix As SAPbouiCOM.Matrix = oForm.Items.Item("69").Specific
                    oMatrix.Columns.Item("20").Cells.Item(oMatrix.VisualRowCount()).Click(BoCellClickType.ct_Regular)
                    oMatrix = oForm.Items.Item("178").Specific
                    Dim oEditText As SAPbouiCOM.EditText = oMatrix.Columns.Item("1").Cells.Item(1).Specific
                    oEditText.String = "asdasdas"
                End If
            End If
    Regards
    J-

  • Search Ship-to-Address Number per Business Partner

    Hi experts!
    Do you know of a FM which would read all ship-to-addresses of a business partner?
    For example we have Business Partner No. 1 with 50 Ship-to-Addresses. Now we would like to find the adress no. of each of the Ship-to-Addresses either with help of a FM or directly in a table.
    Do you have any ideas?
    Many thanks for your help.
    Corinne

    Hi Corinne,
    I suppose you defined your ship to adresses in the org structure. Then you must find them by using module function BBP_READ_ATTRIBUTES with userid and attribute SHIP_TO. The fm must then show you all the address numbers.
    With these address numbers go to table ADRC where you will have all the address details.
    Hope this will help you.
    Best regards,
    Reward points if helpfull.

  • How to assign status profile to Business partner

    Hi Gurus,
    in sap crm 7.0 web ui
    i want to restrict particular user group to only" see" accounts it means only  "display"  view this we can achieve through status profile but how it is configured i don't know...can somebody help me understand it.
    Thanks,
    Gaurav
    Edited by: wwgauravshah on Nov 4, 2011 2:21 PM

    hi PP,
    in sap crm7.0 web ui
    1.i have a requirement that once the account is created manually one at a time and while saving bp, a  "opportunity"/lead transaction should get created automatically, this we can achieve with the help of action workflow ...can some body tell me how to configure it...exactly where we can assign action profile to BP.
    2. once sales manager makes any changes to BP master, change update should trigger action workflow to inform all employee responsible automatically about changes.
    please help me it's critical....
    Thanks,
    Gaurav

  • Issues while adding job title  of a Business Partner through rel ship cate

    Hi friends
    we are getting employees data from R/3 HR . i am trying to assign the job titles to employees in CRM systems through relationship category but here i am getting error "Maintenance is only possible via an external HR system" .here if choose continues i am getting job title in change mode . i can give input for job title but  it is not saving. Could any one please suggest me how to do add the job title.
    whether it can be possible to change job title in CRM or not.
    If it is HR how could i add it.
    Earlier reply would be appreciated
    Thanks in advance
    Rao

    Hi friends
    we are getting employees data from R/3 HR . i am trying to assign the job titles to employees in CRM systems through relationship category but here i am getting error "Maintenance is only possible via an external HR system" .here if choose continues i am getting job title in change mode . i can give input for job title but  it is not saving. Could any one please suggest me how to do add the job title.
    whether it can be possible to change job title in CRM or not.
    If it is HR how could i add it.
    Earlier reply would be appreciated
    Thanks in advance
    Rao

  • Importing Business Partner through DTW

    Hi All...
      When i'm trying to import data through DTW it does not reflect changes in Database...Does anybody having any idea???
    Thanx

    Dear Pari,
    Please check the following :-
    1. Please make sure that the check box test run is not checked.
    2. Please check the database that you have selected before you will start the import.
    3. Please test this issue in the latest patch of SAP Business one and DTW.
    If still you have the same issue, please provide the details information about the
    SAP Business One version and the DTW version in which you are doing the test.
    Regards,
    Rakesh Pati
    SAP Business One Forum Team

Maybe you are looking for

  • Default username and password Oracle Hyperion workspace/shared services

    Hi Friends, I had installed Install Oracle Hyperion Planning, Fusion Edition Release 11.1.1.3.0 (foundation services and planning) but i am unable to login to workspace,shared services what is the default username and password for these.Please let me

  • Unable to launch forms in 12.2.4 environment

    Hello, I just patched R12.TXK.C.delta.6 and unable to launch my forms IE11 64 bit version and also applied IE general patches. Patch 20007138:R12.TXK.C Note 1 Patch 19855051:R12.FWK.C Patch 19863340:R12.FND.C Patch 19195514:R12.JTT.C How to troublesh

  • Need Driver for Palm Zire 71 Dock

    I need a driver for my Palm Zire 71 dock. I do not have the orginal disk.  When I press the sorce button nothing happens.  I did download the one to transfer data from the computer to the Palm. I have windows XP Pro W\ Service pack 2 Also I have Vist

  • HP Officejet 6500 Wireless/Curled corner with Ink blotch

    I am printing on 5.83" x 8.27" cardstock in color.  The left hand top corner of nearly every page is turned up with a round ink blotch that smears if you touch it.   I have printed about 100 of these on new color ink cartridges and it is getting wors

  • - RVTII-060: Subroutine inltpu() returned error - RVTII-060: Subroutine in

    Hi, I am getting " - RVTII-060: Subroutine inltpu() returned error - RVTII-060: Subroutine inltpu() returned error " error while processing receiving transaction. Can you please help Savita