‎2010 Nov 03 4:18 PM
Hi,
There is write statement which moves a quantity field(l_lips-brgew) to (l_lin-kcbrgew).
Here l_lips-brgew is of type lips-brgew & l_lin-kcbrgew is defined as kcbrgew(13).
There is two delivery documents which triggers same Message Type and calls the same form(ZFORM).
For First Document: l_lips-brgew -> 1678.40 && After using 'write l_lips-brgew to l_lin-kcbrgew UNIT 'ST' '
l_lin-kcbrgew contains 1,678.40
For Second Document: l_lips-brgew -> 1678.40 && After using 'write l_lips-brgew to l_lin-kcbrgew UNIT 'ST' '
l_lin-kcbrgew contains 1.678,40
This is the Issue i am getting. How this can be possible behaving in different way for same Message Type triggering same form.
If there is any problem with the User's own data then it should behave same for both the documents. But it's not happening.
Move statement cannot do this because it copies as it is to the target variable from the source variable.
Is there any issue with the write statement?
‎2010 Nov 03 5:13 PM
Hi...
It seems to me there's something to know better at functional level .. The UNIT seems to divide for 1000 and for 1... So probably, there's something defined on the document, about stock quantity or like that..
‎2010 Nov 03 5:16 PM
Try to make a comparison field to field in the lips with the documents you're working on...
‎2010 Nov 03 6:30 PM
If this is in custom code, just include statement SET COUNTRY 'US' in the first line of the form and everything will get normalized and the output will always be the same.
Raj
‎2010 Nov 03 7:17 PM
Hi,
Sorry i could not under stand your statement. Can you elaborate it.
Thanks.