Sap Mass Update Characteristic Values

  1. Sap Mass Update Characteristic Values 2020
  2. Sap Mass Update Batch Characteristic Values
  3. Sap Mass Update Characteristic Values List
  4. Sap Mass Update Characteristic Values Examples

Division) and update relevant fields on Sales View screen. This document contains Step-by-step instructions to use LSMW to update Customer Master Records. It has two demonstration examples - one using Batch Recording and another using standard SAP Object. The screenprints in this article are from IDES Release 4.6. They may differ slightly. Search for, and then choose the value map. Select one of the following update types: Merge organizational field values: If the organizational values are different for the organizational value map and the derived roles, the application appends any differences from the organizational value. The characteristic values for an object are maintained in the columns ATFLV, ATWRT, DECVALUEFROM, DECVALUETO, DATEFROM, DATETO, TIMEFROM, and TIMETO. To understand the formatting of how the values are stored please check the KBA. 1568641 ‘How are the values for the different Characteristic Data Types saved in the table AUSP’ Update. As SAP didn't in the past deliver there something out of the box, the following notes might be interesting at that point if it comes to mass changes: SAP Note 1785495 - Article Mass Maintenance: Informative Characteristic Values. SAP Note 1769181 - Article Mass Maintenance: Upload from External Spreadsheet.

BAPI_COPACHARACT_GETVALUES is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

Sap mass update characteristic values list

See here to view full function module documentation and code listing, simply by entering the name BAPI_COPACHARACT_GETVALUES into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group:KEBAPI1161
Released Date:Not Released
Processing type:Remote-Enabled


Pattern for FM BAPI_COPACHARACT_GETVALUES - BAPI COPACHARACT GETVALUES



ABAP code example for Function Module BAPI_COPACHARACT_GETVALUES





The ABAP code below is a full code listing to execute function module BAPI_COPACHARACT_GETVALUES including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).




ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
Mass
ld_return TYPE BAPIRET2 ,
ld_copacharacteristic TYPE RKE_CHARACTERISTIC ,
it_characteristic_values TYPE STANDARD TABLE OF BAPI1161_CHARACT_VALUES ,
wa_characteristic_values LIKE LINE OF it_characteristic_values.

ld_copacharacteristic = 'Check type of data required'.
'populate fields of struture and append to itabUpdate
append wa_characteristic_values to it_characteristic_values.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BAPI_COPACHARACT_GETVALUES or its description.

Sap Mass Update Characteristic Values 2020


BAPI_COPACHARACT_GETVALUES - BAPI CO-PA Characteristic: Get Master Data
BAPI_COPACHARACT_GETHIERARCH - BAPI CO-PA Characteristic: Get Hierarchies
BAPI_COPACHARACT_GETDETAIL - BAPI CO-PA Characteristic GetDetail
BAPI_COPAACTUALS_POSTCOSTDATA - BAPI Operating Concern: Post Costing-Based Actual Data
BAPI_CONVERT_DATA_TO_AGR -
BAPI_CONVERT_DATA_FROM_AGR -

BAPI to Read Classification Information Maintained for an Object (Equipment/Material/etc)

By Sheetal Reddy Proddutur, CSC

Sometimes additional link information is useful when you link a document with an SAP object. Classification makes it possible for you to characterize a document - SAP object link (for example, Equipment sale price) by using characteristics.

For example, you can add additional price information, such as sale price, to Equipment.

You can maintain classification in either the document info record or in the master record for the object. You maintain the essential classification data in the classification system.

Below steps are generally maintained by functional consultants.

Before you can use classification functions, you need to set up your classification system.

There are three steps to setting up a classification system:

...

1.Defining the Properties of Objects

You use characteristics to describe the properties of objects. You create characteristics centrally in the system.

See the SAP Library, Characteristics (CA-CL-CHR).

2.Creating Classes

You need classes to classify objects. These classes must be set up. During set up you must assign characteristics to the classes.

3.Assigning Objects

Once you have created the classes you require for classification, you can assign objects to these classes. You use the characteristics of the class to describe the objects you classify.

This completes the data you require to use your classification system. You can then use your classification system to find objects that match the criteria you require.

Once you have set up the classification system you can use it to find certain objects. To do this:

  • Find a class in which objects are classified

  • Find the object(s) you require in the class

Sap Mass Update Batch Characteristic Values

When you use classification to find objects, you use the characteristics as search criteria, and the system compares the values you enter with the values of the classified objects.

Sap mass update batch characteristic values

Here we will see how to read values that are maintained in characteristics of a class.

Sap Mass Update Characteristic Values List

In this tutorial we will get values of characteristics of a class maintained for Equipment.

1.Go to IE03 -> enter

2.Click class overview

3.Here we can see the class type is ‘002’ , class ‘Z_EQP_DETAIL’ , Characteristic ‘Z_EQUIP_PRICE’ and value ‘10000.00’. (get Characteristic name as shown in below screen shots).

3.a select Characteristic and select ‘choose’ button

Sap Mass Update Characteristic Values Examples

3.b select explanation button in the pop-up.

Characteristic

3.c We can see Characteristic name and value

We will see how to read this value using BAPI.

Call BAPI ‘BAPI_OBJCL_GETDETAIL’and pass below parameters.

Objectkey – Equipment number (130583)

Objecttable – Equipment master table (EQUI)

Classnum – Class (Z_EQP_DETAIL)

Classtype – Class type (002)

In the return parameters values are stored in table ‘allocvaluescurr’.

Read this table with key charact = characteristic name (Z_EQUIP_PRICE). Value is returned in ‘value_from’ field.