on 11-28-2008 5:11 PM
Hi - we have created a new role ZADDR and I need to programmatically 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
Now we need to set the role
call function 'BUPA_ROLE_ADD_2'
exporting
iv_partner = lv_bpid
iv_partnerrole = 'ZADDR'
tables
et_return = lt_return.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.