2007 Sep 12 8:11 AM
Hey Guys,
One problem I am facing in SAP Script.. thing is numeric values are printed it in some different way..
I mean to say KOMVD-KBETR(12) contains value " <b>12,000.00</b>" But it contains values <b>12.000,00</b>. Which is wrong. Cause the instead of comma(,) Dot is coming(.) and Instead of dot(.) comma (,) is comming.. Please suggest how to solve it in SAP Script
Hey Guys,
One problem I am facing in SAP Script.. thing is numeric values are printed it in some different way..
I mean to say KOMVD-KBETR(12) contains value " <b>12,000.00</b>" But it contains values <b>12.000,00</b>. Which is wrong. Cause the instead of comma(,) Dot is coming(.) and Instead of dot(.) comma (,) is comming.. Please suggest how to solve it in SAP Script
2007 Sep 12 8:18 AM
hi Mike,
you have to go like this:
DATA : lv_kbetr TYPE komvd-kbter.
WRITE : komvd-kbter TO lv_kbetr.
now you have to print lv_kbter instead of komvd-kbetr, but it will be fine
hope this helps
ec
2007 Sep 12 9:02 AM
Hi Eric,
I am passing the correct value from the driver program but in debugging mode the format get changed.....
2007 Sep 12 9:34 AM
It picks up the user settings, I guess. If that is the case than you either change the user settings, or modify the printout during program run, i.e. move the value to a character type field and replace dots and comas with each other.
2007 Sep 12 9:07 AM
Hi Mike,
write ur field value in this format.
Suppose Bsega-wrshb is the currency field u wanna write.
So use this extension for it.
write:/ BSEGA-WRSHB CURRENCY BSID-WAERS.
This will definately help u out.
Kindly reward points.......
Regards,
Sapna A.
2007 Sep 12 9:38 AM
Hi ..
The Decimal values are formatted as per the USER PROFILE default settings.
To change this:
Menu path: SYSTEM -> USER PROFILE -> OWN DATA -> Defaults Tab
Select the Decimal Format as needed.
Now check the Form..
<b>reward if Helpful.</b>
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |