SAP
获取采购订单表头长文本
长文本不是直接存在某个table中,你在(me23n)可以双击该文本,然后选择菜单goto->header,查看该文本的技术信息,然后通过function module ‘read_text’,输入相关的技术信息,取得该文本。
DATA: BEGIN OF T_LINES OCCURS 50.
INCLUDE STRUCTURE TLINE.
DATA: END OF T_LINES.
DATA: BEGIN OF HTEXT.
INCLUDE STRUCTURE THEAD.
DATA: END OF HTEXT.
DATA: TNAME LIKE THEAD-TDNAME.
DATA: S_LINE(100) TYPE C.
TNAME = open_po-ebeln. ”
将采购单号码付给变量
S_LINE = ”.
CLEAR T_LINES.
REFRESH T_LINES.
*–
采购表头长文本
CALL FUNCTION ‘READ_TEXT’
EXPORTING
CLIENT = SY-MANDT
ID = ‘F01’
LANGUAGE = ‘1’
NAME = TNAME
OBJECT = ‘EKKO’
ARCHIVE_HANDLE = 0
IMPORTING
HEADER = HTEXT
TABLES
LINES = T_LINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
IF SY-SUBRC = 0.
LOOP AT T_LINES.
IF T_LINES-TDLINE NE ”.
CONCATENATE S_LINE T 香港云主机_LINES-TDLINE INTO S_LINE.
ENDIF.
ENDLOOP.
open_po-LTEXT = S_LINE.
ENDIF.
https://mp.weixin.qq.com/s/mX_V6VoZEUt09RGseGyCfA
本篇内容主要讲解“css精灵图怎么定位”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“css精灵图怎么定位”吧!精灵图利用background-image,background-repeat,background-p…
免责声明:本站发布的图片视频文字,以转载和分享为主,文章观点不代表本站立场,本站不承担相关法律责任;如果涉及侵权请联系邮箱:360163164@qq.com举报,并提供相关证据,经查实将立刻删除涉嫌侵权内容。