Workflow Event enabling and Linkage
Hi,
I need to enable the WF Expired Qualification from the event CREATEDWITHVALIDITY of Object BUS7019.
I go to PA30, create a Record for a PERNR in IT0024 with and ENNDA. I debug the transaction and see only Event CHANGEDSUBPROFILE of BUS7030 getting triggered.
How do I trigger the event CREATEDWITHVALIDITY of Object BUS7019?
Please suggest.
Thanks,
Suryakiran D.
Message was edited by: Suryakiran Devavarapu
Hi Suryakiran,
from sap help (http://help.sap.com/saphelp_erp2004/helpdata/en/c5/e4aec8453d11d189430000e829fbbd/frameset.htm):
To create events when HR master records change, carry out the following IMG activities:
· Activate an event linkage
· Define event types for customer-specific business objects
· Redefine event types for SAP business objects
These IMG activities can be found in the SAP Reference IMG under Personnel Management ® Global Settings in Personnel Management ® Business Workflow Events.
Please take a look at transactions SWEHR1, SWEHR2 and SWEHR3. I think you are missing a link between the infotype being created and the event getting launched. The SWETYPV links only the event and the workflow.
Best regards,
Mikko
Similar Messages
-
How to ensure the event linkage of the Workflow active/enabled?
Dear Experts,
Iam new to the Workflow. We have one Workflow event linkage not activated/Enabled in the production system eventhough it was active in DEV as well as QA. We have transported the Customising request to enable event linkage in Production.
my question is why the event linkage is deactivated/disabled in Production?
is there any way to ensure that it (event linkage) will not be disable in production system? (please answer to this)
Please suggest .
Warm Regards,
Murthy.Hi
When there is an error in event, then linkage often gets broekn. In SWE2 or SWETYPV settings, Behaviour error upon feedback make it as do not change linkage.
This will sure that when there is an error, only that workflow will be in error mode and event linkage is not broken.
Regards
Sachin -
Workflow org unit and event create
hi gurus,
I am using a standard sap workflow for travel. I am having two issues with it:
1. I created an org structure for it. But when I give the org structure name in the workflow it is not picking up the manager's name and not sending the email. But when I give a single personnel number, it is sending the mail.
2. At the start of the workflow there is an event 'TripCreate'. But when I create the trip by tcode: PR05 it is not starting the workflow.
Please advise. thanks.
Regards,
FSHi FS,
1. For this issue, try to refresh the organizational structure by going to transaction SBWP -> Settings menu -> Workflow Settings -> Refresh Organizational Environment. Test again.
2. For the second issue, please ensure that the event linkage for the workflow is activated. In the header of the workflow in "Version Independent (Task)" tab goto "Start Events" tab and ensure the event is first of all maintained and secondly active (green icon).
Also, if you attempt to create the event from SWUE - does the workflow trigger then ?
If all is fine above, then check whether there are any start conditions maintained which prevent the workflow from triggering.
Hope this helps.
Regards,
Aditya -
Workflow for training and event management
Hi,
I have to develope a workflow regarding event type prebooking whic will be pre-booked thru pv02 , now my requirement is to send a workitem text to manager ess account who will appprove or reject this event type.
After approval it shud make updation in database but not in the case of rejection .After that Manager preebook a event for those who are alredy approved for the same event type and after event booking it shud also update the attendance table or infotype .
Thanks .Hi,
Set the Values to the Business Object container
SWC_SET_ELEMENT CONTAINER 'profit' profit.
Read the Values in the attribute
swc_get_property SELF 'TravelerName' Lv_traveller
Also refer this [Link|https://wiki.sdn.sap.com/wiki/x/moOmAw]
Regards,
Surjith
Edited by: surjith kumar on Mar 26, 2009 9:45 AM -
How to download and upload selected subscriptions in workflow events
Hi,
I have a workflow event that has 6 subscriptions. I would like to download only 2 subscriptions for that event and upload in to anothet instance.
Thanks,
HCThis is too vague a question, please be more specific. What protocol would you like to use? HTTP? FTP? Something else?
-
Configuring and programming Workflow Events
Hi,
Please, I´m trying understand how to program workflow events.
After I´d configured the DAD, I´d configured the Global preferences to point the Web agent to http://dad address/wf/owa.
So now I want to program an event that starts a process at the workflow databases every time that an insert occurs at another database, but I don´t know how to configure the other SYSTEM and I don´t have any example of event.
If someone could help me I´ll be glad.
Tks,
RaquelHi,
Please check out the section Overview of the Workflow Business Event System to understand and create event/subscriptions. There is a seeded event system demonstration which may help you as well.
Cheers,
Raja -
XK01 create vendor and workflow event
Hello all,
Is there a workflow event that is, or can be, triggered when the XK01transaction completes?
I'm not very fluent at workflow, so I hope I'm phrasing the question correctly.
Thanks
Ed BakerHey Ed
There is a video on ABAP e-learning on SDN for workflow that describes a workflow for the creation of a material , you can use that for ZK01 as well. I used it for HR employee creation and it was very helpful. U just need to find the right business object.
Here is the link
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0bbdb3c-d640-2a10-d3b2-e4d9b90536a6] -
How to enable workflow notification mailer and how can it help me?
Hello
I am on 12.0.6
I want to know how to enablke workflow notification mailer and how it can help me?
Do i need to seperately license it?
is there any patch that i have to apply in order to use it
Please advice and help me with my queryHi,
I want to know how to enablke workflow notification mailer and how it can help me?See the documents referenced in this thread.
Workflow Configuration and Troubleshoot
Workflow Configuration and Troubleshoot
Do i need to seperately license it?No.
is there any patch that i have to apply in order to use itSee the thread referenced above.
Regards,
Hussein -
Workflow event got deactivated?
Hi all,
I have created an workflow for Notification (IW21). When i create a notification the workflow event is getting deactivated and i am getting an error message "Workflow definition of task 'WS11111111' cannot be activated".
Can anyone please help me.
Regards,
GauthamHi Gautham,
Check the workflow which you are using if it is active. Could you give the workflow number (unless it is a custom built one) because WS11111111 doesn't exist in the system I have access to.
The event linkage gets deactivated because there is an error in the linkage or as in your case the workflow. The option "Behavior upon feedback" determines the behavior of the event linkage when an error occurs. In your case the event linkage gets deactivated. This has nothing to do with the error itself.
Regards,
Martin -
Where to include custo object types in workflow events?
Hi All,
One of my friend is working on HR related Workflow. He has a question about where to include the custom change document infotypes in workflow events.
To make it clear, he says there are three transactions swehr1, swehr2 and swehr3. Now, if he wants to include a custom object (Z object) which transaction should he use?
Please reply ASAP.
Regards
Swapna.Yes, you use swehr1 to link the infotype to the object type. Then use swehr3 to create the event linkage to your function module or object type event.
I just did this with an e-recruiting project and it worked fine. For example:
swehr1 entry:
NB Requisition 5131 Persons Responsible ZERC_REQUI Job Requisition
swehr3 entry:
NB Requisition 5131 Persons Responsible INS 0 ZERC_REQUI Z_ON_MEMBER_ADD
This accomplishes the following: when a record is inserted for infotype 5131, the function module Z_ON_MEMBER_ADD runs. That function module decides if or which event should be raised. Alternatively I could have entered an event for the ZERC_REQUI object type, but then the event will always be raised on a 5131 record insertion, and for my application I didn't want that.
I hope this example is helpful.
~Margaret -
Custom processing for every Workflow event
Hi,
As soon as any workflow event is raised, I want to read
data from my custom Z tables and do custom processing for that event.
Thanks,
SudheerHi Sudheer,
You say <i>check if that event is in our custom table</i>. No need to reinvent the wheel, the event linkage fulfils exactly this function. If you want to perform an action for an event then add the event into the event linkage (tx. SWETYPV) instead of - or as well as - your custom table. It doesn't matter if you have the same action in there for 1, 50 or 100 events.
You can have more than one linkage per event and you can start more than just workflow. The receiver function module is what 'receives' the event. It's just that: a FM to be executed when an event happens. This is the event manager's job, which is what you're trying to duplicate as I understand it. The receiver can either be a workflow or anything you choose - just follow the standard FM interface required here (have a look at any other linkage's FM for the parameters).
All that aside, it sounds like somethng I'd do in a workflow. Either as two extra steps in the beginning of my workflow or as a second workflow. (Background step to log data and a sendmail step to notify users).
Cheers
Mike -
Validating enabled and disabled menu bar in JInternalFrame
hi,
everybody.
i have created a main window using JInternalFrame and JDesktopPane. The window has a menu bar in which document menu is used for closing the main window, while employee menu is used for adding new frame for the employee. while the login frame is displayed when the application is executed.
my problem is, i want to validate that before login process, employee menu should be disabled, and after login is performed employee menu is enabled.
the following is my code.
please reply me as i am stucked with it.
waiting for the reply
thanks in advance.
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
import java.io.*;
import java.util.*;
public class InternalFrameDemo extends JFrame implements ActionListener
JDesktopPane desktop;
public InternalFrameDemo()
super("InternalFrameDemo");
int inset = 50;
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
setBounds(inset, inset, screenSize.width - inset*2, screenSize.height - inset*2);
desktop = new JDesktopPane();
setContentPane(desktop);
desktop.setBackground(Color.white);
setJMenuBar(createMenuBar());
desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
createLogin();
public JMenuBar createMenuBar()
JMenuBar menuBar = new JMenuBar();
JMenu menu = new JMenu("Document");
menu.setMnemonic(KeyEvent.VK_D);
menuBar.add(menu);
JMenuItem menuItem = new JMenuItem("Quit");
menuItem.setMnemonic(KeyEvent.VK_Q);
menuItem.setAccelerator(KeyStroke.getKeyStroke( KeyEvent.VK_Q, ActionEvent.ALT_MASK));
menuItem.setActionCommand("quit");
menuItem.addActionListener(this);
menu.add(menuItem);
JMenu employee = new JMenu("Employee");
employee.setMnemonic(KeyEvent.VK_E);
employee.setActionCommand("employee");
menuBar.add(employee);
JMenuItem additem = new JMenuItem("Add");
additem.setMnemonic(KeyEvent.VK_A);
additem.setActionCommand("add");
additem.addActionListener(this);
employee.add(additem);
return menuBar;
public void actionPerformed(ActionEvent ae)
String str = ae.getActionCommand();
if(str.equals("add"))
System.out.println("Employee Form Invoked");
createEmployee();
else if(str.equals("quit"))
quit();
public void createEmployee()
MyEmployeeFrame employeeframe = new MyEmployeeFrame();
employeeframe.setVisible(true);
desktop.add(employeeframe);
try
employeeframe.setSelected(true);
catch(Exception e)
public void createLogin()
MyLogin loginframe = new MyLogin();
loginframe.setVisible(true);
desktop.add(loginframe);
try
loginframe.setSelected(true);
catch(Exception e){}
public void quit()
System.exit(0);
private static void createAndShowGUI()
JFrame.setDefaultLookAndFeelDecorated(true);
InternalFrameDemo frame = new InternalFrameDemo();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(800,600);
frame.setVisible(true);
public static void main(String a[])
createAndShowGUI();
class MyEmployeeFrame extends JInternalFrame implements ActionListener
JFrame employeeframe;
JLabel labelfirstname;
JLabel labellastname;
JLabel labelage;
JLabel labeladdress;
JLabel labelcity;
JLabel labelstate;
JTextField textfirstname;
JTextField textlastname;
JTextField textage;
JTextField textaddress;
JTextField textcity;
JTextField textstate;
JButton buttonsave;
FileOutputStream out;
PrintStream p;
String strfirstname,strlastname,strage,straddress,strcity,strstate;
GridBagLayout gl;
GridBagConstraints gbc;
public MyEmployeeFrame()
super("Employee Details",true,true,true,true);
setSize(500,400);
labelfirstname = new JLabel("First Name");
labellastname = new JLabel("Last Name");
labelage = new JLabel("Age");
labeladdress = new JLabel("Address");
labelcity = new JLabel("City");
labelstate = new JLabel("State");
textfirstname = new JTextField(10);
textlastname = new JTextField(10);
textage = new JTextField(5);
textaddress = new JTextField(15);
textcity = new JTextField(10);
textstate = new JTextField(10);
buttonsave = new JButton("Save");
gl = new GridBagLayout();
gbc = new GridBagConstraints();
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 1;
gbc.gridy = 3;
gl.setConstraints(labelfirstname,gbc);
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 3;
gbc.gridy = 3;
gl.setConstraints(textfirstname,gbc);
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 1;
gbc.gridy = 5;
gl.setConstraints(labellastname,gbc);
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 3;
gbc.gridy = 5;
gl.setConstraints(textlastname,gbc);
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 1;
gbc.gridy = 7;
gl.setConstraints(labelage,gbc);
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 3;
gbc.gridy = 7;
gl.setConstraints(textage,gbc);
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 1;
gbc.gridy = 9;
gl.setConstraints(labeladdress,gbc);
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 3;
gbc.gridy = 9;
gl.setConstraints(textaddress,gbc);
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 1;
gbc.gridy = 11;
gl.setConstraints(labelcity,gbc);
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 3;
gbc.gridy = 11;
gl.setConstraints(textcity,gbc);
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 1;
gbc.gridy = 13;
gl.setConstraints(labelstate,gbc);
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 3;
gbc.gridy = 13;
gl.setConstraints(textstate,gbc);
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 3;
gbc.gridy = 17;
gl.setConstraints(buttonsave,gbc);
Container contentpane = getContentPane();
contentpane.setLayout(gl);
contentpane.add(labelfirstname);
contentpane.add(textfirstname);
contentpane.add(labellastname);
contentpane.add(textlastname);
contentpane.add(labelage);
contentpane.add(textage);
contentpane.add(labeladdress);
contentpane.add(textaddress);
contentpane.add(labelcity);
contentpane.add(textcity);
contentpane.add(labelstate);
contentpane.add(textstate);
contentpane.add(buttonsave);
buttonsave.addActionListener(this);
public void reset()
textfirstname.setText("");
textlastname.setText("");
textage.setText("");
textaddress.setText("");
textcity.setText("");
textstate.setText("");
public void actionPerformed(ActionEvent ae)
String str = ae.getActionCommand();
System.out.println(str);
if(str.equalsIgnoreCase("Save"))
try
out = new FileOutputStream("myfile.txt",true);
p = new PrintStream( out );
strfirstname = textfirstname.getText();
strlastname = textlastname.getText();
strage = textage.getText();
straddress = textaddress.getText();
strcity = textcity.getText();
strstate = textstate.getText();
p.print(strfirstname+"|");
p.print(strlastname+"|");
p.print(strage+"|");
p.print(straddress+"|");
p.print(strcity+"|");
p.println(strstate);
System.out.println("Record Saved");
reset();
p.close();
catch (Exception e)
System.err.println ("Error writing to file");
class MyLogin extends JInternalFrame implements ActionListener
JFrame loginframe;
JLabel labelname;
JLabel labelpassword;
JTextField textname;
JPasswordField textpassword;
JButton okbutton;
String name = "";
FileOutputStream out;
PrintStream p;
Date date;
GregorianCalendar gcal;
GridBagLayout gl;
GridBagConstraints gbc;
public MyLogin()
super("Login",true,true,true,true);
setSize(400,300);
gl = new GridBagLayout();
gbc = new GridBagConstraints();
labelname = new JLabel("User");
labelpassword = new JLabel("Password");
textname = new JTextField("",9);
textpassword = new JPasswordField(5);
okbutton = new JButton("OK");
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 1;
gbc.gridy = 5;
gl.setConstraints(labelname,gbc);
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 2;
gbc.gridy = 5;
gl.setConstraints(textname,gbc);
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 1;
gbc.gridy = 10;
gl.setConstraints(labelpassword,gbc);
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 2;
gbc.gridy = 10;
gl.setConstraints(textpassword,gbc);
gbc.anchor = GridBagConstraints.NORTHWEST;
gbc.gridx = 1;
gbc.gridy = 15;
gl.setConstraints(okbutton,gbc);
Container contentpane = getContentPane();
contentpane.setLayout(gl);
contentpane.add(labelname);
contentpane.add(labelpassword);
contentpane.add(textname);
contentpane.add(textpassword);
contentpane.add(okbutton);
okbutton.addActionListener(this);
public void reset()
textname.setText("");
textpassword.setText("");
public void run()
try
String text = textname.getText();
String blank="";
if(text.equals(blank))
System.out.println("First Enter a UserName");
else
if(text != blank)
date = new Date();
gcal = new GregorianCalendar();
gcal.setTime(date);
out = new FileOutputStream("log.txt",true);
p = new PrintStream( out );
name = textname.getText();
String entry = "UserName:- " + name + " Logged in:- " + gcal.get(Calendar.HOUR) + ":" + gcal.get(Calendar.MINUTE) + " Date:- " + gcal.get(Calendar.DATE) + "/" + gcal.get(Calendar.MONTH) + "/" + gcal.get(Calendar.YEAR);
p.println(entry);
System.out.println("Record Saved");
reset();
p.close();
catch (IOException e)
System.err.println("Error writing to file");
public void actionPerformed(ActionEvent ae)
String str = ae.getActionCommand();
if(str.equals("OK"))
run();
loginframe.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
}I realize this post is from a few days ago, but if you're still looking for help:
This is my first thought on how to do this. Unfortunately, it's a bit messy. JMenuItems can be enabled and disabled but JMenus don't have this option...
public class InternalFrameDemo extends JFrame implements ActionListener
JDesktopPane desktop;
JMenuBar menuBar;
public InternalFrameDemo()
setJMenuBar(createMenuBar());
desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
createLogin();
public JMenuBar createMenuBar()
menuBar = new JMenuBar();
JMenu menu = new JMenu("Document");
menu.setMnemonic(KeyEvent.VK_D);
menuBar.add(menu);
JMenuItem menuItem = new JMenuItem("Quit");
menuItem.setMnemonic(KeyEvent.VK_Q);
menuItem.setAccelerator(KeyStroke.getKeyStroke( KeyEvent.VK_Q, ActionEvent.ALT_MASK));
menuItem.setActionCommand("quit");
menuItem.addActionListener(this);
menu.add(menuItem);
JMenuItem additem = new JMenuItem("Add");
additem.setMnemonic(KeyEvent.VK_A);
additem.setActionCommand("add");
additem.addActionListener(this);
employee.add(additem);
return menuBar;
public void createLogin()
MyLogin loginframe = new MyLogin( menuBar );
loginframe.setVisible(true);
desktop.add(loginframe);
try
loginframe.setSelected(true);
catch(Exception e)
class MyLogin extends JInternalFrame implements ActionListener
JMenuBar menuBar;
public MyLogin( JMenuBar menuBar1 )
super("Login",true,true,true,true);
menuBar = menuBar1;
public void actionPerformed(ActionEvent ae)
String str = ae.getActionCommand();
if(str.equals("OK"))
run();
JMenu employee = new JMenu("Employee");
employee.setMnemonic(KeyEvent.VK_E);
employee.setActionCommand("employee");
menuBar.add(employee);
loginframe.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
} -
How to restore a filestream enabled and rbs configured web application
HI
in sharepoint farm I taken backup of a filestream enabled and rbs configured web application from central admin
and how to restore it in a new sharepoint farm in different server
adilhi i seen this error message in sprestore file in restore foloder,
i am trying to restore the backup in sql srver 2008 R2
and
backup taken by sharepoint form which has back end sql server 2010 database datacenter
IF EXISTS ( SELECT * FROM master..sysdatabases WHERE has_dbaccess(name)=1 AND
name=@db_name )
BEGIN
SELECT 1 as ErrorCode
END
ELSE
BEGIN RESTORE DATABASE [WSS_Content_Prod] FROM
DISK=@db_location WITH STATS=5, FILE=1, MOVE @db_OldName TO @db_NewFile, MOVE @db_OldLogName TO @db_NewLogFile, MOVE @fsfg_old0 TO @fsfg_new0, NOREWIND, NOUNLOAD, RESTART, RECOVERY
END
@db_location=C:\BackUpandRestore from 117\ALPROD\spbr0000\0000016A.bak, @fsfg_old0=RBSFilestreamFile, @fsfg_new0=c:/rbs, @db_OldName=WSS_Content_Prod, @db_NewFile=C:\Program Files\Microsoft
SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\WSS_Content_Prod.mdf, @db_OldLogName=WSS_Content_Prod_log, @db_NewLogFile=c:/Prodlogs\WSS_Content_Prod_log.ldf, @db_name=WSS_Content_Prod
[3/24/2014 9:44:08 PM] Verbose: [WSS_Content_Prod] SQL command timeout is set to 1.00 hours.
[3/24/2014 9:44:08 PM] FatalError: Object WSS_Content_Prod failed in event OnRestore. For more information, see the spbackup.log or sprestore.log file located in the backup directory.
SqlException: The operation did not proceed far enough to allow RESTART. Reissue the statement without the RESTART qualifier.
RESTORE DATABASE is terminating abnormally.
[3/24/2014 9:44:08 PM] Debug: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.SharePoint.Administration.Backup.SPSqlBackupRestoreHelper.RunCommand(SqlCommand sqlCommand, SPBackupRestoreInformation args, Boolean throwOnRestart, Boolean& restart, SPSqlBackupRestoreConnection connection)
at Microsoft.SharePoint.Administration.Backup.SPSqlBackupRestoreHelper.Run(SPBackupRestoreInformation args)
at Microsoft.SharePoint.Administration.Backup.SPSqlRestoreHelper.Run(SPBackupRestoreInformation args)
at Microsoft.SharePoint.Administration.SPDatabase.OnRestore(Object sender, SPRestoreInformation info)
at Microsoft.SharePoint.Administration.SPContentDatabase.OnRestore(Object sender, SPRestoreInformation info)
[3/24/2014 9:44:08 PM] Verbose: Starting OnPostRestore event.
[3/24/2014 9:44:08 PM] Verbose: Starting object: SharePoint - 85.
[3/24/2014 9:44:08 PM] Progress: [SharePoint - 85] 100 percent complete.
[3/24/2014 9:44:08 PM] Verbose: [SharePoint - 85] Restoring features and its activation properties.
adil -
Hi All
I have set up a simple custom HCM process and Form regarding Infotype TO CREATE AND CHANGE POSITION. I have checked the process and form consistency and it seems fine. Now when I run the process from HRASR_DT it generates a process number but it also gives an error workflow could not start.I get following error (SWIA log - Step history)
Executing flow work item - Transaction brackets of the workflow has been damaged
Exception occurred - Error when starting work item 000000007031
PROCESS_NODE - Error when processing node '0000000014' (ParForEach index 000000)
CREATE - Error when creating a component of type 'Step'
CREATE_WIM_HANDLE - Error when creating a work item
CREATE_VIA_WFM - Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event CREATED and (target) status
EVENT_RAISED - Error updating the process object
Executing flow work item - Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event STATE_CHG and (target) status READY->ERROR
EVENT_RAISED - Error updating the process object
Executing flow work item - Transaction brackets of the workflow has been damaged
Executing flow work item - Work item 000000007031: Object FLOWITEM method EXECUTE cannot be executed
Executing flow work item - Error when processing node '0000000014' (ParForEach index 000000)
Points to be noted:
1) I have searched few SAP notes such as 1384961(Notes for 6.0.4) but our system is in higher level patch 6.0.5
2) WF-BATCH have SAP_NEW and SAP_ALL authorization.
Appreciate your valuable suggestions.
Thanks
RagavHi Ragav
did you try to debug this? maybe something is missing in config of P&F?
Since you are on 605, the following note would be there in your system....use it to debug:
1422496 - Debugging background workflow tasks in HCM P&F
This will help you find the root cause.
regards,
modak -
On basis of drop down by key values i want to enable and disable ui elements is wda
How to enable and disable ui elements on basis of drop down by key values as i show in screen shot i have 3 values in drop down by key on basis of those values i need to enable and disable ui elements in webdynpro abap kindly reply back
Hi Sreedhara,
There are many tutorials on SCN for learning Web Dynpro ABAP. If the following steps don't make sense to you, please do a search for some tutorials and read through the tutorial materials. Hopefully the tutorials will help you to become familiar with some of the basics of Web Dynpro ABAP.
Here is how to enable or disable a UI element upon selection from a DropDownByKey.
In your view context, create a context attribute of type wdy_boolean. For now, let's call this attribute IS_ENABLED
In your view layout, bind the enabled property of the UI element to the context attribute IS_ENABLED.
In your view actions, create an action-- let's call it SET_ENABLED-- and bind this action to the DropDownByKey element's onSelect event in the view layout.
In the event handler method for the SET_ENABLED action, use the Code Wizard to read the value of the DropDownByKey selected value, then use the Code Wizard again to set the value of context attribute IS_ENABLED to either true or false.
Now when a value is selected from the DropDownByKey, the SET_ENABLED action will be triggered and the IS_ENABLED context attribute will be set to either true or false. Since your UI element's enabled property is bound to this true or false value via the context binding, the UI element will change to enabled or disabled.
Good luck!
Cheers,
Amy
Maybe you are looking for
-
CLOB datatype appearing as UNDEFINED
Hi, we are using Oracle 8.1.5 - if a table with column datatype CLOB is created - while describing the datatype appears as 'UNDEFINED'. Do I need to do any configuration? Has anyone come across this? thanks much, null
-
With Lion due to be released in July. Does anyone know whether DTM will be compatible with it? Regards Mark Solved! Go to Solution.
-
Layout and Text changing in the tracking service of TASKS
Hello! How can I change the text in the generated email of tasks which everyone gets who is assigned for Tracking and Final Approval? -> Tracking and Final Approval can be found under show options. regards, Christian
-
I just bought my Zen Micro from Circuit City, and really dig it so far. One thing I noticed is that Circuit City's website says the AC power adapter and a belt clip/stand are included as part of the package. When I got the box home, they weren't incl
-
FM 8 Just so you know, it's been three years since I used FrameMaker, I'm a journeyman at best. I've checked the help, it's not telling me what I need. I've inherited a project in FM, a book with, so far, 10 chapters, several appendices. I need to ad