Ansicht
Dokumentation

BAPI_RECORD_CHANGEPROPERTIES - Change Properties of Record

BAPI_RECORD_CHANGEPROPERTIES - Change Properties of Record

TXBHW - Original Tax Base Amount in Local Currency   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Changes the attribute values of a record.

This function can be used to change particular attribute values of a record. Attribute values that are not specified remain the same.

For attributes that have more than one possible value (for example, Keyword), the specified values are added. Old values are not deleted.

Example

* Add 2 new keywords to a record

wa_record_properties-NAME  = 'SRM_KEYWORD'.

wa_record_properties-VALUE = 'BAPI'.

APPEND wa_record_properties TO record_properties.

wa_record_properties-NAME  = 'SRM_KEYWORD'.

wa_record_properties-VALUE = 'Test'.

APPEND wa_record_properties TO record_properties.

CALL FUNCTION BAPI_RECORD_CHANGEPROPERTIES

  EXPORTING

    OBJECTID            = 'FE55793BA8182177E10000000A1148F5'

    DOCUMENTCLASS       = 'SRM_REC00'

WHOLE_DOCUMENT = ' '

  IMPORTING

    RETURN              = bapi_return

  TABLES

    PROPERTIES          = record_properties

Notes

The authorization for changing record properties is required (authorization object S_SRMGS_PR).

Further information





Parameters

DOCUMENTCLASS
DOC_CONTEXT
OBJECTID
OMIT_AUTHORITY_CHECK
PROPERTIES
PROPS_DELETE
RETURN
WHOLE_DOCUMENT

Exceptions

Function Group

SRM_BAPI_RECORD

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2829 Date: 20240523 Time: 161459     sap01-206 ( 26 ms )