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

What happens in the inbound process?

520


Explain the configuration methodology for sap ale?

549


How do we generate idoc in sap ?

650


What do bd59 t-code stand for?

631


How to debug idoc manually?

603






How do you read data from an IDoc in a program?

576


How would you handle idoc errors using messages?

593


How do you create a custom idoc?

572


How do you Edit IDoc contents manually?

596


What are process codes?

578


What are the types of records in SAP ALE Idocs and where is this information stored?

652


How to reprocess error idoc's ?

642


What is an idoc status? What are the different types of idoc statuses ?

541


Explain the Important tcodes in ALE Idocs?

540


Imagine that there is one sender and three receivers. While sending an idoc, how many idocs would be generated? Explain the flow from outbound to inbound system.

556