cancel
Showing results for 
Search instead for 
Did you mean: 

Change LFA1-KTOKK (Account group)

Former Member
0 Kudos

Hi,

in our R/3 are some Vendors with a wrong Account group.

I there any possibility (Standard SAP) to change the

group?

Is there any possibility to check if an LAND is <> DE

don't user Account group f. example INLA?

Thanks for help

Regards, Dieter

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dieter

-XK07 : Some restrictions apply . Normally you can only 'upgrade' a vendor to an account group that allows more in terms of visible fields on the screen etc...

-The validation you will have to pgogram in userexit / badi

rgds

Dirk

Former Member
0 Kudos

Hi Dieter

-Vendor master data validation in enhancement SAPMF02K

rgds

Dirk

Former Member
0 Kudos

Hi Dirk,

first, thanks for help.

I will use the User-Exit EXIT_SAPMF02K_001 with the

include ZXF05U01.

In this include i will compare LFA1-KTOKK with

LFA1-LAND. When LAND = DE and KTOKK <> INLA i will

put an Message and the User will NOT BE ABLE to save.

To Compare isn't a Problem. But how can

i avoid to save? There are any Return-Code?

Regards, Dieter

Former Member
0 Kudos

Hi Dieter,

If you use an error message , the dialog processing will stop and then vendor will not be saved :

e.g. :

MESSAGE e001(cj) WITH 'Your error text'

rgds

Dirk

Former Member
0 Kudos

Hi Dirk,

it works, thanks

Regards, Dieter

Answers (0)