cancel
Showing results for 
Search instead for 
Did you mean: 

how to freeze the sales district using user exit

Former Member
0 Kudos

Dear Friendz,

Can anybody tell whats th user exit to freeze the sales district field in the sales document.

Thanks in advance.

Edited by: Gyana Ranjan Dash on Feb 29, 2008 9:22 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Go to SE38 and type program name - MV45AFZZ, now find

USEREXIT_FIELD_MODIFICATION

This user exit can be used to modify the attributes of the screen fields - Use can use table VBKD & field name BZIRK

To do this, the screen fields are allocated to so-called modification groups 1 - 4 and can be edited together during a modification in ABAP. If a field has no field name, it cannot be allocated to a group.

The usage of the field groups (modification group 1-4) is as follows:

Modification group 1: Automatic modification with transaction MFAW

Modification group 2: It contains 'LOO' for step loop fields

Modification group 3: For modifications which depend on check tables or on other fixed information

Modification group 4: is not used

The FORM routine is called up for every field of a screen. If you require changes to be made, you must make them in this user exit.

This FORM routine is called up by the module FELDAUSWAHL.

See the Screen Painter manual for further information on structuring the interface.

Try taking assistance of an ABAPer unless you are a techno - functional consultant.

Dont forget to reward points for contribution if helpful.

Regards

Ravi

Former Member
0 Kudos

Hi!

You can use user exit USEREXIT_FIELD_MODIFICATION. in include mv45afzz and you will have to check for this field and will have to set screen-input=0.

Hope this helps,

Abhishek