How to convert XML data to IDOC Without having a middleware and create inbound IDOC ?
Did you already find and read XML IDOC in SAP ECC without middleware and RFC
Answer: by creating an ABAP program.
What is your problem? All questions corresponding to any part of your requirement have been already answered in the forum.