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: 

Create Idoc | MATMAS

Former Member
0 Kudos

Hello Gurus,

I´m working with a Decentralized Warehouse scenario, all the ALE configuration have been made, I´ve the Distribution Model and the partner profile with the message MATMAS.

I created some materials in the central R/3 and expected it to trigger the Idoc so it could be sent to the WM, but this is not the case.

My question is, how to trigger MATMAS Idoc when I create a new material?

Thanks in advance,

PT

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi PT,

You have two options:

1) If you have activated the change pointer for MATMAS idoc, you can either run TCODE BD21 or, in case you want to do it periodically, schedule the report RBDMIDOC.

2) If you don't have the change pointer activated and you want to transfer a subset of your materials, you can run the transaction BD10.

good luck,

David R.

7 REPLIES 7

Former Member
0 Kudos

Hi PT,

You have two options:

1) If you have activated the change pointer for MATMAS idoc, you can either run TCODE BD21 or, in case you want to do it periodically, schedule the report RBDMIDOC.

2) If you don't have the change pointer activated and you want to transfer a subset of your materials, you can run the transaction BD10.

good luck,

David R.

Former Member
0 Kudos

Normally we use change pointers to create a MATMAS IDOC when a material is changed or created or deleted and use BD10 to run the collected idocs ( SEND MATERAIL ALE).

Our requirement is to send the material as and when the user presses save key or make the changes .Is there any user exit available in MM02 or when a material is deleted.What is the best methord to do this real time .

Former Member
0 Kudos

Hi,

You can trigger the idoc from Tcode BD10 and from test IDOC WE19>Mention the IDOC type and execute>Give all the details for the control records and data records-->start outbound processing.

Hope this helps..

Regards,

Sharath

Former Member
0 Kudos

Hello,

I've created a new reduced message type, ZMATMAS, and activated the change pointer for this.

I created a new material and I see the entries in table BDCP, I run Report RBDMIDOC but no IDOC was created.

What I'm i missing?

Thanks in advance,

PT

0 Kudos

Did you create a distribution model with tcode bd64?

regards,

David R.

0 Kudos

Hi,

You have used the change pointers concept for your new message type ZMATMAS.

Create a distribution model in BD64 transaction for that message type, by giving both the sender and the receipent information in that.

Create a partner profile in WE20 transaction for the sender.

Then execute the RBDMIDOC program by giving your message type ZMATMAS.

Then you will get a pop up stating number of Communication IDOC's created.

You have seen the entry in the BDCP table, check the BDCPS table whether the processed flag is set for that entry or not, if it is not set that means it is not yet processed, if it is set then it is already processed.

Thanks,

Mahesh.

Former Member
0 Kudos

Hello,

I used MATMAS and its working now.

Thanks for the help.

Regards,

PT