cancel
Showing results for 
Search instead for 
Did you mean: 

PS System Status Reverse through a BAPI

former_member308318
Participant
1,612

Hi,
Is there any BAPI to get the list of Projects created by Specific Role that are CLSD status and reverse it back to REL and set the status back to CLSD?

I can get the User ID from PRPS table “Created By” and get the active status of a WBS by passing PRPS-OBNR to TJ02 to GET the active System status that are CLSD and SET the status back to REL, and again set the status to CLSD but this is done through a logic passing into tables. I was wondering if there a BAPI without having to write this table logic.

Regards,
Ashley.

View Entire Topic
former_member308318
Participant
0 Kudos

Hi Paulo,

Yes its a strange requirement 😃 I'm also not quiet sure on how not to process same WBS same through a Program because the program should pick only WBS elements from Past week on a weekly run or only past month on a monthly run. Any thoughts? Please advise.

Thanks,

Ashley.

Paulo_Vitoriano
Active Contributor
0 Kudos

Hi Ashley,

As I wrote earlier, leaving behind possible reasons for such requirement, it would make a better sense to execute this logic automatically upon WBS closing. Or you can also prevent Closing if plan data is not cleaned up, so the users will be forced to do it themself. Past week status change documents to set Closed status (with user name validation) on a weekly run or the same on a monthly run would not make much difference, it depends on the data volume. If it is a country specific company means localised geographically, even overnight is fine.

Regards,

Paulo