2005 Aug 08 1:18 PM
Hi all
I am trying to send MATMAS data from one R/3 to another.
I have achieved the connection and It is running fine with WE19.
I want to trigger the idocs automatically.
How can I trigger IDOCS automatically.
Can anybody suggest me how to develop code for this.
Thankyou
2005 Aug 09 2:42 PM
Hi all
I am trying to send material data form one R/3 to another. First I am trying to send material data by using bd10 for testing purposes.
I chose the lower limit and upper limit and logical system as receiver R/3.
Two errors are coming up .
1) 161 master idocs generated for type matmas.
2) 0 communication idocs generated for message type matmas
please help
Thankyou
2005 Aug 08 1:30 PM
2005 Aug 08 1:32 PM
hi simon,
you can do that using transaction BD10.
Here u can specify the material names and make it send automatically.
Even if u want it to be send automatically without user typing the material name in BD10, u can do that using either call transaction or seession for BD10 and scheduling the BDC program in SM36 to run periodically.
Else if u want to send only the changes automatically periodically, instead of whole extract, then do the following.
1) Go to transaction BD61 and activate change pointers.
2) Goto transaction BD50 and activate change pointer for message type MATMAS.
3)Perform a BDC program for the transaction BD21 passing the IDOC type (MAtMAS01 or anyotherversions)or IDoc number.
4)Schedule this program to run periodically. (In sm36)
So now changes to ur material master is sent as idoc periodically .
here the use of BD21 is to trigger the IDOc generation for the changes of particular IDoc type.
I think this will be sufficient for u to do it successfully.
Lemme knwo u solved the problem by awarding points.
with regards,
praveen.
Message was edited by: Praveen Rajendran
2005 Aug 09 2:42 PM
Hi all
I am trying to send material data form one R/3 to another. First I am trying to send material data by using bd10 for testing purposes.
I chose the lower limit and upper limit and logical system as receiver R/3.
Two errors are coming up .
1) 161 master idocs generated for type matmas.
2) 0 communication idocs generated for message type matmas
please help
Thankyou
2005 Aug 09 2:54 PM
Hi Simon,
You need to create ALE distribution model. Run transaction BD64. Create a model view. Add a message type to that model view. Enter your source and target system. Enter message type MATMAS. Then make sure you create an Idoc port definition(WE21) and partner profile (WE20).
2005 Aug 09 3:16 PM
hi simon,
u first have to create port definition (trfc ports), partner profile(LS, logical system) in we21 and we20 respectively.
then u gotto create custom distribution model in bd64.
U give sender system, receiver system and store the model.
now u go to the bd64 menus. in a menu, u'll find a option 'generate partner profile'. select it.
then u have to provide all necessary details it ask for, in that screen and execute it. U have to get messge that, sync is genereted and partener found and genertaed.
If u do all this, u r done with that.
and then do all the change pointer stuff i said in the previous post.
let me knwo whether u solved it, by giving points.
with regards,
praveen.
2005 Aug 09 3:30 PM
Hi,
Try this link for any information you need on ALE.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an advanced guide to implementing application link enabling.pdf
regards
Aveek