on 02-28-2008 2:56 PM
Hello,
Is ther a functionodule which we can use to load delivery address for a business partner. We have hundreds of delivery address and it is very difficult to use SRM transaction bbpaddrintc in the back ground to create addrsse. I am looking for a way to mass load delivery address for a single company and then use them as delivery address in orgstructure attributes for shopping.
Thanks and regards
Abdul
Hi,
1) The message type (ALE / IDoc) BUPA_C_ADDADDRESS can also be used for this.
2) Then for bulk update of delivery address, you can use the the function module 'BBP_UPDATE_ATTRIBUTES'.
DATA: lt_attributes TYPE TABLE OF bbp_attributes.
DATA: ls_attributes TYPE bbp_attributes.
ls_attributes-attr_id = 'ADDR_SHIPT'.
ls_attributes-value = 'Address Number'.
APPEND ls_attributes TO lt_attributes.
CALL FUNCTION 'BBP_UPDATE_ATTRIBUTES'
EXPORTING
user_id_p = 'User Id'
scenario_p = 'BBP'
start_date_p = sy-datum
end_date_p = '99991231'
replace_p = ' '
TABLES
it_attr_p = lt_attributes
EXCEPTIONS
object_id_missed = 1
no_active_plvar = 2
object_not_found = 3
no_attributes = 4
times_invalid = 5
inconsistent_values = 6
update_error = 7
ambiguous_position = 8
OTHERS = 9.
IF sy-subrc <> 0.
ENDIF.
Regards
Kathirvel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.