on 08-24-2010 2:35 PM
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
> DATA FAULT TYPE REF TO CX_AI_SYSTEM_FAULT .
> CREATE OBJECT FAULT.
> CATCH CX_AI_SYSTEM_FAULT into FAULT.
> WRITE 😕 FAULT->ERRORTEXT.
> ENDTRY.
Too difficult?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suraj,
usually I see that type of error when the message structure which is being filled (in your case, FS_CUST_CONVERT_MT) is not filled according to the XSD/message type definition.
Could you let us know a little bit more about the message type you're using for this interface and how you're filling these fields?
BR,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> CATCH CX_AI_SYSTEM_FAULT .
> DATA FAULT TYPE REF TO CX_AI_SYSTEM_FAULT .
> CREATE OBJECT FAULT.
> WRITE 😕 FAULT->ERRORTEXT.
I have seen this peace of code a lot here in forum.
Where did you find it?
Please tell whoever spread this code that it is wrong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.