Skip to Content

Integrating a Z Business Object with SAP Standard general status mangement?

Hi,

I would like to integrate my custom business object (not a subtype of a standard BOR Object) with the SAP standard general status management process as it is used for example by equipments, production orders etc.

Researching on that topic I didn't find any way to do it.

My assumption is that it is not possible:

This is because table TJ02 (system status) has delivery class 'S' (Maintenance only by SAP) which makes it impossible to define my own system status for my custom business object.

Is anyone of you able to shed some light on this?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Oct 27, 2013 at 05:35 PM

    Frank,

    if it is a completely own BOR object, I don't see a reason why you would like to change a system status (= internal status). System status can be changed only programmatically, and this is coded in the objects to which they belong.

    The recommended procedure is to work with custom status ( = external status). Endow your SAP standard object (equipment, ... ) with a status profile via customizing. Most object have a field STSMA in their application-specific top-level customizing table (like order types). Define a status profile via transaction BS02, and add status to the with the semantics that you want to add.

    Set or reset these status with your custom object, for example by implementing a BOR method which calls the function module STATUS_CHANGE_EXTERN.

    Each user status can be defined to allow or disallow certain "business processes" - which in turn are used by the SAP standard code to set the system status (internal status). For example, in service orders there is a business process RELE which will set the order to "Released" - which is a system status. If a certain user status is defined to disallow process RELE, the order can't be released unless that user status will be reset.

    Is there a reason why this way isn't viable for you?

    Regards,

    Rüdiger

    P.S.: In case you know what you are doing, you can change the system status programmatically with function module STATUS_SET_INTERN / STATUS_RESET_INTERN / STATUS_CHANGE_INTERN - but this is not recommended.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Frank Luzat

      Hi Frank and Rüdiger,

      The above explanation seems unabsorbable. My requirement is to attach a standard function module with a "Normal Function Module" Processing Type in Attributes to a Customised BOR (ZABC).

      Is there any possible way to attach that standard FM to a ZABC( BOR ) without creating any Z for FM??

      Kindly elaborate the steps.

      Thanks in advance.

      Regards,

      DD

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.