Ansicht
Dokumentation

DEF_UNI_SEAS - BAdI: Definition of Unique Fashion Season Assignment

DEF_UNI_SEAS - BAdI: Definition of Unique Fashion Season Assignment

ABAP Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Assignment of Markdown Profiles (LO-RFM-MD-MPA) component. You can use this BAdI to implement customer-specific logic to assign a unique combination of season and season year to a worklist item in transaction WMPA.

BAdI method DEFINE_UNIQUE_SEASON contains the following parameters:

  • Importing parameter I_VIEW_ID
  • Importing parameter IT_WORK_AREA_FSH
  • Changing parameter CT_WORK_AREA

Importing parameter I_VIEW_ID contains the user's fast entry decision

The fast entry processing options are:

  • GXXX: process single articles, generic articles, or sales sets (variants are not considered)
  • GCXX: process generic articles and variants, and attribute color: one work area Item in changing parameter CT_WORK_AREA is condensed to a generic article and attribute color that may represent several variants.
  • GSXX: process generic articles and variants, and attribute size: one work area item in changing parameter CT_WORK_AREA is condensed to generic article and attribute size that may represent several variants.
  • GCSX: process generic articles, and variants and attributes color and size: one work area item in changing parameter CT_WORK_AREA contains one variant, if the combination of generic article, color, and size matches one variant.

Importing parameter IT_WORK_AREA_FSH: contains all valid season or season year assignments of work area items: These can include no assignment, a single assignment, or multiple assignments for each work area item.

Changing parameter CT_WORK_AREA: contains work area items with season/season year assignments that are determined by the standard process, to displayed in WMPA. Important fields in CT_WORK_AREA are FSH_SEASON, FSH_SEASON_YEAR and MULT_SEASON:

  • FSH_SEASON and FSH_SEASON_YEAR contain the unique season attributes to be displayed in WMPA for a work area item.
  • If FSH_SEASON and FSH_SEASON_YEAR are empty, but MULT_SEASON has an entry other than to INITIAL, there is more than one valid season/season year assignments for one work area item. All valid season assignments for a work area item can be found in IT_WORK_AREA_FSH.
  • If FSH_SEASON, FSH_SEASON_YEAR and MULT_SEASON are empty, there is no valid season assignment for this work area item.

Examples for standard processing:

Generic Article GA has variants V1, V2 and V3.

1. One work area item is condensed from the following data constellations (variant - season - season year):

V1 - S1 - 2015
V2 - S1 - 2015
V2 - S2 - 2015
V3 - S1 - 2015
V3 - S3 - 2015

The intersection set contains only of S1 2015. This assignment is unique and it will be displayed.

2. One work area item is condensed from the following data constellations (variant - season - season year):

V1 - S1 - 2015
V2 - S1 - 2015
V2 - S2 - 2015
V3 - S2 - 2015
V3 - S3 - 2015

No intersection set was found, so no season attributes will be displayed.

3. One work area item is condensed from the following data constellations (variant - season - season year):

V1 - S1 - 2015
V1 - S2 - 2015
V2 - S1 - 2015
V2 - S2 - 2015
V3 - S1 - 2015
V3 - S2 - 2015
V3 - S3 - 2015

The intersection set contains S1 2015 and S2 2015. This assignment is not unique, so no season attributes will be displayed, but field MULT_SEASON has a value.

Note:

Changing a unique season attribute assignment that was determined by standard logic or adding season attributes to a work area item where standard logic did not determine any assignment of season attributes may lead to mistakes when selecting or assigning markdown profiles.

In standard processing, a season, season year assignment is unique if there is only one assignment of season, season year that matches a generic article and all of its variants for the requested view ID.






TXBHW - Original Tax Base Amount in Local Currency   General Material Data  
This documentation is copyright by SAP AG.

Length: 4843 Date: 20240523 Time: 162205     sap01-206 ( 75 ms )