Chinaunix首页 | 论坛 | 博客
  • 博客访问: 97187
  • 博文数量: 55
  • 博客积分: 530
  • 博客等级: 中士
  • 技术积分: 460
  • 用 户 组: 普通用户
  • 注册时间: 2010-11-02 11:21
个人简介

大龄ABAP自由顾问

文章分类

全部博文(55)

文章存档

2016年(1)

2015年(4)

2014年(14)

2013年(2)

2012年(3)

2011年(31)

我的朋友

分类: 项目管理

2012-09-06 13:36:39

The program create acount document using BDC--display_mode = 'A'.
After user input all the required fields and create a new document,
program gets the new document and updates local database table.
 
 
below is the original method of getting the document:
  LOOP AT ITAB WHERE MSGTYP = 'S' AND MSGV1 <> ''.
    check itab-msgv1+0(1) = '5'.
      lc_msgv1 = itab-MSGV1+0(10).
  ENDLOOP.
But it often fails to get the document number which has been created.
Finnaly we use this method:
 GET PARAMETER ID 'RBN' FIELD lepid.
阅读(282) | 评论(0) | 转发(0) |
0

上一篇:FI常用配置表

下一篇:修改消息提示类型

给主人留下些什么吧!~~