Update address-independent telehpone of BP
Hi all,
We need to change address-independent telephone numbers of business partner.
When such record already exists (telephone numbers are maintained), this can be done using function module 'BAPI_BUPA_CENTRAL_CHANGE' with TELEFONDATANONADDRESS.
However, when address-independent telephone record does not exist (all telephone numbers are empty) - BAPI return warning 'BAPIADTEL was not found' and BP is not updated.
We have found out that address-dependent data is updated with two separate functions: 'BAPI_BUPA_ADDRESS_ADD' and 'BAPI_BUPA_ADDRESS_CHANGE', but we have not been able to find out similar ADD function for address-independent records.
Does anyone know how to update address-independent records (telephone, in this case) via ADD method?
Hi Ujwal,
I dont have a ready code right now.
Firstly, the module BUPA_CENTRAL_GET_DETAIL can be used to get all the details of the address independent communications.
Later for delete:
BUPA_CENTRAL_CHANGE : For example say telephone data has to be filled.
The corrsponding cons number has to be filled in 'IT_ADTEL_ADDR_IND' and the corresponding flag set in IT_ADTEL_ADDR_IND_X and also the update flag should be set to 'D'. In this way the telephone number can be deleted.
For restricitng the validity, the corresponding valid from and valid to fields can be updated accordingly in the same way.
Regards,
Sudheer.
Similar Messages
-
Update address-dependent email field on save of BP
We have a requirement to update the address-dependent email field from the address-independent email field upon saving a Business Partner.
I've been working on the 'BUPA_ADDR_UPDATE' BADi but am having no luck with it so far. I have managed to retrieve the data in the address-independent email field using the 'BUPA_CENTRAL_GET_DETAIL' Function Module but as yet have not been able to do the update of the address-dependent email field.
Can anyone offer any guidance please ?
thanks,
Malcolm.Hi Malcolm,
Try using the BADI : ADDR_UPDATE.
Email is a part of the address management, so you would need an address badi.
BUPA_ADDR_UPDATE is a business partner badi and only has the address reference - such as address number, validity, move date, etc..it will not help in cases where you need to work with address fields such as city, country, email,etc.
Another approach :
Try writing your code in PARTNER_UPDATE badi. This is called after save of BP. So you can probably trigger another update on the BP's address from here..
Hope this helps you.
Cheers,
Rishu. -
Update Address and communication Details of BP
Hi,
Requirement is we need to update address and communication details of BP, please let us know relative BAPI for the same. Below roles has to be updated with given address and communication details,
General Role
Employee Role
Help full information will be appreciated..Hi,
For updation of address you can use
BAPI_BUPA_ADDRESS_CHANGE.
I guess you cannot update a role . You can only add new roles with BAPI_BUPA_ROLE_ADD .
One more thing in address updation, Whatever fields are there in import parameter ( Address) you can update them even if they are not present in database.
But in case of Tables( Communication details) fields you can only update if the values are existing in database.
Reward if helpful.
Regards
Sourabh -
Updating address of a partner in crmd_order Service Contract
Hello everybody,
I have a requirement of updating address of partners in service contracts in SAP CRM. I have tried to create an address number and person number and pass it to crm_order_maintain but it is not working. Please help me with this.
Thanks in advance.
Regards,
Srujana.I generated a partner set guid from the object guid and obtained new addr and person numbers by using this partner set guid. I am then passing them to crm_order_maintain using the following code but it doesnot seem to work. Please refer to this code and help me.
data: doc_id TYPE char32,
new_addrnr TYPE AD_ADDRNUM,
new_addrnp TYPE AD_PERSNUM.
*doc_id = wa_ls_orderadm_h-guid.
DATA: partner_set_guid TYPE crmt_object_guid.
CALL FUNCTION 'CRM_LINK_GET_OW'
EXPORTING
iv_guid_hi = wa_ls_orderadm_h-guid
IV_OBJNAME_HI = 'ORDERADM_H'
IV_OBJNAME_SET = 'PARTNER'
IV_GET_ALL =
IV_INHERIT_FROM_STR = 'X'
IMPORTING
ET_LINK =
EV_GUID_SET = partner_set_guid
EXCEPTIONS
INVALID_INPUT_DATA = 1
NO_ALLOCATED_OBJ_FOUND = 2
UNDEFINED_INTERNAL_ERROR = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'COM_PARTNER_ADDRESS_COPY'
EXPORTING
iv_caller = 'CRM'
IV_DOCUMENT_ID = doc_id
iv_partnerset_guid = partner_set_guid"'00000000000000000000000000000000'
iv_addr_nr = ls_partner_wrk-addr_nr
IV_ADDR_NP = ls_partner_wrk-addr_np
iv_addr_type = '2'
IV_CONVERSION_3_TO_2 = ' '
IV_MAKE_EMPTY = ' '
IV_NEW_ADDRESS_TYPE = ' '
IMPORTING
EV_NEW_ADDR_NR = new_addrnr
EV_NEW_ADDR_NP = new_addrnp
EV_NEW_ADDR_TYPE =
EXCEPTIONS
ERROR_OCCURRED = 1
PARAMETER_ERROR = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
i passed the generated addrnr and addrnp to the crm_order_maintain as follows
wa_partner1-addr_nr = new_addrnr."ls_partner_wrk-addr_nr.
wa_partner1-addr_np = new_addrnp."ls_partner_wrk-addr_np.
wa_partner-addr_nr = new_addrnr."ls_partner_wrk-addr_nr.
wa_partner-addr_np = new_addrnp."ls_partner_wrk-addr_np.
wa_partner-addr_type = ls_partner_wrk-addr_type.
INSERT wa_partner INTO TABLE it_partner.
APPEND wa_partner_att TO it_partner_att.
INSERT wa_field_names INTO TABLE it_field_names.
wa_field_names-fieldname = 'ADDR_NP'.
wa_field_names-CHANGEABLE = 'B'.
INSERT wa_field_names INTO TABLE it_field_names.
wa_field_names-fieldname = 'ADDR_NR'.
wa_field_names-CHANGEABLE = 'B'.
INSERT wa_field_names INTO TABLE it_field_names.
wa_field_names-fieldname = 'ADDR_ORIGIN'.
wa_field_names-CHANGEABLE = 'B'.
INSERT wa_field_names INTO TABLE it_field_names.
wa_field_names-fieldname = 'ADDR_TYPE'.
wa_field_names-CHANGEABLE = 'B'.
INSERT wa_field_names INTO TABLE it_field_names.
wa_field_names-fieldname = 'STD_BP_ADDRESS'.
wa_field_names-CHANGEABLE = 'B'.
INSERT wa_field_names INTO TABLE it_field_names.
DATA : lv_bp TYPE bu_partner,
lv_bp_log(16) TYPE c,
lv_partner_guid TYPE bu_partner_guid,
lv_msg_text TYPE bapi_msg,
lv_error_text TYPE char8000,
lv_bpbp(4) TYPE c VALUE 'BPBP',
lv_logical_key TYPE crmt_logical_key,
lv_length TYPE i.
SELECT SINGLE partner FROM but000 INTO lv_bp WHERE partner_guid = wa_partner-partner_no.
*Building Logical Key for maintaining partner
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = lv_bp
IMPORTING
output = lv_bp.
CONDENSE lv_bp NO-GAPS.
lv_bp_log = lv_partner_guid+0(10) ."lv_bp.
CONDENSE lv_bp_log NO-GAPS.
CONCATENATE '0000'
'Z0000009'
lv_bp_log
lv_bpbp
INTO lv_logical_key
RESPECTING BLANKS.
wa_input_fields-ref_handle = lv_handle.
wa_input_fields-ref_guid = wa_ls_orderadm_h-guid.
wa_input_fields-ref_kind = 'A'.
wa_input_fields-objectname = 'PARTNER'.
*wa_input_fields-ref_handle = '0000000001'.
wa_input_fields-logical_key = lv_logical_key.
wa_input_fields-field_names = it_field_names.
INSERT wa_input_fields INTO TABLE ct_input_fields.
DATA: lv_created_partnerset_guid TYPE CRMT_OBJECT_GUID.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
IT_PARTNER = it_partner
IMPORTING
ET_EXCEPTION = it_exception
CHANGING
CT_ORDERADM_H =
CT_ORDERADM_I =
CT_INPUT_FIELDS = ct_input_fields
CV_LOG_HANDLE =
CT_PARTNER_ATTRIBUTES =
CT_DOC_FLOW =
EXCEPTIONS
ERROR_OCCURRED = 1
DOCUMENT_LOCKED = 2
NO_CHANGE_ALLOWED = 3
NO_AUTHORITY = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
*CALL FUNCTION 'CRM_PARTNER_MAINTAIN_SINGLE_OW'
EXPORTING
IV_REF_GUID = wa_ls_orderadm_h-guid
IV_REF_KIND = ls_partner_wrk-ref_kind
IS_PARTNER_COM = wa_partner1
IV_POPULATE_MODE = 'X'
IV_CHECK_PARTNER_ONLY = ' '
IS_PARTNER_CONTROL = wa_partner_control
IMPORTING
EV_CREATED_PARTNERSET_GUID = lv_created_partnerset_guid
CHANGING
CT_INPUT_FIELD_NAMES = it_field_names
CT_PARTNER_ATTRIBUTES_COM = it_partner_att
EXCEPTIONS
ERROR_OCCURRED = 1
OTHERS = 2
*IF sy-subrc = 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
DATA: IT_SAVED_OBJECTS TYPE CRMT_RETURN_OBJECTS,
REFERENCE(ET_EXCEPTION) TYPE CRMT_EXCEPTION_T
IT_OBJECTS_NOT_SAVED TYPE CRMT_OBJECT_GUID_TAB.
*DATA: wa_order TYPE CRMT_ORDERADM_H_COM.
*MOVE-CORRESPONDING wa_ls_orderadm_h to wa_order.
*CALL FUNCTION 'CRM_ORDER_H_COMPLETE_OW'
CHANGING
cs_orderadm_h = wa_order.
ls_act_to_save = wa_ls_orderadm_h-guid.
APPEND ls_act_to_save TO lt_act_to_save.
CALL FUNCTION 'CRM_ORDER_SAVE'
EXPORTING
it_objects_to_save = lt_act_to_save
IMPORTING
ET_SAVED_OBJECTS = IT_SAVED_OBJECTS
et_exception = it_exception
ET_OBJECTS_NOT_SAVED = IT_OBJECTS_NOT_SAVED
EXCEPTIONS
document_not_saved = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
WAIT UP TO 2 SECONDS.
commit work.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = c_x.
WRITE: / 'Service Contract updated = ', p_obj_id.
ENDIF.
ENDIF. -
Can't accurately update Address Book from LinkedIn vCard
Hi everybody,
Unlike when I used Outlook for Windows, I have had trouble updating Address Book with LinkedIn vCards. If a contact leaves one company for another and I try to update his information, the new company name and title end up being put into the notes field in Address Book. I asked LinkedIn this and got the following reply:
Thanks for reaching out to us - Sorry to hear that importing your contacts isn't working.
Unfortunately, this feature works best with Windows products, like Outlook and was not designed for use with Apple products.
I find this unacceptable and would love any suggestions as to a plugin or extension to make this work.
Thanks!
DougI'm not sure if this will help.
I have saved some sheets in csv format from Excel, but it seems that the import function from the address book doesn't accept the csv extension.
Saving the data in a txt file did solve the issue.
Make sure that your file extension is .txt and that the data is tab of semicolon delimited. -
Does the 10.5.7 update address command+f finder search issues?
Does the 10.5.7 update address command+f finder search issues?
Search has been horrible under 10.5 in that it does not reliably find FOLDERS on network drives, only file names.
Even when I am looking directly at a folder and I search for it will not appear in the command+f window.
Also the stupidity of not allowing a specific search location.
Has this been addressed? I have, at any given time, 3-4 mounted servers.
I do not have a choice now to search a specific hard drive.
10.4.11 gave me the option under "OTHERS" to select a specific place to search.
The only choice I have in 10.5.2 is "SHARED". Which searches all drives when I only want to search one. Nor do I have a choice of searching just one of my two internal drives.
I talked with Chris in apple engineering several months ago, who acknowledged that search problems are a known issue under 10.5 and this was being addressed but have not heard any more. I don't want to download an update unless these broken search issues have been fixed. This is a production machine and I cannot have downtime in the Dept.Have you filed a bug report or enhancement request with Apple?
http://bugreport.apple.com/ -
Update ADDRESS PURPOSE DETAILS for Supplier
I am working in R12 EBS with oracle database 10g. I have a requirement to update the 'SUPPLIER ADDRESSBOOK DETAILS'.
ACCOUNT PAYABLES RESPONSIBILITY--> SUPPLIER-->ENTRY-->SUPPLIER-->ADDRESS BOOK-->UPDATE ADDRESS
Then you can update the supplier address details.This page contains two sections 'ADDRESS DETAILS' and 'CONTACT DETAILS AND PURPOSE'. In 'Contact Details and Purpose' section, *'Address Purpose' column contains 3 check boxes, named, 'purchasing','payment', and 'RFQ Only'.*
My requirement is, i have 50 suppliers, i need to check these 3 check boxes of Address Purpose' for every supplier.
I can't do it manually for each supplier; Could anyone suggest me the solution to update 'Address Purpose' for supplier. Is there any API or INTERFACE available?
Any Suggestion is very helpful.
Thanks in advance.If it is a one time task for 50 suppliers, doing it manually will be much quicker than researching and writing an interface.
-
Update ADDRESS PURPOSE FOR SUPPLIER
I am working in R12 EBS with oracle database 10g. I have a requirement to update the 'SUPPLIER ADDRESSBOOK DETAILS'.
ACCOUNT PAYABLES RESPONSIBILITY--> SUPPLIER-->ENTRY-->SUPPLIER-->ADDRESS BOOK-->UPDATE ADDRESS
Then you can update the supplier address details.This page contains two sections 'ADDRESS DETAILS' and 'CONTACT DETAILS AND PURPOSE'. In 'Contact Details and Purpose' section, *'Address Purpose' column contains 3 check boxes, named, 'purchasing','payment', and 'RFQ Only'.*
My requirement is, i have 50 suppliers, i need to check these 3 check boxes of Address Purpose' for every supplier.
I can't do it manually for each supplier; Could anyone suggest me the solution to update 'Address Purpose' for supplier. Is there any API or INTERFACE available?
Any Suggestion is very helpful.
Thanks in advance.Hi,
1/Do you have only these 50 suppliers in one SOB ?
If Yes it is very easy : you have to launch the recorder with winparrot, click on each checkbox and add in the macro a loop
(with a :BEGIN label and the Goto(:BEGIN,1) function). You can use the IfImage() function to be sure that each checkbox is checked.
2/If you must do it for a list of 50 suppliers (and you have more than 50 suppliers in this SOB) you must record like in 1/ and :
List the 50 suppliers in an Excel spreadsheet 1, of the XLS file $F and use the function XlsReadData($F,1, "A"&$L) where $L is the line for each supplier name.
(use the strings "V[F11]" and "\[CTRL]V[F11]/[CTRL]" to query in forms each supplier)
Please let us know if you succeed or need help :-) (case 1/ or /2 ?)
Regards
Edited by: user12065962 on 2 févr. 2011 12:31
Edited by: user12065962 on 2 févr. 2011 12:31 -
What happened before when I received an updated address book was an option to update their address. It's gone away now and only option when viewing their address attachment is to add. Any ideas?
Hi,
The details of this person in your address boko are slightly different to what is in the email/attachement.
Of course you've got additional details, but I am referring to the key fields (sorry, I dont know what these are).
Perhaps the perons name has an extra middle initial, or is missnig the midddle initial, or the mobile number is the work phone field, etc but the fields are different and thus it thinks this is a NEW contact.
Best option is to Add the contact and then delete the old one. After all, the new one should have all his details.
Checked out my Blackberry FAQ's and Links to Needed Articles here
http://darkeen.homelinux.com/index.php/Blackberryfaq -
Hi all,
Iam developing a new transaction where an user can change delivery even after GI has peen posted(std.SAP doesn't allow this).
In this , when an user wants to update address of the partners i do not want t change master data.
i want to create a new adr. number and store the address in that for the particular KUNNR.
any ideas on how to do this..
Thanks...Sanjay is right. I was about to say the same thing. Why didn't they consider reversing the PGI, make the changes and then redo the PGI. Or even better, why don't you do it in your custom transaction like this. The end user doesn't to know about it. Only that they will see additional documents in the document flow.
I am still wondering how anyone agreed to this. Are you not under any strict auditing regime? This way of direct database table updates is the very first thing that ticks off the auditors. It raises a very big red flag with them.
Even if you are using it in a limited sense, using just SD, are you sure you have these changes under control? Where does the transactions stop in SAP. Do they go to SD billing and stop there or do they go further to FI? Are you sure changing the address does not impact business? What if some of those changes require redetermining transportation routing ir new payment terms or freight charges, or changes to the delivery time, now that the address is in Hawaii instead of Halifax?
Even the packing/unpacking, how are doing this? Are you not facing any issues with the inventory? Are you not having issues with your packing material? This must a lot complicated transaction than the VL02N itself. What controls do you have in place that it wont be misused or mishandled by a user?
Even if someone did it this way does not mean that we should support it. See if your client sees the validity of this argument and try to do what Sanjay has said.
I don't think there is any realistic solution to it if you still have to do it this way.
Regards,
Srinivas -
Are combo updates totally independent on more recent non system updates?
Hi everyone!
Would reapplying the 10.5.7 combo update switch back to safari 3.2.3 (which was included in 10.5.7), when you already have safari 4 installed?
And if so, would safari 4 (and every update that came after the combo) show up in software update again, even though a receipt for it already exists in /Library/Receipts?
So are combo system updates totally independent on more recent non system updates, or would it mix up things (there was also additional RAW image support in the 10.5.7 combo and later came" Digital Camera RAW Compatibility Update 2.6")?
Just generally interested, what really happens, if reapplying the combo for possible troubleshoot is ever needed.
Any Top User? : )steko wrote:
Hi everyone!
Would reapplying the 10.5.7 combo update switch back to safari 3.2.3 (which was included in 10.5.7), when you already have safari 4 installed?
no.
And if so, would safari 4 (and every update that came after the combo) show up in software update again, even though a receipt for it already exists in /Library/Receipts?
So are combo system updates totally independent on more recent non system updates, or would it mix up things (there was also additional RAW image support in the 10.5.7 combo and later came" Digital Camera RAW Compatibility Update 2.6")?
Just generally interested, what really happens, if reapplying the combo for possible troubleshoot is ever needed.
reapplying combo update will not affect any other updates. they are independent.
Any Top User? : ) -
Update address details of connection object
Hi,
I need a FM/BAPI to update address details of connection object.
I'm currently using ADDR_UPDATE and 'ADDR_MEMORY_SAVE' I'm able to successfully update 9 address lines.
But not the telephone and fax number.
Hence I need a FM/BAPI to specifically update telephone and fax number of connection object.
Please suggest.
Thanks.
Priyanka Ashtekarhi,
refer ti this link...
Updating Connection Object Address -
Address Independent Communication Data
Hello Experts,
The Adress tab of a Business Partner has an assignment block called "Address Independent Communication Data" which has fields like Phone, Email, Fax etc.
Is this assignment block available in the CRM 2007 UI?And if its not available then is there any way it can be created in the UI?
Your help is very much appreciated.
Thanks in Advance
AnupamHello Anupam,
late response, but maybe it helps anybody. The fields are available in (private) account view of the business partner.
Technical data is:
Object type: BP_ACCOUNT
(Objekt subtype: INDIVIDUAL)
View: BP_HEAD/AccountDetails
Kontext Node: INDEPENDANTPHONE, Attribute: STRUCT:TELEPHONE
Context Node: INDEPENDANTEMAIL, Attribute: STRUCT.E_MAIL
Best Regards
Anna -
How often does Apple Maps update address locations?? there is an address in Gainesville, Fl it is a health facility as it was priority to locate, the address is 4037 NW 86th Terr, 32606. I had to use my google maps app... it then took me to the correct address and located it no problem. please update at least this address so people in need of health care don't go through the same thing I had to endure...
The satellite imagery on Apple Maps shows that whole area as undeveloped woods. Google shows a brand new building with the nearby streets.
Use the "Report a Problem" button on the Maps to inform Apple of the required update. -
Problem with BAPI_SALESORDER_CHANGE for updating address details
Hi,
I am trying to update address details using the bapi BAPI_SALESORDER_CHANGE. I am unable to update. I am populating only the required fields.
Could anyone tell whats the problem with BAPI?
Thanks & Regards,
Yaseen Mahammad.Yaseen,
Do check whether you have passed values to the internal table ORDER_HEADER_INX. You have to pass value to the update field as 'U' and all the fields which you have passed in the header internal table as 'X'.
and behave_when_error = 'P'
Maybe you are looking for
-
Approver Invoice history (AP Module)
Hello All, I am a beginner to EBS and currently learning AP module. I have a quick question and hoping to get some assistance The question is, Is there any "find" function in AP module where an approver could see one year old approved invoices?? I ha
-
Standby not in sync with primary
Hi, I am having oracle 9.2.0.7 on AIX and having physical standby database running on another server. Since the last 2 days it is not in sync and the required archivelog files are removed from production. Could you please help me out to resolve the i
-
Photoshop CS3 need image rollover assistance/save for web
I just installed Photoshop CS3, was disappointed to see ImageReady gone but not worried. I updated an old rollover file with new wording and went to save the slices as I had always done in the past - with ImageReady, it would automatically save the f
-
Need Indian Rupees Format in PLD - SAP B1
Hi Experts, I need the Indian Rupees format.. the below image shows wrong in last word.. instead of paisa.. it shows hundereths in PLD.. I used colsum("F_306") and marked as sum in words Give me a solution ASAP. thanks in advance warm r
-
I don't know if this applies to anyone else, but I'd found AND searches for keywords rather awkward - much slower than OR searches where you can just select multiple keywords. However, I just found a much quicker method: Say you want to search for "D