cancel
Showing results for 
Search instead for 
Did you mean: 

Input Field Validation in fpm (without interacting with data base)

Former Member
0 Kudos

hi,

How can we do Input field validations in FPM  without interacting with database ;

if i want to check weather data,time,email id ,........is in proper format or not;

can U please guide me with some sample code.....

  

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member215610
Active Participant
0 Kudos

Hi Anand,

In get_data method check the corresponding even using

if  io_event->mv_event_id = 'your_event_id'.

** Do validation, If validation fails raise error message.

endif.

Regards,

Ragavendra

harsha_jalakam
Active Contributor
0 Kudos

Hi ,

For checking the format of date & time , its enough to give their respective data types, it would do validation for proper format.

For email validation check the below link,

Validate EMAIL ID without touching database - ABAP Development - SCN Wiki

Regards,

Harsha J