cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronization at first time: Server authorization error

waldemar_schakiel
Participant
0 Kudos

Hello,

I try to synchronize my PDA (Windows Mobile 5.0, CrE-Me V4.12.19, Netweaver Mobile Client 7.1 MI 71 SP 7 Patch 05) with DOE.

Following error appear during synchronization:

Sync. Status: failed

Error: Server authorization error

My sync-user has thr role "SAP_DOE_SYNC_ROLE". I have just manually created a device with SAP Netweaver Mobile Administrator.

Any ideas?

Waldemar

Accepted Solutions (0)

Answers (21)

Answers (21)

waldemar_schakiel
Participant
0 Kudos

Thanks for your great help.

waldemar_schakiel
Participant
0 Kudos

Hi,

I haven't found no table with ending UNKNOWNMBO. My miniDB consist only of following tables:

CFS_APPLICATION

CFS_ATTRIBUTE

CFS_BLOB

CFS_CONFIGURATION

CFS_COUNTER

CFS_DEPLOYERS

CFS_DOWNLOAD_REQUESTS

CFS_ERROR_SEGMENT

CFS_IN_Q

CFS_MODELS

CFS_NODE

CFS_OUT_Q

CFS_REJECTED_NODE

CFS_REJECTION

CFS_RELATION

CFS_RESET_REQUESTS

CFS_SERIALIZEDMBONODE

M0ARCHIVE

M10USER_AUTHORIZATION_FIELDS

M11USERDETAILS_PROFILENAME

M12USERDETAILS_ROOT

M13AGENT

M14FEEDBACK_NODE

M15LOG_FILE

M16SYSMSGHEADER

M17SYSMSGLANG

M18SYSMSGUSER

M19ORDERHEADER

M1COMPONENT_DEPENDENCIES

M20ORDERITEM

M2DEPLOYMENT_STATUS

M3DESCRIPTION

M4PROPERTIES

M5CONTAINER_ELEMENT_UP

M6CONTAINER_HEADER_UP

M7CONTAINER_ELEMENT_DOWN

M8CONTAINER_HEADER_DOWN

M9USER_AUTHORIZATION

Former Member
0 Kudos

Hi,

UNKNOWNMBO table will be used in case of LAPTOP clients. For PDA, the corresponding table is "CFS_IN_Q".

You can check whether there is any data in this table.

Regards,

Ramanath.

Former Member
0 Kudos

Hi

You can view the database content in mindb using the DBVisualizer tool.

Please follow this blog on how to configure the tool

/people/stefan.henke/blog/2008/08/21/what-you-ever-wanted-to-know-about-pda-development-in-mobile-71-part-2

Regards

Vidyadhar

waldemar_schakiel
Participant
0 Kudos

Hello Ramanath,

could you explain me what do you mean? I haven't understod your last message.

Thanks

Waldemar

Former Member
0 Kudos

Hi,

What i meant in my previous message is, " Have you changed the data object definition after uploading the application archive to DOE"?

If that is the case, then it is possible that the data which is being sent from the DOE is of different "MBO_TRANS" than the one which your application is expecting. (This information can be seen in MCD.xml file of the application).

And whenever such data is received by the mobile client, it will be stored in the table name ending with "UNKNOWNMBO".

So you can check in the MINDB whether this table has any entries.

Kindly confirm if this is the case with your device. If so, we can concentrate on the further steps.

Regards,

Ramanath.

waldemar_schakiel
Participant
0 Kudos

Hi,

the last two links was very helpfull but i have still a problem. My adequate tables in PDA are empty!

Here i list my activities:

- delta load with "SDOE_LOAD" => OK

- my CDS tables was updated ==> OK

- triggering of extract for my device ==> OK

- the outbound queue contain right data ==> OK

- the distribution rule for my data object is active ==> OK

- the sync from PDA was successfull ==> OK

With DBVisualizer i have inspected my miniDB and found two tables M19ORDERHEADER and M20ORDERITEM. Both tables are empty!

In the monitoring section i have found those messages for my device:

DEVICE_EXTRACT

17.07.2009 10:50:19 1 0

CLIENT_SYNC

17.07.2009 10:55:26 0 0

HTTP_SYNC

Folder 17.07.2009 10:55:26 CHRISTEN 1 0 0

BYTE_STREAM_HANDLER

Step Ended with success 17.07.2009 10:55:26 CHRISTEN 1 0 22.160

CLIENT_SYNC

17.07.2009 10:55:28 0 0

HTTP_SYNC

Folder 17.07.2009 10:55:28 CHRISTEN 1 0 0

BYTE_STREAM_HANDLER

Step Ended with success 17.07.2009 10:55:28 CHRISTEN 1 0 14.136

CLIENT_SYNC

17.07.2009 10:55:30 0 0

HTTP_SYNC

Folder 17.07.2009 10:55:30 CHRISTEN 1 0 0

BYTE_STREAM_HANDLER

Step Ended with success 17.07.2009 10:55:30 CHRISTEN 1 0 5.977

CLIENT_SYNC

17.07.2009 10:55:30 0 0

HTTP_SYNC

Folder 17.07.2009 10:55:30 CHRISTEN 1 0 0

BYTE_STREAM_HANDLER

Step Ended with success 17.07.2009 10:55:30 CHRISTEN 1 0 7.024

CLIENT_SYNC

17.07.2009 10:55:36 0 0

HTTP_SYNC

Folder 17.07.2009 10:55:36 CHRISTEN 2 0 0

BYTE_STREAM_HANDLER

Step Ended with success 17.07.2009 10:55:36 CHRISTEN 2 0 624

Four times this error message was displayed "Confirmation of messages clubbed with Get Messages command"

The last messages was "Confirming till message id 194" and "Logging out of the session".

Regards

Waldemar

Former Member
0 Kudos

Hi,

Could you please check whether the correct TRANS is being sent to the device?

If the data object trans which is being sent is not the same as the trans which "Application" is expecting, then these application tables will not be populated.

Instead this data will be kept in the table ending with "UnknownMBO". You can confirm if this is the case.

Regards,

Ramanath.

waldemar_schakiel
Participant
0 Kudos

Hi,

My questions to sync:

- it is possible to see directly the content of my data object in the minidb?

- how can I disable the sync password?

- how can I enable sync in background?

Regards

Waldemar

Former Member
0 Kudos

Hi,

Cross check that after trigger extract , the pending extracts does not show anything more. If it is still showing some data to be extracted , then check whether DMSWCV is operational for your device(manage devices-->DMSWCV tab).(If it is not shown operational , then try unassigning and assigning it again followed by another trigger extract)

if pending extract is cleared, then check if data is there in outbound queue of that device. If data is not there in the application after a sync then check the data in DB tables directly.

For viewing data in mindb , please check this blog [https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/10690] [original link is broken] [original link is broken] [original link is broken];

if data is present in the DB and application is not showing data , may be this thread could be helpful.

[]

The background sync is only supported for LAPTOP and not for PDA.

Regards,

Liji

waldemar_schakiel
Participant
0 Kudos

Hi,

The extract was triggerd for that device from pending extracts link and the distribution rule is active. Although my application display no data.

Waldemar

waldemar_schakiel
Participant
0 Kudos

Hi Dhanasekhar,

your hint with the signature of my function module was perfect! Now I have data in my CDS tables.

I have sync my PDA but i can't see my data in mobile application.

Regards

Waldemar

Former Member
0 Kudos

Hi,

You can check whether the data is stuck in the pending extract for your device. If that is the case, you can trigger the extract.

Additionally, if your rules are not active, you can activate the rules so that data start flowing to the devices.

Regards,

Ramanath

waldemar_schakiel
Participant
0 Kudos

Hi,

yes. my fields are defined in this way.

I have noticed that in my root node "orderheader" a field "SYNCKEY_MMW" was automatically generated. This field is not marked as "be field" and "be key field".

The same in the child node "orderitems" for fields "SYNCKEY_MMW" and "PSYNCKEY"

It is OK ?

Former Member
0 Kudos

That is perfectly alright and those fields are DOE specific and generated ones and the values will also be generated guids that represent uniquely a DO record.

Former Member
0 Kudos

Hi,

I am able to find the problem in your getdetail. The problem is with signature.

The type of importing parameter of the getdetail should be same as the structure returned by getlist.

i.e) I think getList is returning table of type ZWS_ORDERHEADER. So the importing parameter

ORDERID should be of type ZWS_ORDERHEADER-ORDERID and not ZWS_ORDER-ORDERID.

Its beacause its only way the mapping between output parameter of getList and input parameter

of getDetail can be mapped.

So change signature of your bapi wrapper function module and generate your adapter. Then try doing backend load.

Regards,

Dhana

waldemar_schakiel
Participant
0 Kudos

What are you mean Pradeep?

My actual situation: i have only one data object "Order". In the root node only field orderid is marked als key. In the child node "orderitems" only fields orderid and itemno are marked as key.

The same fields are keys in adequate database tables for orders and orderitems.

Former Member
0 Kudos

Hi,

Hope these fields are marked as 'BE Key ' field in the node attributes view of dataobject and rest of the fields that are populated from backend are marked as BE fields for both orderheader and order item

Regards,

Liji

waldemar_schakiel
Participant
0 Kudos

Hi,

in my backend adapter were no mappings defined. I have defined mappings now but my mappings disapear when I activate my adapter. Under "View Messages" i can see a warning "Client specific data object is mapped to client independent BAPI Wrapper".

Is mapping necessary in this case? My data object was created from bapi wrapper? The structures in data object und bapi wrapper must be accordingly identical.

Regards

Waldemar

Former Member
0 Kudos

Hi,

This warning will not create any issue.

Mapping disappear? in display mode , if you select getdetail and orderheader , you are not able see the field mappings at all?

Yes mapping is required and incase of bapiwrapper import, this should have been automatic..atleast when I checked , root node mappings come automatically with bapiwrapper import.

child node backend keys have to marked manually incase of bapiwrapper import . This has to be done in the dataobject child node

I wonder why the mappings go off..

Regards,

Liji

Former Member
0 Kudos

Hi

The message should be "warning" one and not the "error" and the activation of adaptor should go through.

As you have created the dataobject by importing bapiwrappers, mapping should also be there. However also check that Backend Key fields of dataobject nodes are also marked correctly. For the root node of the dataobject the key may be marked but for item nodes the backend keys may not be.

After correcting the key definition, activate the data object and backend adaptor.

regards

waldemar_schakiel
Participant
0 Kudos

Hi,

My backend adapter has following queue pattern assigned: DOEBWA_001_000_0*

After deregistration (SMQR) with this pattern i have started "SDOE_LOAD" (Delta Download) for my SWCV and data object

Following queue is displayed in the transaction SMQ2: DOEBWA_001_000_0_GL

This queue has assigned this function module ZDOEFM_001_000_0_BW_GETLIST

After unlock of this queue a new queue appear DOEBWA_001_000_0_01

This queue has assigned ZDOEFM_001_000_0_BW_PDQ as function module

This queue has 5 entry lines with my order test data

After unlock of this queue no more queues appear and my CDS tables stay empty!

Why can't get_details deliver correct data?

Here is my test function module for my get_details:

FUNCTION zws_order_getdetail .

*"----


""Lokale Schnittstelle:

*" IMPORTING

*" VALUE(ORDERID) TYPE ZWS_ORDER-ORDERID OPTIONAL

*" EXPORTING

*" VALUE(ORDERHEADER) TYPE ZWS_ORDERHEADER

*" TABLES

*" ORDERITEM STRUCTURE ZWS_ORDERITEM

*" RETURN STRUCTURE BAPIRET2

*"----


SELECT SINGLE * FROM zws_order INTO CORRESPONDING FIELDS OF orderheader

WHERE orderid = orderid.

SELECT * FROM zws_item INTO CORRESPONDING FIELDS OF TABLE orderitem

WHERE orderid = orderid.

ENDFUNCTION.

My Questions:

- Should my function module deliver all items data and orderheader data when it is called without orderid?

Former Member
0 Kudos

Hi,

getdetail bapi wrapper is expected to return item details for a specific key.

So whatever is specified in your getdetail is correct.

Have you cross checked the mappings tab in backend adaper -->mapping ?

Check whether orderheader of getdetail is mapped to header node fields of your DO.

same with orderitem also.(orderitem to the child node fields)

Incase you have created dataobject with bapi wrapper import, the keys of child node need to be marked manually.

Incase mappings are not there, please do the mapping accordingly..

Regards,

Liji

Former Member
0 Kudos

Hi

am making just a random guess based on the signature of getDetail: the input is ZWS_ORDER-ORDERID ie a component of ZWS_ORDER. While in the result content of ZWS_ORDER is being populated in structure ZWS_ORDERHEADER & ZWS_ORDERITEM with zws_item with "corresponding fields" clause. Do these structures and the corresponding tables in the code have fields with same name?

As getDetail is called for each key, i can not see a case of getDetail being called without orderid, unless in the backend table there is record without orderid.

Also you can cross check the mapping between backend adaptor and dataobject.

regards

pradeep

Edited by: Pradeep Kumar Warrier on Jul 15, 2009 4:20 PM

waldemar_schakiel
Participant
0 Kudos

Hi,

the only queue name what i can see is DOEBWA_001_000_0*

The Message Monitoring contain no message for my SWCV.

Regards

Waldemar

Former Member
0 Kudos

Yes deregister the above queue pattern in smqr. Do delta download and check for entries in smq2. Do unlocking of queues as i mentioned in preovios reply.

waldemar_schakiel
Participant
0 Kudos

Hi,

i have still my problem with synchronization. My BAPI function modules works correctly in backend system and deliver data.

My data object was successfully created from BAPI wrapper. When I synchronize data with "SDOE_LOAD" following message is displayed: "Download triggered. Please check monitoring"

Monitoring seems to be correct (Backend Integration):

15.07.2009 12:10:24 Using adapter ORDER_BEA

15.07.2009 12:10:24 Delta download started

15.07.2009 12:10:25 Scheduling BE data started

15.07.2009 12:10:25 Block size not set. Using default value 200

15.07.2009 12:10:25 Scheduling keys across 5 queues with blocksize

15.07.2009 12:10:25 Scheduling BE data finished

But my generated CDS tables are still empty.

I have noticed that i can't navigate to backend function module when I doubleclick on BAPI-Wrapper name / GET LIST / GET DETAIL in backend adapter view.

My RFC destination works correctly because i have already created my data object from bapi wrapper.

Regards

Waldemar

sivasatyaprasad_yerra
Active Contributor
0 Kudos

Regarding doubleclick on BAPI-Wrapper :

This problem occurs when the user doesn't have right permissions to access the backend system.

Check RFC destination settings: Check the Logon & Security tab settings. DOes the user configured here can access backend system?

Regards,

Siva.

Edited by: Siva Satya Prasad Yerra on Jul 15, 2009 4:30 PM

Former Member
0 Kudos

Hi,

Do the following actions.

1) Go to your backend adapter's adapter details tab.

2) In Adapter overview box you could see a queue pattern starting with DOEBWA. Copy the pattern

3) Go to SMQR transaction. Press deregistration button. Give the pattern that you have copied.

4) Do delta download now. (Note: It should not say anything like 'Backend destination not configured')

5) Go to smq2 now . Give the queue pattern that you have copied.

6) Check whether there are any entry.

7) If yes then unlock the queue.

😎 If getlist is returning proper keys then you can see one more queue entry which ends with '_PDQ'

9) If you have this entry then unlock the queue. If get details are able to return instances properly then

you can see one more queue entry which ends with 'FLW'. If yes then unlock the queue.

10) If 'FLW' queue got executed properly then check message monitoring in monitoring portal for any messages.

Regards,

Dhana

Former Member
0 Kudos

Hi,

Check the DOE message monitoring

admin portal>monitoring>Message Monitoring

Search providing your SWCV and check if there are messages with status error (X) in the errors tab.

Let us know the list of errors if any.I guess it might be failing somewhere in the message flow and hence not getting persisted in CDS.

Regards,

Liji

waldemar_schakiel
Participant
0 Kudos

Hi,

must the bapi wrapper for "get_list" and "get_detail" be configured only in the backend system or in backend system and DOE?

Here is the output of backend integration:

14.07.2009 16:45:14 Using adapter ORDER_BEA

14.07.2009 16:45:14 Delta download started

14.07.2009 16:45:14 Scheduling BE data started

14.07.2009 16:45:14 Block size not set. Using default value 200

14.07.2009 16:45:14 Scheduling keys across 5 queues with blocksize

14.07.2009 16:45:14 Scheduling BE data finished

My example order table consists of 5 entries. My generated CDS tables are still empty.

Former Member
0 Kudos

Hi,

These bapi wrappers should be configured in DOE only. Execute these function modules in backend and check whether they are returning proper values. Do it in SE37.

Regards,

Dhana

Former Member
0 Kudos

Hi,

The bapi wrappers will be present in the backend and the names will be configured in the backend adapter for the dataobjects in DOE.

Double click on the adapter and clicking on the getlist will navigate to the backend.just click on execute button.

alternatively , the same could be executed by logging on to the backend server also.

Hope you have done the mapping of dataobject fields to the bapi structures during the design time.

Regards,

Liji

rohith_deraje
Advisor
Advisor
0 Kudos

Hi,

If you are using both getlist and getdetail BAPI wrappers, You would have done the mapping for Getdetail BAPI in the adapter.

You can check the mapping in Adapret Detail page>>"Mapping" tab.

If the mappings are correct, please verify if the BAPIs are working fine. Please follow the steps as Liji mentioned above.

For Getdetail BAPI, pass the "Keyfield" as input and check that it returns the complete record.

Once the above things are fine, trigger load from "sdoe_load" selecting your SWCV. You should be getting a message "Load triggered. Please check monitoring". Check for any queue in smq2. Process the queue if it is in ready state. After all the queues (starting with DOEBWA*) are processed, data should be available in CDS.

regards

Rohith

waldemar_schakiel
Participant
0 Kudos

Hi,

the monitoring view displays more entiries for my SWCV but his status field is empty everywhere. The transaction SMQ2 displays no queues.

Former Member
0 Kudos

Hi,

This might look too obvious..

But is your BAPI Wrapper returning the correct data from the backend system ? You can execute the BAPI WRAPPER function module for GETLIST and GETDETAIL and check what exactly they are returning.

If they are returning correct values, you can execute SDOE_LOAD once more and check whether the queues are executing without error.

Regards,

Ramanath.

Former Member
0 Kudos

Hi,

For the last run, can you check if there are any entries in the logs?

You can actually expand the tree and check the status in each step.

Additionally try executing the getlist bapi for the backend adapter for that dataobject in SE37and see if it is returning results.

Regards,

Liji

waldemar_schakiel
Participant
0 Kudos

Hi,

it is curious. I have loaded initially my data object with "SDOE_LOAD" but in the metadata view the generated CDS tables have no entries.

Regards

Waldemar

sivasatyaprasad_yerra
Active Contributor
0 Kudos

Check SMQ2 transaction. Queues with pattern DOEBWA* should be executed.

Former Member
0 Kudos

Hi,

We can check in monitoring

Admin and monitoring >monitoring>logs & traces-->select the environment 'Backend integration' and see the results

is it showing a red or yellow

Check the logs incase of red status.

Additionally you can check the smq2 and see if all the queues are executed successfullly.

Regards,

Liji

waldemar_schakiel
Participant
0 Kudos

Hi,

with this work around I have set "SAP BASIS 7.10" as operational and data object "USERDETAILS" was transfered to my device.

Now I can see my application in the application launcher.

I can start my application but I can see no data (only empty tables). The adequate Tables have data in the backend system.

Regards

Waldemar

Edited by: Waldemar Schakiel on Jul 14, 2009 12:19 PM

Former Member
0 Kudos

Hi,

Did you perform an initial load of data from backend via transaction SDOE_LOAD choosing your SWCV and dataobject

Once this is done, then the CDS tables in DOE will be populated.

This can be checked by right click on SWCV and say view meta data.

Then you need to activate the distribution rules from admin portal>administration>distribution rule admin-->choose the rule part of your SWCV and say activate

Once the rules are active, extract has to be triggerd for that device from pending extracts link.

Now sync will show the data in application .

Regards,

Liji

waldemar_schakiel
Participant
0 Kudos

Hi,

the error "Server authorization error" was displayed on my Netweaver client. On the server side no monitoring entries was found for the user od device name.

Perhaps is my trace file from my PDA helpfull:

<?xml version="1.0" encoding="utf-8"?>

<l>

<h n="/MI\log/trace_0.trc" v="1.5" d="2009-07-13" t="14:37:22">

<f n="BuildVersion" v="71705"/>

<f n="BuildDate" v="2009-05-27"/>

<f n="BuildTime" v="02:08:00"/>

<f n="MI" v="71"/>

<f n="SP" v="7"/>

<f n="Patch" v="05"/>

<f n="DeviceType" v="PDA"/>

</h>

<rs>

<r id="1247488641122" t="14:37:21" d="2009-07-13" s="E" c="000" u="" g="" m="java.util.MissingResourceException: Can&apos;t find resource for bundle com.sap.ip.me.api.services.MEResourceBundle$MEPropertyResourceBundle, key START_MOBILE_CLIENT">

<f n="LocationName" v=" (com.sap.ip.me.api.services.MEResourceBundle:handle get object missing resource exception )"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488642034" t="14:37:22" d="2009-07-13" s="I" c="000" u="" g="" m="Protokollierung initialisiert">

<f n="LocationName" v=" (com.sap.tc.mobile.logging.impl.FileLogger:)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488642038" t="14:37:22" d="2009-07-13" s="I" c="000" u="" g="" m="Protokollierung initialisiert">

<f n="LocationName" v=" (com.sap.tc.mobile.logging.impl.FileLogger:)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488648134" t="14:37:28" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488650948" t="14:37:30" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488651400" t="14:37:31" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488653754" t="14:37:33" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488653912" t="14:37:33" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488653955" t="14:37:33" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488654218" t="14:37:34" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488654233" t="14:37:34" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488654265" t="14:37:34" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488654278" t="14:37:34" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488654309" t="14:37:34" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488654323" t="14:37:34" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488654354" t="14:37:34" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488654369" t="14:37:34" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488984140" t="14:43:04" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="en" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488984247" t="14:43:04" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="en" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488985307" t="14:43:05" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488985330" t="14:43:05" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488985345" t="14:43:05" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247489009077" t="14:43:29" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="Can&apos;t find resource for bundle java.util.PropertyResourceBundle, key SYNC_CONNECT">

<f n="LocationName" v=" (com.sap.tc.mobile.logging.MsgObject:getMsgText)"/>

<f n="ThreadName" v="Thread-18"/>

</r>

<r id="1247489013029" t="14:43:33" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="Can&apos;t find resource for bundle java.util.PropertyResourceBundle, key SYNC_DISCONNECT">

<f n="LocationName" v=" (com.sap.tc.mobile.logging.MsgObject:getMsgText)"/>

<f n="ThreadName" v="Thread-18"/>

</r>

<r id="1247489013075" t="14:43:33" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="Error during synchronization --&gt; java.lang.IllegalStateException: Serverberechtigungsfehler

at com.sap.tc.mobile.cfs.sync.transport.HttpSynchronizer.exchangeStatusWithServer()

at com.sap.tc.mobile.cfs.sync.transport.HttpSynchronizer.doSynchronize()

at com.sap.tc.mobile.cfs.sync.SyncManager.synchronize()

at com.sap.tc.mobile.wdlite.container.SyncProgress.doSync()

at com.sap.tc.mobile.wdlite.container.SyncProgress.access$600()

at com.sap.tc.mobile.wdlite.container.SyncProgress$SyncThread.run()

at java.lang.Thread.run()

">

<f n="ThreadName" v="Thread-18"/>

</r>

<r id="1247489014018" t="14:43:34" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="Thread-18"/>

</r>

<r id="1247489014119" t="14:43:34" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="Thread-18"/>

</r>

<r id="1247489014132" t="14:43:34" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="Thread-18"/>

</r>

<r id="1247489016949" t="14:43:36" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="Sync error --&gt; java.lang.RuntimeException: Serverberechtigungsfehler

at com.sap.tc.mobile.cfs.sync.SyncManager.synchronize()

at com.sap.tc.mobile.wdlite.container.SyncProgress.doSync()

at com.sap.tc.mobile.wdlite.container.SyncProgress.access$600()

at com.sap.tc.mobile.wdlite.container.SyncProgress$SyncThread.run()

at java.lang.Thread.run()

">

<f n="ThreadName" v="Thread-18"/>

</r>

<r id="1247489016967" t="14:43:36" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="Sync error">

<f n="LocationName" v=" (com.sap.tc.mobile.wdlite.container.SyncProgress:)"/>

<f n="ThreadName" v="Thread-18"/>

</r>

<r id="1247489034722" t="14:43:54" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

waldemar_schakiel
Participant
0 Kudos

Trace file PDA (Part1):

<?xml version="1.0" encoding="utf-8"?>

<l>

<h n="/MI\log/trace_0.trc" v="1.5" d="2009-07-13" t="14:37:22">

<f n="BuildVersion" v="71705"/>

<f n="BuildDate" v="2009-05-27"/>

<f n="BuildTime" v="02:08:00"/>

<f n="MI" v="71"/>

<f n="SP" v="7"/>

<f n="Patch" v="05"/>

<f n="DeviceType" v="PDA"/>

</h>

<rs>

<r id="1247488641122" t="14:37:21" d="2009-07-13" s="E" c="000" u="" g="" m="java.util.MissingResourceException: Can&apos;t find resource for bundle com.sap.ip.me.api.services.MEResourceBundle$MEPropertyResourceBundle, key START_MOBILE_CLIENT">

<f n="LocationName" v=" (com.sap.ip.me.api.services.MEResourceBundle:handle get object missing resource exception )"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488642034" t="14:37:22" d="2009-07-13" s="I" c="000" u="" g="" m="Protokollierung initialisiert">

<f n="LocationName" v=" (com.sap.tc.mobile.logging.impl.FileLogger:)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488642038" t="14:37:22" d="2009-07-13" s="I" c="000" u="" g="" m="Protokollierung initialisiert">

<f n="LocationName" v=" (com.sap.tc.mobile.logging.impl.FileLogger:)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488648134" t="14:37:28" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488650948" t="14:37:30" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

<r id="1247488651400" t="14:37:31" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

waldemar_schakiel
Participant
0 Kudos

Trace file PDA (Part2):

<r id="1247489009077" t="14:43:29" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="Can&apos;t find resource for bundle java.util.PropertyResourceBundle, key SYNC_CONNECT">

<f n="LocationName" v=" (com.sap.tc.mobile.logging.MsgObject:getMsgText)"/>

<f n="ThreadName" v="Thread-18"/>

</r>

<r id="1247489013029" t="14:43:33" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="Can&apos;t find resource for bundle java.util.PropertyResourceBundle, key SYNC_DISCONNECT">

<f n="LocationName" v=" (com.sap.tc.mobile.logging.MsgObject:getMsgText)"/>

<f n="ThreadName" v="Thread-18"/>

</r>

<r id="1247489013075" t="14:43:33" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="Error during synchronization --&gt; java.lang.IllegalStateException: Serverberechtigungsfehler

at com.sap.tc.mobile.cfs.sync.transport.HttpSynchronizer.exchangeStatusWithServer()

at com.sap.tc.mobile.cfs.sync.transport.HttpSynchronizer.doSynchronize()

at com.sap.tc.mobile.cfs.sync.SyncManager.synchronize()

at com.sap.tc.mobile.wdlite.container.SyncProgress.doSync()

at com.sap.tc.mobile.wdlite.container.SyncProgress.access$600()

at com.sap.tc.mobile.wdlite.container.SyncProgress$SyncThread.run()

at java.lang.Thread.run()

">

<f n="ThreadName" v="Thread-18"/>

</r>

waldemar_schakiel
Participant
0 Kudos

Trace file PDA (Part3):

<r id="1247489014018" t="14:43:34" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="Thread-18"/>

</r>

<r id="1247489014119" t="14:43:34" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="Thread-18"/>

</r>

<r id="1247489014132" t="14:43:34" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="Thread-18"/>

</r>

<r id="1247489016949" t="14:43:36" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="Sync error --&gt; java.lang.RuntimeException: Serverberechtigungsfehler

at com.sap.tc.mobile.cfs.sync.SyncManager.synchronize()

at com.sap.tc.mobile.wdlite.container.SyncProgress.doSync()

at com.sap.tc.mobile.wdlite.container.SyncProgress.access$600()

at com.sap.tc.mobile.wdlite.container.SyncProgress$SyncThread.run()

at java.lang.Thread.run()

">

<f n="ThreadName" v="Thread-18"/>

</r>

<r id="1247489016967" t="14:43:36" d="2009-07-13" s="E" c="000" u="CHRISTEN" g="de" m="Sync error">

<f n="LocationName" v=" (com.sap.tc.mobile.wdlite.container.SyncProgress:)"/>

<f n="ThreadName" v="Thread-18"/>

</r>

<r id="1247489034722" t="14:43:54" d="2009-07-13" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>

<f n="ThreadName" v="com.sap.tc.mobile.cfs.startup.pda.Startup"/>

</r>

Former Member
0 Kudos

Hi,

As you are getting "Server Authorization Failed" error, this means the request has not even reached the DOE server.

So in this case, there will not be any logging on the DOE monitoring screens.

If the username and password details are correct, the possible cause of this issue is, your ICF service might not be active.

You can check in SICF transaction, whether the MMW_DEVICE_SYNC service is active or not.

If this service is not active (grayed out), you can right click on the service name and click on "Activate Service".

After this, you can again check whether the sync is successful or not.

Hope this will help you in resolving the problem.

~ cheers,

Ramanath.

waldemar_schakiel
Participant
0 Kudos

Hi Ramanath,

your hint was very helpfull. I can synchronize my PDA with DOE now.

But I have still one problem. My PDA was synchronized successfully. My device is marked as registered in Netweaver Mobile Administrator. Under "Mobile Components" can I see, that my applications was installed. I can't see this applications in application launcher on my PDA in Netweaver Mobile Client.

What is wrong?

Regards

Waldemar

Former Member
0 Kudos

Hi,

If userdetails dataobject is not send to the device, then application link doesnt come up.

Check whether userdetails dataobject instance reached your device or still in your device outbound queue.

If userdetails DO is shown there..in that case one more sync should give you the application link.

you can check this via admin mon portal>search for your device and see if there is a pending extracts link and if it is showing userdetails DO to be extracted.>if yes trigger extract and then sync.

You can also cross check if your user has the role : SAP_DOE_ALL_APP_VISIBLE in SU01

Regards,

Liji

Former Member
0 Kudos

Hi,

Addition to what Liji has mentioned, the application link would not be displayed if any of the dependent MCDs are not successfully downloaded/installed on the device.

If this is applicable to your MCD, then check whether all the dependent MCDs are also installed successfully.

~ cheers,

Ramanath.

waldemar_schakiel
Participant
0 Kudos

Hi Liji,

here is an output of my "Pending Extracts":

USERDETAILS Waiting DOE_EXT_000_00B_* Corresponding DMSWCV is not operational SAP BASIS 7.10

The data object "USERDETAILS" belongs to SWCV "SAP BASIS 7.10". This SWCV is marked as not operational. Therefore is "USERDETAILS" in waiting status.

When I click "Trigger Extract" than followinf message display on the screen: "Extract has been triggered for the device" but nothing happens.

Regards

Waldemar

Former Member
0 Kudos

Hi,

Ideally sap basis SWCV should turn operational when the mobile component status becomes installation successfull.

I dont have clue why this did not happen.

One work around is to assign the SAP Basis SWCV again from manage DMSWCV tab for that device(which is infact not recommended in production scenarios)

Then trigger extract for the user details DO.

Regards,

Liji

Former Member
0 Kudos

Hi,

SAP BASIS might not be operational due to following reasons.

Check whether the client framework MCD is uploaded to the DOE server.

If this framework MCD is not uploaded to the DOE server, kindly upload the same using SDOE_UPLOAD_ARCHIVE transaction.,

Unless this MCD is not uploaded to the DOE, SAP BASIS will not be operational.

If you do not have the MCD, then as suggested by LIji, you can make the SAP BASIS SWCV operational and continue.

waldemar_schakiel
Participant
0 Kudos

Hello,

yes, the sync-password ist the same as the DOE-password.

Waldemar

Former Member
0 Kudos

Hi,

can you go to DOE Admin and monitoring portal from sap easy access menu

>Monitoring>Logs & Traces

> in the search mode>choose CLIENT_SYNC

-->Give your user or device name and check the results.

If it is showing any warnings or errors?

Regards,

Liji

Former Member
0 Kudos

Hi,

Can you please check if you are using the correct sync password?. Sync password should be that of the server. Basically, it should be the same password that you will use to login to the server.

Best regards,

Vinodh

sivasatyaprasad_yerra
Active Contributor
0 Kudos

CHeck the password provided by you while sync with the DOE server. It should be password used to login to the server.