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
Explain the disadvantage of using exec sql statement in abap?
How do you set up background jobs in sap? What are the steps?
the problem is that , while i am undergoing with my practice session, i am creating too many new programs.they are occupying much space in my hard-disk. how to delete un-necessary programs completely from my data- base........... plz help me with this .....
What is size category?
what is mean be On Change of in Control Break statement
What are the advantages of logical databases : abap hr
What are the three hierarchical levels of data types and objects?
How do you activate a function exit?
What is the function of the correction system? : abap data dictionary
Sy index and sy tabix
How is conversion of data types done between abap/4 & external level?
Different types of locks?
Can we call reports and transactions from interactive reporting lists?
What is a type group?
What is a collect statement?