Application Development 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: 

IDOC Processing Inbound / Outbound

ramesh_kajuru
Explorer
0 Kudos

Hi Experts !!

As part of EDI Inbound processing our process is as follows.

1. EDI 850 files are created by EDI sub-system ( Sitting in differerent Environment ) and those file are trasfered to 'INBOX' folder on R/3 server using FTP file server.

2. A batch job ( for ex: EDI850_ORDERS ) executes every 15 minutes to process the files from 'INBOX' folder using the Custom ABAP program ZWRAP_RSEINB00. The program uses standard SAP inbound EDI file processing program 'RSEINB00' to process the file and try posting it into SAP. If the file is successfully posted then the file is deleted.

Here in this case client's requirement is once idoc file is processed archive the Idoc file from INBOX folder to 850_ARCHIVE folder on Application Server itself and NOT delete the file.

We have suggested that

Our Approach: As FTP is already in place, FTP the the files from EDI Substem to R/3 (INBOX) as well as on ARCHIVE folder even before IDOCs are processed so as to make sure Archival process is in place.

Client's Approach: Client suggests to Archival be handled from SAP and NOT through FTP.

Keeping performance and architecture in view kindly suggest which will the right approach.

Is it good to handle it from FTP / SAP !?

Or is there any other better approach to handle this!!? Please advice !!!!

Similarly Archival is required in case of Outbound as well for (810) !! suggestions appreciated !!

Thanks in advance,

Ramesh.

Edited by: Ramesh Kajuru on Aug 5, 2010 3:43 AM

Edited by: Ramesh Kajuru on Aug 5, 2010 5:45 AM

Edited by: Thomas Zloch on Aug 5, 2010 12:50 PM

3 REPLIES 3

Former Member
0 Kudos

Hi ,

you said all the internal process is done through Z program 'ZWRAP_RSEINB00' , try to write a code for each indound to make a copy in the archive folder before deleting.

yes archiving is done through the SAP in some cases and in some cases third part tool wil automatically do.

Yes it is always good to handle through FTP in SAP , because the status can be handled in SAP.

regards,

Prabhudas

0 Kudos

Prabhu,

Thanks a lot for you reply !!

In your reply you say "Yes it is always good to handle through FTP in SAP , because the status can be handled in SAP."

May i know what it means when you say "Status can be handled in SAP".

Thanks a lot for you time and effort !!

Ramesh

0 Kudos

Ramesh,

the client approch will be best and he will know which files are processed sucessfully.

if I remember correctly there is an FM which will do the same job as the program(I hope you can find with in the standard code).

call that FM in your Z program and read file 1 by 1 and once FM executed sucessfully move the file to archive directory.

IDOC_INBOUND_FROM_FILE. This is the FM I am refering. if still find the delete file code in this make a copy of it and remove that logic.

Regds,

Edited by: Suresh Reddy Avutu on Aug 5, 2010 2:26 PM