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: 

Intractive between clients

Former Member
0 Kudos

Hi All,

I had meet the below requirement.

Whenever a user login to any client like 000, 001 an email will be trigger through the productive client like 220.

i.e

The mail triggering part will contains the sender, receiptant and the body.

The sender and the receiptant email are maintained in productive client say 220.

So, during login (a customer exit is called and the code can be written thee) a user say DDIC to client 000, an email wil be triggering which is maintained in client 220.

So how can we navigate from client 000 to client 220.

I had searched in SCN but couldnot get any good suggestion.

The mail building part is there is scn but not the navigation part.

Please suggest me the navigation.

Best Regards,

Munu

6 REPLIES 6

Former Member
0 Kudos

This message was moderated.

matt
Active Contributor
0 Kudos

The term navigation is confusing. What exactly do you mean "navigate"?

Have you read the ABAP help on SELECT... CLIENT SPECIFIED?

What is meant by "The sender and the receiptant email are maintained in productive client say 220"? Is it in a table? Why not make the table client independent?

Really, this is all basic ABAP programming. Do you understand the SAP Client concept and how it works?

Former Member
0 Kudos

Hi Mattew,

The email id is maintained in table ADR6 through SU01 tcode which is client dependent and in productive system like 220.

So when an user login to client 000 the email wont be maintained there. So my requirement is to fetch fropm clinet 220.

Thank for you quick response.

Regards,

Munu

matt
Active Contributor
0 Kudos

Then read the ABAP help on CLIENT SPECIFIED.

However, a better solution is to write an RFC enabled function module to handle the emailing, Create an RFC destination for client 220 of your production system. Call your function module from client 000 with this destination (and the other information you need), and your problem is solved.

Former Member
0 Kudos

Dear Matthew,

That a good solution. But we cant write code in the client 000.

As we wont have the access. Only we can do in the development system client 220.

So hope we cant able to do RFC. I heard about workflow events. Can we do by that way?

Regards,

Munu

matt
Active Contributor
0 Kudos

Code is client independent, so it doesn't matter what client you're logged into. Now that is a very basic principle.