on 09-18-2008 2:52 AM
Hi,
I am copying the standard MEDRUCK form to ZMEDRUCK. I believe standard MEDRUK form will be used for new purchase orders
as well changed purchased orders and for the changed purchase orders it will print only changed lines and header. In the form depending upon the new order or changed order, i will display the title of the order as NEW ORDER or CHANGED ORDER.
Could you please help to fix this issue.
Regards
Ganesh
If u want to detect that ur PO is new or changed then
Use the FM 'ME_CHANGES_READ'
it will read all the changes and update internal table of type CDHDR say it_cdhdr
if no entries come up in it_cdhdr. that means PO is new or else changed.
u can even detect the exact fields that were changed and the previous values and the new values also
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
I understand that u want to print a heading for a new purchase order and a changed purchase order.
Ok, if any changes are made in a PO, they are recorded in the PO..
you have to write a condition such that if changes are made then you have to display Changed order owise PO.
For that, first capture the field where the changes are recorded and then write an simple IF and ENDIF condition.
Just try this above procedure.
Regards,
Vishwa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
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.