Skip to Content
0
Former Member
Apr 24, 2007 at 05:54 AM

user exit COOMKS02

140 Views

Hi guys,

I need a urgent help.

i have used the user exit COOMKS01 to add aditional fields in the cost centre related transaction KS01, KS02 , KS03. this is working perfect for me.

i have used the user exit COOMKS02 to let it see that my addtional fields are filled up before the cost center have been saved.

i have done like this.

data: WA_ICSKSP type line of TCSKSP.

loop at ICSKSP into WA_ICSKSP.

if WA_ICSKSP-Zzfi_ccrr eq space.

  • TABSTRIP_EINZEL-ACTIVETAB EQ '+CU1'.

*gd_actual_subscreen = 999.

set cursor field 'CSKS_CI-ZZFI_CCRR'.

message 'Hello have you entered all entries' type 'E'.

endif.

endloop.

BUT IAM UNABLE TO NAVIGATE TO MY TABSTRIP (addtional fields) and the cursor should stop there in the madatroy field.

  • TABSTRIP_EINZEL-ACTIVETAB EQ '+CU1'.

*gd_actual_subscreen = 999.

THE ABOVE 2 LINE CODE IS NOT AT ALL WORKING THERE.

please let me know how can i handle this.

WILL BE REWARDED WITH FULL POINT............

THANKS

AHMED