Fonction SAP BAPI_BUPR_CONTP_HRS_REMOVE - SAP-BP, BAPI: Delete Business Hours for Contact Person Relationship

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BUSINESSPARTNER BAPIBUS1006_HEAD-BPARTNER C 10 Business Partner
CONTACTPERSON BAPIBUS1006_HEAD-BPARTNER C 10 Contact Person
SCHEDULE_TYPE BAPIBUS1006_SCHEDULE_TYPE u 1 Schedule Type
VALIDFROMDATE BAPIBUS1006002_HEADER-VALIDFROMDATE D 8 Validity Date (Valid From)
VALIDUNTILDATE BAPIBUS1006002_HEADER-VALIDUNTILDATE D 8 Validity Date (Valid To)

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 X Messages

Functionality
Use this BAPI to delete the calling or visiting hours for a contactperson relationship between two business partners.
The schedule type of the business hours, which is mapped by means ofindividual rules or their linkage to complex sets of rules, is enteredin parameter SCHEDULE_TYPE.
After it has been checked that the business partner exists, the validityof the schedule type is checked. Any errors that may occur are logged,and issued in the table RETURN.
If the result of the check is negative, then the business hours are notdeleted.

Description
Key that identifies a business partner unambiguously for each client.

Description
Key that identifies a contact person unambiguously for each client.

Description
Key for identifying a schedule type.

Value range

  • A (calling hours)

  • C (visting hours)
  • Description
    The validity date (valid from) determines the start of a validityinterval of an object, here the contact person relationship on the timeaxis.

    • Only one date must be entered here if a time contstraint is foreseen for
    • the relationship category.
      • If no date is entered, then the default value 01.01.0001 is set.

      • If a time constraint is not foreseen in the configuration menu for the
      • relationship category, any dates that deviate from the default value areignored and the default date is set.

        Description
        The validity date (valid to) determines the end of a validity intervalof an object, here the contact person relationship on the time axis.

        • Only one date must be entered here if a time contstraint is foreseen for
        • the relationship category.
          • If no date is entered, then the default value 31.12.9999 is set.

          • If a time constraint is not foreseen in the configuration menu for the
          • relationship category, any dates that deviate from the default value areignored and the default date is set.

            Description
            This table contains confirmations from the method call.