Chinaunix首页 | 论坛 | 博客
  • 博客访问: 506591
  • 博文数量: 199
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1902
  • 用 户 组: 普通用户
  • 注册时间: 2020-05-14 13:25
个人简介

代码5S

文章分类

全部博文(199)

文章存档

2021年(5)

2020年(194)

我的朋友

分类: 其他平台

2020-09-22 09:15:37

*&---------------------------------------------------------------------*
*& Report  ZDEMO15
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
*附件连接数据在toa*查找
report zdemo15.

data: lv_dtype   type toadd-doc_type.
data: lv_length  type sapb-length,
      lv_out_len type i,
      lt_bin     type table of tbl1024,
      lv_buffer  type xstring.

clear:lv_length,lt_bin.

parameters:
p_archiv   type toa02-archiv_id,
p_arc      type toa02-arc_doc_id,
p_res      type toa02-reserve.

lv_dtype = p_res.
call function 'ARCHIVOBJECT_GET_TABLE'
  exporting
    archiv_id                = p_archiv
    document_type            = lv_dtype
    archiv_doc_id            = p_arc
    signature                = 'X'
  importing
    binlength                = lv_length
  tables
    binarchivobject          = lt_bin
  exceptions
    error_archiv             = 1
    error_communicationtable = 2
    error_kernel             = 3
    others                   = 4.

write 1.
阅读(2350) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~