currently we have an SAP system with two different clients 002 and 004. My task is to write a program in ABAP to create a report on user assignments. The report will do basically the same thing on both clients. But I need to choose a different number of tables on different tables and on different clients. Depending on which client the user calling the report is registered with.
Question: Is there a way to distinguish ABAP code between different clients? For instance:
IF client = 002.
*dothis.
ELSE.
*dothatdifferentthing.
ENDIF.
Thanks in advance.
source
share