‎2006 Jun 28 4:58 PM
Hi ALL,
I developed a SAPscript program and form and attached them to the PO in NACE transaction. When I try to print from ME22 my program is not been called and some other program is been called which starts with SAP..Could u help me in this please...
Thanks
Vinod
‎2006 Jun 28 5:03 PM
Hi
See the message type is loaded in the document and check if it's the same message you have inserted by NACE.
Max
‎2006 Jun 28 5:04 PM
The standard PO print program is SAPFM06P. This then calls ME_PO_PRINT which is a function module of group MEDRUCK. If you are using a custom version of the function module, meaning that you copied function group MEDRUCK into ZMEDRUCK you need to coy SAPFM06P into SAPF<b>Z</b>M06P. Then you need to change the call from ME_PRINT_PO to ZME_PRINT_PO. In you config, you need to tell it to use SAPF<b>Z</b>M06P instead of SAPFM06P.
Regards,
Rich Heilman
‎2006 Jun 28 6:18 PM
Hey Rich,
I have already customized the progra to ZSAPFM06 and the form to Z_MEDRUCK_PO_CAD.Is this not the correct path..
Thanks And Regards
Vicky
‎2006 Jun 28 6:22 PM
‎2006 Jun 28 6:39 PM
Hey Rich,
I just need to add some fields to item deails so i have customized it to ZSAPFM06 and appended some code in write_form function module and changed the form name to Z_MEDRUCK_PO_CAD. So do i still need to change the ME_PRINT_PO. If so what change do i need to make.
Thanks And Regards
Vinod
‎2006 Jun 28 6:41 PM
‎2006 Jun 28 6:43 PM
‎2006 Jun 28 6:45 PM
Noooooooooooooooooo! This function module is used in every sapscript print program in the entire system. There is no need to change this function module nor should you. Revert your changes immmediately. Please email me at the address on my business card and I can walk you thru the process(with screenshots).
Regards,
Rich Heilman