• 插入、更新扩展字段


    插入、更新扩展字段:
    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).

  • 相关阅读:
    亿级 Web 系统搭建:单机到分布式集群
    机器学习14种常见算法
    Nginx——使用 Nginx 提升网站访问速度【转载+整理】
    全栈开发工程师,就是个神话~【转载+整理】
    谷歌、亚马逊相继宣布屏蔽 Flash 广告,又一个时代行将结束?【转载+整理】
    前端框架现状调查【转载+整理】
    Swift 编程语言【转载+整理】
    如何将 Java 项目转换成 Maven 项目
    Eclipse 4.5.0 离线安装 Veloeclipse 插件
    Java 8 新特性——Lambdas 表达式
  • 原文地址:https://www.cnblogs.com/byfhd/p/848778.html
Copyright © 2020-2023  润新知