on 10-18-2008 10:54 AM
hii all,
when calling external subroutine from script, i am getting the currency and quantity fields in character format.(the quantity is being printed as 1.99,000 in smart form so i am getting as the same in the variable in my external subroutine).how to proceed in this ,as i am passing it to another function module where it is requried for me to pass it as quantity field.
with regards,
sandeep akella.
nil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi run and check the code below;
you can pass values from quantity to char and vice versa..
DATA :lv_quan TYPE vbap-zmeng, "quantity field
lv_char TYPE c.
lv_quan = '12.500'.
lv_char = lv_quan.
lv_quan = lv_char.
After the execution both variables contain the same value. so you can assign the char value back to a quan variable and pass it to the FM.
Regards
Karthik D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.