cancel
Showing results for 
Search instead for 
Did you mean: 

Dump when creating sales transaction in sap crm mobile sales

Former Member
0 Kudos

Hi Experts,

I am having dump on CRM system when creating any sales transactions from IPAD. The data is not synchronized between Mobile APP and CRM system.

Here you see the Method GET_RFC is not present in code in include “/MSA/LTA_INTU11. We are getting queue sysfail in Netweaver system with above message in program.

The dump details are attached below in document.

We are using SAP CRM Mobile sales 2.0 and 2.1 SUP ESD#1. Thanks for help it's urgent how to get rid of this.

Regards,

Varun

Accepted Solutions (0)

Answers (1)

Answers (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

It says syntax error.

Make sure systems have the latest SP and Notes.

http://scn.sap.com/docs/DOC-26601

Former Member
0 Kudos

Hi Masa,

Thanks for your reply. But the SP in both systems are very much compatible. Problem is Function Module TA_ERP_DOC_FLOW is not exists in the CRM system.

Even we have searched few notes but no notes are exists with this FM that is the reason why the data is not sync between CRM and Mobile sales.

please help on this. Thanks .

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Are you sure that the FM /MSA/TA_ERP_DOC_FLOW does not exist in the CRM system?

It means you have issue installing MOB_CRMS add-on component.

Please make sure you have installed the latest SP and notes.

http://scn.sap.com/docs/DOC-26601

Former Member
0 Kudos

Hi Masa,

We have CRM mobile sales 2.0 and SP03. Yes the problem is with above FM. It's not exist in CRM system. Can you provide me the latest Notes for MOB_CRMS addon component would be helpful for me. Thanks.

Former Member
0 Kudos

Hi Masa,

We have CRM mobile sales 2.0 and SP03. Yes the problem is with above FM. It's not exist in CRM system. Can you provide me the latest Notes for MOB_CRMS addon component would be helpful for me. Thanks.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please upload the screen shot of the SE80 screen.

Function Group: /MSA/TA_INT

Former Member
0 Kudos

Hi Masa,

Please find the attached SE80 screen shot of ECC. In CRM, It's exist but not in ECC as per below screen.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

So the FM is exists in CRM. So it is no issue.

Which system did you get dump? It seems some RFC destination setting is wrong..

Former Member
0 Kudos

Masa,

The dump is coming in CRM but FM does not exists in ECC. All the RFC destination are working fine but couldn't find any solution for this problem....plz help.

Thanks.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

/MSA/TA_ERP_DOC_FLOW must not exist in ERP because it is FM in CRM.

You have reported the /MSA/TA_ERP_DOC_FLOW does not exist in CRM. Is it still missing in CRM?

Let's go back to beginning. What is the issue?

Is it syntax error or something else?

Former Member
0 Kudos

Masa,

It's a syntax error as you check my previous dump screen shot. Plz provide any inputs on that.

Thanks.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please paste the program name and program code which has syntax error.

Former Member
0 Kudos

Hi,

Program name in which syntax error is coming /MSA/SAPLTA_INT which creates dump in CRM when creating any sales transactions.

please find attached screen shot of dump code FM which creates the problem in line 42.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

What is the FM which has the syntax error? and what is exact error message for the syntax error?

Former Member
0 Kudos

In method READ_CUST the FM /MSA/TA_READ_NOTES_CUSTOM is failing when creating activity or any sales transactions in CRM.

Error analysis in Dump is as below:

Error analysis

    The following syntax error was found in the program /MSA/SAPLTA_INT :

    "Method "GET_RFC" is unknown or PROTECTED or PRIVATE."

although FM /MSA/TA_ERP_DOC_FLOW exists in CRM but the above method GET_RFC is unknown as per above dump analysis. Please help.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Go to SE24 /MSA/CL_ERPORDERS_HANDLER and check the GET_RFC method

get_rfc     static     public

Go to SE37 /MSA/TA_ERP_DOC_FLOW and check the syntax.

1 function /msa/ta_erp_doc_flow.

34 /msa/cl_erporders_handler=>get_rfc( importing ev_rfc = ls_rfcdest-erpsys
                                      changing messages = lt_return ).

Go to SE37 /MSA/TA_ERP_SORD_CREATE and check the syntax.

1 FUNCTION /msa/ta_erp_sord_create.
86  CLEAR lt_return[].
87  CLEAR lv_crm_doc_flow.
88  CREATE OBJECT lr_cust_holder.
89  lr_cust_holder->txn_type = 'ESAL'.
90  CALL METHOD lr_cust_holder->read_cust.
91  /msa/cl_erporders_handler=>get_rfc( IMPORTING ev_rfc = ls_rfcdest-erpsys
                                      CHANGING messages = lt_return ).