How to generate automaticly an ALE flow when VA01

Question: My problem now is more metaphysical, philosophic than seting WExx transaction.

My aim is to send via ALE sales orders when created with transaction VA01 or when modified with transaction VA02.

I have done a lot of customizing and create module function and so and so.

Now what I don't know is how it's working! When I create a sales order with transaction VA01, what I have to do, to make a relationship between transaction VA01 and my IDOC?

It's automatic and I have forgotten some customizing?
Use an Use exit to call the Module function?
Create a workflow on events ?
Or ????



I have created a function to populate and distribute Idocs
but by which action this function will be called during the sales order creation ?

I have used transaction BDBG to link ALE interface and BAPI, WE41 to link process code to function module.


If some one have a little solution, wellcome

Henri

Answer:
Have you configured your partner profiles in WE20? There you should specify what process code should be used (yours) and how it should be triggered, i.e. by what message type.

Answer:
hi,
if u want to create Idoc for ur sales order VA01 then u have to define parnter profiles using WE20 and define inbound parameter and outbound parameter and port name...



Regards
Dinesh Huda

Answer:
In the case of transactional data like this, you should use MESSAGE CONTROL.

Go to transaction NACE

OR

Go to transaction VV11 SD->MASTER DATA->OUTPUT->SD
Use ALE in the field MESSAGE TRANSMISSION MEDIUM.


You'll need to create a process oubound code in txn WE41 and create a function Z_IDOC_OUTPUT_XXXX or Z_IDOC_OUTBOUND_XXXX that will fill the data from the sales order into the idoc... (ORDERS maybe?)

Configure partner profiles - message control TAB. WE20

Configure output in SPRO: sales and distri -- basic functions -- ouput control -- output determination -- output determination for sales documents.

and then VV11 to create a condition record.

Well.. actually i am struggling with that for creating an output from a contract that is also a sales document
Copyright ?2007 - 2008 www.jt77.com