cancel
Showing results for 
Search instead for 
Did you mean: 

Standrad BAPI

Former Member
0 Kudos

Hi,

Is there any standrad BAPI to Approve the trip and to reject the trip?

Regards,

Pavani

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Pavani,

Use BAPI_TRIP_APPROVE, for others, do a BAPI_TRIP* in SE37.

Thanks

Karthik

Former Member
0 Kudos

Pavani, Please close this thread if you got the solution.

Thanks

Karthik

Answers (1)

Answers (1)

Former Member
0 Kudos

I am not sure. Please check this

BAdI: Automatic Approval of Travel Expenses

The business add-in TRIP_APPROVAL is called by the trip approval report RPR_APPROVE_TRAVEL_EXPENSES when the 'Approve trips' (user exit) option is chosen in the special processing section.

For each trip selected by the approval report, the most important data (header data, trip receipts, cost assignments) is copied to the business add-in.

In the add-in you can then decide on the basis of the copied trip data, whether the trip should be automatically approved. If yes, transfer an 'X' to the 'APPROVE_TRIP' parameter. The approval report then carries out trip approval.