且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在SAPGUI的SE16事务码里直接查看类型为RAWSTRING的数据库表字段内容

更新时间:2022-03-15 09:25:12

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

在SAPGUI的SE16事务码里直接查看类型为RAWSTRING的数据库表字段内容

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

在SAPGUI的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:

在SAPGUI的SE16事务码里直接查看类型为RAWSTRING的数据库表字段内容

在SAPGUI的SE16事务码里直接查看类型为RAWSTRING的数据库表字段内容

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

在SAPGUI的SE16事务码里直接查看类型为RAWSTRING的数据库表字段内容

Set breakpoint on the three search result:

在SAPGUI的SE16事务码里直接查看类型为RAWSTRING的数据库表字段内容

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

在SAPGUI的SE16事务码里直接查看类型为RAWSTRING的数据库表字段内容

switch to XML Browser:

在SAPGUI的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.

在SAPGUI的SE16事务码里直接查看类型为RAWSTRING的数据库表字段内容