How do we create the Field exits?
Answer / 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 |
what next in SAP-ABAP/4 is it going to be change?
how to create module pool program using table controls based on selection criteria specified for sales document item in the first screen and item details in the second screen. plz mention the detail coding Tahnks, Rahul
what is the use of help view?how can we create search help for a field?in how many ways we can give search help?
what is event in abap?
how to use table control?if suppose i have 6 records and i want more 4 records in sequence.How to handle this scenario?
What are extracts?
explain the script component in script?
What is the transaction for recording bdc ? : abap bdc
Explain Catch Command in ABAP?
What are the different types of work process?
what is ECC in current version of sap r/3 ECC6.0. what is full form of ECC6.0?
82 Answers Bhushan Power Steel, Cremica, HP, JPMorgan Chase, Keane India Ltd, Tyco, Unilogic Software, Value Labs,
What is the name of the system variable that holds the contents of the selected line in interactive reporting?