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

Scheduling - ALE

Former Member
0 Likes
1,838

hello friends,

I've a got a requirement, that i got to send changes in vendor master to other system thro ALE once in every two hours and should send full vendor master records once a day(probably in nights).

Can anyone tell me how do i schedule it to send changes once in every two hours and full records once a day. I need most technical details.

thanks in advance.

8 REPLIES 8
Read only

Former Member
0 Likes
1,143

Hello,

For Changes in Vendor master you can configure 'Change Pointers' once in every half hour and if you like to send full vendor master data you can use Prg. RBDSECRE.

Hope this helps you.

Best Regards, Murugesh AS

Read only

0 Likes
1,143

Thk u for replying murugesh,

but i just want to know how do i schedule a batch run for changes as well for extract records. Can u gimme clear details reg this.

two schedule programs are involved in this scenario. One for changes that has to be accumulated and sent evry one hoyur once and full extract that has to be scheduled to run once in day.

I want complete technical details reagrdin this.Can anyone help?

Thanks in advance.

Read only

0 Likes
1,143

Hello,

Can you check on your system whether you can create IDocs in Create / Change mode ( MSGFN = 009 first / Create; MSGFN = 004 subsequent changes ) from Program RBDSECRE ?

I do not have authorization for ALE setting in my SAP system.

Regards, Murugesh AS

Read only

Former Member
0 Likes
1,143

Hi,

The way you can do it is -

If new link is to be established between systems-

1. Goto transaction BD64.Create a new distribution model.

Give the name and description of the model.Then save.

2. In the tree structure,click on the model you have created and click on 'Add Message Type' tab.Give the sender system logical name and receiver system logical name.Message type will be either CREMAS01 or CREMAS02 or CREMAS03 or CREMAS04(depending on SAP version in use).

You can check this by going to transaction WE30 and giving CREMAS* in object name and doing an F4.The latest version listed is to be used.

3. Save the distribution model thus created.

4. In the same window,click on the model created and now goto menu path ENVIRONMENT-> Generate Partner Profiles.

5. Come back to the same page.Again clicking on the same model goto menu path EDIT-> Model View-> Distribute.

6. This sets up the ALE link between the two systems for vendor master data.

Now you need to activate the change pointers for the message type CREMAS.

Goto transaction BD61.Activate the pointers generally and then save and exit.

Now got transaction SALE.Select path from tree-

'Application Link Enabling -> Modelling and Implementing Business Processes -> Master Data Distribution -> Replication of Modified Data.Now execute the option ACTIVATE CHANGE POINTERS for MESSAGE TYPES.Look for table entry CREMAS.Tick the corresponding check box and save.

Now go back.Goto path 'Application Link Enabling -> Modelling and Implementing Business Processes -> Master Data Distribution -> Replication of Modified Data -> Creating IDOCs from change pointers.Execute Define variants.Create a new variant for the program RBDMIDOC,giving message type CREMAS.Save the variant.

Also create a variant for program RSEOUT00.Give field logical message type name as CREMAS.and save the variant.

Now goto SM36 transaction-create job.

Create a new job with steps -

1. RBDMIDOC with variant created

2. RSEOUT00 with variant created.

Again in receiving system -

Create variants for program RBDMANI2 and RBDAPP01 for message types CREMAS.

Create another job on the receiving system with steps.

1. RBDMANI2 with variant created.

2. RBDAPP01 with variant created.

Both these jobs should be scheduled to run every 2 hours.

i.e. Job frequency should be 2 hours.

Try these steps and see if this works for you.But these are all ALE specific transactions.So you should have authorizations for these transactions.

Hope this helps.

Ritu

Read only

0 Likes
1,143

hi,

you can do that using transaction BD14.

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.

Befor that 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.

Here u can specify the vendor names and make it send automatically.

Even if u want it to be send automatically without user typing the vendor name in BD14, u can do that using either call transaction or seession for BD14 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 cremas.

3)Perform a BDC program for the transaction BD21 passing the IDOC type (cremas01 or anyotherversions)or IDoc number or create the variant for transaction BD21.

4)Schedule this program or variant to run periodically. (In sm36)

So now changes to ur vendor 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 know u solved the problem by awarding points.

With regards,

praveen.

Read only

Former Member
0 Likes
1,143

Hi Guys,

The below information is of great help. Though in addition to it i have a unique requirement. Along with the Vendor data i need to send the Classification data ( CLFMAS ) and the Address data (ADRMAS) related to this vendor.

Thus i need to send the following messaged types

CREMAS, CLFMAS, ADRMAS each time the vendor is changed. The change can be in any one of them.

Any advice will be of great help to me.

Looking forward to your help.

Thanks & Regards

Read only

hymavathi_oruganti
Active Contributor
0 Likes
1,143

HI,

GO TO BD61 and activate channge pointers.

GO TO SM36

and schedule <b>RBDMIDOC</b> program background to run it for scheduled time 2 hrs.

Message was edited by: Hymavathi Oruganti

Read only

0 Likes
1,143

Hi,

I Need to send CREMAS, CLFMAS and ADRMAS all as one complete IDOC. I am planning to extend CREMAS and include CLFMAS and ADRMAS into it. But i need to extract all data for CLFMAS and ADRMAS and then populate these in my customized CREMAS IDOC.

Please advice further.

Thanks & Regards

Robin Aggarwal