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

BAPI calls via ALE

Former Member
0 Likes
427

Hi,

I have a scenario where

  • source and target system are same.

  • send order data through BAPI via ALE as per [Unchecked Deliveries|http://help.sap.com/crmcg_en/6c/d321ef6e1111d4b554006094b9b9dd/content.htm]

I am first time sending data using BAPI via ALE, in customer distribution model I have created a model view, used 'Add BAPI' to add concerned BAPI. Now my question is how to triggert the process?

Is it through

  • Writing the BAPI fm in order processing/ saving user enhancement?

  • Configure Output type with medium A in nace?

Thanks,

Suraj

Hi,

I have a scenario where

  • source and target system are same.

  • send order data through BAPI via ALE as per [Unchecked Deliveries|http://help.sap.com/crmcg_en/6c/d321ef6e1111d4b554006094b9b9dd/content.htm]

I am first time sending data using BAPI via ALE, in customer distribution model I have created a model view, used 'Add BAPI' to add concerned BAPI. Now my question is how to triggert the process?

Is it through

  • Writing the BAPI fm in order processing/ saving user enhancement?

  • Configure Output type with medium A in nace?

Thanks,

Suraj

1 REPLY 1
Read only

Former Member
0 Likes
377

Hi,

Did I get you correct? You want to sent out sales order data and receive the input in the same SAP client?

In this case you don't need BAPI or ALE setting. Use or define an output message in nace for medium 6 or A in the sales order.. SAP will create an ORDERS Idoc, eg based on condition records. In the WE20/WE21 settings of the outbound configure it to send it to an rfc destination which is equivalant to the sender system. Of course you would need some changes in the inbound dependend on what do you want to do with the data.

Kind Regards

Michael