on 11-21-2006 12:56 PM
Hi to all,
The standard driver program for purchase order is SAPFM06P.
It gives print output only for purchase orders which are not cancelled.
But the <b>requirement is i want to print the layout for the cancelled purchase orders also .</b>If any one knows please help me in this regard.
Regards
Raj
You need to do the followin
1. How are you going to identify cancelled purchase orders?
2. Is there a status field that you will deal with
Once that part is identified, the same print program will fire and you can check the flag whether it is a normal purchase order or a cancelled one and accordingly you can call a different smart form.
But the important part is to identify a cancelled purchase order.
Regards,
Ravi
Note - Please mark all the helpful answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alright then, in your print program get all the line items from the PO and figure which ones have been deleted using the LOEKZ field.
For those fields you can design a different smart form and for the rest of the fields call the usually smart form. You need to be sure to separate the deleted line items and normal ones.
You will have to copy SAPFM06P and write your own logic to separate the line items and then call different forms depending on the logic. The copied print program should be configured in NACE transaction in place of the original program.
Regards,
Ravi
Note - Please mark all the helpful answers
Message was edited by:
Ravikumar Allampallam
User | Count |
---|---|
90 | |
23 | |
11 | |
9 | |
9 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.