楼主: lflyingdragon

BDC制作会计凭证批导程序提示屏幕上没有该字段是怎么回事?

[复制链接]
论坛徽章:
5
ITPUB十周年纪念徽章
日期:2011-11-01 16:23:262012新春纪念徽章
日期:2012-01-04 11:53:29嫦娥
日期:2012-02-21 15:05:21迷宫蛋
日期:2012-03-19 16:55:38ITPUB季度 技术新星
日期:2012-08-15 14:48:08
41#
发表于 2012-3-14 20:30 | 只看该作者
lflyingdragon 发表于 2012-3-14 17:52
我用全键盘录入SHDB后,结果依然如此

我回家了 。

刚刚给你看了看 。



RF05A-NEWBS

RF05A-NEWKO

都是structure的字段。

我不是abaper,我感觉DBC程序不能直接把数据直接写入structure的吧。

我建议你还是用lsmw,或者把Posting Key for the Next Line Item以及Account or Matchcode for the Next Line Item的透明表字段找出来。然后用BDC程序去写。

使用道具 举报

回复
论坛徽章:
6
授权会员
日期:2006-04-04 12:49:28ITPUB元老
日期:2006-11-01 12:44:32嫦娥
日期:2010-08-13 08:21:57ITPUB十周年纪念徽章
日期:2011-11-01 16:20:282013年新春福章
日期:2013-02-25 11:02:122013年新春福章
日期:2013-02-25 14:51:24
42#
 楼主| 发表于 2012-3-15 10:34 | 只看该作者
blackjackno1 发表于 2012-3-14 20:30
我回家了 。

刚刚给你看了看 。

RF05A这个结构里只有一个NEWBS、NEWKO,但实际在屏幕0100和0300(或0700)都用到这个字段,这个肯定有冲突的,程序里一定用了什么暂存技术。第一次用0100屏幕的时候,RF05A-NEWBS和FR05A-NEWKO都是可以正确赋值的。现在就是不知道怎么找到这个替代字段。LSMW导入凭证已经是可以用的,但给一般业务人员用真的不想直接给这个权限,容易出乱子。

使用道具 举报

回复
论坛徽章:
5
ITPUB十周年纪念徽章
日期:2011-11-01 16:23:262012新春纪念徽章
日期:2012-01-04 11:53:29嫦娥
日期:2012-02-21 15:05:21迷宫蛋
日期:2012-03-19 16:55:38ITPUB季度 技术新星
日期:2012-08-15 14:48:08
43#
发表于 2012-3-15 12:37 | 只看该作者
lflyingdragon 发表于 2012-3-15 10:34
RF05A这个结构里只有一个NEWBS、NEWKO,但实际在屏幕0100和0300(或0700)都用到这个字段,这个肯定有冲突 ...

你没明白我说的意思 。

请看下面的解释:

The Different Types of SAP Tables
What is transparent, cluster and pool table?  Where and when we use these tables?

Transparent Table :  Exists with the same structure both in dictionary as well as in database  exactly with the same data and fields.

Pooled Table : Pooled tables are logical tables that must be assigned to a table pool when they are defined. Pooled tables are used to store control data.  Several pooled tables can be cominied in a table pool. The data of these pooled tables are then sorted in a common table in the database.

Cluster Table :  Cluster tables are logical tables that must be assigned to a table cluster when they are defined. Cluster tables can be used to strore control data.  They can also be used to store temporary data or texts, such as documentation.

Could anyone tell me what is the major difference between Standard tables, Pooled tables and Clusterd Tables?

A transparent table is a table that stores data directly. You can read these tables directly on the database from outside SAP with for instance an SQL statement.  

Transparent table is a one to one relation table i.e. when you create one transparent table then exactly same table will create in data base and if is basically used to store transaction data.  

A clustered and a pooled table cannot be read from outside SAP because certain data are clustered and pooled in one field.  

One of the possible reasons is for instance that their content can be variable in length and build up. Database manipulations in Abap are limited as well.  

But pool and cluster table is a many to one relationship table. This means many pool table store in a database table which is know as table pool.

All the pool table stored table in table pool does not need to have any foreign key relationship but in the case of cluster table it is must. And pool and cluster table is basically use to store application data.

Table pool can contain 10 to 1000 small pool table which has 10 to 100 records. But cluster table can contain very big but few (1 to 10)  cluster table.

For pool and cluster table you can create secondary index and you can use select distinct, group for pool and cluster table. You can use native SQL statement for pool and cluster table.  

A structure is a table without data. It is only filled by program logic at the moment it is needed starting from tables.  

A view is a way of looking at the contents of tables. It only contains the combination of the tables at the basis and the way the data needs to be represented. You actually call directly upon the underlying tables.

How many tables we will come across in abap?
Ans : 3 types : Pooled , clustered, Transperent

How many kinds of internal table are there?
Ans:  5 Types. Standard Table,
                      Sorted Table,
                      Index Table,
                      Hashed Table,
                      Any Table ( Generic type , Rarely used )

使用道具 举报

回复
论坛徽章:
6
授权会员
日期:2006-04-04 12:49:28ITPUB元老
日期:2006-11-01 12:44:32嫦娥
日期:2010-08-13 08:21:57ITPUB十周年纪念徽章
日期:2011-11-01 16:20:282013年新春福章
日期:2013-02-25 11:02:122013年新春福章
日期:2013-02-25 14:51:24
44#
 楼主| 发表于 2012-3-20 10:27 | 只看该作者
blackjackno1 发表于 2012-3-15 12:37
你没明白我说的意思 。

请看下面的解释:

好吧,我还是看看LSMW是否可以生成自定义程序。

使用道具 举报

回复
论坛徽章:
8
授权会员
日期:2008-02-29 14:46:02生肖徽章2007版:猪
日期:2008-03-13 16:46:59奥运会纪念徽章:沙滩排球
日期:2008-08-28 17:37:39生肖徽章2007版:龙
日期:2009-04-16 20:53:16生肖徽章2007版:鼠
日期:2009-05-25 14:45:552011新春纪念徽章
日期:2011-02-18 11:42:472010广州亚运会纪念徽章:马术
日期:2011-03-30 09:25:572013年新春福章
日期:2013-02-25 14:51:24
45#
发表于 2013-1-28 18:47 | 只看该作者
这个由于在你输入有其他屏幕跳出来了

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表