• 插入、更新扩展字段


    插入、更新扩展字段:
    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 name Type name Data type Length
    ZCUST1 ZCUST1 CHAR 10
    ZCUST2 ZCUST2 CHAR 2
    ZCUST3 ZCUST3 CHAR 5

    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).

  • 相关阅读:
    数据结构学习笔记(目录)
    AVL树(自平衡树)——c++实现
    一次线性同余式解决问题
    快慢指针判断单链表中是否有环
    1.1安装QT
    Sql性能查询
    独立线程中实现QT GUI
    【精品分享一】JAVA 精品图书高清PDF下载
    【精品分享二】ASP.NET MVC系列精品图书高清PDF下载
    1、linux-文件和目录命令
  • 原文地址:https://www.cnblogs.com/byfhd/p/848778.html
Copyright © 2020-2023  润新知