ABAP Debug standard table

ABAP Debug standard table

 

一. Modify SAP standard table, not customizing table Steps:
1. se16- input the table

2.The output format for the list must be "SE16 standard list' ,you can set the parameters from menu 'setting'.

3.Input '/H', then click the 'EXECUTE' button.

4.It will be Debug window. From menu 'Breakingpoint-->Breaking at->statement', input 'set-pf-status' to set the break point.

5. Press F8. when it get the statement : set pf-status 'TAB_LIS4' excluding excl_tab.then double click the internal table excl_tab, delete the list from the excl_tab.
ANL2 -----Create / AEN2  ----Change /DEL2--Delete
DEL5-Delete All

6. Press F8, This time you have the "create" and 'Change' authorization'. select  the line you want to change, click the 'change 'button from menu list .
but for standard table, the check box of "Table maintenance allowed" is space. so you must set again the breaking point-From menu 'Breakingpoint-->Breaking at->statement', input 'import ' to set the break point.

7. Press F8, it will stop at this satement:import dd02l-mainflag from memory id mem_id.,Press F5 and then can see the value of dd02l-mainflag is spaceyou need to change the field value  to 'X'.
then you can change the value of the record now.


二.Change the customizing table
In General , checkbox of table maintenance allowed for customizing table  will be selected. so now you only execute the above step from 1 to 6 step.
 


引用通告地址:http://www.folo.cn/tb.asp?id=63048  
posted @ 2012-02-28 21:59  VerySky  阅读(873)  评论(0)    收藏  举报