05-23-2006 4:39 PM
Hi all,
I urgently need a BAPI to change Receipts or entries of Mileage of an existing Trip.
To create Expenses I use BAPI_TRIP_CREATE_FROM_DATA.
But I was not able to find a BAPI for change!
regards,
andre
05-23-2006 5:28 PM
If you see code of BAPI, there is a CALL TRANSACTION inside to Tx 'PR01'.
So, if there is no BAPI for change, I suggest you a call transaction to PR02...
Regards.
05-23-2006 5:28 PM
If you see code of BAPI, there is a CALL TRANSACTION inside to Tx 'PR01'.
So, if there is no BAPI for change, I suggest you a call transaction to PR02...
Regards.
05-29-2006 1:44 PM
Hi,
I cannot believe that there is no BAPI-call possible for changes...?
regards,
Andre
06-01-2006 1:12 PM
Hi Andre,
Did you try the RFC 'WAF_TRIP_MODIFY' ?
Regards,
Suresh Datti
06-01-2006 1:16 PM
04-05-2007 12:00 AM
This is an online version. I have been really stuck with this too. I would like the user to be able to do a file upload to enter and change expenses. Can't find anything for change. We use transaction PR04 (Weekly Expense Reports). I wonder how a change is processed from ESS.
04-05-2007 2:45 AM
Have you try to use this FM 'HRTRV_IF_MODIFY_TRIP'. It may have the IF extension, but it is not an Interfce. Hope it helps.
In Addition, you can use the FM 'HRTRV_IF_GET_TRIP' to populate all other fields that you may need. I could not find my codes, else I can provide you with the full solution.
If you want to make it RFC enabled, you just need to create another customized FM to call this 2 FMs and set it RFC enabled at the FM attribute.
04-07-2007 1:14 AM
Thanks ,
I will try something with these FMs. Meanwhile , if you can find the code , it would be helpful.
04-05-2007 3:52 AM
Andre,
Try below FM,
"BAPI_TRIP_CHANGE_STATUS "for change
" HRTRV_IF_MODIFY_TRIP " But this is not RFC enable
Don't forget to reward if useful...