Skip to Content
0
Former Member
Dec 31, 2007 at 10:52 AM

amount calculation problem (currency type) for MEDRUCK subroutine

86 Views

i have modified standard medruck script. i am supposed to print tax details in the output in main window. the tax details should get printed after printing sub-total and tax details. total amount gets printed after adding these two. so i am writing a subroutine where i am transferring po number from script and fetching tax details basing on tax code and item numbers in the subroutine.

i also passing value of total -


> &KOMK-FKWRT& to subroutine program.

so i have to add tax values to this total value.

when i pass this &KOMK-FKWRT& value to subroutine through structure itcsy, i am getting value of char type in subroutine.

*now how to add tax values from konv-kwert to this imported char type value.*

now i have tax field of type ---> konv-kwert

problem is i am unable to add field of type konv-kwert and itcsy structure having char type value.

and how to return the total after adding to main script from subroutine.

please can any one suggest me.

it's urgent.....