Application Development and Automation 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: 
Read only

Field Exit

Former Member
0 Likes
982

Hi all,

what are field Exits and how can i use it?

Has anyone a short example?

Thanks

regards, Dieter

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
943

Hi if u are using 4.7 and above u cant use field exits

( u will have to set a system parameter abap/fieldexit = yes)

in normal case use rsmodprf and run this report u will get all field exits

select the data elemet u wwant to check

u will have to create a FM for that

http://www.sap-img.com/abap/field-exits-smod-cmod-questions-and-answers.htm

Harish

7 REPLIES 7
Read only

Former Member
0 Likes
943

Hi ,

Field exit, By using this u can do ur own checking based on the Input.

like AUFNR : 1000.

i have entered order number as 10000, If u want to do some validations on this u can add that one in the Field exits.

like in my example i will chech whether it is valide order number or not using tables AFRU.

useful tcodes : se37 and search for Field_exit*

Regards

Prabhu

Read only

Former Member
Read only

Former Member
0 Likes
944

Hi if u are using 4.7 and above u cant use field exits

( u will have to set a system parameter abap/fieldexit = yes)

in normal case use rsmodprf and run this report u will get all field exits

select the data elemet u wwant to check

u will have to create a FM for that

http://www.sap-img.com/abap/field-exits-smod-cmod-questions-and-answers.htm

Harish

Read only

dani_mn
Active Contributor
0 Likes
943

Hi,

Field Exit is a enhancement technique used to insert cusotmer logic in standard transactions.

You can create field exit for the fields which are build using a 'DATA ELEMENT'.

when you create a field exit a function module is generated. which is called when the user enters a value in that field in screen.

Field exit can be global and local.

global field exit are activated for all screens where data element is used.

local field exit are for specific program and screen number.

You can build field exit using program 'RSMODPRF' run this program and give your data element name.

this will take you to the function module creation.

write your code there.

now come back and again run this program. with out giving data element name this will open all exit available in system search you data element name click on it and using menu 'field exit' activate it.

Regards,

Wasim Ahmed

Read only

Former Member
0 Likes
943

Hi,

The Step by step procedure for creating Field Exits is-

Step 1: Determine Data Element

Step 2: Go To Field Exit Transaction 'CMOD'

Step 3: Create Field Exit

Step 4: Create Function Module

Step 5: Code Function Module

Step 6: Activate Function Module

Step 7: Assign Program/Screen

Step 8: Activate Field Exit

Have a look at these good links-

(You'll find Field Exits here)

http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

http://www.sapgenie.com/abap/code/abap26.htm

http://www.sap-img.com/abap/what-is-user-exits.htm

http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction

http://www.easymarketplace.de/userexit.php

http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

http://www.sappoint.com/abap/userexit.pdfUser-Exit

Mark useful answers.

Regards,

Tanuja.

Message was edited by: Tanuja Sarraju

Read only

Former Member
0 Likes
943

Hi

Please go through the link provided it shows step by step procedure with snapshots ....................

http://www.sapdevelopment.co.uk/enhance/fexits.htm

Please reward for the same.