Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Trip creation Validation

Hi,

We have a requirement to validate Trips before creating and return the error messages using an RFC. We are using the FM ' HRTRV_IF_MODIFY_TRIP'  and returns the RETURN parameter of this FM. Here trip is getting created. I have tried ROLLBACK after creating the trip. But no luck.

We also tried to delete the trip using 'BAPI_TRIP_DELETE' after creating trip. Trip is getting deleted and we are able to get the error messages. But the issue in this case is that the trip number is increasing unnecessarily.

Any other solution is there to validate the trips and get the error messages ?

Any help is appreciated.


Regards,

Veena

Tags:
replied

Solved by passing CHCK as FCODE in FM HRTRV_IF_MODIFY_TRIP.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question