cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve Logical System Name

Former Member
0 Kudos

Hi experts,

in a File to XI to IDOC scenario,

is possible to retrieve dynamically the Logical System Name?

Is the value that I find in Service --> Adapter Specific Identifiers in ID.

In SXMB_MONI that value comes in SAP:SNDPRN.

<SAP:SNDPRN>XIDCLNT100</SAP:SNDPRN>

<SAP:SNDPRT>LS</SAP:SNDPRT>

Thanks
Fabio

Accepted Solutions (1)

Accepted Solutions (1)

azharshaikh
Active Contributor
0 Kudos

Hi Fabio,

Yes, the Logical System name is defined for the BS in SLD and it appears in the Adapter Specific Identifiers...

If you require the SID of PI system, you can use this UDF in your MM:

String sysSID = (String)System.getProperty("SAPSYSTEMNAME");

  OR

String sysSID = (String)System.getProperty("user.name");

Regards,

Azhar

Former Member
0 Kudos

Hi Azhar,

with first property I get only "XID"

with second I get "SAPServiceXID".

Fabio

Answers (0)