07-31-2008 1:22 PM
my requirement is in tcode cs02,
when i give the particular material number - 16666
and enter into it , no one should able to save the datas...
is it possible?
if so how? userexit, badi..
07-31-2008 1:26 PM
Murali,
yes it is quite possible put check in BADI CEWB_BOM_UPDATE
method CHECK_BOM_AT_SAVE from se19
Amit.
07-31-2008 1:26 PM
Murali,
yes it is quite possible put check in BADI CEWB_BOM_UPDATE
method CHECK_BOM_AT_SAVE from se19
Amit.
07-31-2008 1:34 PM
ok but in that method if u check the parameters,
there is no specific parameter for material number, and there is no changing parameters..
my req. is too specific with the material no.166666
07-31-2008 1:39 PM
hi,
u have the field for material in STPOB structure in badi CEWB_BOM_UPDATE method CHECK_BOM_AT_SAVE.
07-31-2008 2:07 PM
07-31-2008 2:50 PM
hi i have coded like this,
but when i save this and try to debug , it is not going into the debug screen at all.?
method IF_EX_CEWB_BOM_UPDATE~CHECK_BOM_AT_SAVE .
read table mastb into w_mastb with key matnr =
'000000000000016666' .
if sy-subrc eq 0 .
message i600(fr) with w_mastb-matnr .
endif .
endmethod.