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

validating fields in standard infotype

Former Member
0 Likes
406

Hi friends,

when a new record is being created for the standard infotype, i need to validate the value entered by the user and issue error message checking certain conditions..

i found out the userexit EXIT_SAPFP50M_002, problem is, here i'm getting only the infotype , how to get the values entered by the user

points are assured

thanks

1 REPLY 1
Read only

Former Member
0 Likes
355

Hi,

Why Don't you try a field exit on the particular field where the user enters a value and you need to validate, in case the value is not flowing in the User-Exit.

In case this helps, try this way:

First Import the value to ABAP memory ( in field exit ), that user enters using import statement or SET Parameter ID and then use the export or GET par ID in User-Exit.So that the value that user enters will be in availability even in User Exit where you can use and validate.

Though this works, the best option is to search the right User-Exit/BADI that has the data flowing into it instead of Field-Exit.

SK