cancel
Showing results for 
Search instead for 
Did you mean: 

About BAPI_TRIP_CHNAGE_STATUS.

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

if u want to settle trip then use SAP standard Report program - RPRTEC00

reward if helpfull

amit

Former Member
0 Kudos

So,Cant i use the bapi BAPI_TRIP_CHANGE_STATUS for changing the accounting status to 'settled'.