Reputation: 437
The standard environment is in spanish, but i need to show the error message in english.
The Variable is in the catch and is called text.
TRY.
INSERT zmxgaspayoclick FROM TABLE it_pagos.
CATCH cx_sy_open_sql_db INTO oref.
*text = oref->get_text( ).
ENDTRY.
Is there a command or something to do that?
Note: It is a WebService. Regards.
Upvotes: 1
Views: 416
Reputation: 2565
I think SET LOCALE
should work here, see SAP help. You would need to call this before the TRY
block.
Upvotes: 1