SAP ABAP实用技巧介绍系列之Debug XSLT transformation

163 阅读1分钟

Created by Jerry Wang, last modified on Jun 06, 2014

  1. 使用tcode STRANS打开待debug的transformation, 点击Debugging button:
    clipboard1
  2. 在source file Path处load source xml file,点button “View HTML”:
    clipboard2
  3. 点Breakpoint button创建新的断点。断点所在的line number可在右边editor下方找到:
    clipboard3
    断点设置完成:
    clipboard4
  4. 使用F5单步执行.

当前执行到的code会用不同颜色在右边标识出来。每一步执行之后再Result tab处能看到最新的html source code:
clipboard8
clipboard9

clipboard5
clipboard6
clipboard7