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: 

very urgent requirement -can any one send me the code

Former Member
0 Kudos

<b>can any one please send me the code</b>

EXIT_SAPMF02D_001 - Function Module

User Exit - SAPMF02D

The above User Exit is called during Create Customer (xd01) & Change Customer Mode.(XD02) as well as VD01, VD02

Requirement -

01. In Create Customer Mode (XD01 & VD01) SAP should check whether the fields are filled in ZZKV_CUSNO & ZZKV_SEQNO are filled in. The expected behaviour is that SAP should not allow to Save a customer master in case the above is not filled.

02. In Change Customer Mode (xd02 & vd02), User exit should first check whether the user has got an authorisation to change this field, only then allow to change.

1 REPLY 1

Former Member
0 Kudos

Hi

go to the include of the user exit

and write the cose for validation of entries

such as

if ZZKV_CUSNO is initial

raise message

after saving this

assign a project in cmod to this exit and activate this now the user exit comes in existence

in the same way in other exit validdate for authorisation by checking the authorisation object

pls reward if useful

thanks & regards