cancel
Showing results for 
Search instead for 
Did you mean: 

Creat delivery address

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

See the foll thread for the solution:

Related useful link:

BR,

Disha.

Do reward points for useful answers.