cancel
Showing results for 
Search instead for 
Did you mean: 

Script

Former Member
0 Kudos

Purchase Order Printing calling the Std Script "MEDRUCK"..

in the Output its showing "Total net value excl. taxINR 4,43,872.00"

but here immediately after this i want to print the above amount in words : (Four lakh fourty three thousand....)..and this should display within bracket '( )' ...

Plz let me know how i can do it ??

Thanks in advance

Satya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

U cannot make change sto MEDRUCK..

So create a Z program which is a copy of MEDRUCK..

After this u can use the variable which stores amount and pass this to FM

SPELL_AMOUNT to get amount in words.

Store this in variable suppose w_amt

And for brackets use

CONCATENATE '(' w_amt ')' INTO w_amt.

This will solve your query..

Reward helpful answers

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Satya,

For that u have to copy the standard Script MEDRUCK into a ZMEDRUCK.

And make the necessary changes there.

Regards

Sandipan