cancel
Showing results for 
Search instead for 
Did you mean: 

How to change local time to server time in SRM 5.0 home page

Former Member
0 Kudos

Hi Experts,

      After login to SRM5.0 i am getting local time instead of server time on the IE home page.

How to change this ? where should i edit and what is the procedure to change this ?

Thanks in advance,

John

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please check the user master data , there you can find personal time zone in the "Defaults" tap .

You can change your time settings using this.

Regards,

RBEI SRM NAGA

Former Member
0 Kudos

Hi,

Please check also check in portal using user setting.

Please click the user setting and you can see the Time Zone filed field under user account tap.

Regards,

RBEI SRM naga.

Former Member
0 Kudos

HI Naga,

   Thanks for the update,

i am new to this, so can you please tell me how to see the user master data so that  it will reflect in the webportal.

Do i need to change any BSPs for this ?

Thanks in advance

John

Former Member
0 Kudos

Hi,

Please goto your SRM system and use the transaction code SU01.

There is tap "Defaults" there you can find out the Field "Time Format" . Here you can setup your time zones according to your requirement.

And also please check "personal time zone" in under same tap.

Regards,

RBEI SRM Naga.

Former Member
0 Kudos

Hi Naga,

    The issue is in srm portal home page display local machine time instead of server time.

i want to dispaly server time there. I am not sure which BSP application or class dispalys this time.

How to achive this ?

Thanks in advance,

John

Former Member
0 Kudos

Hi John,

Please click the user setting in SRM portal home page.

Once you click you can see the tap " user account" , there you have the option to change your time zone.

Regards,

RBEI SRM Naga.

Former Member
0 Kudos

Hi Naga,

   The time and date is coming from a script which is running BBPSTART html templates.

Here i will have to add the script for fetching time from server.

I want to know how to update the script so that it will fetch server time.

Please help.

Thanks,

John

Former Member
0 Kudos

Hi,

Please see my below comments.

1.writing your own incredible function module would help to avoid future problems if the implementation of the MSS-function module gets changed.

FUNCTION ZTW_TIME. *"------------------------------------------------------- *"*"Local Interface: *"  EXPORTING *"     VALUE(SYSTEMDATE) TYPE  SY-DATUM *"     VALUE(SYSTEMTIME) TYPE  SY-UZEIT *"-------------------------------------------------------  systemdate = sy-datum. systemtime = sy-uzeit.  ENDFUNCTION.  

2.the app contains an admin section where the IP is being set; search the applicqation for a suitable link for admin login or seach the application's  folder structure for an admin login page

- PHP-scripts are uncompiled text files. go to the folder of the application and simply do a textsearch for the old IP across all application files.

- the IP might not be hardcoded but be saved in a database. either examine the database for a suitable table holding config information or search again across all application files for a string like

$rfc = saprfc_open (array ("ASHOST"=>$server,"SYSNR"=>"20","CLIENT"=>"400",                                                "USER"=>"test", "PASSWD" =>"test"));

$server would be the variable holding the IP adress. Analyze the file (and possible includes) to find out how $server is retrieved.

3.Find the sapconf.xml file.

Regards,

RBEI SRM Naga

Former Member
0 Kudos

Hi Naga,

    Thanks for the update.

Is it possible to use PHP inside BBPGLOBAL templte ?

Can you please tell me how to achive this

Regards,

John