Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do we create the Field exits?

Answer Posted / kanika

To create a field Exit pls follow the steps
1)For field exits in R/3 4.6C, execute transaction CMOD.
Then type PRFB in the command field.
2)on the top menu...click on Field exit-> create ->enter
the name of data element
3)enter the data element required for screen field to be
mandatory and Execute
4)another screen comes with a function module name
FIELD_EXIT_name of data element
5)Click create and save it to corresponding function group
6)you will get a function module with
import parameter as : INPUT
export parameter as : OUTPUT
7) in the source code write the code :
if input is initial.
message 'SALES FIELD MADATORY' type 'E'.
endif.
8)again to activate execute transaction CMOD. Then type
PRFB in the command field. on the top menu...click on Field
exit->Activate
now wherever data element is used the mandatory check will
come but you need it only for your program ,so in the same
screen click on Assign prog./screen tab and write the name
of the program and screen number where you want the
particular check

I believe field exit are not possible if structure field is
on the screen...please do the above and check..you can also
run the report RSMODPRF to create a field exit

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a dialog program and a report?

1093


Can we specify the next screen number with a variable?

966


What are spa/gpa parameters (sap memory)?

1244


How is conversion of data types done between abap/4 & external level?

1037


What are the different types of abap reports in sap?

1334


What is a data dictionary? : sap abap data dictionary

956


What are the different methods of passing data?

1200


What is the difference between data elements and domains? : abap data dictionary

1200


What will be your approach towards optimizing legacy code? Will you suggest change in technology? Does OO ABAP bring any performance benefits? How will you deal with queries in a loop? How will you optimize nested loops?

1373


What is an evaluation path? : sap abap hr

1069


HOW TO TRANSFER VENDOR MASTER DATA FROM LEGACY SYSTEM TO SAP SYSTEM THRU LSMW (IN LSMW, USING DIRECT INPUT PROGRAM:RFBIKR00)

3776


when do you need to create an internal table with header line ? and with out a header line?

2021


How are the date abd time field values stored in sap?

1096


can anyone please tell me, in orient paper mill project which fields exits for creating report.

1702


Hello All, Requesting to all user of this site. Please post your Questions in Proper sub Category of chosen category. Some users post the questions in common category whether sub category for that is available ..like some users still post the SAP Script & ALE Related questions in common ABAP Category. Due to this it becomes very difficult to find the topic wise Questions. Please cooperate with the site & to other users. Thanks & Regards Tamseel

1993