Action to action triggering
Dear Gurus,
there is simple workflow in MM.
steps:
one action trigger : editing purchase order : working fine,
2nd action will trigger : releasing purchase order : not working
means in simple work, i want after completion of process of editing purchase order system should trigger ME29N for releasing same purchase order, but at present it's not working.
here we are already passing purchasing doc & release code as input parameter.
can anybody please help on the same..?
rgds,
Hello,
You say:
"after completion of process of editing purchase order system should trigger ME29N"
How are you trying to do this? Does an event get created? Do you have a workflow that gets triggered by that event, which calls ME29N?
regards
Rick Bakker
Hanabi Technology
Similar Messages
-
ADF disclosure action listener not triggered when set disclosed directly
ADF disclosure action listener not triggered when set disclosed directly in code.
Is this expected behaviour?
ThanksThis should be the expected behaviour as there is no client side event fired.
You would need to queue a Disclosure Event programmatically if you need to call the disclosureListener through code, -
"Can't get Action from Action Reference"?
I really can't figure out why I get java.lang.IllegalArgumentException with "Can't get Action from Action Reference: BeanName.actionName" message. I specified all properties in faces-config.xml. Bean and its action names are all checked several times, but I still get that exception. Is it a JSF bug, or my simple mistake? Is there anyone who experienced the same problem?
I'm using two forms in one page. all components' ids are all different. Only one form generated the exception not regarding the order of the forms. (the one is login form and the other (which doesn't generate exception) is leave-comment form.)
Here is the form code:
<h:form id="loginForm" formName="loginForm" >
Login >
<h:input_text id="loginUserName" valueRef="UserBean.userName">
<f:attribute name="style" value="width:64px;"/>
</h:input_text>
|
Password >
<h:input_secret id="loginPassword" valueRef="UserBean.password">
<f:attribute name="style" value="width:64px;"/>
</h:input_secret>
|
<h:command_button id="loginSubmit" label="login" commandName="loginSubmit" actionRef="UserBean.loginAction" />
</h:form>
and here is managed-bean part:
<managed-bean>
<managed-bean-name>UserBean</manager-bean-name>
<managed-bean-class>
net.gleamynode.notes.http.faces.UserBean
</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>idStr</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>userName</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>password</property-name>
<null-value/>
</managed-property>
</managed-bean>
Thanks in advance!here goes the source code of NotesBean:
abstract class NotesBean {
protected static final String SUCCESS = "success";
protected static final String FAILURE = "failure";
private String connectionProfile;
protected NotesBean() {}
public String getConnectionProfile() {
return connectionProfile;
public void setConnectionProfile(String newProfileName) {
connectionProfile = newProfileName;
public abstract Action getCreateAction();
public abstract Action getDeleteAction();
public abstract Action getUpdateAction();
protected Connection getConnection() throws NotesException {
ConnectionProfile profile = ConnectionProfileFactory.getProfile(connectionProfile);
return DriverManager.getConnection(profile.getUrl(), profile.getProperties());
}I think everything is ok with the beans, right?
By the way: shouldn�t the error message be:
"Can't get Action from Action Reference: UserBean.loginAction"I just examplified the message using somewhat generic name. Sorry for confusion :)
As a final try, here is the whole JSP code: (ignore korean texts)
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://gleamynode.net/notes" prefix="notes" %>
<html>
<head>
<title>gleamynode.net :: gathering of my mentality</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" HREF="css/gleamynode.css" type="text/css" />
</head>
<body>
<f:use_faces>
<notes:useNotes>
<c:choose>
<c:when test="${empty param['id']}">
<notes:getPages var="pages" />
<c:forEach var="p" items="${pages}" begin="0" end="0">
<c:set var="p" value="${p}" scope="request"/>
</c:forEach>
</c:when>
<c:otherwise>
<notes:getPage var="p" pageId="${param['id']}" />
</c:otherwise>
</c:choose>
<div id="header">
<h:command_hyperlink href="index.jsp" label="gleamynode.net :: gathering of my mentality"/>
</div>
<div id="menu">
About | Essays | Projects | Others | Links
</div>
<div id="content">
<div id="page">
<div id="pageTitle">
#${p.id}. ${p.title}
</div>
<div id="pageContent">
${p.content}
<div id="pageTimestamp">
${p.timestamp}
</div>
</div>
</div>
<c:choose>
<c:when test="${fn:length(p.comments) > 0}">
<div id="comments">
<div id="teaser">
${fn:length(p.comments)} ?? ??? ????
</div>
<c:forEach var="c" items="${p.comments}">
<div id="commentHeader">
#${c.id}. ${c.userName}
</div>
<div id="commentContent">
${c.content}
<div id="commentTimestamp">
${c.timestamp}
</div>
</div>
</c:forEach>
</div>
</c:when>
</c:choose>
<div id="commentForm">
<jsp:useBean id="CommentBean" class="net.gleamynode.notes.http.faces.CommentBean" scope="request" />
<jsp:setProperty name="CommentBean" property="pageIdStr" value="${p.id}"/>
<jsp:setProperty name="CommentBean" property="content" value=""/>
<div id="teaser">
</div>
<h:form id="commmentForm" formName="commentForm" >
<input type="hidden" name="id" value="${p.id}"/>
<h:input_hidden id="pageId" valueRef="CommentBean.pageIdStr"/>
<table width="95%">
<tr>
<td class="name" width="9%">Name:</td>
<td class="value" width="25%">
<h:input_text id="userName" valueRef="CommentBean.userName">
<f:attribute name="style" value="width:75%;"/>
</h:input_text>
</td>
<td class="name" width="8%">Email:</td>
<td class="value" width="25%">
<h:input_text id="userEmail" valueRef="CommentBean.userEmail">
<f:attribute name="style" value="width:75%;"/>
</h:input_text>
</td>
<td class="name" width="8%">URL:</td>
<td class="value" width="25%">
<h:input_text id="userURL" valueRef="CommentBean.userURL">
<f:attribute name="style" value="width:100%;"/>
</h:input_text>
</td>
</tr>
<tr>
<td colspan="6">
<h:input_textarea id="content" valueRef="CommentBean.content">
<f:attribute name="style" value="width:100%; height: 12em;"/>
</h:input_textarea>
</td>
</tr>
<tr>
<td class="buttons" colspan="6">
<h:command_button id="submit" label="leave a comment" commandName="submit" actionRef="CommentBean.createAction" />
</td>
</tr>
</table>
</h:form>
</div>
<div id="loginForm">
<div id="teaser">
</div>
<h:form id="loginForm" formName="loginForm" >
Login >
<h:input_text id="loginUserName" valueRef="UserBean.userName">
<f:attribute name="style" value="width:64px;"/>
</h:input_text>
|
Password >
<h:input_secret id="loginPassword" valueRef="UserBean.password">
<f:attribute name="style" value="width:64px;"/>
</h:input_secret>
|
<h:command_button id="loginSubmit" label="login" commandName="loginSubmit" actionRef="UserBean.loginAction" />
</h:form>
</div>
<div id="copyright">
Copyright � 1999~ by Trustin Lee, All Rights Reserved.
</div>
</div>
<div id="footer">
</div>
</notes:useNotes>
</f:use_faces>
</body>
</html>and, here is the whole faces-config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
"http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
<faces-config>
<navigation-rule>
<from-tree-id>/index.jsp</from-tree-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-tree-id>/index.jsp</to-tree-id>
</navigation-case>
<navigation-case>
<from-outcome>failure</from-outcome>
<to-tree-id>/failure.jsp</to-tree-id>
</navigation-case>
</navigation-rule>
<managed-bean>
<managed-bean-name>PageBean</managed-bean-name>
<managed-bean-class>
net.gleamynode.notes.http.faces.PageBean
</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>idStr</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>title</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>content</property-name>
<null-value/>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>CommentBean</managed-bean-name>
<managed-bean-class>
net.gleamynode.notes.http.faces.CommentBean
</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>idStr</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>pageIdStr</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>userName</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>userEmail</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>userURL</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>content</property-name>
<null-value/>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>UserBean</manager-bean-name>
<managed-bean-class>
net.gleamynode.notes.http.faces.UserBean
</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>idStr</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>userName</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>password</property-name>
<null-value/>
</managed-property>
</managed-bean>
</faces-config>Thank you for your continuous help, Rene! Learned alot from you about JSF :) -
I get an error when attempting to start genius. It says "Unsuccessful Action: The action you attempted to perform did not complete successfully. Please try again later." Help!
From an existing Discussion:
Go to Safari --> Preferences
Click Security
Show Cookies
Type "apple.com" in to top search field
Select All
Click Remove
Click Done
Repeat the above to confirm they are gone (mine took two attempts)
Choose Update Genius again in iTunes.
iTunes 9 - can't update genius https://discussions.apple.com/thread/2151150 -
OSB - Publish action - Request action message enrich/ tranformation impact
Hi ,
Today I came across an analysis on how the performance of thread is impacted if we have these two scenarios.
1. A stage containing all the pre enrichment and validation and transformation to the input message to construct the request message for Publish action(to BS)
2. A Publish action - Request action - sub activities / actions containing the enrichment, validation and transformation to construct the request message from input message
An expert advice is expected to see if there is any significant impact in performance and thread analysis. This cal has to be made on entire implementation which has almost 70+ services.
Thanks for quick reply.Enable tracing in osb console, and for debugging try adding routing options in publish node and change the quality of service to exactky once. You will then eb able to see the error.
Also if you do not require your ps2 to be accessed outside the jvm consider making the ps2 a local proxy service. -
Custom actions - automated action -
Custom actions - automated action - how do I stop each file in a batch from popping up onto the screen as it processes? I used to be able to process files in the background as I worked on other things, but now the screen pops up as each file in a batch is processed.
I'm not so sure. I was asking because the way things are set up is different with the last three versions of Acrobat. If you provide more information about what the action is set up and what version you're using, it might help.
-
Applescript for running specific action from action wizard...
Hi Forum,
using this applescript I m running my "INDEGN" action from action wizard...
the first step is activated through the applescript.. (ie. INDEGN action is correctly picked)
but how to "click next button" to proceed to next steps..
tell application "System Events"
tell application process "Acrobat"
tell application "Adobe Acrobat Pro" to activate
click the menu item "INDEGN" of menu 1 of menu item "Action Wizard" of the menu "File" of menu bar 1 ## here it is not cliking next button.....
click button "Next" of window "Action: INDEGN"
click button "Close" of window "Action: INDEGN"
end tell
end tell
many thanks for the support..HI DAVE,
thanks for the reply,,
Is there any other way to run "my action" from action wizard. using script....
Would be a great help if advised....
Many thanks... -
Applescript to run "action" in action wizard
Hi Forum,
using this applescript I m running my "INDEGN" action from action wizard...
the first step is activated through the applescript.. (ie. INDEGN action is correctly picked)
but how to "click next button" to proceed to next steps..
tell application "System Events"
tell application process "Acrobat"
tell application "Adobe Acrobat Pro" to activate
click the menu item "INDEGN" of menu 1 of menu item "Action Wizard" of the menu "File" of menu bar 1 ## here it is not cliking next button.....
click button "Next" of window "Action: INDEGN"
click button "Close" of window "Action: INDEGN"
end tell
end tell
many thanks for the support..Hello Rajinik,
I found your question in the forum and I am exactly in the same situation...
I hace some actions defined in Acrobat X Pro and I would like to execute them just by saving a file in a folder, but it seems something difficult to achieve.
Did you find any help on this or another forum to resolve it?
Searching for some info, i found a website with some info about a way to automatically OCR the pdf pages through theaction wizard, but it didn´t worked in my Mac. Search in Google "OCR This"
Thanks and Regards
Johanet -
Difference between actions & personnel actions
Hi
what is the difference between actions & personnel actions
RegardsHi,
by Actions do you mean Actions infotype or object actions in OM which are accessed through PP03?
Personnel Actions - These help you maintain data by providing a serious of infotypes which you define through infogroup.
Actions (IT0000) - This is the table that maintains the action data and reasons along with statuses
Objection Actions is similar to Personnel actions - here while maintaining objects such as position or org units etc you are provided with a serious of infotypes which you can maintain.
hope this helps
Ajay -
Action calling action cause page expires?:
Hi
I am using struts with titles. My problem is when I press the back button in the internet explorer my page expires. I tried nocache property set it as both a way in jsp.
Note: my application design is every time an action calls another action that action only brings the page.
Is this the problem? If so what is the solution.Is id the property of the sessionBean you're interested in?
Following the About the Application Model Tutorial,
To set properties I use:
getSessionBean1().set<propertyName>(<object>)
getSessionBean1().setID(new Integer(problemRowSet.getInt("ID")To get properties I use:
getSessionBean1().get<propertyName>()
getSessionBean1().getID()As for the button action event, I'd right click it in the designer to let Creator generate the function. If I fill it in myself sometimes Creator acts like it wasn't there. :( -
Re: Dynamic Action is not triggering in LSMW Recording
Hello All,
In SAP HRMS personnel actions if i do using LSMW Recording it is not triggering the dynamic actions.
Is there any mechanism to Trigger dynamic action in LSMW Recording ?
How to find the differences in process with and with out recording ?
Small help is also highly appreciated.
With Regards,
Sunil,
+91-9903695384.Yes. Do one thing. First study the dynamic action. Try to understand what the dynamic action is doing. Is it creating data in other infotype or is it updating some other table. Once it is clear what the dynamic action is doing then you can try to implement the same logic in LSMW. In LSMW there is a provision to add more than one recording and this recording can be called based on some logic..
Thanks & Regards,
Sandip -
Action event automatically triggered for combo box
Hi all,
I am facing a typical event handling problem for combo box in Swing(Using Net Beans 5.0, jdk 1.4.2)
While adding items to combo box it is firing action event twice instead of once irrespective of no. of items added to it.
For eg if there are 1 or more than 1 item added to combo box it is triggerring action event twice(one just after when first item is added and one again when rest all items are added)
and if there is no item then also it is triggering once.
Can you please help me out.
Thankspost the SSCCE code, then only it is easy to find the problem
-
Dynamic Action not being triggered in Batch
Hi Gurus,
We have the below Dynamic Action that is not getting triggered when we run a Batch to Create IT2010. We are using TCode PTE1 to create the batch.
2010 4 5 P T001P-MOLGA='10'
2010 4 10 P PSPAR-TCLAS='A'
2010 4 12 P P2010-LGART='4023'
2010 4 15 I INS,2001,,,(P2010-BEGDA),(P2010-ENDDA)/D
2010 4 20 **P2001-AWART='0100'
2010 4 21 W P2001-AWART='1300'
2010 4 25 W P2001-STDAZ=P2010-ANZHL
I have read a few posts on how this can be done, but not very clear as to whether it can even be achieved.
This Dynamic Action works fine when we manually Create an IT2010 record via PA30, it creates the IT2001 in the background.
Cheers,
AnilHello Anil,
Please check the following note, I think note should be helpful in this case.
386027 Dynamic actions
1564499 Processing initial values which are not valid in
Best Regards,
Deepak. -
Why "Will Close" action is not triggered?
Hello
I've created a simple pdf file that should show an alert box before the document is closed. But it does not work as expected, the message is not shown.
Why is the action not triggered?
( After I added another action (before print), executed it, then the "Will Close" event is triggered when the document is being closed and the message show up. )
the same issue reported here: adobe - close document action() level in pdf javascript - Stack Overflow
Foxit reader triggers the action correctly.
Thank yousure,
Will Close doesn't work at all:
js-onBeforeClose.pdf - Google Drive
Will Close works after the document is printed:
js-onBeforePrint-onBeforeClose.pdf - Google Drive
Thanks -
POWL WD: No action has been triggered after toolbar button click
Hi,
I am using standard SAP Web dynpro application POWL for creating Service entry sheet from PO.
On the toolbar we have buttons 'Create Service Entry Sheet', 'Display Service Package', 'Document tracing'.
When I click on the row with the corresponding PO and then click on above mentioned buttons nothing happens, I can see at the taskbar : javascript:Void(0), which probably means that no action has been attached to that button.
I have debugged the WD, seems to be OK, perhaps I am missing some configurations, because I've already traced my authorizations and they are OK
What could be the problem ?
Please advise !
Thanks,
Stefan
Edited by: Stefan Kolev on Mar 6, 2012 2:56 PMHaven't gotten any response on this post and I really need to resolve this issue. Anyone can help??
Eric.
Maybe you are looking for
-
Compiles, but won't output anything but "0"
I'm using Xinox JCreator LE, trying to run the following code: import java.io.*; public class Tester { //default constructor public Tester() { //for storing my elements! yay Element [] myElements; System.out.pr
-
Hi, Could someone share the code for how to lock the whole database, part of the database or just a row in the database? Thanks.
-
Can't uninstall CC versions after upgrading to CC 2014
I've upgraded to CC 2014 a while ago and noticed that old versions are still installed. Well this is not the most convenient way, I can understand why, but the option to overwrite old version would be a good idea. Anyway, I decided to unistall older
-
Our company have developed an accounting program, and it is already near completion. We developed it with JavaBean and Eclipse in Windows Environment with JRE 1.6.0_05 When we tried to compile and run the program in our linux environment (Server) tha
-
Flash player performance in standalone Openbox
Hi, I recently switched from using full GDE setup, with Firefox web browser on my 64-bit Arch linux, to using a standalone Openbox X session. With my previous setup, flash plugins was working fine (not as smooth as on Windows, but still ok), but afte