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
558

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

4 REPLIES 4
Read only

Former Member
0 Likes
483

Current Infotype records are stored in parameter INNNN of the FM EXIT_SAPFP50M_002.

Read only

0 Likes
483

In the parameter INNNN we have only the infotype number and pernr fields,

we don't have the fields which we have entered to create a new record.

how to get the current values based on the infotype number and pernr

Thanks

Read only

Former Member
0 Likes
483

Can anyone let me know if its possible to validate the field in the standard infotype and issues error message?

Thanks

Read only

0 Likes
483

Yes it is possible to validate.

try calling METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn.