on 08-22-2011 6:40 AM
Hi guys,
I am webdynpro developer. I want to create a expense report for the trip number ( which is generated using trip request ).
So please tell me is there any Function module to create a travel expense report by using same trip number which is generated using trip request.
FYI i have used below fm's .
bapi_trip_create_from_Data used for travel expense.
FITP_CREATE_TRIP_FROM_REQUEST for trip request.
Now i want to create travel expense based on same trip request number
Thanks and Regards
Srinivas
Edited by: sanasrinivas on Aug 22, 2011 7:40 AM
Hi Srinivas,
I am facing the same issue, kindly let me know how did you manage to resolve this issue. Thanks.
Regards,
Kamran Mujeeb
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A couple of things to note, this will be dependent on your customizing and whether your trip schema allows overlapping travel requests or not. you need to ensure that if you wish to create an expense report from a travel request, you then have one trip schema which does not allow overlapping.
As soon as there is an expense report connected to a travel request it is no longer possible to create a request that overlaps. You get an error message in this case.
Also, the standard system design of travel management is that the overlap check is not executed per trip schema but for all expense reports of a particular employee. If an employee has created a trip with using a schema that does not allow overlappping he can not create a further one with a different trip schema that does also not allow overlapping.
That said, the expense report will ALWAYS have the same number as the travel request, but you need to decide how the trip request is handled and the status it is saved in and authorizations and workflow for approval before travel expenses are then possible .
Hope this helps clarify from travel management point of view.
Kind regards
Sally
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there
Yes this is the BAPI!
you'd need to modify the coding in the method FITP_GET_VALUE, TRIP_WISH_CHECK_OVERLAP and CHECK_OVERLAP though given my last reply in the context of overlapping trips.
However bear in mind that the BAPI does not have the same customizing possibilities as T-code PR05 without further modification on your part.
Hope it helps
Sally
Hi Srinivas
I just checked your earlier reply again as realised you were using the function module FITP_CREATE_FROM_REQUEST and this function module has not been released so is unsupported!! (Check in SE37)
But to confirm for expenses, yes you are using the correct bapi_trip_create_from_data and this is the only one released for expenses.
It calls as follows:
CALL TRANSACTION 'PR01'
USING bdcdata
MODE d_mode
UPDATE d_update.
I cant help you unfortunately with your coding for methods depending on return parameters needed
Kind regards
Sally
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.