01-20-2008 6:58 AM
When ever the user done the changes in va02 or filed are not maintained in va02 i have to block.how should i write the code for this.i have the exit i.e.userexit_save_document_prepare.
simply..
if the user changes the field lgort,kwmeng,vstel,netpr in va02
i need to block the hole data.(.e dilivart is not created).
01-20-2008 7:08 AM
Dear Venkat,
data FCODE_PFKO like sy-ucomm.
if ( sy-dynnr eq '6002' or sy-dynnr eq '0104' ) and sy-tcode eq 'VA02'.
case sy-ucomm.
when 'SICH' or 'YES'.
message e091(zwb).
leave to current Transaction.
endcase.
endif.
Rewards points if useful,
Regards,
Sumanjeet.