Skip to Content
avatar image
Former Member

MEDRUCK Problem

Hi all

Am using the standard MEDRUCK script for my PO.I made changes to that by copying in the Z format.After that am getting output like this in my main window.

Discount

Freight

VAT

Agrl market cess

But my user wants in the below order

Discount

Agrl market cess

VAT

Freight

It is in the conditons of ITEM_CONDITIONS.

Thiought i written the code separately for ( Discount,Agr market,VAT,Freight )in the order i wanted its giving me the output in d below order only

Discount

Freight

VAT

Agrl market cess

Please help me and tell me what to do to get the output in the format i wanted.

With Regards

Vijay

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 26, 2008 at 04:32 AM

    You mayb writing the code in the driver program, but are u displaying it in the script in thar format?? I dnt think so.

    Do check this.

    Nayan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Ok. What happens is when u write a code with IF else, all depends on your driver program as to when it sends the data. For ex u have written

      /: IF &KOMVD-VTEXT& EQ 'Discount (%)'.

      IC &KOMVD-VTEXT(9)& &KOMVD-KBETR(CIZ)& &KOMVD- KOEIN&

      When the control comes from the driver prog to the script, it will check if KOMVD-VTEXT = 'Discount (%)' then this condition gets satisfied and the data is printed. SO it all depends on the data sent from the driver program.

      I hope u have got the solution.

      Nayan