Entering content frame

Function documentation Document Header: Organizational Data (Segment E1EDK14) Locate the document in its SAP Library structure

Mandatory segment: NO

Field

Short text

Explanation

QUALF

Organization indicator

Describes the use of the data sent in field ORGID (for example 006 for division, 007 for distribution channel, 008 for sales organization). With the qualifier 012 the order type can also be transferred in the field ORGID.

ORGID

Organization ID

See field QUALF.

The following indicators are processed in the inbound IDoc:

006

Division

007

Distribution Channel

008

Sales Organization

010

Sales Group

012

Order Type

016

Sales Office

019

Purchase Order Type (SD)

J01

Department

If no data for sales organization, distribution channel and/or division is sent in the segment, the determination of the data is called using the table EDSDC. An entry for the key sold-to party (AG) + vendor number (LF) is then searched for. The sold-to party and vendor number are taken from the data from segment E1EDKA1 for the partner function ,AG‘ (sold-to party from field ‚PARTN‘, vendor number from field ‚LIFNR‘). If segment E1EDKA1 is sent for partner function ,LF‘ (vendor) as well, the vendor number is then taken from this segment (field ‚PARTN‘).

If the determination of the sales area data goes wrong, you will see the error message VG204.

The sales area data can also be determined via the customer enhancement. The corresponding data is to be transferred to the fields DXVBAK-VKORG (= sales organization), DXVBAK-VTWEG (= distribution channel) and DXVBAK-SPART (= division). The customer enhancement exit_saplj4as_002 should be used for this.

If the order type (indicator ,012’) is not transferred in the IDoc, it will be set as standard order (,OR’). The default setting for the purchase order type (indicator 019) is also DFUE. Please note that the valid purchase order types are to be maintained for each order type in the IMG (Sales and Distribution ® Sales ® Sales Documents ® Sales Document Header ® Assign Ordering Types (AFS)). If this assignment does not exist, the error message 00058 is displayed.

 

 

Leaving content frame