插入、更新扩展字段

插入、更新扩展字段:
BAPI:BAPI_MATERIAL_MAINTAINDATA_RT
CLIENTEXT            LIKE              BAPIE1MARAEXTRT                  Customer-defined client-specific material data
CLIENTEXTX         LIKE               BAPIE1MARAEXTRTX                Information on update for CLIENTEXT
这两个是用来更新商品的扩展字段。

Customer-defined client-specific article data

Description

If the general basic data for the material has been extended to include customer-specific fields, you can use this structure to transfer the data for these customer-specific fields.

The key fields are already specified. You can store the customer-specific data in the data container provided by fields FIELD1 to FIELD4. The split into four individual fields was necessary for purely technical reasons. If the data is transferred using this structure, the structure information for the customer-specific fields is lost.

Example
Extending table MARA using the following APPEND structure:

Structure name ZMARA

Field nameType nameData typeLength
ZCUST1ZCUST1CHAR10
ZCUST2ZCUST2CHAR2
ZCUST3ZCUST3CHAR5

The data can be transferred to this structure by appending the field contents of FUNCTION, MATERIAL, ZCUST1, ZCUST2, and ZCUST3.

Information on update for CLIENTEXT

Description

This structure (checkbox structure) is used to determine which fields in the assigned user data structure (CLIENTEXT) contain change-relevant information.

This makes it possible to supply valid values only to the relevant fields in the assigned user data structure. These fields are then selected in the checkbox structure, ensuring that all nonselected fields retain their current value in the database.

Note

If the indicator ALL_FIELDS in the structure HEADDATA is set, the information in the checkbox structure is irrelevant; that is, no data records are required in the checkbox structure (see also the documentation for data element UPDALL).

转载于:https://www.cnblogs.com/byfhd/archive/2007/08/09/848778.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值