cancel
Showing results for 
Search instead for 
Did you mean: 

Start date and end date of Trip checking

Former Member
0 Kudos

Hi Expert,

Any idea in the Staff Claims, the start date and end date of the trip can be checked so that future date is not allowed.   We are using the ABAP WDP version of Staff Claims

Thanks

Ivan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Venkat is right!

Here lies your solution:

BAdi - TRIP_WEB_CHECK

Method to implement - IF_EX_TRIP_WEB_CHECK~USER_CHECK_GENERAL_DATA


Ask any ABAP guy to check the future date and raise an error/warning.

Former Member
0 Kudos

Hi Ivan,

Could you elaborate more on your requirement. What do you need exactly with start and end dates. Do you want to restrict the trip for future dates?

Regards,

Narayana

Former Member
0 Kudos

Dear Narayana,

We would like to reject or give warnings to trips with future start/end dates.

For example, today is 7 Aug. If user has entered 20 Aug in the start date/end dates of the trip, reject or give warning.

Thanks

Ivan

Former Member
0 Kudos

Hi Ivan,

As per my knowledge, there is no such configuration part for this requirement. But to achieve this take the help of Abaper to develop the code in the below mentioned BADI details. With this you can achieve your tasks reject or give warning.

BADI       -  TRIP_WEB_CHECK

Interface  -  IF_EX_TRIP_WEB_CHECK

Hope this helps for your requirement.

Regards,

Narayana