Skip to Content
avatar image
Former Member

Modify Status Profile of a WBE via FM

Hi,

I'm searching for a FM or a BADI in order to set the Status profile of a WBE (with their user status) via interface.

I've found until now the STATUS_OBJECT_CREATE FM but I cannot do it works. I filled correctly:

OBJNR

OBTYP

STSMA

but the field doesn't change.

How can I solve that problem?

Thanks

Regards

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 27, 2013 at 09:39 AM

    BAPI_PROJECT_MAINTAIN for setting the status profile

    Following in sequence to set the user status.

    BAPI_PS_INITIALIZATION

    BAPI_BUS2054_SET_STATUS

    BAPI_PS_PRECOMMIT

    BAPI_TRANSACTION_COMMIT

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 25, 2013 at 05:40 PM

    Try the BAPI BAPI_BUS2054_SET_STATUS.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 26, 2013 at 08:28 AM

    Hi Giovanni,

    According to my understanding, the BAPI BAPI_BUS2054_SET_STATUS is helpful to set a status for WBS element, but it's not useful for assigning status profile. The question is not very clear now. Do you mean you want to create a WBS element and assign a status profile which contains user status to WBS element.

    Best Regards,

    Kim

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 26, 2013 at 11:10 AM

    Are you trying to change the status profile which is already assigned to a WBS Element? If so you cannot change status profile once a user status has been set.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 26, 2013 at 11:13 AM

    Look at the BAPI for changing a WBS element. There is FM BAPI_PROJECT_MAINTAIN

    Add comment
    10|10000 characters needed characters exceeded