Purpose:
To Update the Mail Attachment in AL11 using Mail, NFS adapter through SAP PI.
ESR Configuration:
Step 1:
Create datatype for source and target
Step 2:
Create message type based on the data type
Step 3:
Create service interface as outbound for mail and inbound for AL11
Note:
Message mapping and Operation mapping not required
ID Configuration:
Step 1:
Create Business Component for sender (mail) and receiver(NFS)
Step 2:
Create sender communication channel by using mail adapter with POP3 mail url and port number
Note: Enable the keep attachment
Sender Module Key Configuration:
Creating module key using PayloadSwapBean
Step 3:
Create receiver channel for AL11 using NFS adapter
Receiver Module Key Configuration:
Creating module key using DynamicConfigurationBean
Step 4:
Create Receiver Determination
Step 5:
Create Interface Determination
Step 6:
Create Sender agreement
Step 7:
Create Receiver agreement
Testing:
Sending a mail with attachment:
Check in SXMB_MONI for successful:
Check in AL11 path: