Skip to Content
Former Member
Jan 28, 2005 at 05:50 PM

Queries on BADI Business Add In


I am working onn WOROKORDER_UPDATE BADI for Production Order for Process Industries. Following are my queries:

1. Is there a sequence in which the methods fire for example Interface method IF_EX_WORKORDER_UPDATEAT_SAVE is fired say before or after method IF_EX_WORKORDER_UPDATEBEFORE_UPDATE. This is for WORKORDER_UPDATE BADI.

2. Does each method get fired in same instance of same Implementation Class or in a separate instance.

3. If the methods are fired in separate instances how to share data across the separate instances in a OO approved manner other than SET/GET or EXPORT/IMPORT traditional mechanisms.

4. How to debug in ABAP debugger, seting breakpoints and watchpoints in method implementation code. Without having to wade through huge amounts of caller transaction code.

5. How to use BADI method for validation passing back a eror message to calling transaction say COR1 without raising exception and system message. Specifically I wish to use IF_EX_WORKORDER_UPDATE~BEFORE_UPDATE for custom Validation.