事物代码VOFM ---->数据传输---->交货--->创建例程编号901,然后双击该行项目,把例程编号1的代码复制过去,进行一些修改就可以了。
SPRO-->后勤执行--->装运--->复制控制---->为交货指定复制控制--->选择相应行(ZLF1 HTW外向交货 ZSF1 HTW Forecast订单),然后双击该行--->在数据传输里修改抬头数据为901
901代码如下:
*{ INSERT DEVK901531 1
*---------------------------------------------------------------------*
* FORM - Routine for data transfer of order header data *
*---------------------------------------------------------------------*
*For Delivery Note Split Error by SD10 2013.07.01
*Copy from 001
*} INSERT
FORM DATEN_KOPIEREN_901.
*{ INSERT DEVK901531 1
likp-vkorg = cvbak-vkorg.
likp-autlf = cvbak-autlf.
likp-vsbed = cvbak-vsbed.
likp-fkarv = tvak-fkarv.
likp-tragr = maapv-tragr.
* Fill field ZUKRL with combination criteria
likp-zukrl(2) = cvbak-vtweg.
likp-zukrl+2(2</