• SAP 销售订单的文本项目


    http://blog.itpub.net/9859323/viewspace-616508/

    ls_hdname = wa_vbak-vbeln .
        CALL FUNCTION 'READ_TEXT'
          EXPORTING
            client                  = sy-mandt
            id                      '0001'
            language                '1'
            name                    = ls_hdname
            object                  'VBBK'
    *       ARCHIVE_HANDLE          = 0
    *       LOCAL_CAT               = ' '
    *     IMPORTING
    *       HEADER                  =
          TABLES
            lines                   = lt_lines
          EXCEPTIONS
            id                      1
            language                2
            name                    3
            not_found               4
            object                  5
            reference_check         6
            wrong_access_to_archive 7
            OTHERS                  8.

    如果是要用ABAP代码创建文本用函数CREATE_TEXT,修改文本用SAVE_TEXT

    贴上用过的几个代码:

    创建抬头文本
    call function ‘CREATE_TEXT’
        exporting
          fid       = ‘0001′
          flanguage = ‘1′
          fname     = s_deliv_numb
          fobject   = ‘VBBK’
        tables
          flines    = it_texts.

      refresh it_texts.

    创建行项目文本
    call function ‘CREATE_TEXT’
          exporting
            fid       = wa_thead-tdid
            flanguage = ‘1′
            fname     = wa_thead-tdname
            fobject   = ‘VBBP’
          tables
            flines    = it_texts.

  • 相关阅读:
    python主要探索函数
    数据分析分析方法
    监控hadoop任务结果shell脚本
    shell编程
    hadoop介绍
    数据探索
    Python数据分析简介
    数据挖掘基础篇之整体思路
    sqlAlchemy
    python md5 加密
  • 原文地址:https://www.cnblogs.com/eagle-dtq/p/5347681.html
Copyright © 2020-2023  润新知