Ansicht
Dokumentation

ASSORTMENT_HEAD_HANDLING - Create / Change / Delete Assortment Header

ASSORTMENT_HEAD_HANDLING - Create / Change / Delete Assortment Header

General Material Data   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

The function module allows processing of header data for a module. All dependent items are adjusted accordingly. In the case of modules already assigned to stores, all subsequent objects are also adjusted (MARC, WLK1 etc.).

The following functions are possible (parameter FUNCTION):
Fnct. Meaning Subsequent processes / Checks
-------------------------------------------------------------------
'1' Create - Check object does not exist
- Check minimum data (text, date from...to)
- Get internal number if blank (always immediately)
- Updat to database (WSOH / WSOT)
'2' Change - Only for NBAU / ABAU / EXCL / LOKAL (except
description)
- Check object exists
- Check consistency of change data:
- Valid from:
All items are changed if their From date is
lower than the new date and the material
validity permits this.
Case a: No assignments to stores
Conditions: > SY-DATUM
< valid to
Case b: Assignments to stores exist
--> initially no change permitted.
Later: Conditions: > SY-DATUM
> valid to
- Valid to:
All items are changed if the To date is greater
than the new value
Case a: No assignments to stores
Conditions: > SY-DATUM
> valid from
Case b: Assignments to stores exist
--> initially no change permitted
Later:
Conditions: > SY-DATUM
> valid to
Reduction in validity:
- Materials whose From date is
greater than the new date are
excluded
Increase in validity
- No problems
- Priority:
increase : always
reduce: but items with > are limited to the
new priority
'3' Delete Header and all items are set as LVORM = 'X' and
date = SY-DATUM.
Called FBAU:
-----------------
ASS._POS_HANDLING (for each item of the header, if resulting change
-> if parameter POSITIONEN filled)
--> others (see there)
WSOH_CHANGE --> ASSIGNMENT_HEAD_TO_SHOP
WWS_ENQ_ASSORTMENT





Parameters

ASSORTMENT_HEAD_NEW
ASSORTMENT_HEAD_OLD
CREATE_CHANGE_DOCUMENT
FUNCTION
MODULE_NUMBER
POSITIONEN
SAVE_DIRECTLY
SITUATION
TEXTE
UPD_MODE
WSCOR

Exceptions

ASSORTMENT_HEAD_ALREADY_EXISTS
ASSORTMENT_HEAD_NOT_FOUND
NEW_TIME_RANGE_TOO_LONG
NEW_TIME_RANGE_TOO_SMALL
WRONG_FUNCTION

Function Group

WSOH

General Material Data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3744 Date: 20240523 Time: 103958     sap01-206 ( 33 ms )