Show TOC

Business Add-In for Order Change

With this business add-in all changes (creation, change, set deletion flag) to PM/CS/PP/PS/PI orders can be processed further and if necessary prohibited.

Standard Settings

Business add-ins are not active in the Standard System. The business add-in can be used several times.

Recommendation

If you use different order types and want to handle these in different ways, note that this BADI is used by all of the above-mentioned order types. To differentiate between the order types, evaluate the "AUTYP" field for the corresponding order header.

These are the possible entries in the "AUTYP" field:

10: Production order (PP order)
20: Network (PS order)
30: Service and plant maintenance order (CS/PM order)
40: Process order (PI order)

Activities

To activate the business add-in, you must create an active implementation. Note that business add-ins can be used several times and therefore all active implementations are called and run through.

Further Notes

Note that no system messages may be sent in the methods. The only exception is the AT_SAVE method. Within this method, a system message may be issued, but only if you trigger the exception ERROR_WITH_MESSAGE at the same time.

Also, note that within the methods, the "commit work" instruction may not be executed because this would inevitably lead to incorrect data in the database.