on 09-10-2009 2:37 PM
Dear Friends,
My client has given a requirement that when they take PO print outs, it should not allow more than 1 time processing. in case if PO gets amended, Printout for the same PO number should be taken out once the related authorized person has released it.
thanks
nandu
Hi Nandu.
I think that you need an VOFM subroutine and set it in the definition of message schema for PO (tcode SM34 for VVC_T683_XX_EF).
You can create a suroutine and check if in table NAST you have an entry for the document, ie:
SELECT * FROM nast
WHERE kschl = komt1-kschl
AND objky = msg_objky "the number of PO
and ......
IF sy-subrc = 0. "a message for this PO exists
sy-subrc = 4. "dont create the output
ENDIF.
I hope this helps you
Regards,
Eduardo
PD: be careful with performance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.