2009 Dec 02 4:53 PM
Hello,
I have a strange SM35 behaviour.
I have a batch input program that creates batch input directory for the XK15 transaction.
When i run my batch input i found that it works fine with the user decimal format with '.' but not with the ','.
I ve checked out and i've found that before running the batch the field KOND-KBETR is written respecting the user format, but when i run it as a forground program it displays the field with '.' separator.
Does anyone have a clue?
Thanks in advance.
2009 Dec 02 7:15 PM
you may try changing the user parameter for decimal notation.
Regards
Prasenjit
2009 Dec 02 8:04 PM
This is related to the configuration of the decimal separator for the user.
The user who runs the online program, is the same with which you scheduled the job?
try using the following code:
SELECT SINGLE dcpfm
INTO usr01-dcpfm
FROM usr01
WHERE bname EQ sy-uname.
IF usr01-dcpfm EQ 'X'.
REPLACE '.' WITH ',' INTO numericfield. " or vice versa
ENDIF.
Good luck, Hernan
2009 Dec 03 9:58 AM
Hi,
I've already tried those issues.
I can't change the user format beacuse my users are from different countries that have different decimal seprators.
The Sample code can not help beacuse the batch input is correct when i saw the values in the screen befor processing the batch i found that the data are displayed according to the user preferences.
It is only after launching the batch with the SM35 when i discovered that the KBETR field is always displayed with '.'.
Thanks.
2009 Dec 03 4:41 PM
did you thought about restarting session after modifying user parameters ?
2009 Dec 03 5:40 PM
Hi,
After you load the data into your system, you may update the ',' with '.'. Use replace ',' with '.'.
Regards
Prasenjit
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |