The Function Module ASSIGNMENT_POS_TO_SHOP (Anlegen / Ändern / Löschen Zuordnung Sort.-Pos. <-> Filiale) is a standard Function Module in SAP ERP and is part of the function group WSO1 within the package WSOR.
Function Module | ASSIGNMENT_POS_TO_SHOP |
Short Text | Anlegen / Ändern / Löschen Zuordnung Sort.-Pos. <-> Filiale |
Function Group | WSO1 |
Package | WSOR |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
ASSIGNMENT_HEAD_CREATE | LIKE | WTDY-TYP01 | SPACE | See long text |
ASSORTMENT_HEAD | LIKE | WSOH | SPACE | WSOH structure as general default |
ASSORTMENT_POS | LIKE | WINT_POS | WSOP structure, new contents | |
CREATE_CHANGE_DOCUMENT | LIKE | WTDY-TYP01 | X | Änderungsbelege erzeugen |
FUNCTION | LIKE | WTDY-TYP01 | 1-create, 2-change, 3-delete, 0-test only | |
LAST_LISTING | LIKE | WTDY-TYP01 | SPACE | End date is to cut off all subsequent periods |
LISTING_CHECK | LIKE | WTDY-TYP01 | SPACE | In situation -T : 'X'-listing check, ' '-none |
LISTING_METHOD | LIKE | TWLV-LSTFL | SPACE | Listing procedure (only with allocation tables) |
LOCATION | LIKE | WSOF-FILIALE | Plant to be assigned | |
MERCHANDISE_GROUP | LIKE | MARA-MATKL | SPACE | Material group (only when assigned from PROFILE/CPR) |
SITUATION | LIKE | WTDY-TYP01 | SPACE | T-allocation table calls, P-promotion, blank-unspecified |
S_WSOR_CTRL | LIKE | WSOR_CTRL | SPACE | Listung Sortimente: Steuerungsfelder der Verbuchung |
VKORG | LIKE | TVKO-VKORG | SPACE | |
VTWEG | LIKE | TVTW-VTWEG | SPACE |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
WSCOR | LIKE | WSCOR | Error information structure, ranges |
This function module does not define any CHANGING parameters.
These are the TABLE parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
UNITS | LIKE | WINT_ME | ||
VARIANTS | LIKE | WINT_WAM1 | With complete generic material --> variant list (optional) |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
ASSORTMENT_POS_ALREADY_EXISTS | Item already exists (only applies to -create- function) |
ASSORTMENT_POS_NOT_FOUND | Item not found (does not apply to -create- function) |
ENQUEUED | Record is blocked / block has errors |
NO_ASSIGNMENT_HEAD | |
NO_MULTIPLE_LISTING | Situation -T-: multiple listing not allowed |
RULES_MATCHING_NOT_OK | Situation -T-: rule violation according to listing procedure |
WRONG_FUNCTION | Function not allowed |