cancel
Showing results for 
Search instead for 
Did you mean: 

script medruck

Former Member
0 Kudos

in medruck we have a field netvalue(ekpo-netwr).my requireement is to have 10% discount for netwr field and print it.

what ia am trying to do is using definr i have declared variable

define &dvalue& = '&ekpo-netwr&

performdiscount in program zdiscount

using &ekpo-netwr&

changing &dvalue&

endperform.

in form

since the itcsy structure variable value is of 255 char lengthand the importing field is currency field.

so i cant do any calculations on that field and my form goes to dump

can any one sends me sample 5code

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

After tranfering the value to driver program, assing that value to numeric variable and do your calculations. After everything assign the value to char field and transfer the value to script thru itcsy struc.

Regards,

M.Manickam