Skip to Content
0
Former Member
Apr 22, 2008 at 03:51 AM

Badi

10 Views

Hi,

I am codin this "message id 'ZZ' type 'E' number '108' with

'Change is not possible' ."

in a BADI method n it displays error in the form of a pop up wherein if you say yes it exits from the transaction.. but i want the error to get displayed in the bottom line in the same screen. how could i do this?

this is the complete codin

if E_LFB1-FDGRV is initial.

if I_LFA1-ktokk = 'DMST' or I_LFA1-ktokk = 'VWOP'.

E_LFB1-FDGRV = 'A1' .

ENDIF.

else.

if I_LFA1-ktokk = 'DMST' or I_LFA1-ktokk = 'VWOP' .

if E_LFB1-FDGRV <> 'A1'.

message id 'ZZ' type 'E' number '108' with

'Change is not possible' .

endif.

endif.

endif.