Payment Advice through Mail using BTE

Send new document with attachments via RFC

Functionality
This function module enables you to send a new document including any existing attachments. The document and the attachments are transferred in the same table. They are created when sent and can also be placed in the sender's outbox.

It is necessary to distinguish between the document and its folder entries. The document itself only exists in the database once. It is a template for the folder entries and can be addressed via its object ID. Any number of folder entries can belong to the document. The folder entries have the content and the attributes of the document as well as some additional attributes relating to the folder entry itself. (Send priority and expiry date of the entry, for example.) Folder entries are created when a document is resubmitted, referenced, or sent, as well as when a new document is created.

SO_DOCUMENT_SEND_API1

Program - RFFODTA1

Go to transaction code FIBF

Settings ==> Process Modules ==> ... of an SAP Application

Process: 00002040
Ctr: Blank
Appl.: FI-FI
Function Module: SAMPLE_PROCESS_00002040

You can copy the function module to "Z" function module and modify it accordingly. Then you can use your customized FM here.

This triggers an email of payment advice, provided if you have maintained Email Address in the Vendor Master "Address" Tab and the Standard Communication Method is "INT - Email"

You can see the email that is being triggered / delivered in transaction code SOST.

To deliver the emails settings in SCOT are being completed by Basis consultants and the gateways must have been opened. Except production environment, normally the gateways are closed in development or QA environment in order to avoid sending wrong payment advices outside.

No comments:

Post a Comment

SAP FICO INTERVIEW Q's

SAP INFO ABAP

SAP FICO