cancel
Showing results for 
Search instead for 
Did you mean: 

MEDURCK Purchase order form

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.