Fonction SAP BAPI_CHARACT_REMOVELONGTEXT - BAPI for Characteristics: Delete Long Text for Characteristics or Value

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CHANGENUMBER BAPICHARACTKEY-CHANGENUM C 12 X Change Number
CHARACTNAME BAPICHARACTKEY-CHARACTNAME C 30 Characteristic Name
KEYDATE BAPICHARACTKEY-KEYDATE D 8 SY-DATUM X Valid On
LANGUAGE_INT BAPICHARACTDESCR-LANGUAGE_INT C 1 X Language Key
LANGUAGE_ISO BAPICHARACTDESCR-LANGUAGE_ISO C 2 X Language According to ISO 639
VALUE_CHAR BAPICHARACTVALUESCHAR-VALUE_CHAR C 30 X Characteristic Value
VALUE_FROM BAPICHARACTVALUESNUM-VALUE_FROM F 8 X Internal Floating Point From
VALUE_RELATION BAPICHARACTVALUESNUM-VALUE_RELATION C 1 X Code for Value Dependency
VALUE_TO BAPICHARACTVALUESNUM-VALUE_TO F 8 X Internal Floating Point Value To

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 Return Parameters

Functionality
This BAPI deletes the long text (documentation) for a characteristic orcharacteristic value.
If only the characteristic name (CharactName) is transferred, the longtext for the characteristic is deleted. If the parameters for thecharacteristic value are also filled, the long text for this value isdeleted.
For characteristics with character format, parameter 'ValueChar' isfilled. For characteristics with numeric, currency, date, and timeformat, parameters 'ValueFrom', 'ValueTo', and 'ValueRelation' arefilled. For a detailed description of these fields, see (for example)table 'CharactValuesNum' of BAPI Characteristic.Create. Singlevalues are entered in field 'ValueFrom', in which case field'ValueRelation' contains a '1'.
You can also transfer a date or a change number. The long text isdeleted in the system language, unless you select a different languageby using parameter 'LanguageInt' or 'LanguageISO'. 'LanguageInt' is thelangauge in SAP format, whereas 'LanguageISO' is the language in ISOformat. If both parameters are filled, the ISO format overrides the SAPformat.
The long text is in table 'Longtext'. The first field defines theformat (standard line format is *), and the second field contains aline of text.
The result is logged in table 'Return'. If there are errors in thedata, you see a message of type 'E'. If not, you see a message of type'S'.

Notes
You can use function modules TBP_CONVERT_VALUE_INT_TO_EXT andCTBP_CONVERT_VALUE_EXT_TO_INT to switch between internal andexternal value format.

Description
Change number

Description
Characteristic name

Description
Valid from

Default
System date

Description
Language key: ISO format has priority

Default
System language

Description
Language key

Default
System language

Description
Characteristic value

Description
Internal floating point number from

Description
Code for value dependency

Description
Internal floating point number to

Description
Return parameter