SAP Program J_1SMEV1 - IS-M/SD CH/V: Global Retail Changes - Quantity Change 1

Description
Program J_1SMEV1 makes quantity changes for retail orders via batchinput. It also creates a list of errors, notes and changenotifications.
The orders to be changed are determined from the ship-to party's pointof sale number. This number is delivered in an input file.
The changes are made at schedule line level by generating periodicallimited changes (schedule line type BP) and limited changes forspecific dates (BT) if the selection period only covers one outputdate.
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 as
      • orders with several schedule lines.
        • The number of the point of sale, which is used to determine the
        • relevant order items, must be recorded in the business partner masterrecord (retailer) in the data field JGTEUWV-ISPCNR (role-specific dataon retailer).

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

          • Logical file name (REQUIRED)

          • For the input file (numbers of points of sale for the ship-to party tobe changed)
            • Country (REQUIRED)

            • Normal delivery country
              • Sold-to party (OPTIONAL)

              • Publication (REQUIRED)

              • Edition (OPTIONAL)

              • Mix type (OPTIONAL)

              • Delivery type (OPTIONAL)

              • You can use the delivery type, for example, to exclude return ordersusing a dummy delivery type.
                • Order type (REQUIRED)

                • Check order type grouping (OPTIONAL)

                • If this indicator is selected, the program checks whether the selectedorder types are retail 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 an A or a W in this field, the program prints the addressof the sold-to party or ship-to party for each order or item on theerror/note and change log.

                                  Example
                                  For examples, see the documentation on report J_1SMBZM.