Reg;Event Parameters
Hi all,
In Transaction SWO1 i have an event for which i could create parameters which refer to the data dictionary fields.Now i want to replace the individual parameters of the event with a structure (this structure has four fields).i am unable to do this.can anyone tell me what is the procedure to declare a structure under the events.
this structure should be available to create a binding between the event and the workflow.
any help would be appreciable with points.
thanks
Sandeep
Hi,
should be no problem at all?
In SWO1
Mark <event>
Click EVENT
Confirm "...with dictionary..." or sth like that (sorry, got only german screen)
Choose TABLE
Click OK
Mark all members of table(!!!)
Click OK
Confirm all table members
Voila! Got it?
Or didn't I get the problem? Then sorry.
Good luck!
Jo
Similar Messages
-
Event Parameters in WDA from Flash
Hi experts
I've alredy created a WDA with Flash inside in wich i send data from WDA and Flash make graphics.
Now i need to interact from Flash to WDA sending an event with values.
I found how to send event from Flash (fireEvent) and how to detect that event in WDA (adding and event) and get the values in WDA ; but that values are transfered just like the other context nodes, just with 'readOnly' property empty and in Flash these values are just public variables (not parameters in fireEvent).
I see we can add parameters in WDA Event , does somebody knows where can i search about how to manage parameters in WDA Event received from Flash (and how to send these parameters from Flash in the 'fireEvent') ?
Any help will be usefull.
Best Regards
Frank>does somebody knows where can i search about how to manage parameters in WDA Event received from Flash (and how to send these parameters from Flash in the 'fireEvent') ?
You can add the parameters into the fireEvent method. In this sample I have the Event name newDirections. I am adding the event parameter named dirString and the value is the variable dirS. You pass event parameters in this name/value pair format.
FlashIsland.fireEvent(this,"newDirections",{dirString:dirS});
From the ABAP side I can retrieve the event parameter from within the Event Handler method of the controller as follows:
data dir_results type string.
dir_results = wdevent->get_string( 'dirString' ).
check dir_results is not initial. -
How to Enter Event Parameters in FM SAP_WAPI_CREATE_EVENT_EXTENDED
Hi,
I am trying to trigger theEvent 'START_RM_WEBREQ' for an ABAP Class 'CL_HREIC_RM_WORKFLOW' using the above mentioned FM.
Usually this can be done using SWUE, however I am asked to do it create a custom program that would do the functionality for SWUE.
Problem is I cannot figure out how do I enter the Parameters of the Event via this FM SAP_WAPI_CREATE_EVENT_EXTENDED.
The event parameters for the event 'START_RM_WEBREQ' is Object Type and Key. Usually when doing it via SWUE we are prompted with a dynamic screen which asks us to populate the values.
Please help.
Thanks,
PabloHi,
Thank you for your response. But I am facing the same problem there. I am not able to populate the value of the Parameter for the event START_RM_WEBREQ.
The code I had written initially is similar to the one in the link that you have sent:
TABLES: swotobjid.
SELECT-OPTIONS: s_notif FOR swotobjid-objkey NO INTERVALS .
DATA: lv_objtype TYPE sibftypeid,
lv_event TYPE sibfevent,
lv_objkey TYPE sibfinstid,
lr_event_parameters TYPE REF TO if_swf_ifs_parameter_container,
lv_param_name TYPE swfdname,
lv_value TYPE char80.
lv_objtype = 'CL_HREIC_RM_WORKFLOW'.
lv_event = 'START_RM_WEBREQ'.
LOOP AT s_notif.
lv_objkey = s_notif-low.
*Instantiate an empty event container
CALL METHOD cl_swf_evt_event=>get_event_container
EXPORTING
im_objcateg = cl_swf_evt_event=>mc_objcateg_cl
im_objtype = lv_objtype
im_event = lv_event
RECEIVING
re_reference = lr_event_parameters.
*Set up the name/value pair to be added to the container
lv_param_name = 'NOTIFICATION'.
CONCATENATE 'BUS7051' lv_objkey INTO lv_value SEPARATED BY space.
*Add the name/value pair to the event conainer
TRY.
CALL METHOD lr_event_parameters->set
EXPORTING
name = lv_param_name
value = lv_value.
CATCH cx_swf_cnt_cont_access_denied .
CATCH cx_swf_cnt_elem_access_denied .
CATCH cx_swf_cnt_elem_not_found .
CATCH cx_swf_cnt_elem_type_conflict .
CATCH cx_swf_cnt_unit_type_conflict .
CATCH cx_swf_cnt_elem_def_invalid .
CATCH cx_swf_cnt_container .
ENDTRY.
Raise the event passing the prepared event container
TRY.
CALL METHOD cl_swf_evt_event=>raise
EXPORTING
im_objcateg = cl_swf_evt_event=>mc_objcateg_cl
im_objtype = lv_objtype
im_event = lv_event
im_objkey = lv_objkey
im_event_container = lr_event_parameters.
CATCH cx_swf_evt_invalid_objtype .
CATCH cx_swf_evt_invalid_event .
ENDTRY.
COMMIT WORK.
MESSAGE s736(wz).
ENDLOOP. -
How to pass background event parameters to ABAP program in SM36
Hi team,
I want to pass background event parameters to ABAP program on job scheduling in SM36. For example, Background jobs will trigger, once background event triggered from Non-SAP system using SAPEVT command with parameters.
I want to pass the event parameter values to the ABAP program . Can you please help me on this.
Regards,
Anand KrishnanHi,
Which ABAP program - the one that will be executed as a job step? If yes, I don't believe you can "pass" something to it because it will be started by "job starter" of SAP background processing run-time system. The ABAP program executed in background can, however, get the job run-time information using FM GET_JOB_RUNTIME_INFO, which also returns EVENTID and EVENTPARM. Is that the event parameters you were looking for?
cheers
Jānis -
Function to retrieve event parameters from job
Hello,
Is there a function to retrieve the event parameters for a job.
This job is triggered by an event.
Regards, MichelCheck in TBTCP and TBTCO Table there in some field it i s mentioned..
TBTCP and TBTCO is the table which stores job details .. -
How to use event parameters?
Hi
I've made simple eem applet for shutdown the port which trigered storm control event.
It is look like that:
event manager applet shut-storm
event storm-control
action 1.0 cli local python bootflash:shut-storm.py
and the script is
from cisco import CLI
from cisco import cli
import sys
import datetime
import time
import re
whitelist = [
"Ethernet1/1",
"Ethernet1/2"]
shlog = CLI('sh logg last 100 | i ETHPORT-5-STORM_CONTROL_ABOVE_THRESHOLD | last 3',False).get_output()
pat = re.compile(r'(\d{4} \w{3} \d{2} \d\d:\d\d:\d\d) \S+ \%ETHPORT-5-STORM_CONTROL_ABOVE_THRESHOLD: Traffic in port (Eth\S+|[Pp]o\S+)')
now = datetime.datetime.now()
delta = datetime.timedelta(seconds=180)
for l in shlog:
mobj = pat.match(l)
if mobj:
port = mobj.group(2)
logTimeStr = mobj.group(1)
logTimeObj = time.strptime(logTimeStr, "%Y %b %d %H:%M:%S")
logTime = datetime.datetime(*logTimeObj[:6])
if now-logTime < delta:
if port not in whitelist:
cli("conf t")
cli("interface %s" % port)
cli("shutdown")
But the python script is a bit complecs because it shoud find triggered interfece in log.
Is it possible to use event parameters? And how?
I know that they are:
sw1# sh event manager history events det
Event ID Time of Event Event Type Slot Policies
32 09/30/2013 15:40:51 storm_control active(1) shut-storm
interface = "Ethernet1/16", cause = "storm-control"Thank you Joseph.
It works.
Now the applet looks like:
event manager applet shut-storm2
event storm-control
action 1.0 cli local python bootflash:shut-storm2.py $interface
And the script:
from cisco import cli
from syslog import syslog
import sys
whitelist = [
"Ethernet1/1",
"Ethernet1/2"]
port = sys.argv[1]
if port not in whitelist:
cli("conf t")
cli("interface %s" % port)
cli("shutdown")
syslog(2, "Interface %s was shutdown due to storm conditions" % port) -
Revision: 14982
Revision: 14982
Author: [email protected]
Date: 2010-03-24 02:15:50 -0700 (Wed, 24 Mar 2010)
Log Message:
Fixing some event parameters not being forwarded.
Modified Paths:
osmf/trunk/apps/samples/framework/OSMFPlayer/src/DebuggerElementProxy.asHi,
Thanks for posting in Microsoft TechNet forums.
I will try to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
Thank you for your understanding and support.
Kate Li
TechNet Community Support -
Passing event parameters to copy of DECISION task TS20000118
Hi.
I have made a copy of the decision task TS20000118 which is the standard approve/reject user decision step.
In the decision step, i have a link to ME13 transaction which is done by passing object_id and giving the "display" method as default method for the ZBUS3003 object which takes Info record number as key.
My problem is users are restrcited by PORG auth object in ME13 also and along with Info record number, i have to pass porg, plant, vendor , material to ME13 link.
I have defined event parameters to capture this 4 fields but i dont know where to pass this parameters as TS20000118 where the link appears in using the DECISION object and not the DISPLAY method,.
I dont want to make this 4 fields as object key because it will mean altering many other things. Also, int he DISPLAY method based on info record number i cannot retrieve 4 fields bcos there mioght be multiple records for same info record number.
Appreciate if you can let me know how i can pass event parameters to ME12 link in DECISION step of Task TS20000118 .
Regards
PN.Hello user12628! I have the same problem. Did you solve it? I have dynamically generated size of my Event Parameter String[] mass. And some times I have Error that URL string very long :). That is why I want to use POST method instead GET. if you has found solution,please let me know.
Message was edited by:
kostik -
Help w/ ADF UIX event parameters
Is there any way to add a parameter when firing an event like this:
==========code=============
<link text=" Accounts "
destination="${ctrl:eventUrl(uix,'changePage')}"/>
===========================
Bellow is how I used to fire events using a link but since the production release of 10g that doesn't work anymore. Destination is now required and when specified the <fireAction> content is ignored and when it's not specified, the link is dead (not clickable)
==========code=============
<link text=" Section1 " destination="">
<primaryClientAction>
<fireAction event="changePage" formSubmitted="false"
unvalidated="true">
<parameters>
<parameter key="destPage" value="Section1Page"/>
</parameters>
</fireAction>
</primaryClientAction>
</link>
===========================Hi -
Is there any way to add a parameter when firing an
event like this:
==========code=============
<link text=" Accounts "
destination="${ctrl:eventUrl(uix,'changePage')}"/>
===========================I don't think we have a EL function which specifically deals with query parameters, but in a pinch you could do something along the lines of:
destination="${ui:concat(ctrl:eventUrl(uix,'changePage'), '&amp;destPage=Section1Page')}"/
Bellow is how I used to fire events using a link
but since the production release of 10g that doesn't
work anymore. Destination is now required and when
specified the <fireAction> content is ignored and
when it's not specified, the link is dead (not
clickable)
==========code=============
<link text=" Section1 " destination="">
<primaryClientAction>
<fireAction event="changePage"
formSubmitted="false"
unvalidated="true">
<parameters>
<parameter key="destPage" value="Section1Page"/>
</parameters>
</fireAction>
</primaryClientAction>
</link>
===========================
I was able to verify that there is a regression in fireAction behavior. A simple fireAction like this:
<link text="Test">
<primaryClientAction>
<fireAction event="changePage" formSubmitted="false"/>
</primaryClientAction>
</link>...no longer works unless a destination is specified. The same ClientAction works just fine if formSubmitted="true". I have logged a bug against UIX to track this issue. In the meantime, it seems like you could specify the empty string as your destination - in which case I believe that the event will be delivered back to the same page. Or, if you need to explicitly specify a page, perhaps you could use a combination of ctrl:pageUrl() and fireAction, eg:
<link text=" Section1 "
destination="${ctrl:pageUrl(uix,'testPage')}">">
<primaryClientAction>
<fireAction event="changePage" formSubmitted="false" unvalidated="true">
<parameters>
<parameter key="destPage" value="Section1Page"/>
</parameters>
</fireAction>
</primaryClientAction>
</link>Andy -
Hello,
I've a probem in a binding between a BO->event and a WF.
My event has two parameters one is a char1 and other is a structure. And my workflow has the same parameters one is a char and the other is a structure defined in the container.
The problem is when I try to assign the event's structure with the workflow's structure. The binding doesn't work.
But the other parameters works perfectly. I think that this is a problem with the structure parameter. Does anyone know which could be the problem ?when I try to assign the event's structure with the workflow's structure
This time you create one more time the binding between the Event and WF container , save and run the txn SWU_OBUF and click SHIFT + F1 once the time is updated close it and try to simulate the event from the txn SWUE. -
[UIX / Event] Parameters on event
Is it possible to put paramater in event ?
I trigger an event on the load of my page by puting this :
<event name="*">
<method class="view.Auser" method="ensCheckUserDroit"/>
</event>
the fact is that i want to put some parameters on that event.
I already try this on my bean : event.getParameterNames() but it is totally empty.
I can't put parameters on form because of the event name="*".
Can you help me ? is it possible to put parameters ?
Thanks for your help
Use : JDev 10.1.2 UIX 2.2.16sorry to reply to my own thread but i need a clue to move on.
-
Hi,
I created three radiobuttons in alv report including with line items.
whenver double click line items , its going next screen.,
Here my requirement is when i click one click radiobutton should selecHandling will be same in both the cases. There is no Difference in Handling the events. The same can be handled using the Double click.
FORM user_command using ucomm type sy-ucomm selfield type slis_selfield.
CASE ucomm.
when '&IC1'.
case selefield-fieldname. "<---using this you can handle different fields.
when 'FIELD1'.
endcase.
endcase.
endform. -
Creation of Event Parameters With Event Creation
Hi all,
I'm triggering an event via change documents. This works very well. Now I need the old and the new value from the field, which triggers the event.
So I found a very good doucumentation on the sap help:
http://help.sap.com/saphelp_webas610/helpdata/en/72/11386ce58a11d1951f0000e82dec10/frameset.htm
I implemented all step's and I sent the event container via email to my user.
But unfortunately it dose'nt work. I never get the values in my event container.
Please help!
Regards, StephanHi Mikko,
thanks for your answer. With you help I could debug the container processing. And I found my problem.
Now I get the values in my event container.
It's a little bit strange, the change documents based on the structure CRMA_CUSTOMER_H not on the data base table CRMD_CUSTOMER_H. So I defined my object attributes for this structure and not for the data base itself.
But unfortunatly I get the next problem. When I use the event to start my workflow, the values never transferred to my workflow. I checkt the event - workflow binding again and again, but I can't find the problem.
If I send the event container to my user via the FB SWE_EVENT_MAIL the container is filled.
Any thoughts?
Regards, Stephan -
Reg Control Parameters of Adobe forms
Hi,
I am have a issue with adobe forms, the purchase order in me22n changing the values and saving the PO has to go as an PDF attachment to the Vendor mail . But it is not happening but the PO is Processed sucessfully. The vendor mail is checked and it is correct and the type of medium to the Output is External Send which is for the email. The form is copy of Standard Adobe form and the program is also std copy of SAPFM06P. In the driver program is any coding is required for the controlling parameters of form so that mail will happens.
Plz help me out in this issue.
Regards,
NarasimhaHi Narsimha,
I think the standard program may not have functionality for sending mail .
Check for nast-nacha value, see the code below
CASE gs_nast-nacha.
WHEN gc_nacha-external_send.
* Proccess communication type
cs_outputparams-getpdf = gc_true.
cv_device = gc_device-email.
WHEN gc_nacha-printer.
* Print
cv_device = gc_device-printer.
WHEN gc_nacha-fax.
* Fax
cs_outputparams-getpdf = gc_true.
cv_device = gc_device-fax.
ENDCASE.
After fp_jobclose write these lines
CASE lv_device.
WHEN gc_device-fax
OR gc_device-email.
* Code to send PDF file as mail attachment should be written within these lines
PERFORM send_data using lv_pdffile.
ENDCASE.
The Driver Pr
>
Narasimhulu wrote:
> Hi,
> I am have a issue with adobe forms, the purchase order in me22n changing the values and saving the PO has to go as an PDF attachment to the Vendor mail . But it is not happening but the PO is Processed sucessfully. The vendor mail is checked and it is correct and the type of medium to the Output is External Send which is for the email. The form is copy of Standard Adobe form and the program is also std copy of SAPFM06P. In the driver program is any coding is required for the controlling parameters of form so that mail will happens.
>
> Plz help me out in this issue.
>
>
> Regards,
> Narasimha -
Reg: Kernel Parameters White paper
Hi Gurus,
Can any one tell me the importance of kernel parameters with respect to oracle database installation.
Thanks & Regards
AzimThere is some Oracle specific info at [Solaris Internals and Performance FAQ|http://www.solarisinternals.com/wiki/index.php/Solaris_Internals_and_Performance_FAQ]
Are you looking to solve a problem(s) or just avoid them?
have a good day,
Glen
Maybe you are looking for
-
Hi ALL, I have a XML report having 3 parameter, i need to capture the value of those parameter in my RTF and based on that i need to do some validation. so how to get parameter value in RTF. Please help me on this. Thanks
-
Sales Person Commission Report
What will be a query to do a sales person commission report which includes Credit Memos?
-
Audio Video Hardware and QuickTime Pro
I recently purchased an "Eyeball" camera/mic device from Blue. I was told it is excellent. Now I need to know if QuickTime Pro will complete the circuit - so to speak. The physical connection is from the unit to an USB port. What drivers (yes, it's W
-
Forcing Screen Shared Windows to Appear in a Secondary Display
I have a 2009 Mac Mini supporting dual displays (extended desktop mode). The second display is used for "screen sharing" a second mac mini on my network located in a different part of the house. Right now, each time I open screen sharing, I have drag
-
im wanting to create professional invitations is adobe a good fit. i want lots of graphics and fonts as well as being able to download them.