Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_TRIP_CREATE_FROM_DATA

Former Member
728

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

5 REPLIES 5
Read only

Former Member
0 Likes
635

hi

may be as the 'MILEAGE' is in tables, it can be either export or import.. try to export it rather than importing

Theja

Read only

Former Member
0 Likes
635

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

Read only

0 Likes
635

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

Read only

Former Member
0 Likes
635

hi,

pass 'loc_from' and 'loc_to' also , then pass all that u have in mileage structure.

theja

Message was edited by: Thejaswi Reddy

Read only

0 Likes
635

Hi Theja

Didn't work, same result as before.

Marcel