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 15-Dec-2017 19:59:39
Advertisements