on 08-03-2006 10:06 AM
Hi SDN,
I am on SRM 2.0, EBP 3.5.
I need to change the label/value (the text on a push button). In the corresponding html template I find this entry:
`if (BUDGET.exists)`
`BBPButton( "BUDG",BUDGET.label,tooltip=#BUTTON_BUDGET)`
`end`
I was checking the corresponding dynpro 7500 layout in screenpainter, but could not see the button.
Where can I change the text of the button?
thanx, matthias
Hi,
You can either do it through the template (Instead of BUDGET.LABEL write 'required text') or
You can go in SE51>Element list>Texts/I/O Templates and change the Text or I/O field.
HTH.
BR,
Disha.
PLs reward points for helpful answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Disha,
when replacing BUDGET.label with 'my text' eg. I get in the webbrowser source of the html template this:
<td class="pushButton" nowrap>
<p class="pushButton"><a href="javascript:SetOkCode('BUDG', 'BBPForm', '', '','')" class="pushButton" <b>name=""</b> title="zeigt an, auf welche Kostenstelle der Einkaufswagen kontiert ist" onmouseover="status=' ';return true;" onmouseout="status=' ';"> </a></p>
</td>
means, the button has no label at all (
name=""
). SE51 is merely the elementlist, which I also get from se80, when calling the dynpro and then turning to its' elements, right?Here I can't see my button - I suppose it's a push button.
Do I maybe have to change the javascript, which I also see in the real sourcecode from the webbrowser?
thanx again, matthias
Hi Disha,
sorry - misunderstanding - alternative 1 works:
instead of 'my text' I wrote "my text" and now the label changed!
Still I'd like to see my button on the corresponding dynpro 7500 - on the other hand, the button appears only, when putting something in the shopping cart - so maybe I can't see it on the plain 7500 dynpro?
but, you brought the solution - 10 points
regards, matthias
I see - SE51 -- rider: Texts/I/O Templates (and not type of screen element I/O) . Funny thing is - I see all the other buttons like 'order' or 'park', 'create my template' but not my 'budget' butt.
Maybe another dynpro? Still my webbrowser tells me I am on:
Template: bbppu99/99/saplbbp_sc_7500.html -->
so wot?
Matthias
Hi matthias,
In SE51,in the Element List,the "type of screen element" will be "PUSH" for the button.You should be able to see the button in "LAYOUT".
Generally,you should be able to change the text from SE51 attributes for the element list but template changes can also be one of the workarounds.
Thansk for the points.
BR,
Disha.
HI matthias
Are you refering to the budget URL link in Shopping cart if yes then follow the following solution --
SE80--> BBPSC01 -->SAPLBBP_SC_UI_ITS_140
comment the following code --
<!-- <a href=""Javascript:TargetSetOkCode('UI_COMPLETE_BUDGET','`temp_target`','`bbpformname`')""
onmouseover=""status=' ';return true;"" onmouseout=""status=' ';"" alt=""`BTN_COMPLETE_BUDGET.label`"" title=""`BTN_COMPLETE_BUDGET.label`"">
`BTN_COMPLETE_BUDGET.label`</a> -->
"
Regards,
Nimish Sheth
pls reward points for helpful answers.
Hi you guys,
so what Nimesh mentions (BBPSC01 -->SAPLBBP_SC_UI_ITS_140) is the TA for Shopping Cart and the corresponding html template, I reckon, which in fact does not exist in my system. Still we're about to update to SRM 5.0.
so this:
<a href=""Javascript:TargetSetOkCode('UI_COMPLETE_BUDGET','`temp_target`','`bbpformname`')""
onmouseover=""status=' ';return true;"" onmouseout=""status=' ';"" alt=""`BTN_COMPLETE_BUDGET.label`"" title=""`BTN_COMPLETE_BUDGET.label`"">
`BTN_COMPLETE_BUDGET.label`</a>
is really in the template for the shopping cart? In my case this is merely the source outcome - webbrowser source view.
regards, matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.