Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

USEREXIT_SAVE_DOCUMENT - type conversion issue

Former Member
0 Likes
311

Hi All,

I am using USEREXIT_SAVE_DOCUMENT ( for Tcode VA01 & VA02) to calculate leadtime for SO.

Here i am moving lead time value field - (data type NUMC, length 10) into another field - (data type DEC, length 10, 2 decimal places). But the conversion does not happen properly.

For example when I move lead time value “00001” the value get changed to “0.01” instead of “1.00”.

I face thsi issue only in the particular USEREXIT and the same logic in a cust. program works fine.

For example when I move lead time “0001” (NUMC) it converts into “01.00” (DEC).

Please let me know how to rectify this issue.

Thanks,

Kiran.

1 REPLY 1
Read only

Former Member
0 Likes
292

hi,

compare attributes both of (main) programs,

especially checkbox for "fixed point arithmetic"

darek,

reward point if helpful