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.

  • 相关阅读:
    FFmpeg简单使用:解封装 ---- 基本流程
    SDL播放PCM音频数据
    JDK8时间新API-2
    RocketMq延时队列的实现原理
    Kibana复杂查询语句
    Es基础api
    Redis sscan命令
    如何实现分布式的延时队列
    客户端从broker拉取的messagequeue的样子
    RocketMq多个consumerQueue长什么样子
  • 原文地址:https://www.cnblogs.com/wdfrog/p/2795718.html
Copyright © 2011-2022 走看看