cancel
Showing results for 
Search instead for 
Did you mean: 

Process flow with BAPIs

Former Member
0 Kudos

Hi experts,

as we will try to built the Travel management in SAP CE, we want to trigger the whole travel management flow with BAPIs.

The following already works:

- Creation of trip BAPI_TRIP_CREATE_FROM_DATA

- Approval of trip via BAPI_TRIP_APPROVE

But now I don't know how to proceed.

As I've seen in PR05, the status has then be changed to settled.

Afterwards it can be sent to FI via transaction PRFI.

And then the posting in FI can be done in PRRW.

Is that flow correct?

What are the BAPIs to use for that?

Is it BAPI_ACC_TRAVEL_POST?

DoI also need BAPI_PAYROLLTRAVELEXPNSESPOST?

Could please somebody of you give me an example for calling those functions?

Unfortunately you have to specify a lot of parameters and I don't find much about it on SDN.

Is there a way to retrieve this data first using only personnel number and trip number?

Thanks in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

kannan_rajagopalan
Contributor
0 Kudos

Hi Eddie,

For settling and posting the travel cost into the system, you can use t-code - PREC, PRFI and PRRW.

Best Regards,

Raj

Former Member
0 Kudos

Raj,

if you reread my question, you should realize that your answer is absolutely useless for me.

But thanks anyway.