SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

triggering of interfaces from tcode

Former Member
0 Kudos
607

hi Guys

In Ami integration of ECC with PI, the standard interfaces are triggered by Tcodes for eg when we go to IQ01 than Interface "createsmartmeter_out" is automatically triggered  through PI.Now in source code of the TCODE  IQ01 where can I see this triggering point .and which interfaces this TCODE is going to trigger.

2 REPLIES 2

Former Member
0 Kudos
310

Hi Pankaj,

You can use below piece of standard code to understand from where these standard AMI enterprise service for create device single through IQ01 is getting executed

Class :CL_DEF_IM_ISU_AMI_DEVICE_MDE

Method : IF_EX_BADI_ISU_AMI_DEVICE_MDE~DEVICE_SM_CRT_RQ_OUT (for Interface proxy trigger)

You can follow the below steps,

Step 1: Put the break point in the above method

Step 2: Select Smart capability Device Category (i.e. AMI data tab from device category is configured)

Step 3: create device using IQ01

Step 4: execute the steps using debug (as the break point is set in step 1)

Step 5: Looks for the message in SXMB_MONI (with outbound interface as "UtilitiesDeviceERPSmartMeterCreateRequest_Out")

Thanks,

Mohammad.Q

Former Member
0 Kudos
310

Hi Pankaj,

In addition to what Mohammad Q suggested above, it would also be worth to have a look at the class "CL_ISU_AMI_DEVICE_MDE_MANAGER, perhaps, that may give you a better picture.

Regards,

Asif