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: 

Block vendor on creation MK02

hutner
Explorer
0 Kudos

Hello,

i want to block vendor on creation (MK01). I want to set the filed lfa1-sperq to "Z4".

How can i do this.

1 REPLY 1

DominikTylczyn
Active Contributor
0 Kudos

Hello hutner

You could implement a valuation in user-exit EXIT_SAPMF02K_001, enhancement SAPMF02K. There, you could prevent saving a new vendor master data unless LFA1-SPERQ = Z4.

I understand, it's not 100% what you require, as it won't populate the field automatically. However it's as close as you can get with a simple enhancement.

Best regards

Dominik Tylczynski