Functionality IMPORTING: This method returns per personnel number the miles or kilometerstraveled by an employee within a time interval. Transfer parameter: EMPLOYEENUMBER FROM_DATE TO_DATE. There is the additional option to limit the search to a certain vehicletype and class. Transfer parameter: VEH_TYPE VEH_CLASS. EXPORTING: The RETURN structure indicates the success (value 'S') or failure(value 'E') of the search. RETURN (STRUCTURE BAPIRETURN) TYPE Message type: S success, E error CODE Message code MESSAGE Message text LOG_NO Application log: log number LOG_MSG_NO Application log: sequential number TABLES: The miles/kilometers determined are returned to the table MILEAGE withexact dates. If no legs of trips are found to meet the selection conditions, thetable MILEAGE remains empty and the RETURN structure contains a successmessage. Description Personnel number |