Hi - we have created a new role ZADDR and I need to programaticly create about 90,000 BP's from a flat file which I have imported into a Z table.
I have used BAPI_BPCONSUMER_CREATE to create the BP's no problem but they are then in the role CRM006.
I have tried to change the role using BUPA_ROLE_CHANGE but keep getting the message 'NO changes were made'
call function 'BUPA_ROLE_CHANGE'
exporting
iv_partner = lv_bpid
iv_partnerrole = 'ZADDR'
iv_x_save = 'X'
tables
et_return = lt_return
Can anyone tell me either how I can change the role or create BPs with the role of ZADDR instead of CRM006?
Many thanks - Nigel