Fonction SAP BAPI_CLASS_CHAR_VALUE_TEXT_OVR - Class BAPI: Overwriting of Long Text for Characteristic or Value

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CHANGENUMBER BAPI1003_KEY-CHANGENUMBER C 12 SPACE X Change Number
CHARACTERISTIC CAPIPARMS-CHARACT C 30 Characteristic Name
CHARACTERISTICVALUE CAPIPARMS-CH_VALUE C 30 X Characteristic Value Description
CLASSNUM BAPI_CLASS_KEY-CLASSNUM C 18 Class
CLASSTYPE BAPI_CLASS_KEY-CLASSTYPE C 3 Class Type
KEYDATE BAPI_KEY_DATE-KEY_DATE D 8 SY-DATUM X Valid-From Date
LANGUINT BAPICHARACTDESCR-LANGUAGE_INT C 1 SY-LANGU X Language Key
LANGUISO BAPICHARACTDESCR-LANGUAGE_ISO C 2 X Language According to ISO 639

Paramètre Reférence Long. Facultatif Description
LONGTEXT BAPITLINE 134 SAPscript: Text Lines
RETURN BAPIRET2 548 Return Parameter

Functionality
This BAPI sets the overwriting of a long text (documentation) for acharacteristic or characteristic values.
If only the characteristic name (Characteristic) is transferred, thelong text is set for the characteristic. If parameters for thecharacteristic value are also filled, the long text is set for thisvalue.
In addition, you can transfer a date or change number. The long text isusually deleted in the system language, using parameter "LanguageInt"or "LanguageISO", but you can select a different language."LanguageInt" contains the language in SAP format and "LanguageISO"contains the ISO format. If both parameters are filled, the ISO formathas priority.
The long text is in table "Longtext". The first field contains formatdata (standard line = *), and the second field contains a line of text.
The result is logged in table "Return". If any entries are incorrect,this table contains a message of type "E", and if the transfer wassuccessful, it contains a message of type "S".

Notes
The transferred long text replaces the old long text!