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

multiple idocs through a program

Former Member
0 Likes
1,208

Is it possible to generate multiple idocs through a single standalone program.Any disadvantages?

9 REPLIES 9
Read only

Former Member
0 Likes
1,108

Hi,

Generally we generate one idoc for given data for one target system, if you want to generate more than one idoc for given data for different target systems then you need to pass control data for each target system to FM "MASTER_IDOC_DISTRIBUTE" in loop.

Thanks,

Asit Purbey.

Read only

0 Likes
1,108

i want to generate one sales order as inbound and one delivery as outboundc can i do this??? suggestions please.

Read only

0 Likes
1,108

Whats the problem, use message type ORDERS for sales order and DESADV for delivery.

Read only

0 Likes
1,108

i want to generate ORDERS AND DESADV IDOC using a single standalone program. can i do this???

when a sales order is created, how to check the availability of material?

what is order made to stock and order made to production??

Read only

0 Likes
1,108

1. Yes, nothing is impossible. But why do you want to create order & delivery Idoc by standalone program.. In My experience I have not seen such a scenari.

2. Availability check done by SAP itself while creating a order. If you want to perform use BAPI_MATERIAL_AVAILABILITY

3. Order made to stock: The order quantity taken from stock

Order made to production: After the order the production would be done aginst the order qty.

Read only

0 Likes
1,108

Im learning data transfer through ale..I have a scenario where i will upload details from a text file. acoording to the details i have to create inbound sales order and outbound delivery and invoice idocs. what is the best way to do this

Read only

0 Likes
1,108

I hope learning purpose you are doing like this, you need to call particular FM for each document..

Inbound Sales Order: IDOC_OUTPUT_ORDERS

Outbound Delivery: IDOC_OUTPUT_DELVRY

Read only

0 Likes
1,108

can i know what are the mandatory fields in for delivery idoc. in real time scenario hoe doe the sales order effect delivery and invoice tables.

can you give me a brief description of process or give me a link.

Read only

Former Member
0 Likes
1,108

Hi Vidya Sagar,

Please go thru the wiki mentioned below.

https://wiki.sdn.sap.com/wiki/display/ABAP/ALE+IDOCS

Regards,

-Syed.