Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

exit "COOMKS02" help

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

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