cancel
Showing results for 
Search instead for 
Did you mean: 

generic sync error : Method not registered

Former Member
0 Kudos

Hi,

I wrote a generic sync application to create a sales order in R3 backend. I created a BAPI WRAPPER in the backend R3 and created table entries in BWAFMAPP (METHOD : MOBILE_SALESORDERCREATE and FUNCTION : ME_BAPI_SALESORDER_CREATEFROMD)and in MEMAPPDEST (METHOD : MOBILE_SALESORDERCREATE)

Now I tried to run this application and I get exception :

<b>Method MOBILE_SALESORDERCREATE is not registered</b>

Is anyone facing similar problem?

Any kind of help will be useful...

Thanks in advance.

Nakul

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

Create a java class that implements InboundProcessor and on your MI Project class register the method using this statement.

InboundProcessing ip = new InboundProcessing();
		InboundProcessorRegistry.getInstance().register(ip);

<b>Class implementing Inbound Processing</b>


public String getMethodName() {
//METHOD contains your method name = MOBILE_SALESORDERCREATE
		return Constants.METHOD;
	}

public void process(InboundContainer inbound) {
//your code
}

Pls go thro the sample tutorial apps that come with MDK. You will find similar code like you saw the one above.

Regards

~Arun

Answers (0)