on 01-09-2007 4:08 AM
Hi All,
I am trying to make accounting status of trip as 'Settled' by using BAPI 'BAPI_TRIP_CHANGE_STATUS'. But it is not allowing me to do so.
My code is like given below...
CALL FUNCTION 'BAPI_TRIP_CHANGE_STATUS'
EXPORTING
employeenumber = t_trip_data-pernr
tripnumber = t_trip_data-reinr
periodnumber = '000'
ACCOUNT_NEW = '2'
IMPORTING
RETURN = tl_return.
Approval status for above trip is 'Report approved'.
But tl_return reflects the message like...
"Parameter ACCOUNT_NEW = '2' is not permissible",
Can anybody help me out in this regrad.
Thanks in advance.
Regards,
Sanjay.
if u want to settle trip then use SAP standard Report program - RPRTEC00
reward if helpfull
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
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.