Workflow problem with background
Hi,
working sucessfully,while i am executing workflow task (as activity in workflow) in foreground.
but while executing in Background,it is not processing and in "Inprocess" status only.
Please help me ASAP.
Regards,
Madhu. R
HI
Thanks for your reply.
But the problem is not solved. Still I am facing the same problem .
If the User name is Madhu -> Background workitem was created and Execution was also started automatically.
But for next task User name changed to Background ID ( WF-BATCH) -> Background workitem was created ,but the not submitted for processing (execution was not started automatically) .
Its there any restriction on WF_BATCH (OR) we need any additional authorizations/parameters to WF_BATCH to submit/Execute the Background Workitems(jobs).
WorkLog :
1523162 747 Update status
Madhu Background work item created 01/07/2008 22:09:31
Madhu Execution started automatically 01/07/2008 22:09:31
Background ID Work item processing complete 01/07/2008 22:09:31
1523163 742 Update Budget Distribution
Background ID Background work item created 01/07/2008 22:09:31
please suggest me in this issue.
Similar Messages
-
Problem with background formatting in pivot table
Hello,
I have a problem with background formatting in pivot table. I can't change background (light blue rectangular in upper left corner). Do you have any idea how to do it?
Here is the link to the picture of the pivot table:
http://img163.imageshack.us/img163/110/unledfyq.png
I would be grateful for any help.
Regards,Hey,
Check this link once, you will need java script to acheive this:
http://everythingoracle.com/obieehdom.htm
scroll down to this topic: Parsing using HTML DOM
Please award points if helpful.
Thanks,
-Amith. -
Workflow problem with status Ready
HI,
I have a problem with the workflow not getting completed.
The workflow is for the employee attendace 20000081 .
After the manager of the employee accepts the leave application posted by employee , The workflow is in the following state: -
ID 000000340552 Work item type Background step
Work Item text Find Employee .
Status <b>Ready</b>
Now the question is there any background job which needs to be scheduled for changing the all the workitem with status 'Ready' to be executed .
since once I execute this step manually then the workflow again goes in the ready status with the next step and the next step in this case is 'Create attendance/absence' This stpe of the workflow is in again status 'Ready'.
Please let me know if some know about this problem.
Thanks in advance .
AnkurHi ,
Thanks for the prompt reply.
I have tried the auto customizing and I am geeting the following log generated :
Auto-Customizing: General tasks
E WZ:119 Instances for task TS60001307 already exist
Task TS60001307 not classified as general task
E WZ:119 Instances for task TS70008037 already exist
Task TS70008037 not classified as general task
E WZ:119 Instances for task TS70008125 already exist
Task TS70008125 not classified as general task
And while checking the customizing setting in SWU3 the folling entires exists but as I understand the seeting is proper, please have alook below:
An active plan version exists
Workflow administrator maintained
RFC destination: User locked
Generic decision task classified completely
Tasks for document generation fully classified
T77* tables all available
Monitoring job for missed deadlines is scheduled
Monitoring job for work items with errors is scheduled
Sending to objects and HR objects activated
Entries missing in PD control tables
Default Domain for Internet Mail Maintained
Workflow development environment
Customizing incomplete
Prefix numbers for standard object types maintained
An active plan version exists
T77* tables all available
Number range defined for customer tasks
Entries missing in PD control tables
Please let me know if this is not proper .
Thanks and Regards,
Ankur -
Problem with Background image and JFrame
Hi there!
I've the following problem:
I created a JFrame with an integrated JPanel. In this JFrame I display a background image. Therefore I've used my own contentPane:
public class MContentPane extends JComponent{
private Image backgroundImage = null;
public MContentPane() {
super();
* Returns the background image
* @return Background image
public Image getBackgroundImage() {
return backgroundImage;
* Sets the background image
* @param backgroundImage Background image
public void setBackgroundImage(Image backgroundImage) {
this.backgroundImage = backgroundImage;
* Overrides the painting to display a background image
protected void paintComponent(Graphics g) {
if (isOpaque()) {
g.setColor(getBackground());
g.fillRect(0, 0, getWidth(), getHeight());
if (backgroundImage != null) {
g.drawImage(backgroundImage,0,0,this);
super.paintComponent(g);
Now the background image displays correct. But as soon as I click on some combobox that is placed within the integrated JPanel I see fractals of the opened combobox on the background. When I minimize
the Frame they disappear. Sometimes though I get also some fractals when resizing the JFrame.
It seems there is some problem with the redrawing of the background e.g. it doesn't get redrawn as often as it should be!?
Could anyone give me some hint, on how to achieve a clear background after clicking some combobox?
Thx in advanceI still prefer using a border to draw a background image:
import java.awt.*;
import java.awt.image.*;
import javax.swing.border.*;
public class CentredBackgroundBorder implements Border {
private final BufferedImage image;
public CentredBackgroundBorder(BufferedImage image) {
this.image = image;
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) {
int x0 = x + (width-image.getWidth())/2;
int y0 = y + (height-image.getHeight())/2;
g. drawImage(image, x0, y0, null);
public Insets getBorderInsets(Component c) {
return new Insets(0,0,0,0);
public boolean isBorderOpaque() {
return true;
}And here is a demo where I load the background image asynchronously, so that I can launch the GUI before the image is done loading. Warning: you may find the image disturbing...
import java.awt.*;
import java.io.*;
import java.net.URL;
import javax.imageio.*;
import javax.swing.*;
import javax.swing.border.*;
public class BackgroundBorderExample {
public static void main(String[] args) throws IOException {
JFrame.setDefaultLookAndFeelDecorated(true);
JFrame f = new JFrame("BackgroundBorderExample");
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
JTextArea area = new JTextArea(24,80);
area.setForeground(Color.WHITE);
area.setOpaque(false);
area.read(new FileReader(new File("BackgroundBorderExample.java")), null);
final JScrollPane sp = new JScrollPane(area);
sp.setBackground(Color.BLACK);
sp.getViewport().setOpaque(false);
f.getContentPane().add(sp);
f.setSize(600,400);
f.setLocationRelativeTo(null);
f.setVisible(true);
String url = "http://today.java.net/jag/bio/JagHeadshot.jpg";
final Border bkgrnd = new CentredBackgroundBorder(ImageIO.read(new URL(url)));
Runnable r = new Runnable() {
public void run() {
sp.setViewportBorder(bkgrnd);
sp.repaint();
SwingUtilities.invokeLater(r);
} -
Need to send HTML email from Workflow : problem with sender
Hi all,
i need to send HTML email from my Workflow. I did it but i have a problem with the sender. The sender of email is always the agent responsible of workitem, and i don't want the receiver can answer to sender. So i need to put a false email address like nosender.at.mycustomer.com.
Possible to do that ?
Thanks for your help.
CheersHi rick
How to change the wf-batch to some other name as you mention in previous reply. Can you give some details of that. If i use the function module SO_NEW_DOCUMENT_ATT_SEND_API1 how to change the wf-batch name and if i use send mail step in my workflow how to change wf-batch name.
Regards
vijay -
Hello!
I have some issues with Photoshop CC 2014. The tools "Background Eraser Tool" and "Blur" won't work correctly. When I’m holding down the left mouse button and trying to erase or blur some area, the tools don’t affect the whole area but just connect the start and the last points – like drawing a line. These troubles exist with mentioned tools only, other tools work correctly.
I’ve restored each tool separately, restored all the tools together, installed new drivers for tablet, re-installed Photoshop and even Windows. Nothing helped. These tools worked correctly earlier with the same adjustments, but one day something went wrong.
How can I make the tools work correctly?
Some information about my computer:
• Notebook Lenovo Y560
• Windows 7 Home Basic SP1 x64
• Intel Core i5 2.53 GHz
• 4Gb RAM
• ATI Mobility Radeon HD 5730 1Gb
• Tablet Wacom Bamboo CTL-470Hi,
I have a similar problem with the Background Eraser tool as well. It's the same both on my PC and on my laptop, both running Win 8.1 and PS CC2014. Would be great to have a solution for this. Did you managed to find a fix? -
Hi All,
I have a problem with APSDeamon.exe. It do not close properly. If I open iTunes and then close it and try to re-open it again. I must end the process in the task manager to be able to open the software. Has anyone got this kind of issues??Please look clayclay's and my answers - https://discussions.apple.com/message/17002335#17002335
-
Hi,
I have problems when creating a job that is supposed to be run once in background. I use the common steps as described below. My problem is that the report is executed twice.
- First it is executed synchronously when the job is created
- Then it is executed in the normal job step as I want it to do
I don't want it to be executed the first time because it creates data!!!
Code:
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = w_jobid
IMPORTING
jobcount = w_jobnr
sdlstrtdt = sy-datum
sdlstrttm = sy-uzeit.
SUBMIT (p_prog)
WITH p_idocnr = p_idocno
USER p_user
VIA JOB w_jobid
NUMBER w_jobnr
AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = w_jobnr
jobname = w_jobid
strtimmed = 'X'
IMPORTING
job_was_released = w_jobrel.
Does anyone have a clue of what I should do to prevent this?
// Regards HansHi again,
1. U are right.
2. It will happen if we use SUBMIT.
3. As per the help documentation,
it will run the program in separate session,
( as soon as submit statement comes)
4. and run the INITIALIZATION event.
The VIA JOB addition also loads the program accessed in a separate internal mode when the SUBMIT statement is executed and the system performs all the steps specified before START-OF-SELECTION. This means the events LOAD-OF-PROGRAM and INITIALIZATION are triggered and selection screen processing is performed. If the selection screen is not processed in the background when VIA SELECTION-SCREEN is specified, the user of the calling program can eidit it and schedule the program accessed in the background request using the function Place in Job. If the user cancels selection screen processing, the program is not scheduled in the background job. In both cases, execution of the program executed is completed after selection screen processing and the system returns to the calling program due to the AND RETURN statement.
regards,
amit m. -
Problem with background job using SUBMIT under different user
Hi All,
I am submitting a background job under different user name. I am submitting this job by using JOB_OPEN , SUBMIT report and JOB_CLOSE. But submit statement is returning sy-subrc 8, becuase of this the job_close is failed. Can you please help me to solve this problem.
Thanks in advance.
TjguptaHi,
The user is having all authorizations. is there any difference with user types?
This user is having user type " as communication data".
Thanks,
Tjgupta -
Problem with Background Callable Object
Hi All,
I am trying to create a background callable object in GP. From my understanding and according to the help document here is what I did:
- Generated a deployable proxy development component using the Top down approach.
- Created a Java Development component which implements the interface IGPBackgroundCallableObject. This Development component has the proxy object generated in Step 1 in the Used DCs. Internally this class does a JNDI lookup to the deployed Webservice Client and executes the webservice. Then I add this class as a public part in the Development Component.
- Create a J2EE Library that has the public part of the class generated in Step 2 as the Used DCs.
- Deploy the Library and use that in the GP Design time to create the Callable object.
Following are the problems that I am facing:
- The Java class that consumes the deployable proxy does not seem to recognize the classes that are present in the proxy object. Even though there is a reference to it.
- If we try to include the proxy project in the Java Build path of the class it simply removes the link at build time.
- At one instance it somehow succeeded during the build phase and I deployed the library to the J2EE engine but while testing the callable project it came up with a NoClassDef exception. Basically it was unable to find the proxy objects classes.
I am not sure if I am doing anything wrong or the process that I am following is not right. I would appreciate if anyone could help me understand what the problem is and how do we go about achieving the above scenario.
Best regards,
SudhiHi Jorgen,
This behavior is completely normal. It can seem awkward but what you described is somehow logical.
Let's say you have three actions, the second one is the email notification. When completing the first action, the second action is triggered. As it is a background callable object, it is put into the queue and wait for processing. As the refresh of the screen is faster than the processing of the callable object, the next action (the third) is not yet active/ready to be processed.
When the email is sent (i.e. the background callable object executed), a callback takes place and the next activity is triggered. Then, the 3 action is active and can be shown.
Due to technical restriction of Web Dynpro, it is not possible to refresh the screen when the action is ready to be processed. The user has to refresh it explictly.
With SP12, the processing of the queue has been improved and it's much more faster than before. The "problem" you noticed shouldn't be there anymore.
Hope this helps.
David -
Iphoto: problem with background color on Calendar. Help!
I have made 4 calendars using iphoto now. The first time I did it, I was able to custom background color the pages, including the bottom half with month and days. Since then, the only page that works for making background color changes is the top page (the border between photos). What am I doing wrong? When I go back to my original calendar (which I saved), I can still change the colors, but it doesn't work on any subsequent calendars. Can someone please advise?
Thanks,
CatherineCatherine,
you might try to change the "Theme" of your calendar. Not all themes allow to change the background color for the calendar page. For example, the "Colored Paper" theme lets you select the background color for all pages - click the "Layout" button and select a page in the page browser; then select a colored background tile, like this:
Regards
Léonie -
Text Standard in Sapscript: Problema with background color
Hi all !!!
I have uploaded a digital signature via RSTXLDMC program (I cannot upload the digital signature via SE78 because i have set position in the main window). When i display the sapscript, the background colour is white, but when i print the sapscript the background color changed to black.
Does anyone know why this is happening ?
Thanks
Sebastian QuezadaWelcome to SDN.
If you are using a BMP image file then save it as 256 bitmap file and then upload it. Even after that if issue persist check with your BASIS for the drivers.
Regards,
Amit -
Found a problem with backgrounds and launchpad
If a folder is left open in launchpad and the desktop background changes, when you go back to launch pad the background above the open folder is different to the bottom.
When the folder is closed or the background changes again it corrects itself.I'm also having this problem. It used to be in CS5, if you just clicked the "edit clipping path" button (never mind that it is selected by default!!) that would work.
But now, in CS6, yes, you have to click "edit contents" and then "edit clipping path" again.
Adobe, this seems like a bug. Can you fix it?
I use clipping paths constantly and this is slowing me down. -
Problem with Background Fill Resolution
I set the background on my master page using an image. However, on each of my pages and with each successive subpage, the image is magnified and loses resolution. How do I fix this?
Make sure you set the pattern to 'original size' sometimes it will pick other options like scale to fit etc. If that is not the case then it could be a Muse bug.
-
Problems with 'background' JFrame focus when adding a modal JDialog
Hi all,
I'm trying to add a modal JDialog to my JFrame (to be used for data entry), although I'm having issues with the JFrame 'focus'. Basically, at the moment my program launches the JFrame and JDialog (on program load) fine. But then - if I switch to another program (say, my browser) and then I try switching back to my program, it only shows the JDialog and the main JFrame is nowhere to be seen.
In many ways the functionality I'm looking for is that of Notepad: when you open the Find/Replace box (albeit it isn't modal), you can switch to another program, and then when you switch back to Notepad both the main frame and 'JDialog'-esque box is still showing.
I've been trying to get this to work for a couple of hours but can't seem to. The closest I have got is to add a WindowFocusListener to my JDialog and I hide it via setVisible(false) once windowLostFocus() is fired (then my plan was to implement a similar functionality in my JFrame class - albeit with windowGainedFocus - to show the JDialog again, i.e. once the user switches back to the program). Unfortunately this doesn't seem to work; I can't seem to get any window or window focus listeners to actually fire any methods, in fact?
I hope that kind of makes sense lol. In short I'm looking for Notepad CTRL+R esque functionality, albeit with a modal box. As for a 'short' code listing:
Main.java
// Not all of these required for the code excerpt of course.
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.GraphicsEnvironment;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.event.WindowFocusListener;
import java.awt.event.WindowListener;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JSplitPane;
import javax.swing.UIManager;
import javax.swing.plaf.basic.BasicSplitPaneDivider;
import javax.swing.plaf.basic.BasicSplitPaneUI;
public class Main extends JFrame implements ActionListener, WindowFocusListener, WindowListener, FocusListener {
static JFrame frame;
private static int programWidth;
private static int programHeight;
private static int minimumProgramWidth = 700;
private static int minimumProgramHeight = 550;
public static SetupProject setupProjectDialog;
public Main() {
// Setup the overall GUI of the program
private static void createSetupProjectDialog() {
// Now open the 'Setup Your Project' dialog box
// !!! Naturally this wouldn't auto-open on load if the user has already created a project
setupProjectDialog = new SetupProject( frame, "Create Your Website Project", true );
// Okay, for this we want it to be (say) 70% of the progamWidth/height, OR *slightly* (-25px) smaller than the minimum size of 700/550
// Change (base on programWidth/Height) then setLocation
int currProgramWidth = getProgramWidth();
int currProgramHeight = getProgramHeight();
int possibleWidth = (int) (currProgramWidth * 0.7);
int possibleHeight = (int) (currProgramHeight * 0.7);
// Set the size and location of the JDialog as needed
if( (possibleWidth > (minimumProgramWidth-25)) && (possibleHeight > (minimumProgramHeight-25)) ) {
setupProjectDialog.setPreferredSize( new Dimension(possibleWidth,possibleHeight) );
setupProjectDialog.setLocation( ((currProgramWidth/2)-(possibleWidth/2)), ((currProgramHeight/2)-(possibleHeight/2)) );
else {
setupProjectDialog.setPreferredSize( new Dimension( (minimumProgramWidth-25), (minimumProgramHeight-25)) );
setupProjectDialog.setLocation( ((currProgramWidth/2)-((minimumProgramWidth-25)/2)), ((currProgramHeight/2)-((minimumProgramHeight-25)/2)) );
setupProjectDialog.setResizable(false);
setupProjectDialog.toFront();
setupProjectDialog.pack();
setupProjectDialog.setVisible(true);
public static void main ( String[] args ) {
Main frame = new Main();
frame.pack();
frame.setVisible(true);
createSetupProjectDialog();
// None of these get fired when the Jframe is switched to. I also tried a ComponentListener, but had no joy there either.
public void windowGainedFocus(WindowEvent e) {
System.out.println("Gained");
setupProjectDialog.setVisible(true);
public void windowLostFocus(WindowEvent e) {
System.out.println("GainedLost");
public void windowOpened(WindowEvent e) {
System.out.println("YAY1!");
public void windowClosing(WindowEvent e) {
System.out.println("YAY2!");
public void windowClosed(WindowEvent e) {
System.out.println("YAY3!");
public void windowIconified(WindowEvent e) {
System.out.println("YAY4!");
public void windowDeiconified(WindowEvent e) {
System.out.println("YAY5!");
public void windowActivated(WindowEvent e) {
System.out.println("YAY6!");
public void windowDeactivated(WindowEvent e) {
System.out.println("YAY7!");
public void focusGained(FocusEvent e) {
System.out.println("YAY8!");
public void focusLost(FocusEvent e) {
System.out.println("YAY9!");
SetupProject.java
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowEvent;
import java.awt.event.WindowFocusListener;
import java.awt.event.WindowListener;
import java.io.IOException;
import java.net.URL;
import javax.imageio.ImageIO;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
public class SetupProject extends JDialog implements ActionListener {
public SetupProject( final JFrame frame, String title, boolean modal ) {
// Setup the JDialog
super( frame, title, modal );
setDefaultCloseOperation( JDialog.DISPOSE_ON_CLOSE );
// Bad code. Is only temporary
add( new JLabel("This is a test.") );
// !!! TESTING
addWindowFocusListener( new WindowFocusListener() {
public void windowGainedFocus(WindowEvent e) {
// Naturally this now doesn't get called after the setVisible(false) call below
public void windowLostFocus(WindowEvent e) {
System.out.println("Lost");
setVisible(false); // Doing this sort of thing since frame.someMethod() always fires a null pointer exception?!
}Any help would be very much greatly appreciated.
Thanks!
TristanHi,
Many thanks for the reply. Isn't that what I'm doing with the super() call though?
As in, in Main.java I'm doing:
setupProjectDialog = new SetupProject( frame, "Create Your Website Project", true );Then the constructor in SetupProject is:
public SetupProject( final JFrame frame, String title, boolean modal ) {
// Setup the JDialog
super( frame, title, modal );
And isn't the super call (since the class extends JDialog) essentially like doing new JDialog(frame,title,modal)?
If not, that would make sense due to the null pointer exception errors I've been getting. Although I did think I'd done it right hence am confused as to the right way to handle this,if so.
Thanks,
Tristan
Edited by: 802573 on 20-Oct-2010 08:27
Maybe you are looking for
-
I have no idea whether there is a causal relationship but since moving to Lion and iCloud, my iMac has become so unresponsive that I wind up having to crash and restart most of the time. This is true regardless of the app I am using at the time. The
-
How to set default pdf folder for Adobe 8.1.4
Every time I want to open or save a file in Adobe I have to navigate through the computer to the folder I use for pdf files. Can I set a default folder somehow so Adobe always looks there first? Thanks, Richard
-
[Windows] Event-based joystick handling
Hi, In case this might be of use, here's some sample code that traps joystick events with an event structure. There may be an example like this here already - if so, apologies for taking up space. The only examples I saw use polling to check
-
How do I download ios5 for my 32GB ipod touch 3G? I have itunes 10.5.3.3 and when I "check for upgrade" itunes says I have the most current version of 4.2.1. I have uninstalled and reinstalled itunes and reset my ipod but nothing has worked so far.
-
Hi. Im New to the forums so sorry in advance if i do something incorrect Since my Purchase of Adobe CS6, I was not able to use dynamic link, or the plugins that required you to connect to the Adobe Analysis Server (3d Tracker, Warp Stablizer ETC) It