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: 

ABAP - identifying the calling system

Former Member
0 Kudos

Hello!

Is there a way to find out when my RFC is calling by a R/3 program or by a Portal(PDK/Java) application? I´m trying the SYST structure..but i didn´t find out anything till now.

If someone has a light, show me up!

tks!

Regards,

André Luis Calderan

Complex

1 ACCEPTED SOLUTION

former_member186741
Active Contributor
0 Kudos

I think you can access table usr02 for the syst-uname and look at usr02-USTYP for a value of 'C'.

That is, if your system is set up so the rfc uses a userid of the appropriate type you will be able to identify when the rfc is being called by that type of user.

User type values are:

A Dialog

B System User (Internal RFC and Background Processing)

C Communication User (External RFC)

L Reference User

S Service User

5 REPLIES 5

Former Member
0 Kudos

Hi Andre,

The question is not very clear can you provide some more info? What info you are looking for?

btw did you check in se37 --> RFCSYSTEM* it gives a whole lot of useful RFC utility function modules which may be used.

Cheers

VJ

Message was edited by: Vijayendra Rao

former_member181966
Active Contributor
0 Kudos

You can run the report: RSRFCTRC (TO Trace RFC ) OR Tr. S_ALR_87101279...

Hope this’ll give you idea!!

<b>P.S award the points.</b>

Good luck

Thanks

Saquib Khan

"Some are wise and some are otherwise"

former_member186741
Active Contributor
0 Kudos

I think you can access table usr02 for the syst-uname and look at usr02-USTYP for a value of 'C'.

That is, if your system is set up so the rfc uses a userid of the appropriate type you will be able to identify when the rfc is being called by that type of user.

User type values are:

A Dialog

B System User (Internal RFC and Background Processing)

C Communication User (External RFC)

L Reference User

S Service User

0 Kudos

Tks Neil, you got the point...i had did it once, but i didnt remember from USTYP!

Att.,

André

Former Member
0 Kudos

Hi Andre,

Is there a way to find out when <b>my RFC</b>

(I suppose its your Z RFC Fm)

1. if we are not able to find out the solution

then it would be better to

pass one ADDITIONAL parameter

specifiying the source as some flag/field

(R/3 , Java/Internet)

I know it does not solve ur query.

Just the last resort.

regards,

amit m.