Hi Erkan,
Ways to send data from MII to ECC
1. Through BAPI
2. Webservice
From MII to ECC through BAPI:
From ECC:
1. Create BAPI with input parameter as you want to receive from MII
From MII:
1. Create Transaction and fetch all the required data.
2. In same transaction, call BAPI through SAP Jco Action block and pass fetched data to request parameters of BAPI (i.e. which has been developed in SAP).
3. And create scheduler for that transaction to execute based on your requirement.
For more http://scn.sap.com/thread/3467890
Best Practice to send data from MII to ECC could be BAPI. And even you can receive success or return data from ECC to MII on instance.
Regards,
Praveen Reddy