cancel
Showing results for 
Search instead for 
Did you mean: 

Replace SAP web login screen with custom screen

Former Member
0 Kudos

Hi,

I am developing an ITS application. User wants to replace the SAP Web login screen(The screen that says - Please log on to the SAP System) with Custom screen. Is that possible? If yes, How.

thanks.

vishwas arya.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Klaus,

This is very basic, but could you pl. elaborate on How to copy

...\SAP\ITS\6.20\<YOUR_INSTANCE>\templates\system\dm

to

...\SAP\ITS\6.20\<YOUR_INSTANCE>\templates\system\pm

thanks.

vishwas.

former_member228142
Active Contributor
0 Kudos

Vishwas,

Just copy the file login.html from the dm directory to the pm directory. Look on your ITS server in the file system where you installed ITS. There you will find these directories. Then modify the file at the new location.

Best regards,

Klaus

Former Member
0 Kudos

Hi Vishwas,

yes, this is possible.

In your webservice, create a template called "LOGIN" in the same theme as all other templates.

In this template, you can define your login screen like this, for example:


    `if (~login=="")`
        <tr><td>Login:</td><td><input name="~login"  value="`RSYST-BNAME`" onChange="javascript:this.value=this.value.toUpperCase();"></td></tr>
        <tr><td><input name="~logininput" type="hidden" value="1"></td></tr>
    `end`
  `else`
    `if (~login=="")`<tr><td>Login:</td><td><input name="~login"  value="*" onChange="javascript:this.value=this.value.toUpperCase();"></td></tr>`end`
  `end`

  `if (~clientCert != "2" && ~password=="")`
      <tr><td>Password:</td><td><input type=password name="~password" value="" size=8 maxlength=8></td></tr>
      <tr><td><input name="~passwdinput" type="hidden" value="1"></td></tr>
  `end`

  <tr><td>Languages:</td>
    <td>
	<select name="~language">
	     <option></option>
    `if (getLanguages ("langId", "langDesc") == 0)
	   repeat with i from 1 to langId.dim`
            `if (~language == langId<i>)`<option value="`langId<i>`" selected>`langDesc<i>`</option>
            `else`<option value="`langId<i>`">`langDesc<i>`</option>
            `end`
  	   `end`
     `else`
           <option value="en">No allowed languages specified. English used as default.</option>
    `end`
	</select>
    </td></tr>
  <tr><td></td><td>`~MessageLine`</td></tr>
  </table>
</td>
</tr>
<tr>
<td>
 <table align=center">
  <tr>
  <td><input type=submit name="~OkCode=/0"   value="Logon"></td>
  `if (strnicmp (~xgateway, "sapxgwfc", 😎 != 0)`
      <td><input type=submit name="~OkCode=/16" value="Logoff"></td>
  `end`
  `if (~clientCert != "2" && ~login=="" && ~password=="")`
  <td><input type=submit name="~OkCode=RESE" value="New Password"></td>
  `end`
  </tr>
 </table>
</td>
</tr>
</form>
</td>
</tr>
</table>

I hope this helps.

regards,

Michael

former_member228142
Active Contributor
0 Kudos

Hi Vishwas,

please check this thread

Best regards,

Klaus