Fonction SAP BAPI_SERVFREQ_UPLOAD - BAPI: Upload route numbers for service frequency

Paramètre Reférence Long. Facultatif Description
RETURN ISU_BAPIRET2_T 548 X Table of return parameters (code, text)
ROUTENUMBERS BAPIROUTEUPL_T 101 Table of uploaded route numbers

Exception Description
GENERAL_FAULT

Functionality
This method imports route planning data from the route number table(ROUTENUMBERS) and any additional information into IS-U/CCS.
Route planning data always applies to one service that is allocated toone service frequency.
For more information on individual fields of the table, see theparameter documentation.
Before you can process an uploaded data recorded, a route number andsequence number of a service for a service frequency must exist.

Notes
Messages are returned in parameter RETURN.

Further information

Description
In the event of error, this structure can contain the followinginformation:

  • Message type (Feld TYPE)

  • Message code (Feld CODE)

  • Mesasge text (Feld MESSAGE)

  • If no errors occur then the structure remains empty.

    Value range
    Type,,ID,,Number,,Explanation
    E,,E9,,011,,Material & does not exist
    E,,E9,,011,,Serial number & does not exist
    E,,E9,,011,,Meter reading document & does not exist
    E,,E9,,011,,Meter reading reason & does not exist
    E,,E9,,080,,Enter the serial number, register number and meter reading
    ,, ,, ,,date
    E,,E9,,080,,Enter the material and serial number
    E,,EG,,094,,Device/serial number & is not from device category/material
    ,, ,, ,,&
    E,,EG,,053,,A unique result cannot be determined from the entries for
    ,, ,, ,,the device
    E,,EL,,004,,Meter reading document & does not have the status
    ,, ,, ,,prepared
    A,,E9,,887,,Internal error: unexpected exception & occurred calling
    ,, ,, ,,function module MSG_OPEN, MSG_ACTION,
    ,, ,, ,,MSG_OPEN, MSG_ACTION, MSG_PREPARE_CLOSE or MSG_CLOSE
    S,,EL,,250,,& meter reading results were imported
    This text ensures that the last line of the list is displayed- it is
    not displayed itself.

    Description
    This table contains all the route numbers for the services of theservice frequencies, as well as additional information to be importedinto IS-U/CCS.
    The table contains the following fields:

    • Route number (ROUTE)

    • Number of stop in route (ROUTE_SEQUENCE)

    • Number of the service frequency(OBJNR)

    • Consecutive number of service frequency (LAUFNR)

    • Validity date of the service (BIS)

    • To-date of the service (AB)

    • Definite date of service (DATE_CONCRETE)

    • Status of the service (STATUS_SERV)

    • Status of the customer (STATUS_CUST)

    • Service window in which the service is carried out (TIMEFRAME)

    • Start date of the service (STARTDATE)

    • Indicator: service can be postponed (DATECHANGE)

    • Start time of the service in the service window (STARTTIME)

    • Finish time of the service in the service window (STOPTIME)

    • Weekly frequency of the service (WEEKLY)

    • Monthly frequency of the service (MONTHL_COUNT)

    • Day of the month on which the service is carried out (MONTHLY)

    • Daily service selection (DAY_TYPE) --> (simple/periodic/none)

    • Indicator: service for service frequency occurs daily(DAY_FLAG)

    • Indicator:service for service frequency occurs weekly (WEEK_FLAG)

    • Indicator: Service for service frequency occurs monthly (MNTH_FLAG)

    • Weekday on which the service is carried out (WEEKDAY)

    • The date of a service, its frequency or the interval can only bechanged if the indicator DATECHANGE was originally set in the service.
      You must specify weekday as 2 character numeric abbreviations. 01corresponds to the first day of the week (Monday).
      For more information on the individual fields, see the documentation onthe function module.