SAP Function SEASON_ARTICLE_ASSIGN_DATES - Check Saisonartikel gegen Saisontabellen und -datümer

Parameter Reference Type Length Default Optional Text
CHECK_DATES RWAKA-KPOSIT C 1 ' ' X Check Listungs-/Verkaufsdatümer? (Ja = X)
PREVIOUS_SEASON T6WSP-SAISO C 4 X Bisherige Saison
SAITY TWSAI-SAITY C 2 ' ' X Kollektion innerhalb einer Saison
SEASON T6WSP-SAISO C 4 Saison-ID
SEASON_DAT TWSAJ u 100 X
VKORG TWSAJ-VKORG C 4 ' ' X Verkaufsorganisation
VTWEG TWSAJ-VTWEG C 2 ' ' X Vertriebsweg
YEAR TWSAJ-KJAHR C 4 Kalenderjahr

Parameter Reference Type Length Text
SEASON_TABVAL TWSAJ u 100 Datümer der Saison aus TWSAJ (bei Check)

Parameter Reference Length Optional Text
SEASONS TWSAJ 100 X Saisons, die zum Kalenderjahr angelegt sind

Exception Text
ANNUAL_SEASON_NOT_FOUND gesuchte Jahressaison in TWSAJ nicht angelegt
DIFFERENT_DATES Beim Check wurden abweichende Datümer gefunden
DIFFERENT_GROUPS Alte und neue Saison sind in versch. Gruppen
NO_ANNUAL_SEASONS Kalenderjahr
NO_CHECK_POSSIBLE
SEASON_TYPE_NOT_FOUND Saisonkennung in T6WSP nicht angelegt

Functionality
* Checks whether the annual season being searched for for the import
parameters SEASON, YEAR, VKORG and VTWEG is created in Customizing.
In addition, all the seasons existing for YEAR in the table SEASONS
are read, so that the possible seasons for the calendar year can be
displayed in a help function, if the annual season being searched for
cannot be found.
If the season exists, the season data (dates) are returned as export
parameter SEASON_TABVAL.
* Season-, listing- and sales periods for stores and distribution
can also be checked only for the season. For this, the season dates
must be transferred with export parameter SEASON_DAT and import
parameter CHECK_DATES set to 'X'. If there are discrepancies between
the season table values and the parameter values, exception 03 is
triggered. The values of the season table are returned via export
parameter SEASON_TABVAL. The date containing the discrepancy can be
be determined by the calling program, by comparing
parameter SEASON_DAT with SEASON_TABVAL.


* The optional parameter previous_season can be used to transfer theprevious season. In this case, a check is made to ensure that thegroup indicators for the old and new season are the same in theseason ID. If they differ, a warning appears.