03-06-2009 2:28 PM
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
03-06-2009 2:39 PM
Hi Oliver,
do you mean the content of table T00 for a specific client?
regards,
Edgar
03-06-2009 2:42 PM
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
03-06-2009 5:15 PM
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.
03-09-2009 8:51 AM
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