BookmarkSubscribeRSS Feed
anare
Calcite | Level 5

Hi All,

 

I have a data set called "Order placed",

 

There are 5 Variables

"Order Creator Email ID"

 "Delivery lead Approval email ID",

"Qnty",

"Requested Price".

"Actual Price"

 

Requirement:- I need to send an automated email to "Delivery lead" to "Approve" by  copying "Order Creator "

If i have 10 orders, each mail to be triggred automaticaly to the respective approver.

 

Can we include Hyper link for each Order Number where it opens directly the some link to approve?

 

Any help would be appreciated.

 

Regards,

Naresh

5 REPLIES 5
Kurt_Bremser
Super User

First of all, convert your dataset to a data step for posting with the macro found in https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat...

So we have something to play around with.

 

And post an example how the emails should look like.

 

From where do you get the data for the hyperlink/URL?

anare
Calcite | Level 5

Hi All,

 

Can anyone tell me how to pick email ID automatically in SAS when i execute code.

 

i have one variable has email address i need to send each observation via email.

 

Data Test;

set Test;

run;

 

Regards,

Naresh

anare
Calcite | Level 5

Hi All,

 

Can anyone tell me how to pick email ID automatically in SAS when i execute code.

 

i have one variable has email address i need to send each observation via email.

 

Data Test;

set Test;

run;

 

Regards,

Naresh

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 1819 views
  • 0 likes
  • 2 in conversation