Background:
I'd like to send an IDoc to a vender when saving a PO.
Issue:
When saving a PO, the IDoc can be generated correctly with EDI medium but incorrect with ALE medium and the processing log hint that there is no suitable partner profile ( or Message Control) found.
What I checked:
1) logical system, assign logical system to client
2) RFC destination, Port, Partner Profile(MC), Distribution Model, Generate partner profiles
3) NACE -> EF -> Output type, access sequence, condition table, condition records, Procedure
4) Assign schema to PO (SPRO -> MM -> Purchasing -> Messages -> ...)
Solution: (incorrect now!)
-----------------------------------------------------------------------------------------
At first, I think the problem should be the difference btw EDI and ALE medium that choosed in output configuration. After checking some documents, I find the MC process should be configurated like following:
We need to link the output determination message type to the ALE message type in the
partner profile of the system. Using transaction WE20, select your ALE message, and
click on Message Control. Enter the message control output type that will trigger your
message and the outbound process code. You need two entries here for each output
type: one for creates to the transaction document and one for changes.
As i just config process code ME10 to trigger custom output message type, but not maintain one for changing, but every time what i did was changing the PO, so the system prompt that error message.
-------------------------------------------------------------------------------------------------------------
Reference about output determination
http://help.sap.com/saphelp_46c/helpdata/en/30/c6853488601e33e10000009b38f83b/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/c9/d97749ae0311d1a5120060087832f8/frameset.htm