SAP Program J_1SMBZM - IS-M/SD CH/V: Global Changes for Reserves - Quantity Change

Description
Program J_1SMBZM makes quantity changes for carrier route reserveorders via batch input. It also creates a list of errors, notes andchange notifications.
The changes are made at schedule line level by generating periodicallimited changes (schedule line type BP) or limited changes for specificdates (BT) if the selection period is only one publication date.
If subtractive changes already exist in the selection period (scheduleline types BT or BP), these are changed if their validity period iswithin the selection period.
The change quantity is determined using a variant of table J_1SVARIEV,where the change quantity based on the base quantity is stored in thefields "+/- sign" and "Change quantity".

Notes

  • The specified selection period for which the quantity changes are to be
  • created is checked as follows:
    The system determines the latest order deadline for the selectedpublications (or for all publications if you do not specify selectioncriteria). The valid-from date specified must be earlier than or thesame as the latest order deadline determined plus 1 day.
    • The new quantity is 0 or less

    • If the new quantity determined is 0 or less and the validity period isunlimited (valid to 12/31/9999), the program creates a periodicallimited schedule line change valid to 12/30/9999 with a quantity of 0.

      Precondition
      You can only use this function if the orders in question are created asorders with several schedule lines.

      Selection criteria:
      You can restrict selection of orders to be changed by specifying thefollowing selection criteria:

      • Country (REQUIRED)

      • Normal delivery country
        • Service company (OPTIONAL)

        • Contract service company; this selection criterion only makes sense ifthe BP assignment to the delivery rounds is maintained.
          • Carrier route (OPTIONAL)

          • Publication (REQUIRED)

          • Edition (OPTIONAL)

          • Mix type (OPTIONAL)

          • Order type (REQUIRED)

          • Check order type grouping (OPTIONAL)

          • If this indicator is selected, the program checks whether the selectedorder types are reserves orders.

            Control:
            Processing is controlled by the following parameters:

            • Quantity change from-to (REQUIRED)

            • The quantity change is generated for this period.
              • Quantity change variant (REQUIRED)

              • The additive/subtractive change quantities are determined based on thisvariant.
                • Change type (REQUIRED)

                • A = additive; the quantity determined in the specified variant raisesor reduces the normal or subtractive quantity.
                  E = subtractive; the quantity determined in the variant replaces thenormal or subtractive quantity.
                  • Base quantity (REQUIRED)

                  • N = normal quantity; the quantity from the normal schedule line is usedto determine the additive or subtractive change quantity from tableJ_1SVARIEV.
                    E = subtractive quantity; the quantity from the subtractive scheduleline is used to determine the additive or subtractive change quantityfrom table J_1SVARIEV.
                    • Test run (OPTIONAL)

                    • Selected -> no batch input session is created
                      Blank -> production run: a batch input session is created
                      • Errors/notes (OPTIONAL)

                      • Selected -> list is created
                        Blank -> list is not created
                        • Change log (OPTIONAL)

                        • Selected -> changes are listed
                          Blank -> list is not created
                          • Print BP

                          • If you enter a B in this field, the report prints the carrier route andits long text for each item on the error/note and change logs.

                            Example

                            Change type 'additive'
                            Quantity change variant EXAMPLE1
                            Variant Publication Ed. QtyFr. QtyTo +/- Ch.Qty
                            TEST CH-PUBL ZH 0 9 + 1
                            TEST CH-PUBL ZH 10 49 + 5
                            TEST CH-PUBL ZH 50 999999 + 10
                            Schedule lines affected in selection period 01/01/98 to 01/10/98:
                            Sched.Line SLineType Valid from Valid to Qty
                            0003 NE 01/01/1995 12/31/9999 8
                            0010 BT 01/02/1998 01/02/1998 11
                            If the base quantity is N, the quantity for schedule line 0010 ischanged to 12 and if the base quantity is E, the quantity is changed to16.

                            Example

                            Change type 'subtractive'
                            Quantity change variant EXAMPLE2
                            Variant Publication Ed. QtyFr. QtyTo +/- Ch.Qty
                            TEST CH-PUBL ZH 1 5 6
                            TEST CH-PUBL ZH 6 10 12
                            TEST CH-PUBL ZH 11 20 25
                            TEST CH-PUBL ZH 21 30 35
                            Schedule lines affected in selection period 01/01/98 to 01/10/98:
                            Sched.Line SLineType Valid from Valid to Qty
                            0003 NE 01/01/1995 12/31/9999 8
                            0010 BT 01/02/1998 01/02/1998 11
                            If the base quantity is N, the quantity for schedule line 0010 ischanged to 12 and if the base quantity is E, the quantity is changed to25.