Setting up data transfer via message
Data can be transferred on the basis of the following documents via message:
- Invoice
- Outbound delivery
- Inbound delivery
- Shipment
- Purchase document
- Incoming invoice
- Material document (message)
Configuring messages for transfer
Create a new message type with the transaction NACE.
Depending on the desired initial object, select the following entry from the list:
- “V3 – invoicing” for messages based on the invoice
- “V2 – dispatch” for messages based on the delivery
- “E1 – dispatch” for messages based on the inbound delivery
- “V7 – shipment” for messages based on the shipment
- “EF – purchase order” for messages based on a purchase document
- “MR – invoice verification" for messages based on an incoming invoice
- “ME – inventory management” for messages based on a material document
Click the Message types button and create a new entry. Enter the following values in the General data sheet of the new message type:
- Access sequence according to requirements
- Condition access
Then change to the Default values sheet and enter the following values:
- Time of dispatch: <any>
- Transm. medium: Special function
- Partner function: <a partner role matching the document in question>
Now double click on Partner functions on the left-hand side in the hierarchical chart and create a new entry with the following values:
- Transm. medium: Special function
- Partner role: a partner role matching the respective document
Now determine the processing routine. For this, double-click on Processing routines on the left-hand side in the hierarchical chart. Click on New entries and enter the following values:
- Transm. medium: Special function
- Program:
- /AEB/AES_INV_TO_CONS_OPC for the invoice
- /AEB/AES_SDV_TO_CONS_OPC for outbound and inbound delivery
- /AEB/AES_SHP_TO_CONS_OPC for the shipment
- /AEB/AES_PD_TO_CONS_OPC for the purchase document
- /AEB/AES_II_TO_CONS_OPC for the incoming invoice
- /AEB/AES_MD_TO_CONS_OPC for the material document
- FORM routine: EXPORT_SYNCHRON
Assigning the message type to procedures:
Return to the start screen in the NACE transaction. As in the first step, select the desired entry from the list and click on Procedures. Select the desired scheme on the right and double-click on the left on Control. Create a new entry for the message type produced just now. You can select the next available number for the level and counter. Repeat this step for all procedures for which this message type is to be sent.