Skip to Content
1
Jun 17, 2020 at 01:06 PM

BADI CTS_IMPORT_FEEDBACK, method: FEEDBACK_AFTER_IMPORT. Calling External Web Service

377 Views

Hello everyone, I encountered the following problem in invoking an external web service in the BADI method FEEDBACK_AFTER_IMPORT, this method is triggered upon the import of a TR from one environment to another, in particular for our needs when importing a TR into PROD.

In the body of the method a Proxy object is instantiated, in the constructor of the same the LOGICAL PORT is passed as a parameter. By manually testing the method (DEV, Client 100), the method works, so, the service is invoked correctly.

By testing it instead by making an import of the TR in TEST the method is invoked, however an exception is caught when the Proxy object is instantiated, the exception is: LOGICAL PORT NOT DEFINED.

Investigating it appears that the import of a TR is made by a JOB (RDDFDBCK), which calls the Report RDDFDBCK, which is performed by the DDIC user in Client 000.

The problem, making a debug check, with high probability, is that in Client 000 the logical port for the Service Consumer via SOAMANAGER is not defined. Consequently, the above exception is generated.

How can I solve the problem, without having to define the relative logic port for the Proxy Consumer in the Client 000?

Thanks