zoukankan      html  css  js  c++  java
  • ABAPNOTE 获取释放的定单

      loop at gt_print.

    ************
    *    *****  添加检查订单状态  ,非REL状态删除******

        databegin of order_objects occurs 50.
                include structure bapi_pp_order_objects.
        dataend of order_objects.

        databegin of header occurs 50.
                include structure bapi_order_header1.
        dataend of header.


    *===============================
        order_objects-header 'X'.
        call function 'BAPI_PRODORD_GET_DETAIL'
          exporting
            number        gt_print-aufnr
            order_objects order_objects
          tables
            header        header.
        loop at header.
        endloop.
        search header-system_status for 'REL'.
        if sy-subrc 4.

          delete gt_print where aufnr gt_print-aufnr .

        endif.

        search header-system_status for '删除'.
        if sy-subrc 0.
          delete gt_print where aufnr gt_print-aufnr .
        endif.



    *******END

      endloop.

  • 相关阅读:
    第三章 系统总线
    人工神经网络及其应用
    专家系统
    遗传算法
    搜索算法策略
    js判断有无属性及新添属性
    vue 文件插件 Vetur 设置说明官网
    vue 获得当前无素并做相应处理
    VUE style 绑定
    vue入门基础知识点测试
  • 原文地址:https://www.cnblogs.com/wdfrog/p/2795718.html
Copyright © 2011-2022 走看看