2009 May 08 12:35 PM
hi
in transaction ks01/ks02, in basic data tab i nedd to make the field functional area mandatory or raise an error message if the field is blank based on the company code.
i mean if the company code is 'kkkk' then the field functional area should be mandatory. kindly suggest me how can i achieve this.
thanks in advance
2009 May 08 1:52 PM
Hi ,
You can do it by Transaction Variant .
For that you need to create a cransaction Variant for the transaction KS01.
First go to the Transaction SHD0 .
Create the variant for KS01 and during creation of the variant make that field obligatory.
Then create transaction ofr that variant and assign that .
Regards
Pinaki
2009 May 08 12:39 PM
2009 May 08 1:19 PM
Hello,
You can go on with BAdis;
Check for the class, CL_EXIT_HANDLER.
Open this class and set a break-point at EXIT-NAME; then run your transaction.
Now note down the BAdis implemented, Copy those BAdi names and run transaction SE18/19.
Do required enhancements.
Thanks,
Zahack
2009 May 08 1:52 PM
Hi ,
You can do it by Transaction Variant .
For that you need to create a cransaction Variant for the transaction KS01.
First go to the Transaction SHD0 .
Create the variant for KS01 and during creation of the variant make that field obligatory.
Then create transaction ofr that variant and assign that .
Regards
Pinaki
2009 May 08 2:17 PM
Hi ,
I think,
this exit will sove u r problem.
EXIT_SAPLKMA1_003.Implement this exit.
if tcskp-bukrs is not initial.
Loop at screen.
IF SCREEN-NAME = 'CSKSZ-FUNC_AREA'
screen-required = 'X'.
enidf
endif.
hope this may help u.But i am sure this exit will help u.
Thanks,
2011 Jun 23 6:46 AM
2024 Jul 30 6:03 AM