Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Classifiction View in material master --- ALE - AUSP change pointers

Former Member
0 Kudos

Hi all,

I would like to know how I can set up ALE change pointers

on Classifiction View in material master - AUSP?

I am using MATMAS message extended in ZMATMAS I don't know if it's possible to add a change relevant field from object CLASSIF or CLASSIFY to ZMATMAS?

If not How can I processed?

Best regards

Henri

4 REPLIES 4

Former Member
0 Kudos

It is not possible the way you are trying. Material classification cannot be distributed with MATMAS , instead it has to be with CLFMAS.

You can always achieve the same result by activating change pointer on CLFMAS. But this will trigger an idoc on classification change not only on materials but other objects as well. You can very well control it in BADI BDCP_BEFORE_WRITE . Here you have a method FILTER_BDCPV_BEFORE_WRITE where you can restrict that change pointers are only written for Material Classification changes . I guess the restriction would be class type . This BADI is for all message types so make sure you implement it with filter "CLFMAS" .

Cheers

0 Kudos

Hi Sanjay

Thank a lot for your answer. But I am working in 4.5B so no BADI!

So Now I don't know what to do. When we modify a classification vue for a material, table AUSP is changed but no change set in CDPOS & CHHDR. I think I have to find a USER EXIT. Juste before reading the answer I have created a ALE flow for CLFMAS and of course I get the classification and not the material!

If you have any other solution, wellcome.

Best regards

Henri

0 Kudos

Hi Henri!

Table AUSP is not part of any change document object.

But there is a user-exit, where you can create change pointers by yourself with function module CHANGE_POINTERS_CREATE_DIRECT.

If you need the exit, tell me - it's hidden under a pile of developments in a .zip...

Regards,

Christian

Former Member
0 Kudos

Hi Henri,

For 45B and option wd be to copy and change reports RBDMIDOC RBDMIDOX ( Tcode BD21 ) to filter out the classes for which you want to create IDOCS .

This will always work but unnecessary change pointer will be created in database and will ne there for always .

Another option is BTE ( Business Transaction Event ). I am not sure how comfortable you are with this . These are kind of user exits . Check OSS 403255 & 383092 and see if its of use. Since I donot have a 45B system its difficult to find a solution. The tcode for BTEs in our WAS 620 is FIBF . You can give it a try. Event 4004/ 4005 may be of help to you. I cannot see these on my system .

Cheers