on 2020 May 12 9:59 AM
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.
Request clarification before answering.
Hi Ashley,
Transaction CNMASSSTATUS has dynamic selection by Created by (User name). You would cancel CLSD first and TECO next to reach REL. And it has a test run too!
Regards,
Paulo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Paulo,
That’s a good input. Thank you.
But I would like this to run as a monthly job.
For example , the program should work this way:
Get the list of Projects that are in CLSD status by a specific User ID: ZXXXX.
Move the status back to REL
Delete any plan cost
Set the status back to CLSD.
Currently , we are doing this manually but we wanted to automate it and do through a program.
I believe for User ID , I can use PRPS-ERNAM(Name of the Person who created the Project). I was wondering if there is another way to fetch the User IDs from PROJ or PRPS.
Hi Ashley,
PRPS-ERNAM is the same as Created by user name. In the selection criteria you can also use a status selection profile that will give you closed WBS only. I am just wondering how you make sure not to process same WBS twice or more times.
Overall this is a very strange business requirement to flush any plan data, I cannot really imagine why this can be required.
But it would be more logical to implement that as a pre-condition for project Closing. For instance if you try to set CLSD status, system should validate that there is no plan data.
Regards,
Paulo
User | Count |
---|---|
117 | |
8 | |
7 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.