on 2011 Mar 01 1:46 PM
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 ?
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 .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
67 | |
11 | |
10 | |
10 | |
9 | |
9 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.