Update characteristic
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

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
Code
View Code v1.abap
You can download the code through this Update_Classification_SAP.
Copyright © 2008-2019 - www.Consultoria-SAP.com