cancel
Showing results for 
Search instead for 
Did you mean: 

Finding out the calling function

Former Member
0 Kudos

Hi,

I'm working on LORD2 interface, which is calling a ERP_LORD_SET FM in ECC.

I wanted to find out which is the last calling function (FM/Method) in CRM that calling this ERP_LORD_SET?

I tried to put an external break point at ERP_LORD_SET but i find nothing in CRM's trx SM50.

Please provide some hints for me.

Thanks.

cheers,

tek siong

Accepted Solutions (1)

Accepted Solutions (1)

kakshat
Advisor
Advisor
0 Kudos

Hi Julius,

You can also do an RFC trace (transaction ST01).

Regards,

Akshat

Answers (2)

Answers (2)

former_member182379
Contributor
0 Kudos

Hi,

  The RFC of ECC called from CRM for ERP_Quotation using the class

CL_CRM_INTLAY_LORD1_ERPIL

CL_CRM_INTLAY_ERPIL

You can check the methods of this class which calls the ECC RFC, in different method of this class it calls different RFC of ECC , like

  SLS_LORD_MAINTAIN_START,

   SLS_LORD_MAINTAIN_EXIT,

  SLS_LORD_GET_HEAD_DETAIL

Regards,

Zafar

nicolas_busson
Active Contributor
0 Kudos

Hi Julius,

One very simple way to find the lines of coding responsible for the RFC call, is to set a breakpoint on statement "CALL FUNCTION DESTINATION" in the debugger on CRM.

Cheers,

Nicolas.