Hi again Barb,
Did a quick (not exhaustive) search for a BAPI and couldn't find one. So I created a quick GUI script as an example, so that you can see how to do this, in case the role is in a different place in each Business Partner. (attached)
You would choose GUI scripting mode in Studio
Then open the BP and swap to edit mode - only for the first transactions

Then I opened the roles and used the small pop-up from Studio to capture disabled fields - and I clicked on a single role, like FLCU01, then I clicked on the pop-up again to disable capturing read only fields - and I updated the date.
You would see the role as a download field in your script like here

You use that as the "index" - the lookup value in the table - to find the right row:

Choose Indexed If and choose the Role as the Index field, and then compare it to a value in your Excel workbook column - in my case column C
Then disable the role downdown field by unchecking it - you don't need it as part of the script except as the index to find the right row.

If you need to end date multiple roles, you can add a loop, but I didn't do that in this example.
If GUI scripting is new to you, I plan to cover some examples in an upcoming educational webinar on March 28th. The topic will be material master, but the concepts apply to many places in SAP.
Hope this helps,
Sigrid
------------------------------
Sigrid Kok
Precisely Software Inc.
------------------------------