cancel
Showing results for 
Search instead for 
Did you mean: 

Function module/BAPI to change Travel request data

0 Kudos

Hi All,

I want to change the travel request data. Is there any Function-module or BAPI available to change the existing Travel request data.

I am not able to record the transaction "TP04" for creating BDC also.

Points will be awarded for right answer based on Forum rules.

Regards,

Guru

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear,

Try with below Function modules,

1.HRTRV_IF_MODIFY_TRIP

Fill Frame data and execute the RFC.

FCODE should be 'INS'.

2.BAPI_TRIP_CREATE_FROM_DATA

Fill 'FRAMEDATA'

The above two function modules are useful to create Travel Request aswell Travel expense.

Note:

Best thing what I would prefer is to write custom Remote Enable Function Module using

include:SAVE_REQUEST which will give us a stable and the Exact result of TRIP transaction.

One more thing dont try for BDC will not work for TP04 from webdynpro.

Thanks and regards,

Former Member
0 Kudos

Hi,

i am using this FM : 'HRTRV_IF_MODIFY_TRIP'  to change trip expenses , but it's using Batch input and we got a lot of errors.

can you suggest another alternative to change trip expenses.

thanks for your help.

Answers (1)

Answers (1)

former_member207754
Participant
0 Kudos

Verify:

EXIT_SAPMP56T_002

Enhancement name: FITR0003 or 5 (before / after assigning trip num.)

0 Kudos

Hi All,

I have to change the travel request data from a RFC/ BAPI as we are developing an interface through JAVA-WD.

I have found one method in BUS2089 but the method is for foreground change. I have also tried to record through BDC but the event SAVE is not working as desired.

Is there any Function module or BAPI available to change the existing travel data in request created status.

Points will be awarded for the right answer based on Forum rules.

Regards,

Guru

Edited by: Guru Dutt on Feb 10, 2009 10:43 AM