2006 Jun 01 11:03 PM
Hi
Please explain the workings of an FTP connection. If a non SAP system sends a idoc/flatfile to SAP, how is the import to SAP triggered and if the files are sequential, how does SAP knows that the file has been imported already an/or which one to select next?
Can i specify a folder for each inbound message type?
Hi
Please explain the workings of an FTP connection. If a non SAP system sends a idoc/flatfile to SAP, how is the import to SAP triggered and if the files are sequential, how does SAP knows that the file has been imported already an/or which one to select next?
Can i specify a folder for each inbound message type?
2006 Jun 02 2:09 AM
Hi,
When you want to create IDOCs using files sent by a non-SAP system, you need to have ABAP report program when executed will go and read the file from a folder.
So, its the scheduling of the program which becomes the polling for a specific file. Also, the file name is hard coded if the program is running in the background right, so there is no question of reading multiple files.
You need to take care of the issue of reading the same file in the ABAP program, either rename it or move it other folder etc etc.
Yes, you can specify a different folder for each message type. However, you will have to hard code the file name in the program with IF conditions on the message type. I am still not clear as to how you are planning the design.
Regards,
Ravi
Note :Please mark the helpful answers
2006 Jun 03 10:29 PM
Ravi
What would you recomment is then the best way to create IDOCS from a non-SAP system.
We want an amost realtime updates between the two systems.
2006 Jun 04 2:34 PM
Hi,
I am not aware of what Andreas is mentioning as I have not used those transactions for file polling. If you want real time updates, then we should find a way calling a RFC function of SAP from the source application.
If you are dealing with a Java / .Net based system then they can call a RFC from SAP system. Else scheduling a program at a higher frequency is the option.
Regards,
Ravi
Note :Please mark all the helpful answers
2006 Jun 02 7:49 AM
Hi Giovanni,
flatfile:
procedure is on OS-area, when file found script triggers an SAP-event (look TA sm36 and sm62)
Andreas