‎2010 Jun 06 3:41 PM
Using Tcode:SAAB,I create a Checkpoint Group:ZTEST.
In the Activation tab,I made the following settings for ZTEST.
[Breakpoints: Break
Logpoints: Log
Assertions(Foreground):Log
Background Processing:Log]
In a Report program,I wrote the following code:
[
REPORT z_1.
DATA: TEST TYPE char13 VALUE '123'.
ASSERT ID ZTEST SUBKEY 'init'
FIELDS TEST
CONDITION 1 NE 1 .
]
I executed the program, and then found the log of ZTEST in the Log tab by TCode:SAAB.
It was weird.when I used [Display Details] menu to view the variable ZTEST's content,the SAP
system showed a short dump.The following infomation is something about the short dump.
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
|
Edited by: Rob Burbank on Jun 6, 2010 4:36 PM
‎2014 May 29 5:16 PM
Hello Wenyao Ma,
did you found the solution to this problem?
I am having the same dump and I can't find any clue on it.
Thanks
Sérgio Fraga
‎2014 May 30 12:34 PM
‎2014 May 30 2:22 PM
Hello Manasa,
Thanks for your sugggestion but I did a debug in the method convert_xstr2cstr of class CL_RTM_SERVICES where the dump is beeing raised and I discovered that my problem is related with the server_codepage. I don't know how the system is calculating this, but in my HR enviorment the dump does not happen since the following code is not executed (in HR server_codepage EQ codepage).
IF server_codepage NE codepage AND codepage IS NOT INITIAL.
TRY.
cp_converter = cl_abap_conv_x2x_ce=>create( in_encoding = codepage
out_encoding = server_codepage
input = xstr ).
cp_converter->convert_c( n = len ).
xstring = cp_converter->get_out_buffer( ).
CATCH cx_root. "#EC CATCH_ALL
xstring = xstr.
ENDTRY.
ELSE.
xstring = xstr.
ENDIF.
I need to find what is the server_codepage and how it is calculated.
Anyway, thanks!
Sérgio Fraga