Ansicht
Dokumentation

J_1SMEV2 - IS-M/SD CH/V: Global Retail Changes - Quantity Change 1

J_1SMEV2 - IS-M/SD CH/V: Global Retail Changes - Quantity Change 1

Fill RESBD Structure from EBP Component Structure   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Description

Program J_1SMEV2 makes quantity changes for retail orders via batch input. It also creates a list of errors, notes and change notifications.

The orders to be changed are determined from the number of the ship-to party's point of sale. This number is provided in an input file. The file also contains control data for the quantity change:

  • Change type (REQUIRED), 1 character CHAR
  • A = additive

  • E = subtractive

  • +/- sign (relevant for additive quantity changes), 1 character CHAR
  • + = increase

  • - = reduction

  • Change quantity (REQUIRED), 10 characters, NUMC with leading zeros and no decimal places

The changes are made at schedule line level by generating periodical limited changes (schedule line type BP) or limited changes for specific dates (BT) if the selection period is only one publication date.

If subtractive changes already exist in the selection period (schedule line types BT or BP), these are changed if their validity period is within the selection period.

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 selected publications (or for all publications if you do not specify selection criteria). The valid-from date specified must be earlier than or the same 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 is unlimited (valid to 12/31/9999), the program creates a periodical limited schedule line change valid to 12/30/9999 with a quantity of 0.

Requirements

  • 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 item, must be recorded in the business partner master record (retailer) in field JGTEUWV-ISPCNR (role-specific data on retailer).

Selection criteria:

You can restrict selection of orders to be changed by specifying the following selection criteria:

  • Logical file name (REQUIRED)
  • For input file (described above)

  • 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 returns orders using a dummy delivery type.

  • Order type (REQUIRED)
  • Check order type grouping (OPTIONAL)
  • If this indicator is selected, the program checks whether the selected order 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.

  • Base quantity (REQUIRED)
  • N = normal quantity; in the case of an additive quantity change to a subtractive schedule line (BP or BT), the new quantity is the same as the normal schedule line quantity +/- the change quantity.

  • E = subtractive quantity; in the case of an additive quantity change to a subtractive schedule line (BP or BT), the new quantity is the same as the quantity of the subtractive schedule line itself +/- the change quantity.

  • 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 address of the sold-to party (A) or the ship-to party (W) is printed for each order or item on the error/note and change logs.

Example

Input file

PoSlNo. Change qty +/- ChTy.
12345 0000000012 + A
54321 0000000040 E

Affected schedule lines in selection period 01/01/98 to 01/10/98:

PoSlNo. SchLine SLnTy. Valid from Valid to Qty
12345 0003 NE 01/01/1995 12/31/9999 30
12345 0010 BT 01/02/1998 01/02/1998 40
54321 0022 NE 07/01/1995 12/31/9999 32
54321 0027 BT 01/02/1998 01/01/1998 45

If the base quantity is N, schedule line 0010 is changed to 12 (30 + 12) and if the base quantity is E, the quantity is changed to 52 (40 + 12). Schedule line 27 is changed to 45 in all cases, since this is a subtractive change.






ROGBILLS - Synchronize billing plans   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 6960 Date: 20240531 Time: 041158     sap01-206 ( 72 ms )