Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
Rachel_Tang
Advisor
Advisor

You have defined your user status profile A001 like below:

Number        Status    Lowest     Highest

...

60                STRD       55             65

65                MIDD        60             70

70                FULL         65             75

75                ENDE        70             75

You assign it in certain project XT-001 and you have done some operations for the status control in the project definition, so now the user status of project definition XT-001 is FULL. But due to some reason, you need to set the user status back to MIDD for this project definition.

However, when you want to change it, the system will issue error message BS043: Status MIDD is not allowed.

Now you can try to find the object number of this project definition from table PROJ:

PSPNR                    OBJNR

XT-001                     PD00000221

Then you will find the following entries in table JEST for the project definition:

OBJNR        STAT     INACT CHGNR _DATAAGING

...

PD00000221 E0035      X       002           00.00.0000

PD00000221 E0060      X       001           00.00.0000

PD00000221 E0065      X       001           00.00.0000

PD00000221 E0075      X       002           00.00.0000   <<<<<<< This is status ENDE according to the entries in table TJ30 for user status definition and this status has een activated once

PD00000221 E0070                001          00.00.0000

...


So the key issue here is that per program design, the allowed status numbers are not only influenced by the current status, but also by the status that were set in the past. The F1 help for status number in customizing explains this with the following example:

*****************

Status A has status number 30 and the 'lowest status number' 10. Status B has status number 40 and the 'lowest status number' 20.

o Once status B was active for the object, only statuses with numbers 20 or higher may be activated, even if status A is currently active.

o However, if status B has never been active, statuses with status numbers 10 or higher may be activated if status A is currently active.
*****************

Therefore, here, you can see the status ENDE which has been activated once has the number 75 which is out of the allowed number range of status MIDD (from 60 to 70), so the status FULL can't be set to MIDD again even MIDD falls into its allowed number range (from 65 to 75).

It is also explained in SAP consulting note 159553.


The same also applies for any other objects using status profile, like WBS-element, network, production order and so on.