on 08-11-2009 9:24 AM
hi guru,
in my script
form GET_VALID_CONDTYPES tables in_tab structure itcsy
ex_tab structure itcsy.
data : lc_datbi(10),
lc_datbi_ext(10),
lc_date(10).
loop at in_tab.
case in_tab-name.
when 'DATBI'.
move in_tab-value to lc_datbi.
in form i wrote &EKOMD-DATBI&(VALUE IS FETCHING FROM ekomd STRUCRE)
the probleam is in_tab-value = 29.06.2009 (develovment system)
in_tab-value = 2009.06.29 (quality system)
why the deviation is coming in different clients.my user setting is same for bothe the clients.
please let me know
Hi
In Script all u do is after u get the value is use
/: Perform ........
/: Endperform
/: SET DATE MASK = 'DD.MM.YYYY'
P1 &lc_datbi& WHERE P1 is the Paragraph format
For more information Check the below link
http://it.toolbox.com/wiki/index.php/Sap_script#6.6.09Formatting_Date_Fields:_SET_DATE_MASK
surya
Edited by: suryareddy on Aug 11, 2009 10:54 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Check if before calling the routine there's a command like SET COUNTRY, if it's so check the table T005X
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Instead of MOVE statment .... use WRITE ..........WITH EDIT MASK.
Regards
Milan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
The problem is not MOVE statament or EDIT MASK option, the problem is the different behavior between the DEV and QAS system.
The FORM called by a sapscript returns a value in output format, so it seems there's a different setting in your two systems
The formatting options used by sapscript should depends on user setting, but it can use a different one by the command SET COUNTRY, in this case the setting is from table t005x.
Max
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.