02-08-2007 1:58 PM
Hi,
i need to have the field VERAK_USER-CSKSZ (User Responsible) as mandatory in transaction KS01/KS02 and KS12.
does anyone know how to proceed with this issue?
thanking you
Regards,
Nitin
02-08-2007 2:17 PM
02-08-2007 2:39 PM
use satandard user exits provided by SAP for that transaction
and make that fiels mandatory
OR
BADI (object oriented)
if you have any quaries
chandrasekhar_cfd@yahoo.co.in
bye
chandra
02-08-2007 2:44 PM
HI,
Once u have Access Key to change the code..
check for any screen exits available for this... otherwise u need Acces key....consult BASIS guy...
Double click on screen number.
go to Element list Tab.
go to Special Attributes TAB.
In that Input Column for VERAK_USER-CSKSZ field provide it as Recommended. then it will be Mandatory.
Regards
SAB
02-08-2007 4:08 PM
Hi,
To make changes to SAP Standrad functionality, SAP has provided USER-EXITS.
in your case
USER-EXIT: EXIT_SAPLKMA1_001
Goto SE37 and have a look at this FM.
There is a structure 'USER_CSKS_EX' In Import parameters of the above FM.
and this structure has VERAK field.
Then write your logic in INCLUDE ZXKM1U01 to check VERAK is not initial.
If initial then display error message.(until user enters value )
Thanks,
Leo
02-09-2007 10:23 AM
Hi Leo,
i have tried what you told me..
So to my understanding, after applying this code in the include ZXKM1U01 and if i run the transaction KS01/KS02 or KS12, that's should trigger my the include if i place a break point???
In my case it's not getting triggered!!!
any clarification?
thanks a lot for your support
Regards,
Nitin
02-09-2007 10:43 AM
my option is GO for Transaction Variants for that Screen only.
check tcode SHD0 and its documentation.
Regards
Prabhu
Njoy SAP.
02-12-2007 5:59 AM
Hi,
Thanks for the answer, but the thing is that i'm not sure it's the correct user exit,,, coz it's not triggering the user exit even after the code has been implemented.
can you please brief me how can i can proceed?
thanks
Regards,
Nitin
02-12-2007 6:10 AM
Nitin,
Try user Exit 'EXIT_SAPLKMA1_003' in SE37. Create and activate the same. Put a BREAK-POINT in the same and check if the execution goes to the break point. Here the import parameter ICSKSP has a field VERAK (Person Responsible). Write code to check if this is blank if so throw an error message.
This FM is called while saving a cost centre.
Thanks.
02-08-2007 4:25 PM
I'm pretty sure this is a configuration issue - check with your functional person.
Rob
02-09-2007 10:56 AM
hi,
U cannot do it by creating variants becoz the required ,with output only checkboxes are both non editable. so u shuld try user exits.
rgds