Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Transfer Data(Email ID's) between a Function Module and a Report

Former Member
0 Kudos

Hi All,

I am trying to Create an RFC which internally Creates Quotation using BAPI_QUOTATION_CREATEFROMDATA2.This RFC also, has a structure having User's Email ID in the Importing Parameters. Once the QUOTE has been Created and while getting committed to database, a smartform Program is getting Triggered and the Output PDF file Generated by the Smartform is emailed to the User who has created the Quote.

As per My requirement, if we say that if i have created the quote using this RFC, then while Sending the email, I must be the sender and the email ID populated in the Importing Parameter of this RFC should be the reciever.

SAP Gurus, Can you please suggest me an alternative so that i can transfer the email id from RFC to the Smartform Driver Program and i can change the reciever details in the Smartform Logic.Also, Please note that, Multiple Users can use this RFC at the same time

1 REPLY 1

Former Member
0 Kudos

Hello Srikant,

Use export in FM and use import in the driver program. Try to export required data only.

Regards,

Subbu