I understand that the IDoc type ORDERS05 can be used for Sales Order as well as Purchase Order. My requirement is to receive Order IDoc and create the sales order and send the PO details to a partner. Please let me know whether I can use the IDoc ORDERS05 for both these cases.
Also I found that IDoc type PORDCR04 is available for PO. Can we use this IDoc type for sending Purchase order details.
Yes you can do that.
Also go to WE60 and put in PORDCR04 and downloadd to your PC if needed.
Then search if all the fields you need are in that Idoc type.
There are no rules as to which Idoc type you have to use, but you should try your best to stick to SAP recommended one's.
Hope this helps.