01-23-2013 9:25 AM
Hi Experts,
I am changing the material master classification data from MM02. Then I run T.Code for change pointers through BD21 for message type CLFMAS.
My IDOC is successfully generated.My problem is that data for all the characteristic value are getting generated.
My requirement is that only changed characteristic value segments should be generated and not all the charecteristic value segments.
Helpful answers will be rewarded.
Thanks,
Anoop
01-23-2013 10:07 AM
Hi Anoop,
Please check BADI (BDCP_BEFORE_WRITE). It can be implemented if we want to create change pointer(or upated change table) for only particular type of material type. By simply implementing badi’s methods and removing entries for particular condition from internal at the run time.
Please let me know if you need more detail.
Best Regards,
Ratnesh Sisodiya
01-23-2013 11:01 AM
Hi Rathnesh,
The problem is that I am changing only a single characteristic value(W201 Drive).I changed it to front wheel as shown.
The IDOC is getting generated with the changed values as shown.
But it is also generating segments for the remaining characteristic value also which I have not changed(Refer the below fig)
I want that only those segments with the characteristic value should be generated that I have changed and not all the characteristic value.
thanks,
Anoop
01-23-2013 2:55 PM
What is the reason that you do not want all classification in the IDOC?
I would suggest you take this IDOC and enter it WE19, then you remove the unwanted segments and then you post it.
then check the classification if it was really updated (do not just look whether the status became 53)
01-24-2013 9:48 AM
Hi Jurgen,
I do not want this because I am dealing with change pointers. So here only those segments should be generated that have actually been changed in classification.
Generating the IDOC and later deleting it does not make sense.
My requiremnet is that the IDOC with only the changed segments should be generated,and not all the segments.This is what the user wants.
Regards,
Anoop.
01-24-2013 9:53 AM
I understood what you want. But you have to care as well about what the system wants.
it does not make sense to just have one changed classification value in an IDOC if SAP expects the classifcation values for all characteristics in the class..
Thats why I said you shall do a test
01-24-2013 10:03 AM
Hello,
I understand your point. But this is what the user expects from us. And we will have to do it that way.
I read somewhere that we can restrict the segments created based on tables CDHDR ans CDPOS. But the problem is that material classification data changes are not tracked in those tables.
Any solution for this??
Regards,
Anoop.
01-24-2013 10:20 AM
classification changes are not automatically tracked, you have to activate change history
It is described in OSS Note 65124 how to do it.
07-19-2014 2:58 PM
Hi Anoop,
Did you get this resolved? I also got the same requirement from the user. Could you please help me out to resolve this?
Regards
R Paul