Ansicht
Dokumentation
BAPI_BUPA_HOURS_ADD - Creation of an Appointment Rule for a BP
Addresses (Business Address Services) BAL_S_LOG - Application Log: Log header dataThis documentation is copyright by SAP AG.
Functionality
This BAPI enables you to create business hours for a business partner entered in the parameter BUSINESSPARTNER.
The schedule type of the business hours, which can be mapped to complex sets of rules by means of individual rules or links between these rules, is entered in the parameter SCHEDULE_TYPE. Calling hours, goods receiving hours or visiting hours, which can be identified in each case by means of an ID, are examples of schedule types.
You can create a set of rules (of any required complexity) of business hours for each schedule type.
The tables COMBINEDRULE, DAILYRULES, WEEKLYRULES etc. contain the data that is valid for each rule type, and the corresponding link information. You can define link rules for daily, weekly and monthly business hours, as well as those that take place on fixed dates.
After it has been checked that the business partner exists, the schedule type and the data for the rules are checked for consistency and validity. Any errors that may occur are logged, and issued in the table RETURN.
If the result of the check is negative, the business hours are not created.
Example
Notes
If business hours already exist for the schedule type, they are overwritten with the new data.
Further information
Parameters
BUSINESSPARTNERCOMBINEDRULE
DAILYRULES
FIXEDRULES
MONTHLYRULES1
MONTHLYRULES2
RETURN
SCHEDULE_TYPE
WEEKLYRULES
Exceptions
Function Group
BUPA_HOURS_BAPICPI1466 during Backup rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 2478 Date: 20240523 Time: 092706 sap01-206 ( 39 ms )