cancel
Showing results for 
Search instead for 
Did you mean: 

date format

01-18-2011 10:58 AM
713 views 4 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi Gurus,

My question is how SAP manages a link between our date and not our date?

To be more clear I do give you an example: Today it is 2011/01/18 but for example based on Iranian date today it is 1389/10/28. Based on which date the system displays the dates is indicated on user level (see user master and a folder u201CDefaultsu201D with a field u201CDate formatu201D (DATFM)).

Many thanks already in advance.

Stefano

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes
Former Member
0 Likes

Many thanks for your information. I still would like to solve a problem regarding this area (at least it might be related to this):

The steps:

0) User master has a date format as Iranian date

1) It is posted a stock movement with document date 1388/10/11 and posting date 1388/10/11.

The dates correspond to our date 2010/01/01.

2) System generates a material document (MKPF and MSEG)

3) Problem is that a material document year should be kept 1388 and not changed to 1389 as happened. TThe posting date 1388/10/11 is not a new year in Iranian date but only in our date. So I find MKPF incorrectly updated (MKPF-MJAHR).

To be clear enough I give you an example by the fields in Material document header MKPF:

MJAHR Material document year 1389 (not correst)

BLDAT Document date 1388/10/11

BUDAT Posting date 1388/10/11

Looking forward for your feedback

Former Member
0 Likes

Hi There,

I guess it is due to some program error....

Pls implement corrections as per note# 1060089, if applicable.

https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1060089

BR,

Krishna

Former Member
0 Likes

Hi.

if you read data from tables via ABAP code in debug mode , you will see that all dates are saved in one format (yyyymmdd) and before display ,the data are converted into user profile date format.there fore the rule is not complex.

in SU3 you can change your default date format.

on more thing that you should know is that there is customizing to map system periods to Iranian months and periods , but i don't know path for this in SPRO , ask this question from FI guys or go

[http://www.sapiran.com/ (SAP IRAN in LINKDIN)|http://www.sapiran.com/]

and open a new discussion .

regards , REZA ROSTAMI / MAPNA

Edited by: reza rostami on Dec 8, 2011 1:09 PM

Answers (0)