Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>AssortmentList



Index

AssortmentList

AssortmentList


The Business Object Assortment list is a list of the materials
that belong to an assortment within a period of validity. It is ordered according to set criteria.


Structure
The items of an assorment list contain - if required, in a unit of
measurement - the materials that belong to the assortment within a period of validity.

Via assortment list item groups the items of an assortment list are
grouped together according to specified properties. These properties can be:

- the same vendor through which the materials are procured,
- the same vendor sub-assortment to which the materials belong,

- the same customer material group to which the materials belong,

- the same customer department to which the customer material groups of the materials belong,

- the same layout section in which the materials are to be presented.


Usage
The assortment list is created on the basis of listing conditions and
can be used item-by-item as an assortment list - outward movement (see
respective objects) for the supply of information to the assortment users or to an external merchandise management system.


11-Dec-2005


Methods

Available Methods


  • GetGroups : Read assortment list groups [ BAPI_ASSORTMENTLIST_GETGROUP ]
  • GetItems : Read assortment list items [ BAPI_ASSORTMENTLIST_GETPOS ]
  • GetList : Read assortment list header data [ BAPI_ASSORTMENTLIST_GETHEAD ]

11-Dec-2005


GetGroups

GetGroups


This method can be used to select the groups of an assortment list.

An assortment list header record is used to prepare all groups (incl. sorting method).


11-Dec-2005


GetItems

GetItems


This method can be used to select assortment list items (material).

An assortment list header record and assortment list group number areused to prepare all items. Sort sequence corresponds to the sort methodin the assortment list header. An individual item structure that is
created in the assortment list item header ensures that only some ofthe fields in structure 'BAPI3032_POSITION' (reference structure) areprepared. As a result, the assortment list can be prepared more quickly.


11-Dec-2005


GetList

GetList


This method can be used to read versions of assortment lists (header information).

A customer number for the plant, a key date and an assortment list typeare used to read valid assortment lists. The latest full version ormerged version with a validity date prior to the key date is selected.
New change versions with dates prior to the key date are also selected.

If no full version is found for the key date, this means that olderversions continue to be used. If a version is found that is not validuntil a future date, the key date must be set in the validity interval.
This method means that a complete list of versions is not read.

In particular, manual requirements are not taken into consideration.

Notes

Messages are returned in parameter RETURN. The return values and theirmeanings are included in the return parameter documentation.


Further Information

See user documentation on the assortment list.


11-Dec-2005