on 01-25-2010 2:22 PM
Hi all,
I was wondering where the status of a trip (which got rejected / approved) is stored and how we can read it. If I use the method getstatus from object bus2089 the system always return status 4 (approved) even when we rejected it....
Hi Bjorn
The trip status is maintained in the table PTRV_PERIO with fields ANTRG and ABREC.
After performing any action over it (like approve/reject), call this "BAPI_TRIP_CHANGE_STATUS". Read the documentation of this BAPI and you'll get a better idea about it.
Hope this helps.
Harsh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
thanks for the help,I used indeed the BAPI you mentioned.
br,
Björn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Please check in table PTRV_PERIO, field ANTRG - Travel request/Approval of trip. From this you can differentiate between statuses of trip.
For your case rejected will have vale as 6 - Trip awaiting documents.
Hope this help you.
Thanks,
Vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
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.