cancel
Showing results for 
Search instead for 
Did you mean: 

Updating HTML Templates

Former Member
0 Kudos

Dear SRM Gurus,

We are using SRM5.0 Extended classic scenario.

We are having special requirement that user wants F4 help of the business area field at the Shopping Cart in Cost assignment under item overview.

I have created a search help and attached it to the data element and also changed the code for F4 help. I am able to get the F4 help in the transaction BBPSC01 but unable to see the same in the HTML template (ITS screen). So please suggest me the procedure to be followed to get the same in the HTML template (ITS Screen) also.

Thanks in Advance,

Chandra Sekhar.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hello Chandrasekhar,

Please find below the HTML code that I put for adding a field and a F4 help in a screen. The lines within '----+' helps U to put the search help symbol. 'GS_SCR_D_ADDR-ZHRID' is the name of the field I created in the screen. Hope this helps.

Johnson

-


`TR()`

`if (GS_SCR_D_ADDR-ZHRID.exists)`

`TR()`

`if (GS_SCR_D_ADDR-ZHRID.disabled)`

`TD(class="label", nowrap="x", active="")``GS_SCR_D_ADDR-ZHRID.label` 

`TD(class="data", nowrap="x", active="")` `GS_SCR_D_ADDR-ZHRID.value`

`else`

`TD(class="label", nowrap="x")`<label for="`GS_SCR_D_ADDR-ZHRID.name`">`GS_SCR_D_ADDR-ZHRID.label`</label>&nbsp;

`TD(class="data", nowrap="x")`

<input type=text id="`GS_SCR_D_ADDR-ZHRID.name`" name="`GS_SCR_D_ADDR-ZHRID.name`" value="`GS_SCR_D_ADDR-ZHRID.value`" maxlength="40" size="40">

-


+

`F4HelpButton(bbpformname,

"GS_SCR_D_ADDR-ZHRID",

jsMaskString(strEnc(#SELECT_TEXT_SHELP_SHIPTO)),

jsMaskString(strEnc(#SELECT_SHELP_ADDRESS)))`

-


+

`end`

`TR()` `Lines()`

`end`

Former Member
0 Kudos

Dear Johnson,

thanks for the code..

Can you pls explain the below 2 lines of code..

jsMaskString(strEnc(#SELECT_TEXT_SHELP_SHIPTO)),

jsMaskString(strEnc(#SELECT_SHELP_ADDRESS)))`

I am unable understand what values has to be passed in that string.

Thanks,

Chandra Sekhar.