‎2008 Apr 24 8:12 AM
Hi,
I am currently working on a project where we need to distribute the MATMAS IDoc whenever changes has been made to the materials. Change Pointers has been set up. My problem is that only the segments concerning the change is distributed. I need to distribute the entire MATMAS IDoc containing all segments.
Could anyone guide me to an enhancement and perhaps howto send the complet IDoc.
Thanks,
Regards,
Morten
‎2008 Apr 24 8:48 AM
In transaction BD50 activate change pointers for message type MATMAS
any changes made to material an entry is stored in table CDHDR.
in your program you can select data for field
Change doc. object = MATERIAL between specified date & time range.
may be u can delete adjacent records if material is changed multiple times to have single entry for material changed.
now u can pass the changed material list to transaction BD10 as variant which will send idocs to the required destination
pls let me know if this works.
reward if useful
‎2008 Apr 24 8:48 AM
In transaction BD50 activate change pointers for message type MATMAS
any changes made to material an entry is stored in table CDHDR.
in your program you can select data for field
Change doc. object = MATERIAL between specified date & time range.
may be u can delete adjacent records if material is changed multiple times to have single entry for material changed.
now u can pass the changed material list to transaction BD10 as variant which will send idocs to the required destination
pls let me know if this works.
reward if useful
‎2008 Apr 24 8:55 AM
First enable change pointers for a message type MATMAS using BD50 tcode.
After that go to BD52 tcode..here you can specify the fields in message type for which you want to do changes using change pointer.
Reward if useful.
Dara.
‎2008 Apr 24 9:23 AM
Change pointers has been set for MATMAS type (BD50).
My problem is that when a change is made, only the segments concerning that change is distributet. I want the entire material information to be distributet.
‎2008 Apr 24 9:32 AM
within the segment only some fields you could change..so only that fields values are replicate...for this purpose you should do BD52 ..on what fields you mostly do changes...other fields will not affect,they also distribute.
‎2008 Apr 24 11:01 AM
We use tc: BD21 to execute and send the idoc for all ready change pointers. That is were we want the all segments to be sent. Currently only the segments containing changes are sent.
BD50 and BD52 are set up correctly.
Thanks,
‎2008 Apr 24 12:17 PM
You already sent data..right now you want to send only changed data ..right.....I think there is no special code for your requirement..you just need to execute RSBDMIDOC program...if you have any changed data within segments..that changed data only pass.
Regards.
Dara.
‎2008 Apr 24 12:35 PM
Yes the materials have already been sent once. But when changes are made to the materials I want to send it again.
I want to send the entire material record (all segments of the MATMAS type), not only the segments being filled from the change pointers.
‎2008 Apr 24 12:57 PM
Other materials data already sent you ..then whats the purpose of send again all the materials which have no changes...other materials data already available in available in the target system..so no need to send you again.