标签:
*&---------------------------------------------------------------------*
*& Report ZSDR005
*&
*&---------------------------------------------------------------------*
*&程序名称:直营平台-
*&事物代码:ZSD025
*&导入模板:直接下载
*&作者:
*&时间:2016/2/29
*&---------------------------------------------------------------------*
REPORT ZSDR046 MESSAGE-ID 00.
TYPE-POOLS:OLE2,SLIS,ICON.
FIELD-SYMBOLS: <FS>.
TABLES: SSCRFIELDS,ZTSD008,ZTSD009,MCHB.
TYPES: BEGIN OF TY_OUTPUT,
SEL TYPE C,
BATNO TYPE ZTSD008-BATNO, "批导序号
BATPO TYPE ZTSD009-BATPO, "验单批导序号
VERNO TYPE ZTSD010-VERNO, "版本号
ZDATE TYPE ZTSD008-ZDATE, "导入日期
INDAT TYPE ZTSD009-INDAT, "验单日期
LFDAT TYPE LIKP-LFDAT, "实际交货日期
* KUNNR TYPE KUNNR, "客户号
* NAME1 TYPE KNA1-NAME1, "客户名称
ZSJ TYPE KUNNR, "司机
ZR TYPE CHAR30, "主任
ZYWY TYPE CHAR30, "业务员
NAME2 TYPE KNA1-NAME1, "司机名称
* KUNNR1 TYPE KUNNR, "司机系统
* NAME2 TYPE KNA1-NAME1, "司机系统名称
MATNR TYPE ZTSD009-MATNR, "物料号
MAKTX TYPE MAKT-MAKTX, "物料描述
MENGE TYPE ZTSD009-MENGE, "验单数量
MEINS TYPE MEINS, "数量单位
* CHARG TYPE CHARG_D, "批次
ZYDJG TYPE ZTSD009-ZYDJG, "验单价格
ZYDJE TYPE ZTSD009-ZYDJE, "合计金额
ZYDDH TYPE ZTSD009-ZYDDH, "验单单号
SO TYPE ZTSD009-VBELN, "SO
DN TYPE VBELN_VL, "DN
ZICON1 TYPE CHAR4, "导入状态
VKBUR TYPE VKBUR, "销售部门
VKORG TYPE VKORG,
LGORT TYPE LGORT_D,
RESLO TYPE RESLO, "发货库存地
SHPTO TYPE KUNNR, "送达方
NAME_HP TYPE NAME1, "送达方名称
SLDTO TYPE KUNNR, "售达方
NAME_LD TYPE NAME1, "售达方名称
CELLCOLOR TYPE LVC_T_SCOL, "控制单元格颜色
STYLE TYPE LVC_T_STYL, "控制单元格可否编辑
MSSG TYPE BAPI_MSG, "消息内容
ZFREE TYPE C,
BEIZHU TYPE CHAR255, "备注
ZUSER TYPE ZTSD008-ZUSER,
WBSTK TYPE VBUK-WBSTK, "货物移动状态
FKSTK TYPE VBUK-FKSTK, "开票状态
END OF TY_OUTPUT.
TYPES: BEGIN OF TY_LOAD,
INDAT TYPE ZTSD009-INDAT, "验单日期
LFDAT TYPE LIKP-LFDAT, "交货日期
* KUNNR TYPE KUNNR,
* BLANK TYPE C, "占位
SLDTO TYPE KUNNR, "售达方
* BLANK1 TYPE C, "占位
SHPTO TYPE KUNNR, "送达方
* BLANK2 TYPE C, "占位
ZYDDH TYPE ZTSD009-ZYDDH, "验单单号
ZSJ TYPE KUNNR, "司机
* BLANK5 TYPE C, "占位
ZR TYPE CHAR30, "主任
ZYWY TYPE CHAR30, "业务员
VKBUR TYPE VKBUR, "销售部门
* BLANK3 TYPE C, "占位
BEIZHU TYPE CHAR255, "备注
MEINS TYPE MEINS, "数量单位
MATNR TYPE ZTSD009-MATNR,
MENGE TYPE MENGE_D, "验单数量
ZYDJG TYPE ZTSD009-ZYDJG, "验单价格
ZYDJE TYPE ZTSD009-ZYDJE, "验单金额
* BLANK4 TYPE C, "
END OF TY_LOAD.
TYPES: BEGIN OF TY_SODATA,
ZYDDH TYPE ZTSD009-ZYDDH, "验单单号
INDAT TYPE ZTSD009-INDAT,
LFDAT TYPE LIKP-LFDAT,
* KUNNR TYPE KNA1-KUNNR,
SHPTO TYPE KUNNR