on 2021 Mar 23 2:55 PM
Hi Experts,
My requirement is user should put file in one folder and MII should able to attach this file to SAP ME.
To read file into SAP MII 15.4 I tried text loader. When I try to read file text loader gives error "can not read file".
Can you please let me know how I can read file from local folder on my laptop using text loader or any other option?
Thanks in advance.
Hi Neha,
You can download
FILE_ATTACHMENT.zip MII project that shows how to upload and download.
https://sap-my.sharepoint.com/:f:/p/oksana_zubchenko/Eqv8KYEeeQpPtrBs96bD11kBtVdUq5EklEOw36OcQiQrBA?... Link has image that we load to SAP ME and then download back. Also it has document that explains the idea.Regards,
Oksana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Regards,
Oksana
Hi Oksana,
Thank you for Zip file.
I tried used PAPI with files more than 8MB and I see issue with PAPI. Do you have idea if there is any maxlength limitation for PAPI?
Thanks,
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mike,
File is txt file.Content is something like below:
"[System Header ID] System type : 70-15 System serial number : PA127 System 6NC : 71qwq8133 Serial number : 00012504 SW Release : R5.1.4 Hospital name : Hospital ________________________________________________________________________________ [HISTORY]
Date Event
2020-Mar-02 11:38:23 Program Automatic - Configuration
2020-Mar-02 11:32:09 System calibration data updated
2020-Mar-02 11:22:01 Adjustment - X-ray tube Dose Limit done
2020-Mar-02 11:22:01 System calibration data updated 2
020-Mar-02 11:10:16 Adjustment - X-ray tube Dose Limit done"
MII role is to read content and attach to SAP ME object like SFC,DC as file so that operator can refer in future.
I m using SAP ME PAPI fileattachment PAPI in MII ,base64tohexcontentconverter and createfileattachment. With these PAPI I'm able to attach file but I can not read content as file is corrupt. If I pass encoded input to base64tohexcontentconverter PAPI I think it should work.But problem is I m not able to read file using text loader.
Please let me know if I m missing something.
Thanks,
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.