Fonction SAP BAPI_CLASS_CHANGE - BAPI: Change Class

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CHANGENUMBER BAPI1003_KEY-CHANGENUMBER C 12 X Change Number
CLASSADDITIONAL BAPI1003_ADD u 20 X Additional Data
CLASSADDITIONALNEW BAPI1003_ADD_NEW u 20 X Additional Data: New
CLASSBASICDATA BAPI1003_BASIC u 80 Basic Data
CLASSBASICDATANEW BAPI1003_BASIC_NEW u 80 Basic Data: New
CLASSDOCUMENT BAPI1003_DOCU u 33 X Document Information
CLASSDOCUMENTNEW BAPI1003_DOCU_NEW u 33 X Document Information: New
CLASSNUM BAPI_CLASS_KEY-CLASSNUM C 18 Class
CLASSSTANDARD BAPI1003_STAND u 68 X Standards Data
CLASSSTANDARDNEW BAPI1003_STAND_NEW u 68 X Standards Data: New
CLASSTYPE BAPI_CLASS_KEY-CLASSTYPE C 3 Class Type
KEYDATE BAPI_KEY_DATE-KEY_DATE D 8 SY-DATUM X Valid-From Date

Paramètre Reférence Long. Facultatif Description
CHARACTERISTICOVERWRITE BAPI1003_CHARACT_OVERWR 72 X Overwritten Characteristic Attributes
CHARACTERISTICOVERWRITENEW BAPI1003_CHARACT_OVERWR_NEW 72 X Overwritten Characteristic Attributes: New
CHARACTERISTICVALUETEXTOVR BAPI1003_CHARVALTEXT 94 X Overwritten Characteristic Descriptions
CHARACTERISTICVALUETEXTOVRNEW BAPI1003_CHARVALTEXT_NEW 94 X Overwritten Characteristic Descriptions: New
CHARACTVALUEOVERWRIT BAPI1003_CHARACT_VALUE_OVR 156 X Overwritten Characteristic Values
CHARACTVALUEOVERWRITNEW BAPI1003_CHARACT_VALUE_OVR_NEW 156 X Overwritten Characteristic Values: New
CLASSCHARACTERISTICS BAPI1003_CHARACT 100 X Characteristics
CLASSCHARACTERISTICSNEW BAPI1003_CHARACT_NEW 100 X Characteristics: New
CLASSDESCRIPTIONS BAPI1003_CATCH 84 Class Description / Keywords
CLASSDESCRIPTIONSNEW BAPI1003_CATCH_NEW 84 Class Description / Keywords: New
CLASSLONGTEXTS BAPI1003_LONGTEXT 180 X Long Texts
CLASSLONGTEXTSNEW BAPI1003_LONGTEXT 180 X Long Texts: New
RETURN BAPIRET2 548 Return Parameter


This function module changes a class and its data.

Important
Structures and tables for new data that enter with NEW must bemaintained correctly.

  • If these structures or tables are empty, the data in them is deleted.

  • If no data is to be changed, the structures and tables ending with NEW
  • must match the current data.
    • To fill structures and tables with current data, use the relevant
    • GETDETAIL module to copy the old data from the class first.
      The class-specific overwrite data for characteristics and values mustbe made available using the data copied by calling the GETDETAILmodule.
      If nothing is transferred in these tables, there is no overwrite.
      This BAPI does not change the database. To change the database, callBAPI BapiService.TransactionCommit.

1581535Features of class type 026