11-21-2006 9:54 AM
Hi All,
I have a doubt regarding the type of programs used to post the idocs using ALE in the outbound process.
Can any body tell me what is the difference between
1)stand alone program
2)change pointer program and
3)Message Control program to post the idoc using ALE outbound peocesing.
Please also tell me which program I will use to post a custom table of mine to another server using ALE/IDOC.
Please also tell me the procedure to do the same mentioned above.
Please help. Its a urgent requirement...........................
Thanks in advance......................................................
11-21-2006 10:01 AM
Hi,
I think
1)stand alone program
~ Its a program which will directly call few FM to update the business data
2)change pointer program and
~ This is activated by configurations and the system will automatically send the business data if there is any change in the central system
3)Message Control program to post the idoc using ALE outbound peocesing.
~ this is based on the Message control or output control which can be used to send data to another system. For example say once a delivery is created you want to send a DO Idoc to the business partner, then you will use the message control to trigger the program to send the data.
Cheers
VJ
11-21-2006 10:31 AM
Hi All,
Thanks For your input.
I am still not clear which program of ALE I am going to use in order to transfer the table and its entries made by me .
Please let me know the procedure to transfer the whole custom table into another server.
Please also tell me the difference of processing between transactional data and master data in ALE.
Thanks in Advance....................................................................................
12-16-2006 6:47 AM
Hi Sofia,
In order to transfer ur table completely to another logcal system ... u must tell me whether ur custom table is linked to any SAP transaction .. i mean how ur saving the data in ur custom table .. if it is through some standard Extended SAP transaction then u need to identify the relevant message type and the IDOC type and extend that IDOC type .. with the new segments containing ur table fields...
if it the above case then ur problem is solved in simpler manner..
if it is not the case then .. if ur custom table doenot has any relation to the SAP STd transaction at all .. which i dont believe in real time scenario then u need to create a new meesage type , idoc type, Function module to create an IDOC similar to masteridoc_create_debmas ... and populate the segments generate the IDOC .. adn in opther server u need to write a FM to post this IDCO..
if u tell ur senario exactly with all the details possible the specifications for ur req .. the best solution can be provided.
thanks
Prasad
11-21-2006 10:05 AM
Hi,
1)stand alone program- this is used to create an idoc using function module(MASTER_IDOC_DISTRIBUTE).Wecan use this FM to generate an idoc.
2)change pointer program - This is another method to generate idoc.In this method we use the FM'S CHANGE_POINTERS_READ,CHANGE_POINTERS_WRITE and develop the logic also the FM MASTER_IDOC_DISTRIBUTE is used to trigger the idoc.
3)Message Control program to post the idoc using ALE outbound peocesing.This method is used for transactional data(Purchase orders,Sales orders)
So for a custom program u should go for Change pointers method .
The config settings are
1>we81
2>we31
3>we30
4>we82
5>SCDO
6>BD61
7>BD50
8>BD52
9>BD60
10>WE20
11>BD64.
Regards,
Nagaraj
11-21-2006 10:06 AM
Hi
You need fully understand ALE IDocs for that. For updating a custom table in another you need create all from message type till process code as custom.
Please find some ALE Quick start guides and programming guides in this link
http://www.easymarketplace.de/online-pdfs.php
Hope that helps
Regards
Kathir
11-21-2006 10:09 AM
hi,
stand alone programs or selection programs select the data from database pack them into idocs and distribute them to the required systems. they are generally funtion modules.
change pointers: any change in a system's data (mainly master data) triggeres a sequence of fms or work processes which generate idocs which are distributed by which the systems in the distributed environment are changed accordingly
message control programs genrally are programs which depend on the type of messages and they are generally configured using the T-CODE SALE
hope it helps.
santhosh