on 10-01-2009 6:18 PM
Hi all.
I need to send an idoc outbound from SAP to an external system when a TO is confirmed.
I've added the following row in transaction OMKY -> function module for idoc:
- type message: WMTOCO
- inactive = no
- f.m. = ZL_IDOC_CREATE_WMTCID01
Unfortunately, when I confirm TOs through LT11 or LT12, no idoc is generated (if I executed manually the custom f.m., it works fine).
I've made the same steps for TO creation and idoc generation is ok.
How could I create an idoc automatically on TO confirmation?
Thanks in advance
S
Make sure your Partner system is setup in We20. WMTOCO message type must exist as an outbound message type. Also ensure the WMTOCO msg type for the partner is set to immediate output ( as opposed to collect)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
9 | |
9 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.