cancel
Showing results for 
Search instead for 
Did you mean: 

Backend Search Functionality in ESDMA - need more information

Former Member
0 Kudos

I need more information about Backend Search Functionality in ESDMA. Like examples of BAPi implementation, returns types and limitations.

I read the post (Backend Search Functionality in ESDMA Tool

- /people/gopal.jee/blog/2010/12/09/backend-search-functionality-in-esdma-tool), but I need more explanation about the constrution of function module and how invoke in client mobile.

Anybody can help me ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I created a backendsearch function and configurated the sdoe_param.

But when try syncronized occurs the error.

Error in the ABAP application program.

Syntax error in program "SDOE_CL_RT_NM7_0T=============CP "

The current ABAP program "SAPLSDOE_ESDMA_APIS" had to be interrupted because it

contains

a statement that cannot be executed.

In the include "SDOE_CL_RT_NM7_0T=============CM00N " in the line 164 of

program "SDOE_CL_RT_NM7_0T=============CP " the following syntax

errors occur:

""parameter = field" expected after "CHANGING""

" "

" "

" "

Author and last person to change the include are:

Author "PROEN "

Last changer "SAP "

The error is because de automatic generation not created correct the method BE_SEARCH. The automatic generation forgot to put the parameter name (e_return type bapiret2) in the call of method MAP_TO_MBO.

CALL METHOD ZDOECL_009_001_0_BW=>MAP_TO_MBO EXPORTING

ROOT = tbl_1_2

IMPORTING

MBO_MESSAGE_BODY = mbo_msg_body

CHANGING .

sivasatyaprasad_yerra
Active Contributor
0 Kudos

Are you using SP02 of Gateway 1.1 of SAP Netweaver Mobile?

If yes, then please change the return parameter name in BAPI to RETURN.

And then generate the ESDMA again.

Answers (1)

Answers (1)

sivasatyaprasad_yerra
Active Contributor
0 Kudos

If you have installed Gateway then you check the Search BAPI's mentioned in ESDMA: MAS_SMARTPHONE_SALES_V00 - V9G001.

In Short:

BAPI should defined as follows:

1. It can have any number of IMPORTING parameters

2. It should have 2 TABLES Parameters.

- One which return the root node records for the object

- Other which returns messages of type BAPIRET2.

After the you can refer this BAPI in the ESDMA. Before activating the ESDMA, you should provide the RFC destination in SDOE_PARAM transaction for BE_SEARCH_RFC parameter in DOE_CONNECTOR.

Here Validity area will be: ESDMA Trans

Sub-validity area should be left out blank

Text value should be RFC destination to the backend system.

After that you can activate the ESDMA.

Will update about how to invoke from client tomorrow. In the mean time you can perform above mentioned steps.

Regards,

Siva.