SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

To get Current BP number

Former Member
0 Kudos

HI All,

I need find last bp Number that is created.Is there any function module or table available to get this.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Use CHANGEDOCUMENT_READ function module based on OBJECTCLASS = BUPA_BUP. Delete all the records where CHNGIND <> 'I' and then sort by udate and utime descending.

You have to do this for each day, so that you don't run into multiple records.

Or simply go to BUT000 and get the latest CRDAT, CRTIM record.

View solution in original post

2 REPLIES 2

Former Member
0 Kudos

Use CHANGEDOCUMENT_READ function module based on OBJECTCLASS = BUPA_BUP. Delete all the records where CHNGIND <> 'I' and then sort by udate and utime descending.

You have to do this for each day, so that you don't run into multiple records.

Or simply go to BUT000 and get the latest CRDAT, CRTIM record.

singhsmi
Advisor
Advisor
0 Kudos

Hi,

Use the following to get the last partner created.

data: partner type but000-partner.

get PARAMETER ID 'BPA' FIELD partner .

But this will only give the one's created by UI.

Thanks and warm regards,

Smita.