Show TOC

 Create Distribution Order (EXIT_SAPLCVV2_001)

Definition

Function module that is called by customer exit CVDI0005.

This customer exit is checked in the create method of BOR object BUS1082 (function module CVV2_DDO_CREATE – create distribution order). The exit is called after an initial order has been created and the INITIATED event has been generated.

Use

The distribution order parameters can be modified in the include. Individual part orders that are not relevant for distribution can be deleted from the table. Status IG or ER must be set in the customer exit for these part orders. You can use function module CVV3_DDOC_SET_READY (set part order status) for this purpose.

Structure

The interface is structured as follows:

Parameters that can be processed in the Function Module

 

Parameter

Parameter

value

Direction

Description

exporting

e_return

0

<>0

OK

Error

changing

c_drzo

 

As database structure DRZO

(distribution order data)

Tables Whose Fields can be Processed in the Function Module

Table

Description

T_DDOC

List of part order numbers (structure: CVIORDERCOMP)

Integration

You can enter your company-specific programming logic in the source code of include program zxcvv2u01.