on 08-31-2017 4:34 PM
Hello Everyone,
I have created condition record with medium 5 for set of combination of purchase org/document type/vendor/plant for output type ZEU. I want to trigger emails to these combination only when new PO is created.If PO is changed,then mails should not be triggered.If combination does not match,then existing print functionality should work.
I have created routine for controlling the output type triggering.But,how can i identify whether new PO will be created or existing PO is changed.
If user manually triggers output type using messages section in PO.Then,emails should trigger if the combination matches.
Please let me know if any inputs are needed.
Thanks!!
We could make use of variable TRTYP to identify whether PO is getting created/changed.
ASSIGN ('(SAPLMEPO)TRTYP') TO <fs_po_mode>.
<fs_po_mode> will be 'H' while creating PO
<fs_po_mode> will be 'V' while changing PO.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can control this via the output type config or alternatively code in your routine. You get the indicator for creation and change. But you might also need to think of new item addition later after the PO creation
Br
Vijay V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Try the below.
SPRO--->MAterial Management-->Purchasing-->Messages-->Output control -->Message Type-->Define Message Types for Purchase Order
When you choose you will get 2 options.
Select the second option -->Fine-Tuned Control: Purchase Order
Here configure your output only for NEW creation.
Refer to the Post where it is clearly explained.
Br,
Vijay V
I'm very much confused what does Purchase Order have to do with Sales Org here...
Either way, output functionality is the same across the applications that use it. Just uncheck "multiple issuing" box for the output type in NACE and it will only be triggered once, when the document is created.
Not sure though if there is more to this story that could add some complexity...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jelena,
I have updated my question.
Hope it will clear my doubt to you.
If I uncheck "multiple issuing" then it is not possible to trigger output type manually I think.Currently ,output type ZEU is triggered using print output.But for new combination of 'purchase org/document type/vendor/plant' ,mails should trigger only when new PO is created.Another way to trigger emails will be through manual triggering using messages section.
Nothing should happen if I change my PO.
So,how can I identify PO is creating /changing.
If any other idea for above question would help.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.