Fonction SAP BP_START_DATE_EDITOR - Read/Display/Check Job Start Date/Period Values Using Dialog Box

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
STDT_DIALOG BTCH0000-CHAR1 C 1 Dialog Mode Yes / No
STDT_INPUT TBTCSTRT u 224 Input: Start Date and Period Values
STDT_OPCODE BTCH0000-INT4 I 4 0 X Work Mode in Dialog Box: Display or Edit

Paramètre Reférence Type Long. Description
STDT_MODIFY_TYPE BTCH0000-INT4 I 4 Displays Whether Start Date Data Was Changed
STDT_OUTPUT TBTCSTRT u 224 Output: (Updated) Start Date / Period Values

Exception Description
FCAL_ID_NOT_DEFINED Factory Calendar ID Not Defined
INCOMPLETE_LAST_STARTDATE Incomplete specification of last start date
INCOMPLETE_STARTDATE Incomplete start date
INVALID_DIALOG_TYPE Invalid dialog type
INVALID_EVENTID Event ID specified is invalid
INVALID_OPCODE Invalid Work Mode
INVALID_OPMODE_NAME Invalid Operation Mode Name
INVALID_PERIODBEHAVIOUR Invalid Start Date Restriction
INVALID_PREDECESSOR_JOBNAME Name of predecessor job is invalid
INVALID_WORKDAY_COUNTDIR Count direction for workday is invalid
INVALID_WORKDAY_NR Workday number is invalid
LAST_STARTDATE_IN_THE_PAST Last Start Date is in the Past
NOTBEFORE_STDT_MISSING Earliest Start Date Missing
NO_EVENTID_GIVEN No Event ID Specified
NO_PERIOD_DATA_GIVEN No Period Specifications
NO_STARTDATE_GIVEN No Start Date Specified
NO_WORKDAY_NR_GIVEN Workday Not Specified
PERIOD_AND_PREDJOB_NO_WAY Predecessor Job Cannot Be Used With Period
PERIOD_TOO_SMALL_FOR_LIMIT Earlier Start and Period < One Week Not Allowed
PREDECESSOR_JOBNAME_NOT_UNIQUE Name of Predecessor Job Not Unique
STARTDATE_INTERVAL_TOO_LARGE (Last Start Date - Start Date) > One Year
STARTDATE_IN_THE_PAST Start Date is in the Past
STARTDATE_IS_A_HOLIDAY Start Date is Not a Workday
STARTDATE_OUT_OF_FCAL_RANGE Start Date is Not Within Factory Calendar
STDT_BEFORE_HOLIDAY_IN_PAST Workday Before Public Holiday in the Past
UNKNOWN_FCAL_ERROR_OCCURED Unknown Error in Factory Calendar Check
WORKDAY_STARTTIME_MISSING Time for Start Date 'On Workday' Missing


INCLUDE BC_BP_START_DATE_EDITOR OBJECT DOKU ID TX

Value range
The following values show whether the user has changed the startconditions for the start time in the editor:

  • BTC_STDT_MODIFIED: The user has changed the start specifications

  • BTC_STDT_NOT_MODIFIED: The user has not changed the start
  • specifications
    In both cases, the start specifications are returned to STDT_OUTPUT.If the specifications were changed, STDT_INPUT is also overwrittenwith the new values.

    Description
    This table contins the start conditions, as adjusted by the user(if STDT_OPCODE was set to BTC_EDIT_STARTDATE).

    Description
    Specify whether the start specifications for a job should be collectedfrom the user or are passed to the function module in the call.

    Value range
    Permissible values are as follows:

    • BTC_YES: The start date editor of the background processing system is
    • presented to the user.
      • BTC_NO: Job start specifications must be supplied in the call to the
      • function module. The function module checks that the specificationsare valid.

        Description
        This structure contains any start specifications that are passed to thefunction module in the call.

        Default
        If STDT_DIALOG is set to BTC_YES, then the values in this structure areshown to the user as default values that can be overwritten oraccepted.

        Description
        Specify whether the user can only display the job start specifications,or whether he or she can also define them.

        Value range
        The following values are permitted:

        • BTC_EDIT_STARTDATE: The user can change the job start specifications
        • for the start date in the editor
          • BTC_SHOW_STARTDATE: The user cannot change the start specifications