cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Trace On Problem

Former Member
0 Kudos

Hi All,

this problem is related to my previous problem,

I want to make the <u><b>TRACE Auto ON</b></u> in my MI Client,

I have done the following,

(Note MI Client 2.5 SP 14 Patch 0)

<b>Scenario:

1) In R/3</b>

created a Device configuration

with <b>Tracing Enable = true

Trace level = 50

Role = <RoleName></b> (in Assignment tab)

<b>2) Web Console:</b>

the device configuration created above is visible in mobile components

2.1) Start Role Synchronization for my user

2.2) Assigned the Device Config to the User

<b>3) MI Client:</b>

3.1) Sync with the MI Server

3.2) restart the MI Client

<b>Expected Results:</b>

a) The tracing should be seen ON automatically with "Error" as the tracing level

b) The appropriate entries should be there in the file "MobileEngine.config" under settings folder of MI Client Installation folder

<b>Actual Result:</b>

ONLY b) [Second one is happening not a)[First one]

Please tell me where can be the mistake in the whole procedure,

Thanks,

Deepak

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Is there any solution to this problem?

if yes then Please suggest,

its really urgent,

Thanks in advance,

Deepak

kishorg
Advisor
Advisor
0 Kudos

Hi Deepak ,

have u added that role to the MI user ?.

have u gone through this link.

http://help.sap.com/saphelp_nw04/helpdata/en/42/f9943fbaf93268e10000000a1553f6/content.htm

Deepak ,

noramlly that must work ..

just try to create one role for this TRACE and try.

lets see..

Regards

Kishor Gopinathan

Message was edited by: Kishor Gopinathan

Message was edited by: Kishor Gopinathan

Former Member
0 Kudos

Kishor Gopinathan,

yes,

actually that is the role which is assigned to my user,

so it is automatically added to my user,

Do I need to create a seperate(one more) role for this TRACEing problem?

or only one role will do?

kishorg
Advisor
Advisor
0 Kudos

Hi Deepak,

as a work around ,

-


ME_SET_CLIENTTRACE , is a function module .

import parameters for this function module are,

1) DEVICE_ID(Device ID)

2) TRACE_STATUS (true or false)

3) TRACE_LEVEL(int field) and some other

deepak , we can use this function module within one report program.

1)

within this read all device ids

( we can read all device ids from MIDEVICEPROFILE table or MEREP_605 table(Device Control Table) )

loop throgh this device ids...

set device id and other parameters for ME_SET_CLIENTTRACE function module .

and set it as a background job..

even can run this ...

after running this report program , in next synchronization , all settings will be changed in client device..

Regards

Kishor Gopinathan

Message was edited by: Kishor Gopinathan

kishorg
Advisor
Advisor
0 Kudos

Hi Deepak ,

one more information ..

Trace level settings are user specific .. so u just check ,

in the settings folder ...

within this...

<User ID>.uconfig ,check whether the trace setting entries are there or not.

i could change setting in this UCONFIG file and that are changing after restarting this device..

actually in my last reply (work around) ..thats working fine..

for testing just add entries in this UCONFIG file ..

Regards

Kishor Gopinathan

Former Member
0 Kudos

Hi Kishor,

thanks for response,

actually entries are there in .uconfig,

which are:

MobileEngine.Trace.Level=1000

MobileEngine.Sync.LongUserName=Deepak Gupta

MobileEngine.Trace.Enabled=false

but I need this settings to be changed automatically to:

50 & true (for example),

Secondly,

U asked for a function module,

ME_SET_CLIENTTRACE

but it does not exist in R/3,

Do we need to get it from somewhere?

Please respond,

Deepak

kishorg
Advisor
Advisor
0 Kudos

Hi Deepak ,

can u run the transaction me_rtrace ?.

which sp level and patch are using in server?.

just check ME_REMOTE_TRACING -- Report , its there or not.

within this report program , they are using the ME_SET_CLIENTTRACE function module.

Regards

Kishor Gopinathan

Former Member
0 Kudos

Kishor Gopinathan,

I have <b>"web console SP14 patch 00</b>"

i dont have 'me_rtarce' transaction

also I couldn't find report 'me_report_tracing'

regards,

Deepak

kishorg
Advisor
Advisor
0 Kudos

Hi Deepak,

actually we are using sp15 patch00 in server..

Deepak , is the role synchronization working ?.

how the entries got added in the .uconfig file Is that by role synchronization itself ?.

if it is yes ,

we can give Parameter values in Device Config . there u can give

default values

MobileEngine.Trace.Enabled = true

MobileEngine.Trace.Level = 50

Regards

Kishor Gopinathan