on 06-03-2009 3:15 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
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
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
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..
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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?
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
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
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
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
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.