‎2006 Aug 10 3:23 PM
Hi all
I'm trying to create a trip using "BAPI_TRIP_CREATE_FROM_DATA". It works almost fine, but i can't create the mileage with this function. All data ist taken and created, but not the mileage.
does someone have any idea why the mileage isn't saved?
Best Regards
Marcel
‎2006 Aug 10 3:33 PM
hi
may be as the 'MILEAGE' is in tables, it can be either export or import.. try to export it rather than importing
Theja
‎2006 Aug 10 3:37 PM
Hi Marcel,
Check your Mileage data , may be you missed some important data , thats why it is not saved.
what are the parameters you are passing in MILEAGE parameter.
Regards
vijay
‎2006 Aug 10 3:50 PM
Hi Vijay
I checked the mileage data which i got from the "BAPI_TRIP_GET_DETAILS" function of another trip, which was created by transaction "pr01".
I filled the following parameters:
KEY_MILE
MIL_DATE
M_TOTAL
VEH_TYPE
VEH_CLAS
COUNTRY
Regards,
Marcel
‎2006 Aug 10 3:51 PM
hi,
pass 'loc_from' and 'loc_to' also , then pass all that u have in mileage structure.
theja
Message was edited by: Thejaswi Reddy
‎2006 Aug 10 4:03 PM