How to create an Idoc & Attached to SAP Transaction?
For example we want to trigger IDOC To other system when we
Save the PO Via ME21N.

Answer Posted / sridhar madisetty

To create an Idoc.
1. Create message type.
2. Attach basic types of IDOC to message type.
3. Attach FM to the message type combination of IDOC types
4. Creat a process code and attach message type to it.
5. Create a Partner function through WE20. Add an message
type in the outbound paramater.
6. Have an entry of port name and basic types (IDoc types)
in the outbound options tab
7. Add and an entry in the message control option with the
output type (ME21N- Output type) and the process code.
8. When you db click on the process code the FM should
appear.
9. When an output is triggered in the ME21N transaction wit
the EDI output medium. The idoc will be triggered

Is This Answer Correct ?    46 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between synchronous and asynchronous links.

840


How do you send Idoc from a program?

814


What are the disadvantages of ale?

956


What do bd95 t-code stand for?

858


How can debug runtime idoc?

771


You want to create and send an IDOC to another the moment a PO is created in your system. How will you achieve this?

915


How the data is coming from 3rd party system to sap system?

747


What is a message type ?

778


How to reprocess error idoc's ?

855


How do you create a custom idoc?

862


You are transferring material master data, customer master data, verder master data and bom data. What type of idocs will you use in ale?

707


What is a Port? What are the types of Ports?

764


How do you reprocess error inbound idocs ?

843


Can you edit IDoc content for successful IDocs?

870


What is the serialization of idoc message type?

877