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: 

RFC

Former Member
0 Kudos
89

Hi,

I have created one RFC for getting the customer mail id.Customer mail id is stored in ADR6 table, But there is no field kunnr. In kna1 table address number field is there.So i want to join these two tables for getting customer number & mail id. So i have created one internal table it has kunnr, addressnumber, emailid. I didnt decare this internal table in the tables tab. So whenever i execute that RFC that internal table name is not coming. so i can't see the answer. If i am debug it and run then only it shows the values. I have created this RFC for customer mail id. I want to know after importing this RFC whether that customer mail id will generate or not?

Edited by: Hima on Feb 1, 2008 3:58 AM

2 REPLIES 2

Former Member
0 Kudos
68

HI,

What is your input to the RFC?

If your input is to get the E-Mail address for the customer,

Set as below in definition of RFC:

Importing parameter: Customer Number

Exporting Parameter: E-Mail Address

Within RFC, via your relation KNA1->ADR6 derive the email address of the customer and pass it to the exporting parameter.

Regards

Eswar

Former Member
0 Kudos
68

Hello Hima,

Hope you have customer ID as import parameter, Email ID as export parameter and internal table is declared internally. If so, you have to read the internal table and populate Email ID at the end. Hope it should work then.

Thanks,

Venu