cancel
Showing results for 
Search instead for 
Did you mean: 

Validation not working for FK01

Former Member
0 Kudos

Hi Guys,

I have written a validation using GGB0 where in i want to restrict a user for using the transaction code in FK01.

I have given the prerequisite as below

SYST-UNAME = 'SRIKANTHD' AND SYST-TCODE = 'FK01'

and Check = False

Then give an error message.

But somehow this validation is not working and i have also activated this in OB28.

Any ideas will be helpful.

Thanks,

Srikanth.

Accepted Solutions (1)

Accepted Solutions (1)

kyoko_ushiki
Advisor
Advisor
0 Kudos

Hello,

Validation you activate at OB28 is only for POSTING transactions - e.g. FB01, FB50 etc, so it does not work for creating a vendor master. You might want to use an user-exit EXIT_SAPMF02K_001 instead. (You must activate a project at trx.CMOD with enhancement SAPMF02K for this user exit to be activated).

Cheers, Kyoko

Former Member
0 Kudos

Can you guide me through the process of creation of the user exit for this purpose and how to link this to the validation.

Thanks

srikanth.

Former Member
0 Kudos

hi

enter CMOD transaction

enter name with Z* (* any name)

select the enhancement as mentioned

and select the components as mentioned and activate it.

Former Member
0 Kudos

Hi,

Actually it is asking for Package when i am trying to give the Enhancement assignments.

Thanks,

Srikanth.

former_member184992
Active Contributor
0 Kudos

Dear Srikanth,

You can choose the button Local Object instead of Save and this information will be ignored.

Then you will receive one screen to insert the enhancement, insert please SAPMF02K.

Then click on button Components and then one little screen will ask you to save. Click yes and you will see another screen with Function exit EXIT_SAPMF02K_001 fulfilled already.

Double click on EXIT_SAPMF02K_001 and the system will create the program and after that you should include your own code there.

I hope it resolves your inquiry.

Best Regards,

Vanessa.

Answers (1)

Answers (1)

Former Member
0 Kudos

hi

use like this

prerequisite is

SYST-UNAME = ' ' (user the User Login ID")

Check is

SYST-TCODE <> 'FK01'

give error message.

validation will work only (if the prerequisite is met and check is not fullfilled.)