Step by step to send IDoc data into external receiver via XIF adapter
In this blog, I will use File as external receiver.
I make some changes on business partner / product master data in CRM.
The data in the mBDoc will be converted in XIF adapter into an IDoc which then is sent to File as external receivers.
1. Create a new port in tcode WE21:
Use EDI_GLOBAL_PATH as directly which will be written with generated IDoc.
The physical path could be found by simply double click:
Save the port as XIF_FILE.
2. Create a new partner profile in tcode WE20:
Add new outbound parameters:
For receiver port, maintain XIF_FILE created in previous step.
3. Create a new site in tcode SMOEAC:
Click Site attribute and maintain XIF_SYSTEM and type: LS – logical system.
XIF_SYSTEM is an entry in tcode SALE:
Add All Business Partner(MESG) as subscription:
Save site as JERRY_FILE_SITE.
4. Add a new entry below in tcode CRMXIF_C1
5. now use tcode BP, search a business partner and make changes on it and save.
go to tcode SMW01, you should find a generated mBdoc:
Double confirm that this mBodc is generated by my previous change by checking partner id and guid:
Now go to tcode BD87, find IDoc with status = 30 – IDoc ready for dispatch
One IDoc found:
Click Display IDoc button:
We can ensure this IDoc is generated by our change in BP tcode via partner_no:
6. Click Process button to send it to File receiver:
Status changes to 03:
Go to tcode AL11, the generated file is there:
If you are curious about the file content, you can see a downloaded version here.
As alternative you can also specify absolute path:
Other business logic like Product has the same logic:
Make changes on Web UI:
The IDoc for product change is generated successfully: