Skip to Content
0
Feb 21, 2009 at 04:31 AM

Error Message For Correct Input.

122 Views

Hi,

Im generating Vendor Report I want to Dispaly the Error Message for Invalid Input.

If i give the Company Codes other than 1000,2000,3000, & 4000 it should give the Error

as Invalid Company code...But For Correct company code also it is giving Error...

I Created Error class 'YVENMSG'

and in my Program i called Erorr as follows

if sy-subrc IS INITIAL.

MESSAGE e000(YVENMSG) .

ENDIF.

I dont know wr im wrong...

Plz help me on this...

Regards

Smitha