2 weeks ago - last edited a week ago
When a change is made to a Purchase order, ME22N, a copy of the print version of the po is saved under the Attachment List in the po Services for Objects area. This only works when we use the standard SAP processing routine, SAPFM06P, set up in the NACE transaction.
We copied and modified this program and the copy of the po doesn't attach when we use the custom program. We found that the update is done in a call to FM RV_MESSAGE_UPDATE. I have debugged the code and I can't find a difference between using the SAP program as a processing routine and using our custom version. The update, as I mention in an answer below, is done in Include MM06EF0B_BUCHEN, FORM BUCHEN.
So, any ideas as to why this won't work when using a custom processing routine?
Points will be awarded and eternal gratitude given. 🙂
Thanks!
Thank you for any help.
The code where the attachment occurs is in Include MM06EF0B_BUCHEN in SAPLMEPO. In Form BUCHEN, there is a function module, ME_MESSAGES_UPDATE, that adds a copy of a PDF of the purchase order to the attachment list when a change is made, in this case it was ME22N.
Points to my coworker for finding it.
Hope this helps someone else someday.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check is there any output type / workflow triggered when saving the PO. that must generate and attach the form output to the PO. If not, there must be an enhancement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
9 | |
8 | |
7 | |
7 | |
3 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.