cancel
Showing results for 
Search instead for 
Did you mean: 

Need Additional Configuration Parameter for Smart Sync.

Former Member
0 Kudos

Hello All,

I am trying to <b>Synchronize SAP MI Client With Server</b>

But i come to know that we need some <b>Addintional parameter to add and Set</b> there values in<b> MobileEngine-Config File</b> in <b>C:\Program Files\SAP Mobile Infrastructure\settings\MobileEngine.config file.</b>

current field it has.......................................

#Thu Nov 09 16:48:09 IST 2006

MobileEngine.Sync.Gateway.Host=172.23.68.122

MobileEngine.Sync.Language=EN

Runtime=tomcat

MobileEngine.Sync.Client=100

MobileEngine.Sync.Gateway.Protocol=http

MobileEngine.Sync.LastSuccessfulSync=1163071089653

MobileEngine.Sync.Proxyport=

MobileEngine.Sync.Timezone=Asia/Calcutta

MobileEngine.Sync.Gateway.Port=50000

MobileEngine.Sync.Gateway.System=00

Init.UsingTomcatDirs=true

MobileEngine.Sync.Gateway=http\://172.23.68.122\:50000/meSync/servlet/meSync?~sysid\=00&

MobileEngine.Sync.Proxyhost=

Please suggest me on this Issue.

Thanks & Regards,

Venu gopal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hello venu,

i think you have incorrect value for MobileEngine.Sync.Gateway.System

>MobileEngine.Sync.Gateway.System=00

MobileEngine.Sync.Gateway.System should be the system ID of your SAP server.

e.g. QSC, U6D

the 00 value which you specified, i assume that you entered it for the SAP instance

number? this instance number must be configured in the props file of your gateway

server together with the hostname of your MI server.

regards

jo

Former Member
0 Kudos

Thanks Jo,

Now i got a device id ,

But how to get application on to Mobile Client.

>we are trying to Run Sample Example1 project from MDK 2.5.

We created an MCD Named MDK_CONFIGEXAMPLEJSP ,

and exported MDK_CONFIGEXAMPLEJSP.war file to mcd, and the Aplication Name is also same as mcd MDK_CONFIGEXAMPLEJSP.

to <b>retain Application name == MCD name==War file</b>

> After i allocated an mcd <b>MDK_CONFIGEXAMPLEJSP</b> , with status <b>Deployed Successfully Completed</b> with <b>device id</b> Execute to user in webconsole

the Following message at MI Client is,

<b>Synchronization completed

No applications are installed yet on your device. Choose 'Synchronize' to install your applications.

</b>

Is we need to Create An SyncBo to run a Sample Example1 Project?

Tell Some steps to Execute it.

please help me on this issue.........

Thanks and Regards,

Venu

Former Member
0 Kudos

Hi Venu

For running MDK_CONFIGEXAMPLEJSP you dont need a syncbo this application only access the local MI client configuration data.

please check the deployment in the webconsol

Steps

1) check if the war file is uploaded to the webconsole correctly

2) check if the application is assigned to the correct device id

Thanks

Gopi

Former Member
0 Kudos

Hi jo ,

i am trying to create Synbo for my smart sync application,

i followed the step given in MDK for <b>Developing a simple Smart Sync Application</b>

step are follows....................

1. Understand the business scenario

2. <b>Define a simple SyncBO, generate and enable it</b>

3. Create a Mobile Solution Descriptor that references the SyncBO

4. Download the application's meta-data XML file

5. Generate the client application using the Smart Sync Wizard in the MDK Plug-In for Eclipse

6. Upload the generated application to the Web Console

7. Assign the application to your user in the Web Console

8. Synchronize your device to download the application

9. Launch the application

10. Generating demo data

11. Running the Replicator

12. Synchronization to receive the application's data

13. Using the application

14. Monitoring the data flow via the Smart Sync Monitor

in Step 2 ,

<b>Define a simple SyncBO, generate and enable it</b>

1. i defined syncbo,

2.generate,

3.but when i check , enable option in <b>Merep_pd->synchronization</b>

my syncbo object is <b>disable</b> , it is Yellow in colour for some reason.

Can you Help me out on this issue.......................................

thanks and Regards,

Venu gopal

Former Member
0 Kudos

Hi Venu

You have to run the replicator for the syncbo and then enable it.

you can do this with the transaction MEREP_EX_REPLIC .

Thanks

Gopi

Former Member
0 Kudos

Hi Venu,

Additional to the above post:

1) You can replicate a syncbo by using the transaction

MEREP_PD

2) And click the synchronizer tab and select the syncbo which you want to replicate and then press replication button. then confirmation popup will appear.

3) Then go to edit mode and then enable the syncbo.

Thanks & Regards,

Karthick

Former Member
0 Kudos

hi karthick,

When i selected my SYNCBO in Merep_pd->synchronize->synbo->sected a line

then -> execute replicator i have stuck with <b>runtime error</b>

the error is as follows.................................

<b>Runtime Errors GETWA_NOT_ASSIGNED

Date and Time 17.11.2006 17:33:20

ShrtText

Field symbol has not yet been assigned.

What happened?

Error in ABAP application program.

The current ABAP program "SAPLZ_MEREP_GEN_D01_ZCNW_EXM01" had to be terminated

because one of the

statements could not be executed.

This is probably due to an error in the ABAP program.

Error analysis

You attempted to access an unassigned field symbol

(data segment 32772).

This error may occur for any of the following reasons:

- You address a typed field symbol before it is set using ASSIGN

- You address a field symbol that points to a line in an internal table

that has been deleted

- You address a field symbol that had previously been reset using

UNASSIGN, or that pointed to a local field that no longer exists

- You address a global function interface parameter, even

though the relevant function module is not active,

that is it is not in the list of active calls. You can get the list

of active calls from the this short dump.

Trigger Location of Runtime Error

Program SAPLZ_MEREP_GEN_D01_ZCNW_EXM01

Include LZ_MEREP_GEN_D01_ZCNW_EXM01U01

Row 522

Module type (FUNCTION)

Module Name Z_MEREP_GEN_D01_____ZCNW_EXM01

Source Code Extract

Line SourceCde

492 *</>

493 * Exit: End----


*

494

495 * Generated source code: Start----


*

496 * - BAPI wrapper call: Read List

497 *<D:004030>

498 * Code generated by FUNC : MEREP_SCG_141100

499 * Code generated by FUNC : MEREP_SCG_141200

500 * Code generated by FUNC : MEREP_SCG_140210

501 CLEAR:

502 LDS_HE__RETURN,

503 LDF_HI__SPRAS,

504 LDT_H___COUNTRYT[].

505 * Exit: Start__________________________________________________________*

506 *<X:411000> - BAPI Wrapper for Read List: After initialization

507 *</>

508 * Exit: End____________________________________________________________*

509

510 *

511 CALL FUNCTION 'MEREP_DEFAULTVALUE_GET'

512 EXPORTING

513 VALUEID = 'LANG'

514 IMPORTING

515 PARAVALUE = LDF_PARAVALUE

516 TABLES

517 I_VALUE = LDC_SYNC_GENERIC-DVALUE.

518 IF LDF_PARAVALUE(1) = ''''.

519 REMOVE_QUOTE LDF_PARAVALUE LDF_HI__SPRAS .

520 ELSE .

521 ASSIGN (LDF_PARAVALUE) TO <L_DEFAULT>.

>>> LDF_HI__SPRAS = <L_DEFAULT>.

523 ENDIF .

524 * Exit: Start__________________________________________________________*

525 *<X:412000> - BAPI Wrapper for Read List: After moving header

526 *</>

527 * Exit: End____________________________________________________________*

528 LOG_HANDLING GCS_SEV-NOTICE

529 GCF_MSGID_RUNTIME

530 GCS_01_CODES-BEFORE_SMAPI_READ_LIST

531 SPACE SPACE SPACE SPACE

532 GCS_LOCATION-L000000.

533 * Exit: Start__________________________________________________________*

534 *<X:415000> - BAPI Wrapper for Read List: Before call

535 *</>

536 * Exit: End____________________________________________________________*

537 * Code generated by FUNC : MEREP_SCG_140310

538 * Code generated by FUNC : MEREP_SCG_140300

539 CALL FUNCTION 'MEREP_COUNTRY_GETLIST'

540 DESTINATION LDC_SYNC_GENERIC-RFCDEST

541 EXPORTING</b>

so please help on this issue...................

thanks and Regards,

Venu

Former Member
0 Kudos

Hi Venu,

1) I hope your GETLIST BAPI is fine ?

2) Did you assign any default value to your syncbo? If YES you need to give some value to the default value.(Go to merep_sbuilder->give syncbo name->goto Environment tab-?default values->edit it and give some value to it ex:'10')

3) Did you fill the backend table with proper records..means data types have been maintained?

Kindly check these.

Cheers,

Karthick

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Venu,

Most parameters have default values.

But some don't like MobileEngine.Sync.Client

MobileEngine.Sync.Gateway

Could you tell me if your sync is working?

If its not working, could you see the trace file to check the cause of the problem?

Thanks,

Karthik