This website is not affiliated with, sponsored by, or approved by SAP AG.

how to add two events for one pushbutton?

All postings related to SRM only

Moderators: Snowy, thx4allthefish

how to add two events for one pushbutton?

Postby imi242 » Mon Mar 23, 2009 9:20 am

hello
i am new in SRM.
I need to change the HTML template with this code:
-----------------------------------------------------------------------------------------------------------------------------------------------
`include (~service="bbpglobal", ~name="bbpfunctions.html")`

<table width=100%>
`TR()` `TD()`

`BBPVSpace()`
`BBPButtonBegin()`

`if (BTN_SC_ORDER.exists)`
`if (BTN_SC_ORDER.disabled)`
`BBPDisabledButton(BTN_SC_ORDER.label)`
`BBPButtonSpace()`
`else`
`BBPButton(BTN_SC_ORDER.OKCODE,BTN_SC_ORDER.label, tooltip=#BUTTON_ORDER)`
`BBPButtonSpace()`
`end`
`end`

`if (BTN_SC_REFRESH.exists)`
`if (BTN_SC_REFRESH.disabled)`
`BBPDisabledButton(BTN_SC_REFRESH.label)`
`BBPButtonSpace()`
`else`
`BBPButton(BTN_SC_REFRESH.OKCODE,BTN_SC_REFRESH.label,tooltip=#BUTTON_ACTUAL)`
`BBPButtonSpace()`
`end`
`end`
-----------------------------------------------------------------------------------------------------------------------------------------------

Now I have two buttons ORDER (generating SC_ORDER event) and REFRESH (generating SC_REFRESH event)
at the web. I need to make a change to trigger REFRESH event right before the ORDER event if user clicks ORDER pushbutton.
It means TWO event at one click.
Thanx in advance for any help.
imi242
 
Posts: 1
Joined: Mon Mar 23, 2009 9:11 am

Re: how to add two events for one pushbutton?

Postby dehinson » Wed Aug 12, 2009 7:05 am

Hello,

Why would you want this to happen? What scenario are you encountering where you need to do this?

Regards, Dean.
dehinson
 
Posts: 143
Joined: Mon Oct 21, 2002 10:39 am
Location: Charleston, SC


Return to SRM Supplier Relationship Management

Who is online

Users browsing this forum: No registered users and 3 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.