2007 Mar 14 7:52 AM
hi all,
i want to know some BADIS which are triggered when system status of notification changes and i want both statuses i.e. the status from (from which its changing) and to (to which its changing).
e.g if system status changes from NOCO to NOPR , i want both the status, when its saved.
hope will get some help from u people.
hi all,
i want to know some BADIS which are triggered when system status of notification changes and i want both statuses i.e. the status from (from which its changing) and to (to which its changing).
e.g if system status changes from NOCO to NOPR , i want both the status, when its saved.
hope will get some help from u people.
2007 Mar 14 11:18 PM
Manish,
Check BAdi : <b>NOTIF_EVENT_SAVE</b> or user exit <b>'ZXWOCU07'</b> and check the status with FM <b>'STATUS_TEXT_EDIT'</b> bypssing buffer:
SImilar code would be like this:
CALL FUNCTION 'STATUS_TEXT_EDIT'
EXPORTING
CLIENT = SY-MANDT
flg_user_stat = 'X'
objnr = wa_caufv-objnr
only_active = 'X'
spras = 'E'
bypass_buffer = 'X'
IMPORTING
anw_stat_existing = ustatus
e_stsma = status_profile
line = system_status
user_line = user_status
stonr = status_no
EXCEPTIONS
object_not_found = 1
OTHERS = 2
if sytem_status <> wa_caufv-(syatem_status).
. . ..
. . . .
endif.
2007 Sep 06 4:18 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |