Hi Lynn
You can get the BP number 2 ways.
(1) from the SAP message
(2) download the generated BP number from the last screen after you save and before you exit (or create other roles with it)
Am attaching a script that creates the BP general role and has both

So you can extract the BP number from column A with the Run Log via excel formulas
Or you can download the generated BP number after the save, which is what I have in column C
For Column C
(1) I went to expert mode in the mapper
(2) went to view to show check show disabled fields
(3) scrolled to the bottom, which is after the SAVE (- ook for ok code =BUS_MAIN_SAVE. In SAP you'll see something like this which shows the new BP number - this is what you want to download

(4) my next action was exit, which is ok code =BUS_MAIN_EXIT, under neath there you enable

(5) choose to download it to a column of your choice
Hope this helps,
Sigrid
------------------------------
Sigrid Kok
PSE | Winshuttle North America
------------------------------
Original Message:
Sent: 02-19-2019 15:40
From: Lynn Wolf
Subject: S4/HANA BP/ Vendor Number Creation
I am running a Studio 12 Transaction to create the Business Partner and vendor at the Company Code level and need to return the vendor number for use in another transaction. Does anyone have any tips on how to do this? I have not been able to find any guidance on the Winshuttle site. Thanks!
------------------------------
Lynn Wolf | Vendor Master Administration
Hubbell Inc. | 803-341-1835
------------------------------