You must have completed the required steps in:
Enhancing an IDoc Type (if you have enhanced a basic type) or
Defining and Using a Basic Type (if you have defined a new basic type)
The IDoc is generated from the application. If you have configured the Dispatch Time as “1” in the condition record for outbound processing under Message Control (MC), only the MC record is generated. You can use the program to test the MC record.
Test: Outbound Processing from MC.
Example
In the example, create a purchase order (transaction ME21 or ME21N). The recipient is TESTVEND, you are ordering a material from the material master. In the condition record (processing in the purchasing transaction: additional specifications
), that is, the IDoc is generated immediately. In segment Z1TEST1 it shows the value "Europe" in field CONTINENT: You can check the entries using the IDoc Display function.