cancel
Showing results for 
Search instead for 
Did you mean: 

Getting sync failed error

former_member210955
Active Participant
0 Kudos

Hi All,

i am extermely new to Mobile developement.

I created one device in the DOE, assigned the SWCV.

Now i have created the UI component for Handheld,Service comp and app in the studio.

I run the application and SAP netweaver mobile client is launched.

I created the user then i entered the connection settings. I do not get any input field for the device name entry.

Then I tried to sync with the DOE but it gave me 503 server error.

Any pointers would be hugely appreciated.

Thanks and Regards,

Saurav

Accepted Solutions (1)

Accepted Solutions (1)

former_member210955
Active Participant
0 Kudos

Thanks Rohith and Anesht for Quick replies.

I understand your points.As i am extremely new to the ABAP landscape.

I get this error when creating the device.

'Enter a valid user name'.

It seems the user name which i created on wedenesday has not come.It says to trigger delta download by means of User Details Data Object.

I dont know how to do that.

rohith_deraje
Advisor
Advisor
0 Kudos

Hi Saurav,

I assume you have created a user in Server with required roles.(SYNC_USER role)

Go to txn SDOE_LOAD. Search for SWCV, SAP_BASIS and trigger delta load for USERDETAILS and USER_AUTHORIZATION data objects.

Once the load is completed successfully you should be able to assign this user to device.

Regards

Rohith

Former Member
0 Kudos

Hi Saurav,

Once you have created the user,

--Assign SAP_DOE_SYNC_ROLE to the user

--Go to transaction SDOE_LOAD, provide SWCV as SAP BASIS*

--Select User Details Data Object

--Perform the load

Once data comes to user details (This can be checked by, selecting view meta data for SWCV SAP BASIS in transaction SDOE_WB),

--Again perform the same operations mentioned above for user authorization data object which is available in SAP BASIS.

After this data for user details and user authorizations will be available.

Note: Do not perform data load for user details and user authorizations together. Trigger it separately.

Hope this helps you.

Thanks and Regards,

Suma

Answers (4)

Answers (4)

former_member210955
Active Participant
0 Kudos

I am still getting the sync error.

Mistakenly i pressed the question as answered

Former Member
0 Kudos

Hi Saurav,

To get User Authorizations to the DOE, User details should be available. If you do both together, data will not come to the user authorization.

Now you can do data download for user authorization, and check in the outbound queues for your device whether this data is available for your user before synchronizing.

To check data in the SAP BASIS SWCV,

---Right click on SWCV select view metadata

---In the Data Object Tab, select 'User Details DO' click on View Details

This will provide the number of users available in that system

---Click on USERDETAILS_ROOT Generated Object link, this will provide the table structure

---Click on Contents button (it will be before technical setting button)

---Provide your user name for the field 'C1' and execute

This will provide the entries for your user.

Similarly do for user authorization.

If data is available in these tables, check whether the rules for SAP BASIS is active in the NWMA->Administrator->Rules and Dependency Administrator

Deactivate and reactivate the rules for SAP BASIS.

If rules are active, data will flow to the devices.

Thanks and Regards,

Suma

rohith_deraje
Advisor
Advisor
0 Kudos

Hi Saurav,

Please check SMQ2 if any adapter queues are running. If so please wait for them to get processed.

You can check your load status from Netweaver Mobile Administrator>>Monitoring>> Logs and Traces >> Backend Integration.

If load is successful, create a new device with this user and check if you are still getting the error.If not please follow the steps mentioned in my first reply to register the device.

Regards

Rohith

former_member210955
Active Participant
0 Kudos

Folks,really appreciate your quick responses.

I have resolved my problem.

former_member210955
Active Participant
0 Kudos

Thanks Suma and Rohith for so amazingly quick replies.

I Triggered the data load for User Details.

How much time does the data load takes ?

As Suma mentioned i was trying to view the metadata of the SAP Basic SWCV.

How do i see whether my user name has come or not ?.

I think i triggered both User Details and User Authorization data objects together, would that cause any problem ?

Thanks again,

Saurav

anesh_kumar
Active Participant
0 Kudos

Hi

When you created you device try to maintain the user : your user name

under mobile components assign all your MCD's related to SWCV (this is not manditory)

and activate your device

In the connection settings set the connection url : 'your mi address'

port: port no

Regards

rohith_deraje
Advisor
Advisor
0 Kudos

Hi Saurav,

Please follow the following steps.

STEP1:

Go to transaction "SDOE_DEV_REGISTER" and mark the below 3 parameters as required for registration.

USER (CATEGORY) --> For Registration(TRUE), Required(TRUE)

NAME(STANDARD)--->For Registration(TRUE), Required(TRUE)

DEVICE_TYPE(CATEGORY)-->For Registration(TRUE), Required(TRUE)

STEP2:

Once the above configurations are made, Create a device providing a NAME, DEVICE_TYPE and USER from NWMA portal and ENABLE the device.

Ex: NAME = DEVICE1

DEVICE_TYPE = LAPTOP

STEP3:

Login to the client.

The LOGIN_USER of your client should be same as the USER in the device.(created in STEP2)

Provide the necessary connection settings in your client and sync.( sync password should be same as the server password)

Note: Client LOGIN_USER and sync password are used to login to server during sync.

If you have provided the proper connection settings then client will connect to server and fetch back the regitration attributes.

i.e NAME and DEVICE_TYPE.

Please provide the correct NAME and DEVICE_TYPE and sync again to register the client.

Regards

Rohith

Edited by: Rohith Deraje on Sep 30, 2010 9:49 AM

Edited by: Rohith Deraje on Sep 30, 2010 9:50 AM