cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for change trip

Former Member
0 Kudos

Hello All,

I am working on a portal application for travel management.

My goal is to use existing BAPI's and create a Web-Dynpro GUI instead of launching Transaction PR05.

For creation I successfully used BAPI_TRIP_CREATE_FROM_DATA.

But, For changing an existing trip, I couldn't find a similar BAPI.

Does anyone know such a BAPI, or function I can use?

Is there any way to reuse the code that runs when changing a trip from PR05 in a custom developed BAPI?

Any help will be appreciated.

Thanks ahead,

Yoav.

Accepted Solutions (1)

Accepted Solutions (1)

ferry_lianto
Active Contributor
0 Kudos

Hi Yoav,

Please check this FM <b>HRTRV_IF_MODIFY_TRIP</b>.

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful.

Former Member
0 Kudos

Hi Ferry,

Thanks!

That's exactly what I was looking for.

Yoav.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi there.

I forgot to explain well, I want a BAPI to modify or add new receipts for a trip already created.

Can someone help me please.

Thanks ahead.

Karim

Former Member
0 Kudos

Hi Karim,

This BAPI has the same tables as the creation BAPI, including receipts.

I didn't try to change the receipts data, but I'm assume it's possible.

Note that the field FCODE should be "MOD" for modification.

Yoav.

Former Member
0 Kudos

Hi there.

Just one question. Does this BAPI can be use to modify the receipts info?

Thanks ahead.

Karim