cancel
Showing results for 
Search instead for 
Did you mean: 

warning when the trip for the date already exist

vijy_mukunthan
Active Contributor
0 Kudos

hi friends

In the travel. When the trip is applied for a particular date when i again try to apply the trip for the same date it shows only waring but actually it should be a error. I want to make the warning into error. How to make that which BADI is called. Since am applying the trip from my portal. I want to display the warning into error to portal. Which BADI or Function Module is evolved .

Regards

vijay

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Vijay,

As long as there is no expense report linked to a travel request it is

possible to create a further request that overlaps with the first one.

This system behaviour is generally correct as during the planning

phase of a trip it should be possible to create overlapping trips.

Thus you only get a warning message that there are already trip dates

and not an error (as soon as an expense report has been created an error

message occurs if you try to create a new travel request that overlaps

the expense report).

This is the standard design for overlapping checks concerning travel

requests.

In TRVPA you can set the warning message into an error message.

Regards,

Raynard

vijy_mukunthan
Active Contributor
0 Kudos

hi Raynard

Thanks for your reply. But for our client we are not provide Travel Planning. Is there any BADI releating to travel.

Regards

Former Member
0 Kudos

Hello Vijay,

This is regardless whether you are using Travel Planning or not. This happen with the Travel Request. The Travel Request needs to be save in Trip Schema PL.

Hope this helps further.

Regards,

Raynard

Former Member
0 Kudos

Dear,

As per my knowledge ECC 6.0 allows the overlapping of unsettled trips. Anyhow you are posting from portal, so u ask ur ABAP consultant to develop an RFC which will validate for any overlapping for the entered data. You call the same RFC after user clicks on save button in the portal.

Regards,

vijy_mukunthan
Active Contributor
0 Kudos

hi chandra

I can wirte the code by myself. I want to which BADI uses this. Instead of creating an RFC some std BADI would be doing that functanility i need just enchance that so that i can write my logic. So i want to know which BADI trip is uses.

Regards

vijay

Former Member
0 Kudos

Hi,

Vijay kumar wrote:

I want to display the warning into error to portal

Assumed that you are using portal.

For your requirement there is no BADI. You can simply solve the above issue by deceloping a new RFC and call that RFC from portal side while saving the transaction.

Regards