cancel
Showing results for 
Search instead for 
Did you mean: 

Where is the log in JSP MI client?

Former Member
0 Kudos

Hi,

I had followed the<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eba3a7-0601-0010-b982-92f1fca3258a">SmartSync Inventory Example</a>. For ABAP prerequisites, there is a message class MDK_EXAMPLES which will give the error message for some defined errors.

Where can i find the error messages log if those errors happened?

- julius

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Julius,

what 'errors' are you refferring to, are you talking about the Sync log ?

Rgds

Divya

Former Member
0 Kudos

Hi Divya,

I'm refering to the MDK_EXAMPLES class in <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/mobile/mobile%20infrastructure/mobile%20development%20kit%202.5/content/appdev/smartsync/example1_prerequisites/example_inventory_prerequisites_abap.html">here</a>. Eg,

000 No Inventory Exists (table MDK_INVENTORY is empty)

001 Product &1 doesnt exist

....So on....

Where to look for this error log if any of the 000, 001 etc happened ?

- julius

Former Member
0 Kudos

hey juilius hold on....

These are not any type of eror messages that you wil get/ are getting....

Let me explain what is in the Example

1. To build a SmartSync(SS) example you will be needing a workaround on ABAP workbech... that is what is mentioned here.

2. the first pic, #1 the the table that is used int this example. if you are using this example then, you create a table with his attirbutes & data. <b>you do it by SE11</b>

3.then #2 is the BAPI wrappers you need to have in your BE system, the source code is provided here. <b>you do i t by transaction SE37</b>

4. then this pic #3 is a message class. it is a Messages(structure ) that allows you to communicate with users from your programs.They are mostly used for error handling during processing of other user dialogs.

Suppose if there is any error that can be expected in you application you can create this structure . <b>you do i t by transaction SE91</b>

refer this http://help.sap.com/saphelp_nw04/helpdata/en/cd/5892c9b06311d2957b00a0c94260a5/frameset.htm

5. #4 for SyncBO. you can create you own syncBo if you have have the BAPI wrappers & tables in ur Backend. Message classes(#3) is not mandatory, it will increase the readability & presentation.

Hope it is clear now.

Regards

Divya

Former Member
0 Kudos

Hi Divya,

As far as i know, from the ABAP coding, this message class will only be visible to the user if it's in dialog, but then since now it's been called during syncronization at the background, so that message (if any) in RETURN is no where to be seen (correct me if i'm wrong).

I'm curious about this message issue is because i wanted to apply it in my new MI client application, to have a better trace if something goes wrong. At this moment, my MI client application has no way to know what's the rootcause of any failure.

Thanks.

- julius

rajan_venkatachalam
Participant
0 Kudos

Hi Julius,

The Message class contains information which will be sent to the client for handling data.

If you want to see the Messages then you can go to this transaction MEREP_LOG and give either Mobile Id or SyncBo ID and select message type you wish by clicking F4 help and execute it.

You can see the message information.

Thanks and Regards,

Rajan

Answers (0)