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: 

how to have a mandotory field in a standard screen.

Former Member
0 Kudos

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

10 REPLIES 10

Former Member
0 Kudos

U need to have access key to do that.

Cheers

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

my option is GO for Transaction Variants for that Screen only.

check tcode SHD0 and its documentation.

Regards

Prabhu

Njoy SAP.

0 Kudos

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

0 Kudos

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.

Former Member
0 Kudos

I'm pretty sure this is a configuration issue - check with your functional person.

Rob

former_member188827
Active Contributor
0 Kudos

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