03-12-2009 9:27 AM
Hello Experts,
I am currently making a report in which it has to send the output of the script as a email attachment to the person who created the sales order. For this i am using a standard include RVADOPFO but here we need to pass the address number and person number gor getting the rest of the details. So where i can find the address of the person who created the sales order. (I am able to get the name throuhg VBDKA-ERNAM, but i need address number of that person)
Thanks & Regards,
Uday S.
03-12-2009 9:32 AM
03-12-2009 9:36 AM
03-12-2009 9:37 AM
Hi Uday,
check
ADRC-NAME1 = VBAP-ERNAM
in ADRC you will get the address of the SO created person in the field ADDRNUMBER that you have to pass in the ADR6-ADDRNUMBER you will get the mail address in the field ADR6-SMTP_ADDR
hope it helps you
Thanks!
Edited by: Prasanth on Mar 12, 2009 3:15 PM
03-12-2009 9:39 AM
03-12-2009 9:41 AM
ERNAM is the SAP user name so you can direclty send the email to the user's SAP Inbox if its okai with the user.
Mathews
03-12-2009 9:43 AM