on 07-18-2010 2:51 PM
Hi guys,
I need a BAPI to create a travel request .. right now i have the BAPI BAPI_TRIP_CREATE_FROM_DATA, but this one creates just a trip and not a trip request.
thanks and BR,
Cristian
The same Bapi can be used. Only thing is you need to feed the Status field appropriately. it contains both approval and settlement status. By default the Bapi creates "Trip completed " and "to be settled" status
Approval status
1 Request Recorded
2 Request Approved
3 Trip Completed
4 Trip Approved
5 Request Awaiting Documents
6 Trip Awaiting Documents
Settlement status
0 Open
1 To Be Settled
2 Settled
3 Canceled
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately it does not work in my case.
If I go to PR01 tcode the trip is there ... if I go to TRIP TCODE I can see the trip there, but on subsequent activities just the action Create Travel request is possible .. while Change Travel request is expected -> the request is not created
Is there any other FM that can create travel requests from data?
Thanks and BR,
Cristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the answer,
I've tried this for all posible combination of the status fields and i'm still not able to create the request ... the trip is created succesfully though.
Any other suggestions?
Best Regards,
Cristi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We dont use this FM.
But before my reply i tested this FM in sandbox and i was able to create travel request easily by assigning status 1,1 or 2,1
Could you please try again.
EMPLOYEENUMBER 00000302
FRAMEDATA 08/04/201000:00:0008/04/201000:00:00 LONDON
STATUS 11
BATCH_SESSION_NAME
CHANGE 00/00/000000:00:00
BATCH_INPUT_ONLY
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.