cancel
Showing results for 
Search instead for 
Did you mean: 

change in service BBPACCOUNT--urgent-

Former Member
0 Kudos

Hi All,

i have a query reagrding the chnage of the template BBPACCOUNT.I did the foll changes in the template:

1>removed the field G/L account(both columns for the label and value).

2>Aligned the remaining columns accordingly.

But now my problem is in the Last column "ACTION",i am getting some extra columns within that column.To remove this columns,if i increase the width of that column then also these lines are not getting erased.

If anyone has any idea how these extra lines are coming..Please give me some idea as to what more changes i need to do in the template so that these lines are not visible...Please help....

Thanks & Regards,

Disha.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Disha,

This is a pure HTML code issue.

It looks like you didn't really "2>Aligned the remaining columns accordingly."

Check the header columns, with colspan, the table and item <TD>, etc...

Rgds

Christophe

Former Member
0 Kudos

Hi Christophe/All,

I have done the alignment porperly...For the Last column,i have used "COLSPAN" to adjust the width..But still i am getting an extra line besides the "DELETE" button...i am not able to remove that...

I know this is completely a HTML issue..but still if any one has any idea as to where am i going wrong....then suggestions and any sort of help is appreciated.....Here is my code for the Last columns in the Header and the detail row:

<u><b>HEADER :</b></u>

`TABLE(class="list", title=ACC_LIST_LABEL.value)`

`TR(tableName= ACC_LIST_LABEL.value)`

`TR(class="heading")`

`repeat with j from 1 to TC_1000.columncount`

<!-- following line has to be activated if customer wants to have profit center on screen-->

<!-- if (j==1|| j==2 || j==3 || j==5 || j==6 || j==7);-->

<!-- changed by elaine gin for distribution types - temporary just testing 10.17 -->

<!-- `if (j==1|| j==2 || j==3 || j==5 || j==6 )` -->

`if (j==1)`

`TD(nowrap="X", active="", title=TC_1000-column[j].title)` `TC_1000-column[j].title`

`end`

`if (j==2)`

`if (GV_DIST_IND == "")`

`TD(nowrap="X", active="", title=TC_1000-column[j].title)` `TC_1000-column[j].title`

`elseif (GV_DIST_IND == "Q")`

`TD(nowrap="X", active="", title=QUANTITY_H.label)` `QUANTITY_H.label`

`elseif (GV_DIST_IND == "V")`

`TD(nowrap="X", active="", title=AMOUNT_H.label)` `AMOUNT_H.label`

`end`

`end`

<!-- begin of modification-->

<!-- `if (j==3 || j==6 || j==7 || j==8 )`

`TD(nowrap="X", active="", title=TC_1000-column[j].title)` `TC_1000-column[j].title`

`end` -->

<!-- end of modification -->

<!-- begin of modification -->

<b>`if (j==3)`

`TD(nowrap="X", active="", title=TC_1000-column[3].title)` `TC_1000-column[3].title`

`elseif (j==4)`

`TD(nowrap="X", active="X", title=TC_1000-column[4].title)` Cost Centre Description

<!-- `elseif (j==5)`

`TD(nowrap="X", active="X",title=TC_1000-column[5].title)` G/L Account Description -->

`elseif (j==7)`

`TD(nowrap="X", active="", title=TC_1000-column[7].title)` G/L Account Description

`elseif (j==8)`

`TD(nowrap="X", active="", title=TC_1000-column[8].title)` `TC_1000-column[8].title`

`end` </b> <!-- end of modification -->

<!-- Icon column -->

`if (j==9)`

`TD(nowrap="X", align="center", colspan="27", active="", title=BBP_TEXT_GLOBAL-ACTION.label)` `BBP_TEXT_GLOBAL-ACTION.label`

`end`

`end`

<u><b>DETAIL(CONTENT ROW</b></u>):

<!-- start content row -->

`repeat with j from TC_1000.firstvisible to TC_1000.lastvisible`

`if ((T_SCREEN_ACCLIST-ACC_NO[j].value != "0") && (T_SCREEN_ACCLIST-ACC_NO[j].value != ""))`

`TR()`

`TD(nowrap="X",align="right")`

<a href="JavaScript: document.`bbpformname`.SEL_ACC_NO.value='`T_SCREEN_ACCLIST-ACC_NO[j].value`';SetOkCode('ACCDET','`bbpformname`','','');" onmouseover="status=' ';return true;" onmouseout="status=' ';"

alt="`BBP_TEXT_GLOBAL-DETAIL.label``CreateSeperator()``T_SCREEN_ACCLIST-ACC_NO[j].value`" title="`BBP_TEXT_GLOBAL-DETAIL.label``CreateSeperator()``T_SCREEN_ACCLIST-ACC_NO[j].value`">

`T_SCREEN_ACCLIST-ACC_NO[j].value`</a>

`TD(align="center", nowrap="X")`

`if (GV_DIST_IND == "")`

`if (T_SCREEN_ACCLIST-DISTR_PERC[j].disabled)`

<span tabindex="0">`T_SCREEN_ACCLIST-DISTR_PERC[j].value`</span>

<input type=hidden name="`T_SCREEN_ACCLIST-DISTR_PERC[j].name`" value="`T_SCREEN_ACCLIST-DISTR_PERC[j].value`">

`else`

<input type=text name="`T_SCREEN_ACCLIST-DISTR_PERC[j].name`" value="`T_SCREEN_ACCLIST-DISTR_PERC[j].value`" title="`#PERCENT`" maxlength="6" size="6">

`end`

`end`

`if (GV_DIST_IND == "Q")`

`if (T_SCREEN_ACCLIST-DIST_QUAN[j].disabled)`

`T_SCREEN_ACCLIST-DIST_QUAN[j].value`

<input type=hidden name="`T_SCREEN_ACCLIST-DIST_QUAN[j].name`" value="`T_SCREEN_ACCLIST-DIST_QUAN[j].value`">

`else`

<input type=text name="`T_SCREEN_ACCLIST-DIST_QUAN[j].name`" value="`T_SCREEN_ACCLIST-DIST_QUAN[j].value`" maxlength="14" size="14">

`end`

`end`

`if (GV_DIST_IND == "V")`

`if (T_SCREEN_ACCLIST-DIST_VALUE[j].disabled)`

`T_SCREEN_ACCLIST-DIST_VALUE[j].value`

<input type=hidden name="`T_SCREEN_ACCLIST-DIST_VALUE[j].name`" value="`T_SCREEN_ACCLIST-DIST_VALUE[j].value`">

`else`

<input type=text name="`T_SCREEN_ACCLIST-DIST_VALUE[j].name`" value="`T_SCREEN_ACCLIST-DIST_VALUE[j].value`" maxlength="16" size="16">

`end`

`end`

<!-- new F4 help -->

`if (T_SCREEN_ACCLIST-ACC_CAT[j].disabled)`

`F4_MULTI_DISP1(T_SCREEN_ACCLIST-ACC_CAT[j],

T_SCREEN_ACCLIST-ACCCAT_D[j],

"ACC_CAT",

"ACCCAT_D")`

`else`

`jsFunction = "change_selection(this.options[this.selectedIndex].value)"`

`F4_MULTI_CHANGE1_OC(T_SCREEN_ACCLIST-ACC_CAT[j],

T_SCREEN_ACCLIST-ACC_CAT[j].name,

T_SCREEN_ACCLIST-ACCCAT_D[j],

T_SCREEN_ACCLIST-ACCCAT_D[j].name,

"ACC_CAT",

"ACCCAT_D",

"X",

#SELECT_TEXT_SHELP_ACC_ATTR,

#SELECT_SHELP_ACC_ATTR,

jsFunction)`

`end`

<!-- `if (T_SCREEN_ACCLIST-ACC_CAT[j].disabled)`

`repeat with option from 1 to ACC_CAT.dim`

`if (ACC_CAT[option] == T_SCREEN_ACCLIST-ACC_CAT[j].value)`

`ACCCAT_D[option]`&nbsp;

`end`

`end`

`else`

<select name="T_SCREEN_ACCLIST-ACC_CAT[`j`]"

OnChange="SetOkCode('CHANGEACCTYPE','BBPForm','','')">

`repeat with option from 1 to ACC_CAT.dim`

`if (ACC_CAT[option] == T_SCREEN_ACCLIST-ACC_CAT[j].value)`

<option value="`ACC_CAT[option]`" selected>`ACCCAT_D[option]` </option>

`else`

<option value="`ACC_CAT[option]`">`ACCCAT_D[option]` </option>

`end`

`end`

</select>&nbsp;

`end` -->

`if (((GV_SC.value=="X") || (GV_PO.value=="X"))

&& (GV_AUTHORITY.value=="X") && (GV_BACKEND_CALL.value=="X"))`

<!-- Begin: New F4-Help for accounting on overview screen -->

`if (T_SCREEN_ACCLIST-GENERIC_ACC[j].disabled)`

<input type=hidden name="`T_SCREEN_ACCLIST-GENERIC_ACC[j].name`" value="`T_SCREEN_ACCLIST-GENERIC_ACC[j].value`">

`else`

<input type=text title="`#ACC_ON`" name="`T_SCREEN_ACCLIST-GENERIC_ACC[j].name`" value="`T_SCREEN_ACCLIST-GENERIC_ACC[j].value`" maxlength="64" size="11">

<!-- `if (GV_AUTHORITY.value=="X")`

`if (GV_BACKEND_CALL.value=="X")` -->

`F4HelpButton(bbpformname, T_SCREEN_ACCLIST-GENERIC_ACC[j].name, jsMaskString(strEnc(#SELECT_TEXT_SHELP_GENERIC_ACC)), jsMaskString(strEnc(#SELECT_SHELP_GENERIC_ACC)))`

<!-- `end`

`end` -->

`end`<!-- -->

<!-- End: New F4-Help for accounting on overview screen -->

`else`

`if (T_SCREEN_ACCLIST-GENERIC_ACC[j].disabled)`

`T_SCREEN_ACCLIST-GENERIC_ACC[j].value`<input type=hidden name="`T_SCREEN_ACCLIST-GENERIC_ACC[j].name`" value="`T_SCREEN_ACCLIST-GENERIC_ACC[j].value`">

`else`

`if (T_SCREEN_ACCLIST-HV_POSSIBLE[j].value == "X")`

<select name="`T_SCREEN_ACCLIST-GENERIC_ACC[j].name`">

`repeat with option2 from 1 to ACF_VALUE.dim`

`if ( (T_SCREEN_ACCLIST-ACC_FIELD[j].value == ACF_ACC_FIELD[option2]) || (ACF_VALUE[option2] == '' ) )`

`if (ACF_VALUE[option2] == T_SCREEN_ACCLIST-GENERIC_ACC[j].value)`

<option value="`ACF_VALUE[option2]`" selected>`ACF_VALUE[option2]` </option>

`else`

<option value="`ACF_VALUE[option2]`">`ACF_VALUE[option2]` </option>

`end`

`end`

`end`

</select>&nbsp;

`else`

<input type=text name="`T_SCREEN_ACCLIST-GENERIC_ACC[j].name`" value="`T_SCREEN_ACCLIST-GENERIC_ACC[j].value`" maxlength="064" size="11">

`end`

`end`

<!-- `if (T_SCREEN_ACCLIST-GENERIC_ACC[j].disabled)`

`T_SCREEN_ACCLIST-GENERIC_ACC[j].value`<input type=hidden name="`T_SCREEN_ACCLIST-GENERIC_ACC[j].name`" value="`T_SCREEN_ACCLIST-GENERIC_ACC[j].value`">

`else`

<input type=text name="`T_SCREEN_ACCLIST-GENERIC_ACC[j].name`" title="`#ACC_ON`" value="`T_SCREEN_ACCLIST-GENERIC_ACC[j].value`" maxlength="064" size="011">

`end`

-->

`end`

`TD(align ="center", nowrap="x", active="")``T_SCREEN_ACCLIST-DESCR_GENERIC_ACC[j].value`

`if (T_SCREEN_ACCLIST-G_L_ACCT[j].disabled)`

`TD(nowrap="X", align="right", active="")`

`T_SCREEN_ACCLIST-G_L_ACCT[j].value`

<input type=hidden name="`T_SCREEN_ACCLIST-G_L_ACCT[j].name`" value="`T_SCREEN_ACCLIST-G_L_ACCT[j].value`">

`else`

<!-- begin of modification

`TD(nowrap="X", align="right", active="X")`

<input type=text title="`#GL_ACC`" name="`T_SCREEN_ACCLIST-G_L_ACCT[j].name`" value="`T_SCREEN_ACCLIST-G_L_ACCT[j].value`" maxlength="64" size="11">

`if (GV_AUTHORITY.value=="X")`

`if (GV_BACKEND_CALL.value=="X")`

`F4HelpButton(bbpformname, T_SCREEN_ACCLIST-G_L_ACCT[j].name, jsMaskString(strEnc(#SELECT_TEXT_SHELP_GL_ACCT)), jsMaskString(strEnc(#SELECT_SHELP_GL_ACCT)))`

`end`

end of modification -->

`end`

`end`

`TD(align ="center", nowrap="x", active="")``T_SCREEN_ACCLIST-DESCR_GL_ACCT[j].value`

<!-- `if (T_SCREEN_ACCLIST-BUS_AREA[j].disabled)` -->

`TD(nowrap="X", align="center", active=" ")`

`T_SCREEN_ACCLIST-BUS_AREA[j].value`

<input type=hidden name="`T_SCREEN_ACCLIST-BUS_AREA[j].name`" value="`T_SCREEN_ACCLIST-BUS_AREA[j].value`">

<!-- `else`

`TD(nowrap="X", align="right", active="X")`

<input type=text title="`#BUS_AREA`" name="`T_SCREEN_ACCLIST-BUS_AREA[j].name`" value="`T_SCREEN_ACCLIST-BUS_AREA[j].value`" maxlength="4" size="4">

`end` -->

<!-- following line has to be activated if customer wants to have profit center on screen-->

<!--

`TD()`

`if (T_SCREEN_ACCLIST-PROFIT_CTR[j].disabled)`

`T_SCREEN_ACCLIST-PROFIT_CTR[j].value`

`else`

<input type=text name="`T_SCREEN_ACCLIST-PROFIT_CTR[j].name`" value="`T_SCREEN_ACCLIST-PROFIT_CTR[j].value`" maxlength="10" size="10">

`end`

-->

<!-- begin of modification -->

<b>`if (j==1)` </b>

<!-- end of modification -->

`TD(nowrap="X", align="right", <b>colspan="14")`</b>

<a href="JavaScript: document.`bbpformname`.SEL_ACC_NO.value='`T_SCREEN_ACCLIST-ACC_NO[j]`'; SetOkCode('ACCDET','`bbpformname`','','');" onmouseover="status=' ';return true;" onmouseout="status=' ';">

<img src="`mimeURL(~service="bbpglobal", ~language="", ~name="images/icon/s_b_detl.gif")`"

alt="`BBP_TEXT_GLOBAL-DETAIL.label``CreateSeperator()``T_SCREEN_ACCLIST-ACC_NO[j] .value`" title="`BBP_TEXT_GLOBAL-DETAIL.label``CreateSeperator()``T_SCREEN_ACCLIST-ACC_NO[ j].value`" border=0></a>

`if (GV_MODE.value=="E")`

<!-- begin of modification -->

`if (T_SCREEN_ACCLIST-DEL_IND[j].value=="X")`

<!-- end of modification -->

<a href="JavaScript: document.`bbpformname`.SEL_ACC_NO.value='`T_SCREEN_ACCLIST-ACC_NO[j]`'; SetOkCode('ACCDEL','`bbpformname`','','');" onmouseover="status=' ';return true;" onmouseout="status=' ';">

<span tabindex="0" title="`#BUTTON`">

<img src="`mimeURL(~service="bbpglobal", ~language="", ~name="images/icon/trash_undelete.gif")`" alt="`BBP_TEXT_GLOBAL-UNDELETE.label`" title="`BBP_TEXT_GLOBAL-UNDELETE.label`" border=0></a>

</span>

`else`

<a href="JavaScript: document.`bbpformname`.SEL_ACC_NO.value='`T_SCREEN_ACCLIST-ACC_NO[j]`'; SetOkCode('ACCDEL','`bbpformname`','','');" onmouseover="status=' ';return true;" onmouseout="status=' ';">

<span tabindex="0" title="`#BUTTON`">

<img src="`mimeURL(~service="bbpglobal", ~language="", ~name="images/icon/trash.gif")`" alt="`BBP_TEXT_GLOBAL-DELETE_TXT.label`" title="`BBP_TEXT_GLOBAL-DELETE_TXT.label`" border=0></a>

</span>

`end`

`else`

`if (T_SCREEN_ACCLIST-DEL_IND[j].value=="X")`

<span tabindex="0" title="`#BUTTON`">

<img src="`mimeURL(~service="bbpglobal", ~language="", ~name="images/icon/trash_undeletenull.gif")`" alt="`BBP_TEXT_GLOBAL-UNDELETE.label`" title="`BBP_TEXT_GLOBAL-UNDELETE.label`" border=0>

</span>

`else`

<span tabindex="0" title="`#BUTTON`">

<img src="`mimeURL(~service="bbpglobal", ~language="", ~name="images/icon/trashnull.gif")`" alt="`BBP_TEXT_GLOBAL-DELETE_NULL.label`" title="`BBP_TEXT_GLOBAL-DELETE_NULL.label`" border=0>

</span>

`end`

`end`

`end`

<!-- end content row -->

BR,

Disha.