Regarding execution of workflow
Hi all,
I have a workflow for rebate . In that workflow there is a mail sent task after an activity .
The activity is getting completed according to SWIA transaction.
But the flow gets stuck at mail sent task .
Can anybody tell me what the problem might be.
Also let me know which are the Tcodes i can use to find all errors in wokflow system.
Thanks in advance.
Abhijeet
Hi ,
Are you using a a task to send mail or the send mail step to send mail .
If you are using the task to send mail , then u might be calling some method in side that.
Just check the binding between the workflow container and the task container , and aslo check wheather your method is going for dump after execution or not.
These are the main causes which generally stops the task to be executed .
As raj has told you can check the log and in the step history you can able to get the cause of the error .
Thanks
prabhudutta
Similar Messages
-
Hi,
Execution of workflow automation failed due to "Could not find a part of the path 'D:\Program Files\NetApp\WFA\jboss\standalone\tmp\wfa\workflow_data\35517.xml"
Netapp case has been raised and confirmed there is no issue with the WFA application, no clue to diagnose the issue.
Execution fails continously 3 or 4 runs then get success, intermittent failure occurs.
WFA version :2.2
OS: Windows 2008
Can someone please help me to fix the issue?
Thanks
DeepakParag also pointed out that the BURT number is 833488 which has been fixed in 3.0.Please read the public report for more details. RegardsAbhi
-
Regarding PR Release workflow:
My pr release workflow is 8 levels.
1st level is working fine( getting workitem to sap inbox of 1st level approver and releasing from his inbox)
when it comes to second level it is automatically releasing from me54n.(am not getting any workitem to sap inbox of 2nd level of approver)
and it is not showing in workflow log also.(total skipping second level)
3rd level is working fine.
can you pls tell me the solution.
thanx in advance.hi
thanx for ur reply.
in workflow log i saw 1 st level succesfully completed.(this is loop 1 in workflow log)
then after is going 3rd level(this is loop 2 in workflow log)
total 2nd level is skipping(is not showing in workflow log)
because 2nd level is automatically releasing in me54n so it is going directly to 3rd level as a loop 2.
pls check below attached docuent.
That is the code i used inside business object to getting agents.
first agent getting correct only -1st level
second agent is skipping when debugging time(because 2nd level is automaticcay released in ME54N)
third agent is getting correct only- it is showing as a second level
so pls tell me a solution how to control automatic release in me54n for 2nd level?????
best regards,
seetha -
Regarding Purchase Requisition Workflow.
Hi Friends,
In PR release ,if i have multiple level of approvers, more than 1 than do we need to handle this seperately or the SAP std. workflow will take care by itself. In the activity 'Overall release of requisition' there is a task which uses 'singlerelease' method of business object BUS2105. Does this method require any changes or only maintaining the release strategy congiguration will help.
PLS help me on this. If question is not clear than pls tell me .The question wasn't so clear.
Regards, -
Regarding Execution flow in webdynpro component
Hi all,
I am confused regarding the execution flow.
we have "component controller" and "view controller" in a webdynpro component.
I have written some code in "wdDoInit" of "component controller" and in "wdDoInit" of "view controller" and in "wdDoModifyView" of "view controller" .
If I do "Deploy and Run " the application , Which one is executed first ,I mean how is the code processed ,where the control reaches first?
Thanks in advance.In a web dynpro application there is always a interface view specified.
This interface view is associated with a window. The window has set of views with one as default view.
When Web Dynpro application is launched, the window is instantiated via interface view specified. The window after instantiation is rendered on the brower/some other UI client.
The window when instantiated will instantiate the default view also. So wdDoInit of view controller will be called now. Now if navigation happens to some other view in the window that particular view has to be instantiated. So the wdDoInit of that view will be called then.
Is your question answered ?
Regards,
Ashwani Kr Sharma -
Workflow Help regarding Material master workflow
Hi,
I have a requirement as follows...anyone can help me or tell me the possibility of doing this..
1. Basis material will be created with mandatory fields.
2.Once the above material is stored it has to trigger workflow to inimate 10 members to fillup the fields(appropriate) for this material based on the material type and the fields to which they are attached or responsible.
3. In the sameway the plant data needs to be maintained by 5 persons in addition to the above based on the plant.
Help me to setting up this in ECC 6.0.
RegardsHi,
this sounds like a great iteration on the MM02 transaction. If the users can live with the standard screens, you can call transaction with a view corresponding to the selection in the beginning of the screen. The real chalange in this workflow is how to controle and maintain all the agents to do which enrichment of the material. This can be done with a small workflow, where you construct a large controle table, in which you can maintain, who will (or what roles) will maintain which views. When the agents have been found, create a subworkflow to run in parallel, for each agent.
Hope it makes sence.
Kind regards
Mikkel -
Regarding Material creation workflow
hi freinds,
i have requirement to develop workflow on materila change........maens....
first manger will enter basic data of particular material.......then it needs to sends sales persons and they need to enter sales data...
i am not able find where we need to trigger events,,,,,,,,,,,
advance thanks,
Regards,
bhaskarHi Bhaskar
u can use change documents to trigger your workflow.
t-code SWEC .
or u acn manually trigger it by writting the following codes in se38
DATA: KEY LIKE SWEINSTCOU-OBJKEY.
KEY = '1163'.
Material Number (hard-coded)
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = 'BUS1001006'
objkey = KEY
event = 'CREATED'
CREATOR = ' '
TAKE_WORKITEM_REQUESTER = ' '
START_WITH_DELAY = ' '
START_RECFB_SYNCHRON = ' '
NO_COMMIT_FOR_QUEUE = ' '
DEBUG_FLAG = ' '
NO_LOGGING = ' '
IDENT =
IMPORTING
EVENT_ID =
TABLES
EVENT_CONTAINER =
EXCEPTIONS
OBJTYPE_NOT_FOUND = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
WRITE 'Event Triggered'.
ENDIF.
COMMIT WORK.
Regards
rose -
Regarding Information for Workflow
hi
experts
i want to learn the abap workflow, so in which abap topics are going to use in this workflow.
wt can i prepare to do workflow.
can amy body suggest.
Thanks & Regards
SpandanaHi Spandana,
If you are looking to learn workflow you should be perfect in ABAP reporting, and its good if you know about business object repository ( BOR ) and you should know BAPI's concept and should be capable to analyse the business functionality clearly.
In SDN if you want any workflow related help please dont post your question in ABAP General forum.
follow the below path for workflow forum.
Expert forums -> SAP Netweaver -> Workflow
There you will find the complete stuff about workflow.
Hope it helps you.
Thanks
g.s.naidu -
OWB Process Flow Execution in Workflow
Hi!
I hope somebody can help me with this one... I have a process flow designed to load data from a flat file to a db staging table then do some transformation on the data and load the data to the data warehouse. I am using OWB 9.2.0.2.8, 9i DB (9.2.0.5) and OWF 2.6.2. I have successfully validated and deployed the process flow but during execution, the process failed on the mapping that loads data from the flat file to the staging table. The message log of the deployment manager reports: /u01/oracle/product/owb/temp/STAGING_MAP.ctl (No such file or directory). Do I have to set the source location for the flat file again? You see we have already executed this mapping alone and it worked fine, using the source location in the server as defined in the mapping, which is /u01/files/.
Thank you.
Shielahi,
well,jus check whether u created locations and connecter and check u deployed every thing and try once again.
naren -
here is the requirement
we have an SRM system and an ECC system, now approval for purchases occurs in ECC on purchase order level. but our client want all indirect purchase orders will be initiated from SRM in the form of shopping carts.
shopping cart approval process is:
after creating the shopping cart i need to send the shopping cart information, including purchasing org, plant, and total value of the shopping cart to ECC. In backend ECC if we have a release strategy then the workflow has to trigger in SRM.
can anybody help me out on this requirement.
thanks
kishoreYou can also make use of coding in custom Virtual attribute. Use this Custom Virtual attribute in the defining the Start Condition through SWB_COND.
Also make sure you use standard function Module BBP* to retrieve details.
Thanks
Arghadip -
Regarding execution of smartforms without a selection screen.
Hi ,
I would like to know whether it is possible to generate a smart form, by calling a function module in a report program without the option of selection screen.Can anyone suggest me in this regard.
Thanks in advance,
Shwetha Korlepara.Hi,
You can do if the smartform generated does not require any input from selection screen.
Check these links.
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
Get back in case of any clarifications.Kindly reward points by clicking the star on the left of reply,if it helps. -
Regarding execution of pl/sql procedure using JSP
HI all
Please help me.
i am customizing a jsp page ,which is executing one sql procedure first then selecting data from the table in which procedure is inserting.
How can i pass parameter dynamically to the sql procedure ? ,which i am getting from an HTML page.
Please help me out.
regards
satendrathis is the sample code provided by oracle.
* This sample shows how to call PL/SQL blocks from JDBC.
import java.sql.*;
class PLSQL
public static void main (String args [])
throws SQLException, ClassNotFoundException
// Load the Oracle JDBC driver
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
String url = "jdbc:oracle:oci8:@";
try {
String url1 = System.getProperty("JDBC_URL");
if (url1 != null)
url = url1;
} catch (Exception e) {
// If there is any security exception, ignore it
// and use the default
// Connect to the database
Connection conn =
DriverManager.getConnection (url, "scott", "tiger");
// Create the stored procedures
init (conn);
// Cleanup the plsqltest database
Statement stmt = conn.createStatement ();
stmt.execute ("delete from plsqltest");
// Close the statement
stmt.close();
// Call a procedure with no parameters
CallableStatement procnone = conn.prepareCall ("begin procnone; end;");
procnone.execute ();
dumpTestTable (conn);
procnone.close();
// Call a procedure with an IN parameter
CallableStatement procin = conn.prepareCall ("begin procin (?); end;");
procin.setString (1, "testing");
procin.execute ();
dumpTestTable (conn);
procin.close();
// Call a procedure with an OUT parameter
CallableStatement procout = conn.prepareCall ("begin procout (?); end;");
procout.registerOutParameter (1, Types.CHAR);
procout.execute ();
System.out.println ("Out argument is: " + procout.getString (1));
procout.close();
// Call a procedure with an IN/OUT prameter
CallableStatement procinout = conn.prepareCall ("begin procinout (?); end;");
procinout.registerOutParameter (1, Types.VARCHAR);
procinout.setString (1, "testing");
procinout.execute ();
dumpTestTable (conn);
System.out.println ("Out argument is: " + procinout.getString (1));
procinout.close();
// Call a function with no parameters
CallableStatement funcnone = conn.prepareCall ("begin ? := funcnone; end;");
funcnone.registerOutParameter (1, Types.CHAR);
funcnone.execute ();
System.out.println ("Return value is: " + funcnone.getString (1));
funcnone.close();
// Call a function with an IN parameter
CallableStatement funcin = conn.prepareCall ("begin ? := funcin (?); end;");
funcin.registerOutParameter (1, Types.CHAR);
funcin.setString (2, "testing");
funcin.execute ();
System.out.println ("Return value is: " + funcin.getString (1));
funcin.close();
// Call a function with an OUT parameter
CallableStatement funcout = conn.prepareCall ("begin ? := funcout (?); end;");
funcout.registerOutParameter (1, Types.CHAR);
funcout.registerOutParameter (2, Types.CHAR);
funcout.execute ();
System.out.println ("Return value is: " + funcout.getString (1));
System.out.println ("Out argument is: " + funcout.getString (2));
funcout.close();
// Close the connection
conn.close();
// Utility function to dump the contents of the PLSQLTEST table and
// clear it
static void dumpTestTable (Connection conn)
throws SQLException
Statement stmt = conn.createStatement ();
ResultSet rset = stmt.executeQuery ("select * from plsqltest");
while (rset.next ())
System.out.println (rset.getString (1));
stmt.execute ("delete from plsqltest");
rset.close();
stmt.close();
// Utility function to create the stored procedures
static void init (Connection conn)
throws SQLException
Statement stmt = conn.createStatement ();
try { stmt.execute ("drop table plsqltest"); } catch (SQLException e) { }
stmt.execute ("create table plsqltest (x char(20))");
stmt.execute ("create or replace procedure procnone is begin insert into plsqltest values ('testing'); end;");
stmt.execute ("create or replace procedure procin (y char) is begin insert into plsqltest values (y); end;");
stmt.execute ("create or replace procedure procout (y out char) is begin y := 'tested'; end;");
stmt.execute ("create or replace procedure procinout (y in out varchar) is begin insert into plsqltest values (y); y := 'tested'; end;");
stmt.execute ("create or replace function funcnone return char is begin return 'tested'; end;");
stmt.execute ("create or replace function funcin (y char) return char is begin return y || y; end;");
stmt.execute ("create or replace function funcout (y out char) return char is begin y := 'tested'; return 'returned'; end;");
stmt.close();
} -
Hi friends,
How to reduce the execution time ?
venkatusually by writing better programms
In general:
1. All selects should have proper index support
2. Avoid all unncessary executions and records read etc.
4. Take care that table buffering is used
3. Use proper internal tables, especially with internal tables
All other recommendations are usually peanuts compared with this four points.
Siegfried -
Regarding execution of a j2ee project.
Hello I have developed one j2ee project with Tomcat 5.5 & Eclipse 3.2.1
I have stored my project under <TOMCATHOME>/webapps/ <project1-folder>/
If i need to develop another project, where i should create my new project folder. If i use the same webapps folder in the TOMCAT_HOME dir, Eclipse gives error like can't make another project.
Can i make a new project in some other locations other than TOMCAT_HOME dir. For this what steps i need to follow.
Moreover, i can make a .war file for my new project from Eclipse IDE?
What is the use of this war file.
if i need to execute my project from other PC, what should i do for executing my project in different PCs.
Friends, Please help me in this regard.
rgds
tskarthikeyanHello Balu Sir,
First of all i am new to j2ee environment. Now i am learning only.
In your reply, it means we can create our own directory for our project in the normal way. we dont need to create the folder under the webapps dir.
I tried this in Eclipse configured with Tomcat. It has been compiled successfully.
For example,
My Project folder is - C:\Java/Eclipse/workspace/ChatServer/
If i execute the application via tomcat like "http://localhost:8080/ChatServer/MainServlet"
it gives internal error some thing like that.
what is wrong in my steps.
Also you mentioned in your reply, we can export the war file of our project.
How to execute the project in different pc with this war?
rgds
tskarthikeyan -
Regarding travel management workflow
hi experts,
in travel management if i am applying for the leaves after filling the forms i m sending the forms to my HOD to get it approved ,for this scenario will i have to develope my seperate workflow (customized) or the workflow in travel management itself will suffient for this...plz throw the light on this i m little bit confised.
thnx in advance.solved by own
Maybe you are looking for
-
Hi all, I have always confusion when to use which system fields(tabix, index, tfill). í created one program first i used sy-tabix instead of sy-index.Then it doesnt work. Please clarify me with examples. that code is. FORM delimiting. DO. * assigns
-
Hi gurus, I need to run a job monthly so that it should delete the snapshot dates of a cube which are older than 90 days except weekend. Selection conditions for the cube is present day as Snapshot date. Any fuction module is available to delete the
-
Is there an update for the Nikon D600 for CS5.5 Bridge?
Just wondering if the Nikon D600 has been added to the list of cameras supported by Adobe Bridge in CS5.5?? I can't seem to find anything.
-
Help! Problem with additional voices in OS X Lion
I have installed some additional voices via TTS utility in Settings, but after installation is finished I can't choose them from drop-down menu - they disappear right after being chosen. Finally only Alex voice is accessible for use. Repairing permis
-
Hi Oracle gurus, I have 3 Text items, but when I use Tab, the cursor goes from first to the third text box. I want it to go to the 2nd one. What property should I set? Please help me on this regard. Thanks and Regards, Basskey.