Monday, March 9, 2015

107.ABAP TIP - Field Exit





Chapter 107
ABAP TIP - Field Exit
Source : http://abapjoy.blogspot.com


Field Exit enables individual column of standard program to add extra logic.
For example, You can customize the some column in T-CODE:MK02(VENDOR MASTER).
Especially, its very useful you need to enable only the corresponding table when occurring error.
But, simply if you want to restrict the values in column, you can use the feather of domain fixed value append.



Lets find out the data element name in the technical information of the column we want to customize.


Perform T-CODE:SE38 and enter 'RSMODPRF'.


Enter the data element name you already checked before.
Note that if it is first time to create field exit for the column, you should not enter the number of field exit.

Now we can program for the field exit and activate.


Re-execute program leaving all columns blank.

Choose the line and push the menu : field exit -> assign prog/screen.

Enter the program name and screen name that we want to customize. You can figure out in menu : SYSTEM -> STATUS.


And, activate the field exit.



Now, once you input the unavailable value in column, you can see the error message like below.






1 comment:

  1. According to Stanford Medical, It is indeed the one and ONLY reason this country's women get to live 10 years longer and weigh 42 pounds lighter than we do.

    (By the way, it is not related to genetics or some secret diet and really, EVERYTHING related to "how" they are eating.)

    P.S, I said "HOW", and not "WHAT"...

    TAP this link to determine if this quick quiz can help you unlock your true weight loss potential

    ReplyDelete