If i want to create one IDOC,how do i know which i doc type is suitable for my requirement?
For example: if i want to create PO idoc, which i doc type i have to take?
ORDERS01 or ORDERS02 or ORDERS03 or ORDERS04 or ORDERS05?
Do we need to study all idoc segments? Or is there any other way??
And also can any one give me good informaion on EDI & IDOC.
as a general rule you should use the latest IDOC type that is available for for SAP release you use.
You can find the start release for each IDOC type in transaction WE30. When you go to the header data you find under <i>Released</i> the start release this IDOC type exists. For example for ORDERS you have the following start releases:
That means, if you are on release 4.5B you cannot use ORDERS05, but you can use any of ORDERS01,...,ORDERS04. In this case I would suggest that you use ORDERS04 since this is the latest one available in your release, but if there are some specific reason you may also choose one of the lower versions (they are supported in the newer releases as well).
Hope this helps,