Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3353

Read Email(channel) Invoice Attachment into VIM with NO customization - Through ABAP Custom Code

$
0
0

Having hard time for 2 days making customization to read the Invoice Attachment through Email channel. I could not figure out what was going wrong. Finally decided to code ABAP custom program to full fill the purpose.


The attached ABAP custom code will move invoices attached in the email to VIM IDH (TC -> /opt/vim_7ax8) with standard status displaying accordingly.

Untitled.png

Email with attachment appears in the indexer inbox

Untitled.png

shows up the attachment

Untitled.png

Create a program with attached code, This code reads the invoice attachment from email to download it to a location.


The download invoice attachment is archived in to OTAS going through the workflow to result the work item.

Untitled.png

at the same time VIM IDH gets updated with Document id showing the status as "scanned"


Untitled.png


Once the extraction job in the ICC Customization client is successful ran. The status gets updated to "Extraction completed" to trigger to next step

Untitled.png


Once the doc id is triggered to next status "Ready for Validation", make sure that jobs on the ICC finish with no errors to use validation client to capture the invoice data automatically.


Untitled.png


Captured data when submitted shows up the DP id in VIM Work place, which can be used accordingly


Untitled.png

 

This code currently works for only FAX Document class and can be extended to pdf too,


This below video demonstrates how it is achieved. Please suggest or modify code as per your needs.

https://youtu.be/JZSeM8BYcfw


Thanks,

Kolusu



Viewing all articles
Browse latest Browse all 3353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>