Ansicht
Dokumentation

W_DF_VK_0131 - Store Order Control

W_DF_VK_0131 - Store Order Control

Addresses (Business Address Services)   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

In this step you maintain store order control parameters. The following describes the target documents for which the control parameters can be used.

  • IDOc category output: WGSREQ01 order receipt IS-R
  • Purchase requisition creation

  • PO creation (or order copy or sourcing)

  • PO deletion (the whole document only and only as long as the PO has not been processed)

  • Delivery creation

  • Sales order creation

  • Filled on order confirmation

  • IDoc category output: ORDERS01 Purchasing/Sales

Interface description:

The following is a description of the field entries, the fields and
segements for every document category that can be used from the
target document view.

Issue IDoc cat: WGSREQ01 order receipt IS-R
------------------------------------------------------------------------
E1WGRK1 M P 1 5000 IS Retail: store order header
E1WGRP1 M P 1 9999 store order document item
E1WGRP2 C 1 1 document item order confirmation

Issue IDoc cat: WGSREQ01 order receipt IS-R
------------------------------------------------------------------------
E1WGRK1 M P 1 5000 IS Retail: store order header
DATUM 8 EDI document date
CURCY 3 Currency
ACTION 3 Action code for whole EDI message
KZABS 1 ID for order confirmation requirement
E1WGRP1 M P 1 9999 store order document item
MENGE 15 Quantity in store order item
MENEE 3 Unit of measure
MATNR 18 Material number
EAN11 18 European Article Number
IDNLF 22 Material number of vendor
BEDAT 8 Order date
EINDT 8 Delivery date of item
UZEIT 6 Time on delivery date
BEDNR 10 Requirement tracking number
AKTNR 10 Promotion
LIFNR 10 Vendor account number
RESWK 4 Issuing plant in stock transport order
EKORG 4 Purchasing organization
BSART 4 Purchasing document type
DISPO 3 MRP controller (stock planner)
WBTYP 1 Document category
KNTTP 1 Account assignment category
KOSTL 10 Cost center
ACTION 3 Sales document type
KUNNR 10 Customer number
VKBUR 4 Sales office
VKGRP 3 Sales group
AUART 4 Sales document type
E1WGRP2 C 1 1 document item order confirmation
MENGE 15 Quantity in store order item
MENEE 3 Unit of measure
MATNR 18 Material number
EAN11 18 European Article Number
EINDT 8 Delivery date of item
UZEIT 6 Time on delivery date
IBELNR 10 Requirement tracking number
LIFNR 10 Vendor account number
ABWGR 3 Reason for variance
ABWTXT 79 Text for reason for variance

Create purchase requisition
**************************
Issue IDoc cat: WGSREQ01 order receipt IS-R
E1WGRK1 IS-Retail: Store order header
DATUM Default for order date Optional
CURCY Currency Optional
KZABS Order confirmation requirement Optional
E1WGRP1 Store order document item
MENGE Quantity in store order item Compulsory!
in MENEE
MENEE Unit of measure Optional
- - - - - - - - - - -
An identifier: Compulsory!
MATNR Material number
EAN11 European Article Number
IDNLF Material number of vendor
-with IDNLF only + vendor makes sense
-if more than 1 sent, EAN used
- - - - - - - - - - -
BEDAT Order date Optional
EINDT Requested delivery date Optional
BEDNR External requirement tracking no. Optional
> uniquely identifies document
AKTNR Promotion Optional
- - - - - - - - - - -
LIFNR Vendor number Optional
RESWK Issuing plant Optional
> If both sent, the values must match

> If missing, supply source determination
If no source determined,
> create BANF (PReq) w/o source
- - - - - - - - - - -
EKORG Purchasing organization Optional
BSART Purchasing doc. type ignored since = 'NB')
DISPO MRP controller (stock planner) Optional
> used for determining EKGRP
WBTYP Document category ='1' Optional
> SPACE or '2' may make sense
> See value list !
KNTTP Account assignment category Optional
> if = 'K' => Cost center required
KOSTL Cost center Optional
KUNNR Customer number Optional
E1WGRP2 not used on the inbound side !!
Note: The receiving plant is determined via the customer number in the
partner agreement of the inbound IDOC if no customer number is found in
E1WGRP1.

Create PO (or order copy or sourcing)
******************
Issue IDoc cat: WGSREQ01 order receipt IS-R
E1WGRK1 IS-Retail: Store order header
DATUM Default for order date Optional
CURCY Currency Optional
KZABS Order confirmation required Optional
E1WGRP1 Store order document item
MENGE Quantity in store order item Compulsory!
in MENEE
MENEE Unit of measure Optional
- - - - - - - - - - -
An identifier: Compulsory!
MATNR Material number
EAN11 European Article Number
IDNLF Material number of vendor
-with IDNLF only + vendor makes sense
-if more than 1 sent, EAN used
- - - - - - - - - - -
BEDAT Order date Optional
EINDT Requested delivery date Optional
BEDNR External requirement tracking no. Optional
> uniquely identifies document
AKTNR Promotion Optional
- - - - - - - - - - -
LIFNR Vendor number Optional
RESWK Issuing plant Optional
> If both sent, the values must match.

> If supply source determination missing
If no supply source determined
> Create BANF (Preq) w/o supply source
- - - - - - - - - - -
EKORG Purchasing organization Optional
BSART Purchasing document type only makes sense
if vendor also sent
DISPO MRP controller (stock planner) Optional
> for determining EKGRP (purchasing group)
WBTYP Doc. category = '3' Purchase order
= '8' PO copy
= 'A' Sourcing 'A'
= 'B' Sourcing 'B'
KNTTP Account assignment cat = 'K' (for material
with account assignment)
KOSTL Cost cetner required ifn KNTTP='K'
Note: The receiving plant is determined via the customer number in the
partner agreement of the inbound IDOC if no customer number is found in
E1WGRP1.

Delete purchase order (as long as not yet processed and full document)
*****************
Issue IDoc cat: WGSREQ01 order receipt IS-R
E1WGRK1 Store order header
ACTION '001' --> Delete full PO if possible

E1WGRP1 Store order Document item
BEDNR Requirement tracking no. <-- This is used
for identfying the order number
WBTYP Doc. cat.--> '3' No other ones are as yet
supported

Create delivery
******************
Issue IDoc cat: WGSREQ01 order receipt IS-R
E1WGRK1 Store order header
DATUM Default for PO date Optional
CURCY Currency Optional
KZABS Order confirmation required Optional
E1WGRP1 Store order Document item
MENGE Quantity in store order item Compulsory!
in MENEE
MENEE Unit of measure Optional
- - - - - - - - - - -
An identifier: Compulsory!
MATNR Material number
EAN11 European Article Number
IDNLF Material number of vendor
-with IDNLF only + vendor makes sense
-if more than 1 sent, EAN used
- - - - - - - - - - -
BEDAT PO date Optional
EINDT Requested delivery date Optional
BEDNR External req. tracking no. Optional
> Uniquely identifies document
AKTNR Promotion Optional
- - - - - - - - - - -
LIFNR Vendor number Optional
> Must be internal vendor
RESWK Issuing plant Optional
> if both sent, the values must match.

> If missing, supply source determination.
If no supply source determined
> Create BANF (Preq) without supply source
- - - - - - - - - - -
WBTYP Doc. cat. = '4' delivery
KUNNR Customer number Optional
Note: The receiving plant is determined via the customer number in the
partner agreement of the inbound IDOC if no customer number is found in
E1WGRP1.

Create sales order
*********************
Issue IDoc cat: WGSREQ01 order receipt IS-R
E1WGRK1 Store order header
DATUM Default fo PO Optional
CURCY Currency Optional
KZABS Order confirmation required Optional
E1WGRP1 Store order document item
MENGE Quantity in store order item Compulsory !
in MENEE
MENEE Unit of measure Optional
- - - - - - - - - - -
An identifier: Compulsory !
MATNR Material number
EAN11 European Article Number
IDNLF Material number of vendor
-with IDNLF only + vendor makes sense
-if more than 1 sent, EAN used
- - - - - - - - - - -
BEDAT Order date Optional
EINDT Requested delivery date Optional
BEDNR External req. tracking no. Optional
> Uniquely identifies document
AKTNR Promotion Optional
- - - - - - - - - - -
WBTYP Doc. cat. = '7' sales order
KUNNR Customer number Compulsory
VKBUR Sales office Compulsory
VKGRP Sales group Compulsory
AUART Sales document type Compulsory

Checked on order confirmation
***********************************
Issue IDoc cat: WGSREQ01 order receipt IS-R
E1WGRK1 IS-Retail: Store order header
E1WGRP1 Store order document item
E1WGRP2 Document item order confirmation
E1WGRK1 as per inbound document
E1WGRP1 as per outbound document except
MENGE Quantity in target document
MENEE Unit of measure in target document
MATNR Material number in target document
EINDT Delivery date in target document
IBELNR Target document number
LIFNR Vendor number
E1WGRP2 Document item order confirmation
MENGE Original quantity of store order item
MENEE Original unit of measure of store order item
MATNR Original material number of store order item
EAN11 Original EAN of store order item
EINDT Original delivery date of store order item
IBELNR Inbound requirement tracking number
> = Inbound no (EBNr) when filled
> = Compressed outbound no., if EBNR empty
LIFNR Original vendor in store order item
ABWGR Reason for variance
ABWTXT Text for reason for variance TextYY

------------------------------------------------------------------------

Issue IDoc cat. ORDERS01 Purchasing/Sales
E1EDK01 M 1 1 IDOC: Doc. header, general data
E1EDK14 C 1 12 IDOC: Doc. header, org. data
E1EDK03 C 1 10 IDOC: Doc. header, date segment
E1EDK04 C 1 10 IDOC: Doc. header, tax
E1EDK05 C 1 16 IDOC: Doc. header, conditions
E1EDKA1 C 1 8 IDOC: Doc. header, partner info.
E1EDK02 C 1 10 IDOC: Doc. header, reference data
E1EDK17 C 1 4 IDOC: Doc. header, del. terms
E1EDK18 C 1 3 IDOC: Doc. header, payment terms
E1EDKT1 C P 1 99 IDOC: Doc. header, text ID
E1EDKT2 C 1 9999999999 IDOC: Doc. header, texts
E1EDP01 C P 1 999999 IDOC: Doc. item, generla data
E1EDP02 C 1 10 IDOC: Doc. item, reference data
E1EDP03 C 1 10 IDOC: Doc. item, date segment
E1EDP04 C 1 10 IDOC: Doc. item, tax
E1EDP05 C 1 16 IDOC: Doc. item, conditions
E1EDP20 C 1 9999 IDOC: Schedule lines
E1EDPA1 C 1 8 IDOC: Doc. item, partner info.
E1EDP19 C 1 5 IDOC: Doc. item, object ID
E1EDP17 C 1 5 IDOC: Doc. item, del. terms
E1EDP18 C 1 3 IDOC: Doc. item, payment terms
E1EDPT1 C P 1 9999999999 IDOC: Doc. item, text ID
E1EDPT2 C 1 9999999999 IDOC: Doc. item, texts
E1EDS01 C 1 5 IDOC: Totals segment, general

Issue IDoc cat.: ORDERS01 Purchasing/Sales
E1EDK01 M 1 1 IDOC: Doc. header, general data
ACTION 3 Action code for whole EDI message
KZABS 1 ID for order confirmation requirement
CURCY 3 Currency
HWAER 3 EDI local currency
WKURS 12 Exchange rate
ZTERM 17 Payment terms key
KUNDEUINR 20 Sales (VAT) tax ID
EIGENUINR 20 Sales (VAT) tax ID
BSART 4 Document type
BELNR 35 IDOC document number
NTGEW 18 Net weight
BRGEW 18 Net weight
GEWEI 3 Unit of weight
FKART_RL 4 Invoice list type
ABLAD 25 Unloading point
BSTZD 4 Additional customer order number
VSART 2 Shipping type
VSART_BEZ 20 Shipping type description
RECIPNT_NO 10 Number of recipient (for control)
E1EDK14 C 1 12 IDOC: Doc. header, org. data
QUALF 3 IDOC Qualifier organization
ORGID 35 IDOC Organization
E1EDK03 C 1 10 IDOC: Doc. header, date segment
IDDAT 3 Qualifier date segment IDOC
DATUM 8 IDOC: Date
UZEIT 6 IDOC: Time
E1EDK04 C 1 10 IDOC: Doc. header, tax
MWSKZ 7 Tax code
MSATZ 17 Tax rate
MWSBT 18 Tax amount
TXJCD 15 Tax Jurisdiction Code
E1EDK05 C 1 16 IDOC: Doc. header, conditions
ALCKZ 3 Surcharge/discount ID
KSCHL 4 Condition type (coded)
KOTXT 80 Conditino description
BETRG 18 Fixed discount/surcharge on total amount
KPERC 8 Condition percentage
KRATE 15 Condition per unit
UPRBS 9 Price unit
MEAUN 3 Unit of measurement
KOBTR 18 IDOC Final condition amount
MWSKZ 7 Tax code
MSATZ 17 Condition type (coded)
E1EDKA1 C 1 8 IDOC: Doc. header, partner info.
PARVW 3 Partner function (e.g. ordering party)
PARTN 17 Partner number
LIFNR 17 Vendor number at customer
NAME1 35 Name 1
NAME2 35 Name 2
NAME3 35 Name 3
NAME4 35 Name 4
STRAS 35 Street and number 1
STRS2 35 Street and number 2
PFACH 35 PO box
ORT01 35 Town
COUNC 9 County code
PSTLZ 9 Zip code / post code
PSTL2 9 Zip code of PO box
LAND1 3 Counry key
ABLAD 35 Unloading point
PERNR 30 Personnel no. of contact person
PARNR 30 Contact person no. (not personnel no.)
TELF1 25 Tel. number 1 of contact person
TELF2 25 Tel. number 2 of contact person
TELBX 25 Telebox number
TELFX 25 Telefax number
TELTX 25 Teletext number
TELX1 25 Telex number
SPRAS 1 Language key
ANRED 15 Form of address
ORT02 35 Place
HAUSN 6 House no.
STOCK 6 Floor
REGIO 3 Region
PARGE 1 Sex of partner
ISOAL 2 ISO code of country/region
ISONU 2 ISO code of country/region
FCODE 20 Firm code France
IHREZ 30 Your ref. (of partner)
BNAME 35 IDOC user name
PAORG 30 IDOC organization code
ORGTX 35 IDOC organization code
PAGRU 30 IDOC group code
E1EDK02 C 1 10 IDOC: Doc. header, ref. data
QUALF 3 IDOC Qualifier reference doc.
BELNR 35 IDOC Doc. no.
POSNR 6 Item no.
DATUM 8 IDOC: Date
UZEIT 6 IDOC: Time
EE1EDK17 C 1 4 IDOC: Doc. header, payment terms
QUALF 3 IDOC Qualifier del. terms
LKOND 3 IDOC Delivery condition code
LKTEXT 70 IDOC Delivery condition text
EE1EDK18 C 1 3 IDOC: Doc. header, payment terms
QUALF 3 IDOC Qualifier payment terms
TAGE 8 IDOC No. of days
PRZNT 8 IDOC Percentage rate for payment terms
ZTERM_TXT 70 Text line
EE1EDKT1 C P 1 99 IDOC: Doc. header, text ID
TDID 4 Text ID
TSSPRAS 3 Language key
E1EDKT2 C 1 9999999999 IDOC: Doc. header, texts
TDLINE 70 Text line
E1EDP01 C P 1 999999 IDOC: Doc. item, general data
POSEX 6 Item no.
ACTION 3 Action code relevant to item
PSTYP 1 Item category
KZABS 1 ID for order confirmation requirement
MENGE 15 Quantity
MENEE 3 Unit of measure
BMNG2 15 Quantity in price unit
PMENE 3 Price unit
ABFTZ 7 Agreed cumulative quantity
VPREI 15 Price (net)
PEINH 9 Price unit
NETWR 18 Item value (net)
ANETW 18 Absolute net value of item
SKFBP 18 Amount subject to cash discount
NTGEW 18 Net weight
GEWEI 3 Unit of weight
EINKZ 1 ID: More than 1 schedule line
CURCY 3 Currency
PREIS 18 Gross price
MATKL 9 IDOC Material class
UEPOS 6 Superior item in BOMs
GRKOR 3 Delivery group (items del. separately)
EVERS 7 Shipping instructions
BPUMN 6 Denominator for concerting OPUn to OUn
BPUMZ 6 Numerator for converting OPUn to OUn
ABGRU 2 Rejection reason for quotations and orders
ABGRT 40 Desription
E1EDP02 C 1 10 IDOC: Doc. item reference data
QUALF 3 IDOC Qualifier reference document
BELNR 35 IDOC Document no.
ZEILE 6 Item no.
DATUM 8 IDOC: Date
UZEIT 6 IDOC: Time
E E1EDP03 C 1 10 IDOC: Document item date segment
IDDAT 3 Qualifier date segment IDOC
DATUM 8 Date
UZEIT 6 Time
E1EDP04 C 1 10 IDOC: Document item, taxes
MWSKZ 7 Tax code
MSATZ 17 Tax rate
MWSBT 18 Tax amount
TXJCD 15 Tax Jurisdiction Code

E1EDP05 C 1 16 IDOC: Doc. item conditions
ALCKZ 3 ID surcharge/diuscount
KSCHL 4 Condition type (coded)
KOTXT 80 Condition description
BETRG 18 Fixed discount/surcharge on total item amnt
KPERC 8 Condition percentage
KRATE 15 Condition per unit
UPRBS 9 Price unit
MEAUN 3 Unit of measurement
KOBTR 18 IDOC Final condition amount
MENGE 15 Price sclae qty (SPEC2000)
PREIS 15 Price per unit of measure(SPEC2000)
MWSKZ 7 Tax code
MSATZ 17 Condition type (coded)
E1EDP20 C 1 9999 IDOC: Schedule lines
WMENG 15 Schedule line qty
AMENG 15 Previous schedule line qty
EDATU 8 IDOC: Date
EZEIT 6 IDOC: Time
EDATU_OLD 8 IDOC: Date
EZEIT_OLD 6 IDOC: Time
E1EDPA1 C 1 8 IDOC: Doc. item partner info.
PARVW 3 Partner function (such as goods recipient)
PARTN 17 Partner no.
LIFNR 17 Vendor number at customer
NAME1 35 Name 1
NAME2 35 Name 2
NAME3 35 Name 3
NAME4 35 Name 4
STRAS 35 Street and number 1
STRS2 35 Street and number 2
PFACH 35 PO box
ORT01 35 Town
COUNC 9 County code
PSTLZ 9 Zip code / PO number
PSTL2 9 PO number of PO box
LAND1 3 Country/Region key
ABLAD 35 Unloading point
PERNR 30 Personnel no. of contact person
PARNR 30 Contact person no. (not personnel no.)
TELF1 25 Tel. no. 1 of contact person
TELF2 25 Tel. no. 2 of contact person
TELBX 25 Telebox no.
TELFX 25 Telefax no.
TELTX 25 Teletext no.
TELX1 25 Telex no.
SPRAS 1 Language key
ANRED 15 Form of address
ORT02 35 Place
HAUSN 6 House no.
STOCK 6 Floor
REGIO 3 Region
PARGE 1 Sex of partner
ISOAL 2 ISO code of country/region
ISONU 2 ISO code of country/region
FCODE 20 Firm code France
IHREZ 30 Your ref. (of partner)
BNAME 35 IDOC User name
PAORG 30 IDOC Organization code
ORGTX 35 IDOC Organization code
PAGRU 30 IDOC Group code
E1EDP19 C 1 5 IDOC: Doc. item object ID.
QUALF 3 IDOC Object ID (e.g. material)
IDTNR 35 IDOC Material ID
KTEXT 70 IDOC Short text
E1EDP17 C 1 5 IDOC: Doc. item del. terms
QUALF 3 IDOC Qualifier delivery terms
LKOND 3 IDOC Delivery condition code
LKTEXT 70 IDOC Delivery condition text
LPRIO 2 Delivery priority
E1EDP18 C 1 3 IDOC: Doc. item payment terms
QUALF 3 IDOC Qualifier payment terms
TAGE 8 IDOC No. of days
PRZNT 8 IDOC Percentage for payment terms
E1EDPT1 C P 1 9999999999 IDOC: Doc. item text ID
TDID 4 Text ID
TSSPRAS 3 Language key
E1EDPT2 C 1 9999999999 IDOC: Doc. item texts
TDLINE 70 Text line
E1EDS01 C 1 5 IDOC: Totals segment, general
SUMID 3 Qualifier totals segment for ASN
SUMME 18 Total value totals segment
SUNIT 3 Unit total value totals segment ASN
WAERQ 3 Currency

Create purchase requisition or PO order copy or delivery or sales
order or sourcing or delete PO

--> See above for fields that have to be filled for docs
--> See below for ORDERS fields / qualifier ... at
IDOC cat. WGSREQ01

Issue IDoc cat.: ORDERS01 Purchasing/Sales

E1EDK01 M 1 1 IDOC: Doc. header, general data
E1EDK14 C 1 12 IDOC: Doc. header, org. data
E1EDK03 C 1 10 IDOC: Doc. header, date segment
E1EDKA1 C 1 8 IDOC: Doc. header, partner info.
E1EDK02 C 1 10 IDOC: Doc. header, ref. data
E1EDP01 C P 1 999999 IDOC: Doc. item, general data
E1EDP19 C 1 5 IDOC: Doc. item, object ID

Issue IDoc cat.: ORDERS01 Purchasing/Sales
E1EDK01 Doc. header general data
ACTION Action code, > E1WGRK1-Action
KZABS Order confirm. ID. > E1WGRK1-KZABS
CURCY Currency > E1WGRK1-WÄHRUNG
BSART Doc. type > E1WGRP1-BSART
BELNR Doc. no. > E1WGRP1-BEDNR
BSTZD Requeseted doc. cat. > E1WGRP1-WBTYP
E1EDK14 Doc. header org. data
QUALF IDOC Qualifier Organization
> liefwerk value '005'. > E1WGRP1-RESWK
> ekgrp value '009'. > E1WGRP1-DISPO
> vkgrp value '010'. > E1WGRP1-VKGRP
> auart value '012'. > E1WGRP1-AUART
> bsart value '013'. > E1WGRP1-BSART
> ekorg value '014'. > E1WGRP1-EKORG
> vkbur value '016'. > E1WGRP1-VKBUR
^
|
ORGID IDOC Organization > Contents -+
E1EDK03 Doc. header date segment
IDDAT Qualifier Date segment IDOC
> Req. delivery date value '002'. > E1WGRP1-EINDT
> Creation date value '011'. > E1WGRK1-DATUM
> Doc. date value '012'. > E1WGRP1-BEDAT
^
|
DATUM IDOC: Date > Contents -+
E1EDKA1 Doc. header partner info
PARVW Partner function (e.g. ordering party)
> Vendor value 'LF'. > E1WGRP1-LIFNR
> Ordering party value 'AG'. > E1WGRP1-KUNNR
> Goods recipient value 'WE'. > E1WGRP1-KUNNR
^
|
PARTN Partner no. > Contents -+
E1EDK02 Doc. header ref. data
QUALF 3 IDOC Qualifier reference doc.
> Req. no. value '001'. > E1WGRP1-BEDNR
> Req. no. valuee ' '. > E1WGRP1-BEDNR
^
|
BELNR 35 IDOC Doc. no. > Contents -+
E1EDP01 Doc. item general data
ACTION Action code > E1WGRP1-KNTTP
MENGE Qty > E1WGRP1-MENGE
MENEE Unit of measure > E1WGRP1-MENEE
MATKL Material class > E1WGRP1-MATKL
E1EDP19 Doc. item object ID
QUALF IDOC Object ID (e.g material)
> Artnr_Lieferant value '002'. > E1WGRP1-IDNLF
> EAN value ' '. > E1WGRP1-EAN11
> EAN value '003'. > E1WGRP1-EAN11
> Artnr_intern value '006'. > E1WGRP1-MATNR
^
|
IDTNR Material ID > Contents-+
Note: The receiving plant is determination via the customer no. of the
partner agreement of the inbound IDOC if no customer no. is found in
E1EDKA1.






BAL Application Log Documentation   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 35442 Date: 20240523 Time: 220400     sap01-206 ( 153 ms )