天天看点

使用ABAP SE16查看类型为RAWSTRING的数据库列字段值

Sometimes you would like to view the content of field with RAWSTRING type for a table:

使用ABAP SE16查看类型为RAWSTRING的数据库列字段值

The raw string represents the configuration with XML format however the correct format could not be viewed in SE16 directly.

使用ABAP SE16查看类型为RAWSTRING的数据库列字段值

In fact, the dynpro in the screenshot above is implemented by a program which is automatically generated by framework. You could find its name via System->Status:

使用ABAP SE16查看类型为RAWSTRING的数据库列字段值
使用ABAP SE16查看类型为RAWSTRING的数据库列字段值

execute report RS_ABAP_SOURCE_SCAN with search key = select * from BSPC_DL_PERSSTOR, search program = /1BCDWB/DBBSPC_DL_PERSSTOR.

使用ABAP SE16查看类型为RAWSTRING的数据库列字段值

Set breakpoint on the three search result:

使用ABAP SE16查看类型为RAWSTRING的数据库列字段值

relaunch SE16 and access the table, one of the breakpoint is triggered:

使用ABAP SE16查看类型为RAWSTRING的数据库列字段值

switch to XML Browser:

使用ABAP SE16查看类型为RAWSTRING的数据库列字段值

then you can see XML detail in debugger. With such tip it is not necessary to write any report to select the xml data out of the database table.

使用ABAP SE16查看类型为RAWSTRING的数据库列字段值