2008 Nov 12 10:03 AM
Hi,
I have a requirement to transfer files using FTP.When ever an invoice is generated in the system a pdf file is created and send as an email.When they print the invoice it creates a spool request.
What my requirement is to take this spool request and transfer the pdf document to another system,.How can i get this spool request..i will run this transfer program once in a day.from the spool request is it possible for me to identify whether it is a debit or credit memo.
Please give me ur suggestions?
Regards
Ansari
2008 Nov 12 11:52 AM
Once you have spool request number, then you can pass that spool request number to the NAST table and the other details for that table and get the invoice number from there, once you have the invoice number, you can pass the invoice number to VBRK table and check the field FKART field whether it is a debit or credit memo document.
Thanks,
Mahesh.