cancel
Showing results for 
Search instead for 
Did you mean: 

Web service not generating message in SRT_MONI

Former Member
0 Kudos

Hi Experts,

I am facing issue while consuming web-service hosted by SAP-MDG in SAP-ECC.

Below are the steps we followed:

Activated the web-service in SOAManager (in MDG) by creating an Binding and generated WSDL link.

Created a Proxy in ECC using the WSDL generated by web-service.

Created an Logical Port in SOAManager(in ECC)

Also did the below configurations:

Activated the SPRO setting for Point-To-Point Communication

bgRFC Configuration in SRT_ADMIN

activated the Business Function FND_SOA_REUSE_1

In the code I instantiated the object with by providing the logical port, and called the web service method as shown below:

SELECT SINGLE default_lp_name FROM srt_cfg_def_asgn INTO lv_port_name

                                 WHERE proxy_class = 'ZMDM_I38CO_BUSINESS_PARTNER_S1'.

   TRY.

       CREATE OBJECT lcl_proxy

         EXPORTING

           logical_port_name = lv_port_name. "give name

     CATCH cx_ai_system_fault .

*    CREATE OBJECT lcl_sys_fault.

*    WRITE 😕 'error at level 1', lcl_sys_fault->errortext.

*    EXIT.

   ENDTRY.


TRY.

         CALL METHOD lcl_proxy->business_partner_suitebulk_rep

           EXPORTING

             input = ls_input.

       CATCH cx_ai_system_fault .

         lv_error_webservice = 'X'.

*        CREATE OBJECT lcl_sys_fault.

*        WRITE 😕 'error at level 2', lcl_sys_fault->errortext.

*        EXIT.

     ENDTRY.


But the web service method called above does not create any message in SRT_MONI.

An message is getting generated in smq2 insted.


Is there any other configuration that is missing, or code error?


Not getting any dump in ST22, nor exception in class methods.


PS: Reward Points if helpful

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello Jimit,

I guess you should use trigger commit work to send proxy to PI.

Former Member
0 Kudos

hi raghu,

I have written an explicit 'commit work' statement after the method call as it is an asynchronous call.

Former Member
0 Kudos

Are you able to find the message in SXI_MONITOR ? If so, the port activation in SOAMANAGER is not successful.

Check for any errors in SRT_UTILS.