Determining the current client in SAP using code

SAP HANASAPSAP Basis

You can find the current client in sy-mandt.

Example

Here is the code you can write for same.

IF sy-mandt = ‘001’.
*do A.
ELSE.
*Do B.
ENDIF.
raja
Published on 16-Dec-2017 00:29:39
Advertisements