Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Enhancements t.code PRAP

Former Member
0 Likes
794

Hi good afternoon

Does anyone know that there exits or the transaction badi PRAP?, My intention is to validate a series detect cases when they click the button "Authorize travel"

Thanks for caring

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
649

There is subroutine APPROVE_TRIP in program RPR_APPROVE_TRAVEL_EXPENSES. In that form, check implicit implementation. In subroutine APPROVE_TRIP implicit enhancement option is avaiable. Create enhancement implimentation and write validation logic in this enhancement implementation.

3 REPLIES 3
Read only

Former Member
0 Likes
650

There is subroutine APPROVE_TRIP in program RPR_APPROVE_TRAVEL_EXPENSES. In that form, check implicit implementation. In subroutine APPROVE_TRIP implicit enhancement option is avaiable. Create enhancement implimentation and write validation logic in this enhancement implementation.

Read only

0 Likes
649

1. GO to the transaction SE24 u2013 ( Transaction for classes ) .

2. Enter the class name CL_EXITHANDLER.

3. Double-click the method GET_INSTANCE.

5. Set a break-point at command line CASE sy-subrc ( line 25).

6. Execute the transaction that you want to analyse. It will stop at the break-point you have just set on class CL_EXITHANDLER whenever it finds any BADI method/Exit call.

7. On the debug screen, type the field name u2018exit_nameu2019. This field contains the BADI method/Exit name which is being called in the program at that time.

8. Press F8 to see the next calls.

Read only

former_member182371
Active Contributor
0 Likes
649

Hi,

go to SE80 and display package PTRA_ADDON.

Here have a look at folder Enhancements.

Check as well function groups XHRTRVSTAT and XTRV.

Best regards.