cancel
Showing results for 
Search instead for 
Did you mean: 

Sync. doesnt work in NWClient on NWDS Simulator

Former Member
0 Kudos

Hi

i have a problem in sync data from DOE to my Client ( Application )

I have created my Data Objects in the Data Orchestration Workbench. ( Import Bapi Wrappers as Data Object ). Is it important to create a device???

In the configuration of my client i have entered the ip, port, client and a device name ( test ).

So when i would to sync, which password i have enter? I get the password of my SAP user.

Then i get the message:

Sync Status: Failed

Error: Error code - 22: Error while registering

Message: Post synchronization complete.

Is my sync. pass fault?

Thanks

hassan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Hassan,

The device need to be created in DOE and enabled and the same name should be given from the client.

The sync user and password should be the user and pwd in DOE server who has the DOE sync role.

Regards,

Liji

Former Member
0 Kudos

Yes but there is another problem.

If i create a new device like a test device, it come the message:

Note

The following error text was processed in the system NW7 : CREATE DATA: The specified type is not a valid data type.

The error occurred on the application server sapnw71_NW7_00 and in the work process 4 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Method: GET_USERS_FROM_CDS of program CL_SMMW_USER==================CP

Method: ONACTIONCREATE of program /1BCWDY/03N8T1EF81BPKHB00YE0==CP

Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/03N8T1EF81BPKHB00YE0==CP

Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP

Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP

Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP

Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP

Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP

Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP

Method: IF_WDR_RUNTIME~EXECUTE of program CL_WDR_MAIN_TASK==============CP

Do you know this fault?

regards,

hassan

Former Member
0 Kudos

Hi,

Hope you have followed the initial steps mentioned in the configuration guide

[http://help.sap.com/saphelp_nwmobile71/helpdata/en/45/17a790d8000064e10000000a1553f7/frameset.htm]

like executing sdoe_sr, activating queues and activating sap basis rules.

Check in tcode : SDOE_WB whether the sap basis objects are showing generated successfully(green)

Specifically , the basis data objects, user details and user authorizations should be generated successfully.

Corresponding distribution rules needs to be activated.

Then follow the steps mentioned in the guide under "setting up users in DOE"

Once user details and user authorzation data is loaded to DOE , then you can create a device from admin portal.

Regards,

Liji

Former Member
0 Kudos

Hi,

Check whether all SAP BASIS data objects are active and generated properly.

Do an initial download for USER DETAILS and USER AUTHORIZATION data objects.

For more details check the initial configuration guide of Mobile 7.1

http://help.sap.com/saphelp_nwmobile71/helpdata/en/45/17a790d8000064e10000000a1553f7/frameset.htm

Regards,

Dhana

Former Member
0 Kudos

HI

Yes i have done all mentioned steps.

Only the step ( Upload the mobile client archive to the DOE ) is what i didn't follow.

I think this is for software packages and i dont need them.

In my Workbench my own Dataobject is green

the others are all yellow but active and in distribution model the object USERDETAILS_DM and Distmodel_Agent have a lightning.

regards, hassan

Former Member
0 Kudos

Hi Hassan,

The sap basis Data objects and DM needs to be green and active for the proper functioning of DOE.

May be there is a sysfail in the queue (SMQ2)

Can you trigger generation for basis data objects and corresponding DMs explicitly from sdoe_wb transcation?

Regards,

Liji

Former Member
0 Kudos

No not for Userdetails_DM, because there comes a message box "A prrevious generation has resulted an error in queue SDOE_GEN_00B_000.

USER_AUTH_DM is green

USER_AUTHORIZATION is green too

Should i restart the server?

regards, hassan

Former Member
0 Kudos

Hi ,

Can you go to SMQ2 and give the queue name 'SDOE_GEN_00B_000' and then click on unlock button.

CHeck if this getting executed successfully.

Regards,

Liji

Former Member
0 Kudos

Yes there was 3 queues with sysfail

I have unlocked all 3 and now there are with status "running"

And now? Have i regenerate the objects?

regards

hassan

Former Member
0 Kudos

Hi Hassan,

These queues are doing the generation asynchronously.

Once the queues are finished, all the basis dataobjects and DMs should turn green.

Then you need to perform load for user userdetails and user authorization DOs from tcode : sdoe_load.

Once load is done, you can activate the rules from portal as mentioned in the configuration guide.

Then you can proceed with creation of device.

Regards,

Liji

Former Member
0 Kudos

Hi Lija,

in my case the queues dont finish.

I dont know how to solve this problem. ( How to get the lights green )

It is only userdetails and agent config which are yellow.

Do you think it is about my user? I have one user which i give him all existing roles!

Is this ok?

regards,

sivasatyaprasad_yerra
Active Contributor
0 Kudos

I think queues are not getting executed at all. select the queue and choose "reset status" option from the context menu. Then execute the queues again.

Former Member
0 Kudos

Yes you have right

If i generate the DO " Agent_Config" it comes the status Sysfail in the queue. After the reset comes the same failure.

The problem is in the function module SMMW_BULK_ACTGEN_FM with the StatusText "Field Symbol has not been asigned yet"

If i test it ( Test/Execute ) the function need some parameter like mbo_id and activate and sync_gen.

In sync_gen is a default value. Whats with the others?

Which value there have to be assigned?

regards..

Former Member
0 Kudos

Hi Hassan,

If the queues are ending up in sysfail everytime, then may be you can proceed generating

those 2 objects from workbench SDOE_WB explicitly.

Now if you are unable to do so from workbench due to some locks existing because of already

triggered generation , then try executing the report SDOE_LOCK_REPAIR from transaction SE38 ,

selecting the SWCV and Dataobject name(In your case SAP BAsis swcv and AGents ,

User Details Data objects) and executed.

After this , if the objects are inactive , then activate them or else try generating the

dataobjects and DM from SDOE_WB, opt for synchronous generation.

Regards,

Liji

Former Member
0 Kudos

I have done this steps.

At first lock this data objects then generate them synchronos.

There happens nothing, the light shine yellow.

When i lock the data objects and generate them asynchronous the failure comes "unable to uniquly determine data objects" in the queue...

regards, hassan

Former Member
0 Kudos

Hi,

After you perform repair lock and then activate/ regenerate the data object synchrounously , is there a message shown in the status bar?

Regards,

Liji

Former Member
0 Kudos

Hi,

yes in the status bar is written "Unable to uniquely determine Data object"

sivasatyaprasad_yerra
Active Contributor
0 Kudos

Check whether you performed the steps mentioned in SDOE_SR transaction.

If not perform the steps in this transaction and this process should take care of generating the objects.

Former Member
0 Kudos

I have generated this objects.

All objects installed successfully.

It shows a green light for every object

Former Member
0 Kudos

Hi ,

Does that mean that user details and user authorization objects are already shown green in workbench?

Then you can perform load for these objects from TCODE : SDOE_LOAD.

You can check whether the load is complete by checking the cds contents from meta data monitor.

For this right click the SWCV and say 'view metadata'. It will list the CDS (Consolidated Data Store) contents. If you see entries here, means data has flown from backend to DOE.

Incase of user details and user authorizatons dataobject , the contents either come from the same system or incase you have explicitly given an RFC destination for SAP Basis SWCV to another system, then these users and roles with authorizations will be pulled from that system.

After this is done, activate the rules part of SAP Basis SWCV from admin and mon portal.

Now you can create a device from portal and enable it.

Regards,

Liji

Former Member
0 Kudos

Hi,

I guess you meant SDOE_SR steps are green and I misunderstood that as all objects are generated fine.

Ok usually this error comes when there is a meta data corruption:(

Means for the same dataobject , it is fetching multiple entries from the meta data table.

May be we can just verify that , Please do not delete any entries from the mentioned table as this might create more issues.

I guess this error is coming for only Agents DO?

Or is it coming for other objects as well?

Is the dataobject shown as active or inactive?

Regards,

Liji

Former Member
0 Kudos

HI,

yes it is in SDOE_SR green. In my workbench is userdetails and agent do is yellow

They are shown as active.

My general problem is that i cant create a device in the doe administration.

How we can verify that?

thanks hassan

Former Member
0 Kudos

So i have checked the metadata.

For userdetails and agent is no cds table generated. I think this is the problem, why they are yellow or not?

For the other DO i have cds tables and they are shown green..

regards.

Former Member
0 Kudos

Hi,

Both user details and Agents are required for successfull message exchange between DOE and client.

So both these need to be consistent.

The belowe information is just for verifying what has gone wrong in meta data.

sdoe_wb -->click on user details DO --> Go to menu --> object directory entry.(data object id)

In SE11 , check the table SMMW_HDR

Give this id in the field MBO_ID and active = 'X'.

How many entries are returned?

What is the versions listed?

Regards,

Liji

PS: unless this generation goes through fine, the cds tables and other DDICs and classes will not be generated.

Former Member
0 Kudos

How can i insert the mbo_id ??

I can check, activate it! After i check it, the system returns there is no inconsistence.

But i cant enter any data!

When i activate it, there comes a failure. In the log is written "USER is reserved .. "

regards,

Former Member
0 Kudos

So i have it.

There is one entrie.

Version: BCE0005

Former Member
0 Kudos

Is the view logs button in sdoe_wb showing some entry?

One more check in the same table SMMW_HDR.

Copy the guid in the field MBO_TRANS for the one entry you got before and then again check for this MBO_TRANS(with out filling any thing else) how many entries are returned?

Is there multiple entries in the table for this MBO_TRANS?

Regards,

Liji

Former Member
0 Kudos

No there are no entries.

But i ve checked again without any entries.

There are 3 entries for Userdetails and 3 for agent

In both there are two entries with the same MBO_TRANS.

AC0A8B89F4447942B5DFEE753F9420C0 BCE0005 D USERDETAILS

00132120A5A802EAAFF54D99A8F8514B

AC0A8B89F4447942B5DFEE753F9420C0 BCE0005 X USERDETAILS

00132120A5A802EAAFF54D99A8F8514B

AC0A8B89F4447942B5DFEE753F9420C0 S0001 D USERDETAILS

33EBCE774257F14DB7261F9D0DCE233C

-


AC8EBB69375D414D818B18B06C6C3BBC BCE0002 D AGENT_CONFIG

00132120A5A81DEBBDE3D8B33E471C2E

AC8EBB69375D414D818B18B06C6C3BBC BCE0002 X AGENT_CONFIG

00132120A5A81DEBBDE3D8B33E471C2E

AC8EBB69375D414D818B18B06C6C3BBC BEA0001 D AGENT_CONFIG

B6AC105575DE9E40B7A5B48ED3DC74A6

Former Member
0 Kudos

Hi Hassan,

The issue is definitly the first 2 entries in each set for userdetails and agents(same trans but 2 status 'D and 'X')

ie , there should not be same trans , same version , same id and different status 'X' and 'D'.

The entry with version BCE0005 and status 'D' for userdetails is the cause of this issue

and the entry with version BCE0002 and status 'D' for AGENT_CONFIG is also problematic.

Without them it should get generated fine.

But I cant assume any reason how this inconsistency came and cannot recommend anything here as they are DOE specific meta data tables . May be OSS Ticket for SAP can help.

Regards,

Liji

Former Member
0 Kudos

Hi,

thanks for your help. Could you explain what this OOS Ticket is and where i could open this ticket?

Regards, hassan

Former Member
0 Kudos

Hi Hassan,

Via OSS ticket, SAP support can have a look at your system and then provide a fix .

You can raise a customer message reporting a problem at SAP support portal

[http://service.sap.com/message ]

As I mentioned , the only way is to correct the meta data and proceed with generation as we do not see those 2 faulty entries here.

Is it just a test installation that you are having?

Regards,

Liji

Former Member
0 Kudos

Yes it is only for testing. We would like to develop a demo - application for Windows Mobile. What is with this workaround, to delete this do's and create a new one. But i dont know which bapi-wrapper etc i need and what i have to configure..

Is it easy or too difficult?

regards and thanks, hassan

Former Member
0 Kudos

Hi Hassan,

No, not required to delete the DOs as such and it will not be feasible to recreate them as they are SAP shipped ones.Its only matter of removing those 2 faulty table entries and proceed. But it should be at user's risk:) But if you wish to get it fixed from SAP, then customer message is the way ahead.

Regards,

Liji

Former Member
0 Kudos

I dont have any access to this message service. So i have deleted the both dataset.

And now the do generates its cds tables but now is another failure

"Unable to activate structure ZDOE000000B_BCE00005_MS"

What is with the third dataset. It has another mbo_trans but for what is this? And what is the "D" in Activate??

regards hassan

Former Member
0 Kudos

Hi Hassan,

I hope you deleted only one entry for each dataobject with status 'D' having the same version.

Means , one valid set for each DO with 'X' should remain..

Go to SE11 and give this structure name(ZDOE00000B_BCE0005_MSG) in the data type and perform check(Ctrl+F2). See the logs . what is it telling there?

Regards,

Liji

Former Member
0 Kudos

Yes i have

Only the one with the same version and the D

In the log is written that the table has no fields. This is the error..

Former Member
0 Kudos

Hi,

Can you click display for this structure-->go inside and then go to edit mode.Are you seeing any fields?

Former Member
0 Kudos

HI,

yes there are no fields defined.

Have I delete this structure and regenarte it?

Former Member
0 Kudos

Hi Hassan,

I guess the meta data is corrupted in many places and this time am not at all sure if deletion and regeneration will help:( This inconsistency came as the previous state was 'D' i suppose.

Are you seeing a tabletype :ZDOE00000B0_BCE0005_TTYP from se11 in a consistent state?

Will you not be able to take SAP support ?

Regards,

Liji

Former Member
0 Kudos

I have checked the table and there is no inconsistent found.

I dont think that i get any sap help...

do you think this problem is too big to fix it?

There is something i havent done in the configuration, i hope you know this.

It is the step which i upload the db, jvm and the client. Do you thik that is a problem?

greetings

Former Member
0 Kudos

Now i am looking my to my DO.

I think there is a problem with the backend adapter. It doesnt generate any objects...the state is inactive

I cant active it sync and async. There are no messages or something else.

Maybe i have to do some configurations in backend?!

I could install the sap server again? Do you think that make sense?

Former Member
0 Kudos

Ok, good that underlying objects are consistent. Cant judge the depth of meta data corruption

and Its difficult to tell what is the root cause of meta data corruption. I dont think that missing step caused this issue.

IF you see all the mentioned table types consistent and active, then may be you can create

this structure and try, as this structure is supposed to contain the below mentioned table types.

ZDOE00000B0_BCE0005_TTYP

ZDOE00000B1_BCE0005_TTYP

ZDOE00000B00_BCE0005_TTYP

Are you seeing the CDS tables for each node also generated fine?

Regards, Liji

Former Member
0 Kudos

Hi Hassan,

Regarding the backend adapter for your DO, can you double click on that and check view logs?

It should mention some error there.

Regards,

Liji

Former Member
0 Kudos

So all of these structures are consistentand active.

The generated cds for each node are generated fine, one warning is in the log

I have 3 Nodes

- Userdetails_Root

- Userdetails_Profilename

- Userdetails_ROLE

@5D\QWarning@ Check at least one BE key field for the BE fields in the node USERDETAILS_PROFILENAME.

Edited by: Hassan Mohsen on Jun 6, 2009 5:38 PM

Former Member
0 Kudos

No there arent any logs ...

It is nothing written.

But if i go to the Metadata and click on generate in the tab of backend adapter. It comes the failure about the structure ...

Cant activate ZDOE00000B_BCE0005_MSG . because of there are no fields defined.

regards hassan

Edited by: Hassan Mohsen on Jun 6, 2009 5:42 PM

Former Member
0 Kudos

Edit the structure that is giving the error (ZDOE00000B_BCE0005_MSG)

and give the fields as per

USERDETAILS_ROOT Type ZDOE00000B0_BCE0005_TTYP

USERDETAILS_PROFILENAME Type ZDOE00000B1_BCE0005_TTYP

USERDETAILS_ROLES Type ZDOE00000B00_BCE0005_TTYP

Now activate this manually and then try regenerating the DO.

This is the maximum we can try before going for re-installation...

Regards,

Liji

Former Member
0 Kudos

I have checked the nodes in the backend adapter.

For the node USERDETAILS_PROFILENAME are no backend fields defined.

It comes the message "No backend fields exists in this node"

Former Member
0 Kudos

If i edit this structure it comes a popup that i have to enter a .... for a developer?

? Where i can do this?

regards hassan

Former Member
0 Kudos

You are unable edit this from SE11? Hope you have the basis developer role.

Former Member
0 Kudos

I have created a new user with all roles and give him the user group developer.

I dont know but there comes the popup that i have to add a developer and i am not registered as a developer..and i have do this in the online service system.

I need a code??!?

Former Member
0 Kudos

ok..I am not aware of this information how to do get this..May be you can refer webas installation guide to see how to do this..

Regards,

Liji

Answers (0)