on 01-19-2015 11:23 AM
Hi Experts,
I have a scenario, where I need to pick the EXCEL file from the folder and process and insert to SAPECC Ztable via SAP PI.
Could someone help me with the best approach for doing the same.
Thanks
Smit,
What is file extension? .xls or .xlsx. xlsx is zip file of xml files.
Is it binary file or text file (html based excel or csv based excel)? Open the file with notepad, if you are able to read it, it is text file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Smith,
To read Excel files in PI, we have the following options
Develop adapter module
SAPTechnical.COM - XI - Step-by-step guide to develop Adapter Module to read Excel file
or
You can go for XSLT mapping
or
Use java mapping
To update the data in to the tables in ECC, you can use either IDOC / RFC / Proxy communication.
Regards
Bhargava Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Smith, One of the other alternative is that you read the excel file and convert it into a file using custom module in sender communication channel and then send it to ECC using proxy. refer: http://scn.sap.com/thread/3622737 Thanks Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Smith,
You will not have access to insert the data into the database tables of ECC and moreover it is not the recommended approach to do so.If you need to insert you either need to do it using an RFC or a proxy from ECC End to which you transfer the data and further processed to tables.
Regrds,
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Smith,
My few cents..
1. You can pick the file from 3rd party using PI (using File/FTP/SFTP)
2. Place the Excel file in Al11 dir of your ECC system using Receiver File/FTP channel
3. Use the ABAP std FM (ALSM_EXCEL_TO_INTERNAL_TABLE) to read Excel and update the records in your Ztable as suggested below:
OR
4. I believe you can also achieve this using File to Proxy scenario (where your Receiver Proxy code in
ECC will upload the Z-table with the Excel file values.
Regards,
Azhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.