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.

Similar Messages

  • 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

  • How do I get my messages to come through on my ipad Via my mobile number? They always used to but I've had to change all my Apple ID if that has anything to do with it? In iMessages it will only take an email address!

    How do I get my messages to come through on my ipad Via my mobile number? They always used to but I've had to change all my Apple ID if that has anything to do with it? In iMessages it will only take an email address!

    Hi EmilyWick123!
    Here is an article that will help you address this question about linking your Apple ID and phone number:
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/ht5538
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • I can't change my imessage so that it goes through my mobile number rather than my email

    I can't change my imessage so that it goes through my mobile number rather than my email
    For some unknown reason, my phone has decided to change my imessage reciever to my email rather than my actual mobile number and won't let me change it back

    Hi, i have had this same problem a few times, but i think i found a solution.
    Go into your setting to iMessage, disable it from your email, via logging out of it using your Apple iD
    So now ita only your phone number on iMessage.
    At first it wont work, but try turning it off and on, just give it abit of time until it registers that your number is able yo use iMessage.
    Once you notice its working, just go back and log back into using your Apple iD
    Hope it Helps
    Ryan.

  • Raise Error Message in ESS for invalid Mobile number IT0105 - 9004

    Hi Experts,
    I was asked to put a small validation on mobile number being entered by user in his personal details (to check country code).
    As we are using both PA30 and ESS, I have implemented both the BADI's
    HRPAD00INFTY (for PA30) and HRPAD00INFTYDB (under enhancement spot HRPAD00INFTYBL) for ESS.
    My first one is working fine and stops user from entering wrong mobile number.
    Coming onto second one for ESS, I have written my coding in the method IF_EX_HRPAD00INFTYDB~UPDATE_DB as follows
        CASE infty.
        handle infotype 0105
          WHEN '0105'.
            CASE subty.
              WHEN '9004'.
                ASSIGN operation-old_pnnnn->* TO <old_p0105>.
                ASSIGN operation-new_pnnnn->* TO <new_p0105>.
                ASSIGN operation-new_psref->* TO <new_psref>.
                ASSIGN operation-old_psref->* TO <old_psref>.
                CASE operation-opera.
            UPDATE
                  WHEN if_hrpa_masterdata_db=>update_operation.
                    lv_prefix1 = <new_p0105>-usrid+0(4).
                    IF lv_prefix1 EQ '9715'.
                      lv_length = STRLEN( <new_p0105>-usrid ).
                      lv_length = lv_length - 4.
                      IF lv_length NE 12.
                        RAISE EXCEPTION TYPE cx_hrpa_violated_assertion.
                      ENDIF.
                    ELSE.
                        RAISE EXCEPTION TYPE cx_hrpa_violated_assertion.
                    ENDIF.
    Now though this method is getting trigged and doing the validation perfectly, it is resulting in RUNTIME ERROR due to "RAISE EXCEPTION TYPE cx_hrpa_violated_assertion" which is un-caught.
    Can any one please let me know how to send back the error message without runtime error so that user has clear knowledge of mistake that he has done.
    Appreciate any help in this regard,
    Thanks,
    Lakshmi Narayana

    Why don't you use HRPAD00INFTYUI instead?
    ~Suresh

  • Use of Mobile Number for Duplication check in CRM 7.0

    Dear All,
    We are using SAP CRM 7.0 (Marketing). While creating a Business Partner, currenlty we are able get a Warning message based on Address check via TREX 7.0. But we need to check for duplicate based on "Mobile / Phone Number".
    Request you to share the approach for achieving this.
    Thanks.
    Raj

    Hi,
    As Den said you need to write your own code.
    Please see the badi ADDRESS_SEARCH. This badi  controls the duplicates search procedure .
    You have to implement this badi in your own way to find out the duplicate checks.
    Mobile number can not be brought in via BAS index fields.
    So the importing parameters in this badi will bring in other address attributes but not mobile number.
    So you have to find a provision to bring the mobile number of the bp inside the badi so that you can check on database with that value.
    please see the thread [How BUPA_ADDR_CHECK triggered;. A way of bringing mobile number in, is mentioned in this thread.
    Thanks,
    Rajini

  • Vendor mobile number and e mail ID.

    Hi all
    I have seen lot of posts on this issue but there is no answer for this plz help me.
    In which table the vendor mobile number(MOB_NUMBER) and mail ID(SMTP_ADDR) will store.
    IN ADR6 the mail ID will get but how to link it to LFA1 table.through ADDNUMBR i cont link.
    bec ADDRNUMBER is not in LFA1 and ADRNR is available in LFA1 not in ADR6.
    In ADR2, ADR3 I'mnot getting mobile number.
    how can i get mobile number and mail ID, and how can i link it to LFA1.
    plz help me
    ramesh reddy

    you have to link LFA1-ADRNR with ADR6-ADDRNUMBER
    that is not any problem because both fields have the same length and attributes.
    ADR2 has the telefon numbers, if the number belongs to a mobile phone then the field R3_USER has a 2 or 3 as indicator

  • Error:- How to assign Partner Number (KU) in R3 System [Idoc(KU) to File]

    Hi ,
    In Idoc to file Scenario (KU to LS), how to assign Partner numbe (KU) in R3 Sender system.
    I m getting below error:-
    No partner profile (outbound parameter) could be found using the following key:
    Do the needful.
    thanks
    Anshul

    Yes,  I have the partner profile maintained in we20 of type KU
    In We19, it is showing error:-
    No partner profile (outbound parameter) could be found
    For Example- For Logical system it is possible through  SALE

  • BAPI to add Customer's Contact Mobile Number

    Hello, I have to create a badi in which i have to create a business partner with details such as name, address ,telephone ,fax ,mobile number. I got bapi for everything except for mobile number. Please let me knw which bapi or functional module which can be used  for it . Please reply <removed by moderator>.
    Thanks and regards,
    anurag.
    Edited by: Thomas Zloch on May 10, 2011 11:11 AM

    hey jurgen thanks for your reply  but I was not able to get what you were trying to tell. Can you please elaborate as i am new to SAP.

  • Couldn't Imessage on his mobile number

    Hi,
    I am a new Iphone user,I got an Iphone4s in UK.I have added a contact of a friend of mine who also have an Iphone 4s and his contact have his mobile number and appleid. When trying to Imessage him.Its showing whether to send  through number or appleid(his e-mail) and I picked his number,Its sending message as normal text instead of Imessage? Any idea why. Is it to do with setting ins my phone or his?
    Help would be much appreciated.

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • Wrong mobile number not in my profile

    My Husband has advised me that his mobile number is showing up against my contact in his Skype.  It is showing up as 'call mobile 2'.  I have gone over my profile and cannot find it.  I removed my correct mobile number from my Skype profile but that only meant my correct number disappeared from my contact - my contact on my friends still has my husbands mobile number.  How do I fix this?

    @blah7:
    No problem, glad I could help. I wouldn't recommend Doctoring your phone unless there is another problem that warrants that troubleshooting step. I just think that if you ever have to sign out of your profile through a partial erase or webOS Doctor, that likely your phone number would update at that point.
    You're not having a problem right now, so "If it's not broke..."
    TreoAide

  • Cost of Skype calling a UK mobile number in India

    Hi there
    I want to call someone with a UK mobile number through skype, using PAYG, but he's in India. Does anyone know how much that will cost?
    If you don't know, could you please at least tell me whether it will be charged at the normal India rates or at other rates? It's important that this information is accurate, so if you're just guessing the answer, please make that clear.
    Thanks a lot and kind regards,
    Neil
    Solved!
    Go to Solution.

    RiverCactus wrote:
    I want to call someone with a UK mobile number through skype, using PAYG, but he's in India. Does anyone know how much that will cost?
    Hello
    If the recipient has a UK cellphone # you will be charged at UK cellphone calling rates. The recipient's location is irrelevant.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • I live in France and have a new iPad, if I phone a iPhone on its mobile number or 3G in the uk does it cost the user of that phone any money

    I live in France, if I use Face time, on my new iPad to call  an iPhone in the UK either on its mobile number or through 3 G does it cost the owner any money?

    It won't cost them any more because you're in France (as Facetime is done over the internet) it would just cost you whatever the local charges for internet usage is.
    If they use WiFi however it'll be free. (Aside from the cost of having the internet at home).

  • Customer Mobile Number

    Dear All,
    I am trying to upload customer Master data through LSMW, but while recording in SHDB transaction code, system is not showing Mobile number field.
    I tried to upload with TELEPHONE 2 field but here the problem is system is not showing this field in customer record in XD03.
    Please help.
    thanks & advance!
    Anup

    >
    anupam sharma wrote:
    > Dear All,
    >
    > I am trying to upload customer Master data through LSMW, but while recording in SHDB transaction code, system is not showing Mobile number field.
    >
    > I tried to upload with TELEPHONE 2 field but here the problem is system is not showing this field in customer record in XD03.
    >
    > Please help.
    >
    > thanks & advance!
    >
    > Anup
    Hello Anupam,
    While recording in SHDB, Tick the checkbox Use central address management in the initial screen.
    Now check and let me know if any issues.
    Regards
    DKS

  • How to update mobile number of contact personby any fm

    plz help me to update mobile number of the contact person

    Hi,
    In order to assign a number as mobile no., be sure to assign field r_3_user = 3. Rest remains the same,
    This field is present in structure BAPIADTEL which is used as importing table in most of the FMs used to create or maintain a Contact.
    Hope this helps. Let me know if you need more info.
    THanks
    Vishal

Maybe you are looking for

  • Loding data to dso from flatfile

    hi, while loading data to DSO from Flat file which fields should be mentiond in key fields and which fields should be mentioned in data fields.suppose,client,company code,record no,controllingarea,plant etc...... which flds sould be taken

  • ORA-02393 in an APEX PL/SQL Procedure

    Hi, I have a PL/SQL procedure in APEX that runs queries against a remote Database using a DB link. I do multiple calls to the DB in a FOR LOOP query. The procedure is failing with the error: "ORA-02393: exceeded call limit on CPU usage" I was wonderi

  • Disk burn icon won't go away?

    I burned a DVD and even after I ejected it, the Burn DVD icon alias won't disappear from the sidebar in the window. I tried dragging it out to the desktop so it would "poof" away, but it just goes back to the sidebar. It's so annoying. Any ideas abou

  • Best practises for replication

    Hi, I want to know what is best practise for duration of replicaation of database between two Cisco ACS. Regards, Atif.

  • How to control page eject

    I have this report that has to print the payslips. What currently happens is that after each payslip, it ejects to the next page to print the next payslip. What the user wants is that since around 4 - 5 paylips can fit in one page, after the printing