Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Web service not generating message in SRT_MONI

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

Former Member
Not what you were looking for? View more on this topic or Ask a question