Configuration of EDI for the IDOC in case of standalone program EDI Configuration : Define Logical Systems T.code SALE Assign Client to the logical system T.code: SALE
Double Click on the Message type MATMAS the following opens.
Enter the details for Receiving port, Pack size and Basic type.Other Useful Link :
Download a nice presentation on IDOC, EDI , ALE
EDI Configuration : Create RFC Destination Tcode: SM59