cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC to update Material Characteristic values

Former Member
0 Kudos

Hi All,

Is there an IDOC to update (add, delete etc) Material Characteristic values in SAP? We're currently using IDOC with Message Type CHRMAS to create Material Characteristics.

Say for e.g. we have a characteristic "LENGTH" with 3 values already in SAP and now we need to add 2 more to it. Can we just pass the 2 additional values for the Characteristic through some IDOC and update the data in SAP? OR Is there any recommended way to do this?

Please let me know. Thank you!

Accepted Solutions (1)

Accepted Solutions (1)

JL23
Active Contributor
0 Kudos

The IDoc is either creating new data or overwriting the existing data, so it has to contain the full set of information.

This does not necessarily mean that the full set of information has to be in your source file.

you can fetch the existing values from the table and merge them with your source file data to get a complete set of information into your Idoc

Former Member
0 Kudos

Okay. But, is there any other IDOC available which can just accept the values to be appended or deleted in a Characteristic instead of us having to fetch existing data from SAP?

The challenge is we're in a live system and during the process of retrieving existing data from SAP, there may be someone manually updating the data and our fear is we may over-write those updates with old data in the process. We're currently not being given a downtime for these updates through IDOC and hence looking for alternative options.

0 Kudos

If the data load volume is not high you can try the BDC method on LSMW. If you are able to add the value manually, then BDC could be an alternative instead of IDOC process. Thanks, Venkat

JL23
Active Contributor
0 Kudos

No there is no alternative IDoc for  a characteristics in SAP. It does not really require a downtime, it only has to be well prepared that you can reduce the processing time to a minimum, I think no company who is running SAP in production can afford a downtime while new acquisitions get rolled in.  You usually have a master data team in a project, a core team that is working most of the time in the project and an extended team that gets informed about the changes, so you usually have already contact to most of the people who maintain master data.

So an email introducing the changes can make them aware in advance and the can plan their activities and finally you set a message in SAP (SM02) when you start your update and when it is finished.

Former Member
0 Kudos

We currently have a BODS ETL code which reads data from a source file and maps it to CHRMAS01 IDOC to load characteristics data into SAP. This is what we used for one time conversion.

Now, in order to push the updates, we will have to develop an additional code to extract existing data from SAP and join it with a revised source file which only has the updates. This may be time consuming.

Do you have quicker way of achieving this? Should we go with a custom ABAP program to fulfill the update requirement? I found this post http://scn.sap.com/message/8765660#8765660 which talks about using 2 function modules to retrieve and then change data for characteristics. Is this the only way to go?

JL23
Active Contributor
0 Kudos

It looks like you are confusing characteristics with classification or you got confused because the OP of the other discussion wrote characteristics while he actually meant classification, in short those function modules can't be used to update characteristics.

And this KBA confirms what I posted earlier: 2223055 - Value assignments deleted after posting...

Answers (0)