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: 

Address number of the person who created the sales order.

UdayS
Participant
0 Kudos

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.

6 REPLIES 6

GauthamV
Active Contributor
0 Kudos

Use ADRC,ADR6 tables.

Former Member
0 Kudos

Hi:

Try Function module ADDR_PERS_COMP_COMM_GET

Regards

Shashi

Former Member
0 Kudos

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

former_member222860
Active Contributor
0 Kudos

Check VBPA, VBPA2

VBPA~ADRNR

Former Member
0 Kudos

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

siddhesh_pathak4
Contributor
0 Kudos

Hello Uady

Check with "VBKA"