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: 

FM to check if SAP or e.g. customer system?

Former Member
0 Kudos

Hello ABAP experts,

is there a function module to check if the current system is an SAP or e.g. a customer system?

Can FM INT_VCM_GET_SYSTEM_DATA be used for this?

Thanks and best regards,

Oliver

4 REPLIES 4

Former Member
0 Kudos

Hi Oliver,

do you mean the content of table T00 for a specific client?

regards,

Edgar

0 Kudos

Hi Edgar,

no, I just would like to have an indicator/flag to find out if the current system is e.g. an internal SAP system or a customer system (where e.g. special care has to be taken when running eCATTs for example).

Thanks,

Oliver

0 Kudos

whenever you are in SAP, it's an internal SAP system. I don't quite get your requirement. External systems can access SAP via remote function calls. So when you are in your RFC, you can check the RFC user (sy-uname) to see if this is the assigned RFC user. This way you know that it is being called from 'outside'. But again, clearify your requirement.

Former Member

Hi colleagues,

meanwhile we found the solution:

function module TR_SYS_PARAMS has exporting parameter SYSTEMTYPE which can be either 'SAP' or 'CUSTOMER'.

Regards,

Oliver