This is my very first post, so first of all, greetings and congrats for all of the amazing job you all have been doing here.
I´m also new to travel management and I have an issue, hope you can help me.
We are using bapi BAPI_TRIP_CREATE_FROM_DATA to register trips, instead of using PR05 / PR01.
Now, we are being asked to register trips with the status Approval: Request Recorded ( 1 ) and Settlement: Open ( 0 ).
This, in order to be able to register the trip without cost center information ( Since according to the user, this is how they work on PR05).
What I know is that the cost center information is automagically retrieved from the user information and it is in fact registered in the trip.
But when running the BAPI with this Status ( 1 - 0 ), and no info on table COSTDIST_TRIP I get this very obscure error message:
I guess it is because of configuration, there must be cost center information... but I' not quite sure.
So please could somebody help me clarify this?
Is there any idea about the error message I'm receiving?
Thanks in advance for your help.