Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Outbound Proxy Problem in SAP ECC

former_member201987
Participant
0 Likes
587

Hello Experts,

We are sending Customer data via Proxy from ECC system. Below is the code snippet that we are using. The data is fetched successfully and can be viewed while exporting. But then the in CATCH statement an error is encountered. We are unable to solve this. The error is as ""

TRY.

FS_CUST_CONVERT_MT-MT_OB_CUSTOMER_CONVERSION-Customer_Details = T_CUST_CONVERT.

CALL METHOD PRXY->SI_OB_CUSTOMER_CONVERSION

EXPORTING

OUTPUT = FS_CUST_CONVERT_MT.

COMMIT WORK.

CATCH CX_AI_SYSTEM_FAULT .

DATA FAULT TYPE REF TO CX_AI_SYSTEM_FAULT .

CREATE OBJECT FAULT.

WRITE 😕 FAULT->ERRORTEXT.

ENDTRY.

ENDIF.

Please Help!

Thanks in Advance,

~ Suraj

4 REPLIES 4
Read only

Former Member
0 Likes
539

Hello Suraj!

I recommend to get the error message declaring the variables :

DATA :
vl_sys_exc TYPE REF TO cx_ai_system_fault,
vl_exception_msg type string.

And using this lines to catch the exeption :

catch cx_ai_system_fault into vl_sys_exc.
endtry.
vl_exception_msg = vl_sys_exc->get_text( ).
write vl_exception_msg.

Then tell us the error message contained in the variable vl_exception_msg.

Best Regards.

Claudio (Aparatey)

Read only

0 Likes
539

Hello Claudio,

Now we are getting another error:

"An error occurred when determining the business system (SLD_API_EXCEPTION)"

Please help!

Thanks,

Suraj

Read only

0 Likes
539

Hi,

The SLDCHECK is not working. Probably that might be the reason for the above error. Will update after testing as soon as SLDCHECK is up.

Thanks,

Suraj

Read only

former_member201987
Participant
0 Likes
539

Once the SLDCHECK started working the problem got solved.