Application Development and Automation 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: 
Read only

MATMAS - include all

mortenpedersen2
Explorer
0 Likes
2,118

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

9 REPLIES 9
Read only

Former Member
0 Likes
1,544

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

Read only

Former Member
0 Likes
1,544

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

Read only

Former Member
0 Likes
1,544

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.

Read only

mortenpedersen2
Explorer
0 Likes
1,544

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.

Read only

0 Likes
1,544

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.

Read only

mortenpedersen2
Explorer
0 Likes
1,544

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,

Read only

0 Likes
1,544

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.

Read only

0 Likes
1,544

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.

Read only

0 Likes
1,544

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.