Thursday, January 1, 2009

ALE for MESSAGE CONTROL

II. Message Control (Output TYpes):

-----------------------------------
* ME10 - Process Code for Purchase Orders (ORDERS) ORDERS

- Message type for Purchase Order ORDERS05

- Basic Type
* SD10 - Process Code for Sales order confirmation (ORDRSP)

ORDRSP - Message type for Sales Order

ORDERS05 - Basic Type
* SD09 - Process Code for Invoice(INVOIC)

INVOIC - Message type for Invoice

INVOIC02 - Basic Type
* SD05 - Process Code for Shipping Notification (DESADV)

DESADV - Message type for Delivery

DELVRY03 - Basic TYpe
In SAPLID Server :

------------------
1. WE 81 Message type config (ORDRSP - Message type for Sales Order)

2. WE 30 Idoc type (ORDERS05 - Sales/Purchase Orders)

3. WE 82 - Adding Message type to Idoc type.

ORDRSP ---> ORDERS05

4. NACE Transaction.

- Select Application : V1 (Sales) and Click on 'Output types' icon

- Select Output type : BA00 and Click on 'Processing routines'.

- Processing routines :

- Medium : A

- Printprogram : RSNASTED

- FORM routine : ALE_PROCESSING

5. WE41 Outbound Process code

- Process Code : SD10

- Description : ORDRSP: Sales order confirmation

- Function Module : IDOC_OUTPUT_ORDRSP

* Select radio button 'Processing with ALE service'

* Select radio button 'Processing with function module version 3.0'
6. WE20 Partner Profile

Partner No : SAPLER

Par.Type : LS

Type : US

Agent : USER6

OUtbound Parameters :

Message type : ORDRSP

Receiver Port : Zbkpfport

* Transfer Idoc Immediately

Basic type : ORDERS05

7. BD64 MOdel View

- Select 'model view' and click on Create Model View.

- Technical Name : SALMODEL - Place the cursor on 'SALMODEL' and click on 'Add message type'.

- Model View : SALMODEL

- Sender : SAPLID

- Receiver : SAPLER

- Message type : ORDRSP

- Save it

- Environment --> Generate Partner Profile

- Edit --> Modelview --> Distribute

6. VA01 Create Sales Order

- Extras --> Output --> Header --> Edit

- Output type : BA00

Medium : Distribution (ALE)

- click on 'Futher data'.

Dispatch time : Send immediately (when saving the applicaiton)

- Save it

8. WE02 Idoc List

- Direction : 1

- Logical Message : DEBMAS

- Execute it

No comments:

Post a Comment