Start of Content Area

Function documentation Physical Inventory: Structure of Intermediate Documents (IDocs)  Locate the document in its SAP Library structure

Use

A special IDoc structure (WVINVE03) exists for sending data. The structure is similar to the physical inventory document used by the head office and all the EANs/UPCs for an article can be included in this.

The IDoc type includes a segment, the purpose of which you can define yourself. In the IDoc, you can add as many of these segments as you want for each item, and enter the data there. When count data is automatically processed in the head office, you can evaluate these segments in a user exit.

When intermediate documents are created, you can have the system arrange the items by layout areas and by their sequence in the layout areas.

Example

The following example shows the simplified structure of an IDoc that is being used to sort items according to layout areas and sequences within these layout areas.

You wish to transfer a physical inventory document that includes the following items for site R151 and storage location 0001:

Item

Article

Article text

1

500004711

Butter, 250g

2

500004712

Chocolate

3

500004713

Yogurt, 125g

 

The basic data for every article master record contains information on a layout module and a sort sequence. The sort sequence determines the sequence in which the article appears in the layout module.

Article

Article text

Layout module

Description

Sort sequence

500004711

Butter, 250g

R6004

Dairy produce

4

500004712

Chocolate

R6003

Confectionery

2

500004713

Yogurt, 125g

R6004

Dairy produce

2

 

Site R151 is a supermarket. The modules are used as follows in the layout for the site:

Layout area

Layout module

Description

1

R6001

Fruit and vegetables

2

R6004

Dairy produce

3

R6003

Confectionery

 

Based on the layout information, the IDoc is then structured as follows:

Segment cat.

Layout area

Sort sequence

Article

Article text

Header

2 (Dairy produce)

 

 

 

Item

 

2

500004713

Yogurt, 125g

Item

 

4

500004711

Butter, 250g

Header

3 (Confectionery)

 

 

 

Item

 

2

500004712

Chocolate

 

 

End of Content Area