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 ?    45 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the the idoc control record in idocs?

562


How would you handle idoc errors using messages?

614


How to debug idoc manually?

621


What is an edi ?

570


What is an Idoc status? What are the different types of Idoc statuses that you know?

610






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

712


What do we21 t-code stand for?

589


What is a message control in sap?

577


Explain the Important tcodes in ALE Idocs?

556


How do you send Idoc from a program?

614


What do the monitoring service do?

593


How to Reprocess Idocs in SAP?

610


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

518


If you send an IDoc say 100008008 from system ECC1 to system ECC2, will the IDoc number in ECC2 be 100008008?

651


How to reprocess error idoc's ?

657