Wednesday, July 6, 2011

How to set same DATE FORMAT instead of using user profile

In SAP we have user profile OWN DATA use for date,currency,printer etc.Since SAP is ERP used by many companies location wise different country. So user setting may change depend on country.

Some time we have requirement where we have maintain fix date format to update some data variables .
In such case  user can not change user profile setting.

In ABAP we have option.
First step : we need to convert date into internal date format of SAP using function module CONVERT_DATE_EXTERNAL_INTERNAL, It will be in YYYYMMDD. 

Next step: use concatenate syntax to convert internal date into require format. 

No comments:

Post a Comment