Sunny,
Once you receive the xml you have to parse the document to make it as name/value pairs (document structure)and then map to your SAP message type record structure to process it to SAP outbound via RFC listener
stringToDocument or XMLStringToDocument
documentToRecord or XMLNodeToDocument map the out put to the SAP record structure fields Control_Data_rec_40,Data_rec_40 structures
transformHierarchyToFlat(create IDOC)and map it to SAP outbound ALE services…
HTH,
RMG
#Integration-Server-and-ESB#webMethods#Adapters-and-E-Standards