这里介绍个通过断点,去修改程序代码的值,从而强行删除Material Doc的方法;此方法比较霸道,不熟悉断点的童鞋,不建议使用:
Tcode: MBAR, MBAD
MBAR, MBAD | Archive and delete material document |
Execute the program, must make sure MAXDAY have value, and dyn_tab has value, also make sure go into program write_archive
- 先是在这个方法里:修改maxday的值,越大越好99991231也可以
2. 给dyn_sql至少塞上一个条件,比如行号:ZEILE = '0001', 才能往下进行后面的代码
After archived:
Now go to tx MBAD, to select this archive file, execute Delete