Update Characteristic Value for SAP Customer with Sample ABAP Code

This code will update characteristic value in SAP.
First, it checks if the characteristic is already exists or if has to be created.
Second, it updates the characteristic value.

Update characteristic value SAP Signature

The following code sample is a class’s method with these parameters:

  • Importing :
    • IV_OBJECTKEY TYPE OBJNUM
    • IV_KLART TYPE KLASSENART
    • IV_ATNAM TYPE ATNAM
    • IV_VALUE_NEW TYPE ATWRT
  • Exporting :
    • ET_RETURN TYPE BAPIRETTAB

Customer Classification

Update characteristic value ABAP Sample

The following part is the Sample ABAP Method will help you update SAP Customer Characteristic in SAP.
The steps required to perform Characteristic update for customer are:

  • Get Class Type and Object Table for this Characteristic.
  • Get the Class Num of Characteristic
  • Check if this Characteristic exist : Update or Creation ?
  • Fill the new Characteristic value
  • Update Characteristic Value in Sap
  • If no error occurs, commit work to Update Characteristic Value in Sap

You can download the code through this Update_Classification_SAP.

Enjoy 😉

SAP and SAP logo are registered trademarks of SAP AG. Sap4tech.net is not associated with SAP AG.

We have made every effort to make sure provide relevant search results, use the content on this site at your own risk.

We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.