04-20-2007 2:55 PM
Hi guys,
i have implemented user exit COOMKS01 to add custom field in KS01 KS02 KS03 transactions.
But the problem is i have mandatory fields custom designed. but when i save the cost centre it will not ask these mandatory fields to fill up.
so i have implemented "COOMKS02" so that system automatically ask mandatory fields to fill up.
I dont know what to do in this exit "COOMKS02".
Please help.
04-20-2007 3:29 PM
Hi,
if your first exit runs correctly, you have the structure CSKS_CI with own Z-fields.
in the second exit you do following:
data: WA_ICSKSP type line of TCSKSP.
loop at ICSKSP into WA_ICSKSP.
if WA_ICSKSP-Z<Field> eq space.
message s208(00) with Please key in a value in field Zxxxx.
raise error. function module exeption
endif.
endloop.
Rgds,
JP