Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: Howto Make BEX aware of SAPUILandscapeGlobal.xml

$
0
0

Hi

 

as workaround put in the services the message Server.

 

sapmsxx 36xx/tcp

 

you can rollout over SAPGui-Installation-Server with Script. "On Installation Start" on Package BeX

 

'================================

' Add Line for <SID> in "SERVICES"

'================================

NwEngine.Context.Log.Write "Event: Add Line for <SID> in SERVICES"

strFile = NwEngine.Variables.ResolveString( "%WinSysDir%\drivers\etc\services" )

Set objTextFile = CreateObject("NwSapSetupATLCommon.TextFileParser")

If objTextFile.Parse( strFile ) Then

NwEngine.Context.Log.Write "Event: Modify the file " & Chr(34) & strFile & Chr(34)

If objTextFile.DoesStringExist( "sapms<SID> 36xx/tcp" ) Then

objTextFile.ReplaceLineEx "sapms<SID> 36xx/tcp", "sapms<SID> 36xx/tcp"

Else

objTextFile.AppendLine "sapms<SID> 36xx/tcp"

End If

objTextFile.Save( strFile )

Else

NWEngine.Context.Log.WriteWarning "Event: Could not open the file " & Chr(34) & strSalFile & Chr(34)

End If

 

Harald


Viewing all articles
Browse latest Browse all 9091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>