My situation is there are two IDocs with status 30 (ALE Service Layer which are ready for output). One is 'CREMAS04 ' and the other is 'ADRMAS02'. I want to record these two IDocs data into a flatfile structure and then I need to send this flatfile to middleware. Middleware can only take one file as input at a time. So I have no chance to send the above two IDocs separately to middleware by using general ALE procedure. Any ideas?
I am not sure what middleware you are using. Typically, popular middleware software is capable of receiving data via RFC or HTTP.
If this is not an option, then save the IDocs to a file and let the filename be generated as DATE/TIME combination. Then create an operating system script, that takes the files in sorted order and FTPs them to the middleware.
Dig Deeper on SAP ABAP
Related Q&A from Axel Angeli
An SAP user wants to know how to upload data into SAP R/3 when SAP Scripting is not enabled. Continue Reading
An SAP user is receiving an error message while integrating SAP iDoc PORDCR1 for a purchase order. Continue Reading
An SAP user is having difficulty with PERNR iDoc while transporting data from SAP to an external system. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.