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: 

How to build a Filed Exit

Former Member
0 Kudos

Hi,

I have to create a filed exit.

Anyoone can tell me the tcode to create it?

1 ACCEPTED SOLUTION

LucianoBentiveg
Active Contributor
0 Kudos

CMOD and from CMOD, PRFB.

Anohter option is run report RSMODPRF.

Regards.

5 REPLIES 5

LucianoBentiveg
Active Contributor
0 Kudos

CMOD and from CMOD, PRFB.

Anohter option is run report RSMODPRF.

Regards.

former_member181962
Active Contributor
0 Kudos

KNow more about them:

http://www.sapgenie.com/abap/fieldexits.htm

Regards,

Ravi

Former Member
0 Kudos

Hai Salvatore

1)

Field exits are branches from a screen field with a data element reference into a function module. Field exits can be selected globally or selectively.

2)

When to apply a Field Exit.

Create a Field Exit.

3)

Field Exits are branches from a screen field with data element reference in a function module.

They are of 2 types

Global Field Exits

Local Field Exits.

4)

Global Field Exits are not limited to one screen. If you use the data element on multiple screens, you will branch to a function module from all these screens once the exit is activated.

5)

Local field exits are valid for one screen only. If you assign the screen of a specific program to the data element, then you will branch to a function module only from this screen after activation.

6)

Prefix : FIELD_EXIT_

Name : <Data element name>_

Suffix(optional): 0 to 9, A to Z

7)When Does it Trigger

Data Entry

Check Required Fields

Check Field Format-->Your Function Module Fires Here

Foreign Keys

8)The following are not allowed in User Exits

BREAK-POINT

CALL SCREEN, CALL DIALOG, CALL TRANSACTION, SUBMIT

COMMIT WORK, ROLLBACK WORK

COMMUNICATION RECEIVE

EXIT FROM STEP-LOOP

MESSAGE I, MESSAGE W

external PERFORM

10)

We will create a field exit for data element ‘MATNR’.

We will create a ‘Global Field Exit’. In which we will restrict users from entering a Material No between 125 and 150 and check it using examples 1 & 2..

In the second instance we will create a ‘Local Field Exit’ so that it triggers only when the material no is 300 and check it using examples 1 & 2. And the filed exit should fire only in the second example.

Program : SAPLMGMM , Screen No. : 0060

Note : You can also use ‘MM02’ or ‘MM03’ transaction.

can you send me your Mail Id I will forward a detaild Document of how to create Field Exits

Thanks & regards

Sreenivasulu P

0 Kudos

hi sreeni,

plz send me the complete documentation on field exit

gunjan.mandal@gmail.com

thx

gunjan

0 Kudos

Hi,

I want docs for creating field exits.pls forward at pratikshakumari@yahoo.co.in

bye

Pratiksha