RSWUWFML2 Execution

Hi all,
How to use the report RSWUWFML2 for forwarding mails from SAP inbox to external mail.
Requirement is the mails should go to external mail box not sap inbox.If the auto forwarding option is clicked.
Thanks & Regards,
Anjana Rao
Moderator message: not directly related to ABAP development, please have a look in the Netweaver forums.
Edited by: Thomas Zloch on Dec 17, 2010 10:13 AM

Thanks for your answer Rick.
I didn't do anything, T-SOST is showing the sender's name wrong. But the incomming e-mail in my inbox has the correct sender's name.
Regards.
Gregory.

Similar Messages

  • Attempt to send failed error in RSWUWFML2

    Hi,
    I am getting following error in RSWUWFML2
    Work item 000000528247: Attempt to send failed
    Work item 000000528247 sent to
    the external is email is getting sent correctly from send mail step of the workflow as well as SO00 transaction as test.
    the user id and email for the recipients do exist in the system
    the variant for RSWUWFML2 -
    1000     FM for Determining Address     S                    
    1000     FM for Preparatory Phase     S                    
    1000     Tasks (blank = all)     S     I     EQ     TS90000055     
    1000     Tasks (blank = all)     S     I     EQ     TS90000027     
    1000     Tasks (blank = all)     S     I     EQ     TS90000038     
    1000     Tasks (blank = all)     S     I     EQ     TS90000040     
    1000     Tasks (blank = all)     S     I     EQ     TS90000036     
    1000     Tasks (blank = all)     S     I     EQ     TS90000044     
    1000     Tasks (blank = all)     S     I     EQ     TS90000015     
    1000     Tasks (blank = all)     S     I     EQ     TS90000026     
    1000     After Work Item Description     P               SWU_NOTIF_EPILOG2     
    1000     From work item creation date     P               00.00.0000     
    1000     From work item creation time     P               00:00:00     
    1000     Job suffix     P               2     
    1000     Before Work Item Description     P               SWU_NOTIF_PROLOG1     
    1000     Message Class for Subject     P               SWU_NOTIF     
    1000     Message Number for Subject     P               002     
    1000     Users (blank = all)     P                    
    1000     Collective Message     P                    
    1000     All     P               X     
    1000     Errors Only     P                    
    1000     One Message per Work Item     P               X     
    1000     New Work Items Only     P               X     
    1000     With Passive Substitution     P                    
    1000     Work Item Display     P               X     
    1000     Work Item Execution     P               X     
    1000     Workflow Entry     P               X     
    1000     Language for E-Mail Texts     P                    
    1000     SAPLOGON_ID     P                    
    kindly help for the above error
    thanks in advance
    B

    Hi,
    Please check the user id who is executing the report RSWUWFML2.
    Email id must be maintained in that user id.
    Please maintained the email id and try to execute the report again.
    Thanks and regards,
    SNJY

  • RSWUWFML2 sender name

    Hi,
    I'm using the RSWUWFML2 report to send mails with WI execution shortcuts. I have programmed a periodic job with a BATCH user for the report execution.
    The problem that I'm having is that the mail sender name is obsolete, I've changed the BATCH user's first and last names through T-SU01 and the mails still coming with the previous one. For example, until yesterday the user's name was XXXXX and today the user name is YYYYY. Today the sender name into the incoming e-mail is XXXXX.
    Why is this happening? Is there any buffer or something?
    Regards.
    Gregory.

    Thanks for your answer Rick.
    I didn't do anything, T-SOST is showing the sender's name wrong. But the incomming e-mail in my inbox has the correct sender's name.
    Regards.
    Gregory.

  • How to schedule the report RSWUWFML2

    hi,
    I need some guidance about scheduling the report RSWUWFML2.
    Apart from the default values, I have put the fields  Tasks, radiobutton One message per workitem and checkbox Workitem execution. For the from date and time I need to verify.
    From work item creation date --> current date
    From work item creation time --> current time minus frequency of report run
    example , frequency is 2 hrs then 'from time' will be current time minus 2 hrs so in this way all the duration of the day will be covered for picking the workitems created in time slots of 2 hrs without any overlap.
    Could you please advice upon the same ? if I have to put anything else than the above setting ?
    thanks in advance
    dipti

    Hello Dipti,
    It sounds like your intention is to send work item notifications every 2 hours for newly created work items created in the last 2 hours.  If this is the case you need not worry about the creation date/time parameters.  The program will use the Job suffix parameter (defaults to 2) and store the last run date time for that job suffix each time it is run.  It will get all work items created/changed since this last run date and time.  So go ahead and leave the date/time parameters blank and schedule your job to run every 2 hours.  I hope this helps.
    Regards,
    Bob

  • Workitem execution from outlook - via citrix

    Hallo,
    we access SAP via Citrix and we want to execute workitems from outlook (by a decision task).
    I use the report RSWUWFML2, the user receives e-mail with corresponding attachments to execute the workitem, but I don't know, how to open them.
    Do I have to set up anything special?
    Thank you.
    Petra

    Hi PB,
    Are you not able to open/execute the workitem ?
    Does it give you error ?
    I have built scenarios of executing the workitem from Outlook,
    in order to do that, you need to run the report RSWUWFML2 in background, hence create a variant for the report with following checkboxes ticked,
    X  New workitems only.
    X  One message per workitem.
    X  Workitem Execution.
    After you run this report in background, you need to create a shortcut of your transaction to which your workitem should lead you.
    I mean, say on execution of workitem, you want the user to reach transaction ME54N, then create a shortcut for this transaction, by opening your client thru SAP, going to ME54N and clicking the shortcut button on the menu.
    Now, add this shortcut to your SAP GUI LogOnPad.
    Note* : you should have all the valid parameters in the shortcut.
    Thats all I did.
    Hope it helps.
    Reward if helpful.
    Citrix system wouldnt create an issue I suppose.
    Aditya

  • Sending notifications with attachments using RSWUWFML2

    Hi,
    I need to send a notification for a Workitem that has been forwarded. The workitem includes an attachment object type SOFM in element attachobjects. The report is creating the Email text but does not include the attachment. Does anybody have any ideas how I can create the Email with the attachment included for forwarded items.
    Regards
    Kevin Peyton

    Hi,
    In this program RSWUWFML2 you have to select the Radio Button ' One Message per Work Item' then select the below Check boxes
    Workflow Entry
    Work Item Display
    Work Item Execution
    Then execute it, then in the email link to workitem object will come as an attachment. Once you click, it will ask for the user name and password, after entering those you can execute the workitem. Check this [link|https://wiki.sdn.sap.com/wiki/x/moH8B].
    Regards,
    Surjith

  • Enhanced Notifications(SWNCONFIG) Vs Work-item Forward Program (RSWUWFML2)

    Is there an easy way to find out the advantages of using Enhanced Notifications SWNCONFIG configurations over scheduling the work-item forward program RSWUWFML2? We are on Ep 7.0/ECC 6.0 and configuring UWL for work-item execution and receiving notifications. For occasional users, we are planning to send email notifications to the Outlook email addresses using RSWUWFML2 and the the SCOT internet Send programs. Are there any added advatnages of configuring Advanced notifications?
    Appreciate any ideas.
    Thanks,
    Saurabh

    Yes, there are several advantages, but you may not need all of them. It takes a little extra effort to set it up, but that's a one-time effort and we are not talking weeks or days.
    However, the primary argument is that this is the standard solution for work item notification. So you are recommended to use the enhanced notification solution whether you need the advantages or not.
    One advantage is additional flexibility in which work items should be checked. You can choose to send notifications to people who don't have new work items, but have not yet completed the work items they (probably) have been notified about before.
    Another advantage is additional flexibility in message contents and the number of messages sent to the user. RSWUWFML2 lets you choose between one message and one message per work item. In the new solution you can also send one message per category, although I am not sure what a category is.
    Further advantages:
    - Multiple schedules can be set up, so you don't have to use SM37 to get an overview of your notification schedules and you can send notifications every hour from 09 to 15 and every 4 hours the rest of the day if you wish. There is a time zone field in the schedule configuration. Whether it is used just to make sure the job runs at the desired time or is even more amazingly advanced (only notifying users when their own time zone shows the same time) I don't know.
    - There's more, but since I have never set it up myself I have not read all of the <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/b9/2a651eb04411d2b46f006094b9ea0d/frameset.htm">documentation from SAP</a> which includes typical scenarios to help you with configuration.
    After opening the link, expand the hierarchy as follows: Reference documentation => Workflow system administration => Extended notifications for SAP Business Workflow.

  • RSWUWFML2 documentation

    HI everyone!
    Please help me use the report <b>RSWUWFML2</b> for workitem forwarding to outside mail.
    I don't have a documentation for this.  If possible, send me a file with step-by-step methodology.  Please indicate the procedure I'll use in T-codes: SOST, SCOT, SE38, SU01 and PFTC.
    You may send your file in my email: <b>[email protected]</b>
    Thank you very much!
    Regards,
    Reymar Ellazo

    Short text
    Sending notifications for work items
    Title
    E-Mail notifications for new work items in the Business Workplace (RSWUWFML2)
    Purpose
    The report sends notifications for work items by e-mail to SAP users who have an Internet e-mail address.  This enables users who do not normally use the Business Workplace to be informed about new work items. The report is used in particular to replace existing SAP MAPI installations. You can also send SAP shortcut attachments using this report. These enable the receiver of the e-mail to display or execute the work item directly, or to open the Business Workplace in the SAP GUI for windows.
    In the case of a periodically scheduled run (not a single run), the report generates notifications for work items for which the following applies:
    The work items must have the status ready.< LS>
    The work items have been created since the last run (the time and date of the last run is saved in a table).
    The work items have a receiver with a valid Internet e-mail address.
    See SAP Note 733681 for additions to the documentation.
    Advantages:
    Users who do not normally use the Business Workplace of a particular SAP system because they use another e-mail client or another SAP system, can be notified easily.
    Workflow patterns or tasks do not need to be modified.
    The generation of notifications does not need to be modeled in Workflow.
    Overall performance is improved. Compared with SAP MAPI, this report is better for performance since it determines the work items for all users with just one selection, while each user must select their Workflow inbox individually in the case of SAP MAPI.
    Limitations:
    Selection only includes newly created work items. Work items that have been reassigned to another user by forwarding or changes being made to the organizational structure are not included.
    Normal SAPoffice messages from the Documents folder are not forwarded by the report.
    Active substitution is supported, but passive substitution is not. If an agent has specified a substitute, but the substitution has not yet been activated, then the substitute does not receive the e-mail notification for the person he is substituting. This also applies if the substitute arranged the substitution himself.
    There is no password caching for shortcuts. If Single Sign-On is not active, the user needs to log on to the system separately.
    The messages are generated in text-only format.
    A user can be informed about multiple work items in a collective notification. However, the collective notification does not contain details about the individual work items.
    Document and object attachments of a work item are not sent.
    No container variables or container expressions can be used in the descriptive texts (Before Work Item Description, After Work Item Description).
    Messages are generated in the language of the user for whom the report is running.
    Messages can only be sent to SMTP addresses (type INT).
    Groupware-specific forms are not supported.
    Integration
    You schedule this report as a batch job.
    Prerequisites
    The receivers of e-mail notifications must have maintained an e-mail address in the relevant SAP system. You can maintain a users e-mail address in either the central address management (transaction SU01) or the personal office settings in the Business Workplace, under Automatic Forwarding. You no longer need to activate the Mail Group in the general office settings for RSWUWFML2.
    Features
    Instance data:
    Job Suffix:
    Using a job suffix enables you to have multiple instances of the report running simultaneously. Note that the times for the last run are saved for the individual instances. You can set the report parameters differently here.
    Tasks:
    You can restrict the selection of work items to work items for particular tasks. You can select multiple tasks here.
    Send granularity:
    If you change this setting, then the default settings in the lower frame are changed dynamically.
    One message per work item
    One message is sent for each new work item. This contains the description of the work item and accompanying texts, as specified under Standard Text for Notification.
    Collective message:
    Only one message is sent for all new work items for a particular user. The message does not contain any information about the individual work items.
    Add executable message attachments for:
    Executable attachments are SAP shortcuts that receivers of messages can use to directly display a work item in the SAP GUI for Windows. SAP shortcuts contain the relevant logon language from the central address management (transaction SU01) for each individual receiver. The system ID and the client contained in the shortcut correspond to the system in which the report is running.
    Workflow Inbox
    An SAP shortcut is added to the message so that the message receiver can start the Business Workplace directly in the SAP GUI for Windows.
    Work Item Display:
    An SAP shortcut is added to the message so that the message receiver can display the work item directly in the SAP GUI for Windows.
    Work Item Execution
    An SAP shortcut is added to the message so that the message receiver can execute the work item directly in the SAP GUI for Windows. Secondary methods are also executed at the same time.
    Standard message text
    This option enables you to define the message subject and text, which is added to the work item description. The text contains general information for the user about what to do with the message.
    Message class for subject
    Message class of a T100 message (transaction SE91) from which the subject line for the message is determined. Message class SWU_NOTIF contains the messages that are shipped by SAP.
    Message number for subject
    Number of a T100 message (transaction SE91) from which the subject line for the message is determined. The T100 message can contain two parameters. Parameter &1 is replaced by the system ID. Parameter &2 is replaced by the work item text.
    Before work item description
    ID of a SAPscript text (transaction SE61) of type Text in Dialog, which is inserted before the actual work item description in the message. The text contains the form of address for the user and the reference to Business Workflow. Ensure that the text matches the send granularity. The system proposes an appropriate text. Includes and symbols within a SAPscript text are expanded. Workflow-specific variables or expressions (for example, from the container) cannot be used, however.
    After work item description
    ID of a SAPscript text (transaction SE61) of type Text in Dialog, which is inserted after the actual work item description in the message. Ensure that the text matches the send granularity. The system proposes an appropriate text.
    SAP shortcut parameter:
    Here you can define the ID of an entry in the SAPLogon, which is included as the parameter Description in each shortcut that is sent. This is a useful setting if you want to ensure that the saplogon.ini has the corresponding entry on all user PCs. The parameter is only required if there are multiple saplogon.ini entries for the same system on the users PCs. You can activate an entry of this type individually.
    Data for single run
    A single run is performed if the input fields contain a data, time, and optionally a user. A single run is recommended if work items are to be sent again from a particular time and date, for example due to a problem when sending the e-mails. Contrary to a periodically scheduled run, in a single run the time of the last run is not saved.
    From work item creation date
    First day when work items are to be included.
    From work item creation time:
    Time on first day when work items are to be included.
    User:
    Notifications are only generated for work items that have this user in the Business Workplace. You must not use this option to restrict the sending of notifications in the productive environment to certain users.
    Log:
    During its run, the report writes a log in a spool file and an entry in the application log. You can define what is logged:
    Errors Only: Only error messages are logged
    All: Success and error messages are logged
    You can display the application log by calling transaction SLG1. Enter the object=WF and the sub object=NOTIFICATIONS as the selection values.
    Properties:
    If one message is sent for each work item, the message contains the task description and the standard text. If one message is sent for all work items, the message contains just the standard text. Express mails are sent for express work items.
    If the messages include executable attachments, they are sent to each user individually. If executable attachments are not required, all messages that refer to the same work item are sent to a receiver list, which comprises the selected agents.
    If you have selected a Collective message, only one message is sent to each receiver per run, regardless of the number of work items for this user.
    The results of database queries (for example, e-mail addresses) are buffered to improve system performance.
    By making an entry in table SWUTYP2ADR you can specify that all outbound mail messages are send to a specific e-mail address and not directly to the end user. This address can be monitored by an automatic agent who reformats and forwards the mail messages. The table has a maintenance view and can be edited by calling transaction SM30. Add a new entry to the table and leave the field Form Type empty and enter the e-mail address in the Proxy Mail Address field.
    The usual logic when using SAP shortcuts applies when logging on to execute shortcuts. If the parameter Description is specified in the SAP shortcut, but there is no saplogon.ini entry with this name, the system displays an error message when you attempt to execute the shortcut. If the parameter Description is not specified, a saplogon.ini entry with the relevant system is selected instead. If a session with the relevant entries for system/client/user/language is already open, a new session is opened automatically without the user needing to log on. If no such session is already open, the user must log on again. If the selected saplogon.ini entry is configured for Single Sign-On, the system logs the user on automatically. If it is not configured, the system displays a logon window in which the user must enter their password.
    Selection
    1. Determine the relevant work items. Dialog work items and missed deadline work items are included. Forwarding and changes to the organizational structure are not included.
    2. Determine the receiver for each determined work item. Active substitution is included, but passive substitution is not. Substitute profiles and task classifications are included.
    3. Only receivers who have an Internet e-mail address (type INT) are included.
    4. Create message body (partly work item-specific).
    5. Send the message to all receivers.
    Standard Variants
    You can define variants for scheduling. If you use multiple variants you must at least use the job suffix to differentiate between them.
    Output
    You can generate a log file and an application log.
    Documentation available in SE38.  Read this documentation and always make sure before creating the background with a SAP User Id you run this program in foreground logging with that user Id.
    <b>Reward points if useful and close this thread if resolved</b>

  • Is there a Data Execution Prevention compatable version of iTunes?  I have reinstalled iTunes 10.5 at least 10 times, and after it installs, it will not open because of DEP.

    I have tried all the advice I have seen on Apple Support discussion boards for the past 2 days, and nothing works.  Disabling DEP is not possible, regardless of what the Windows Support discussions tell you.  In the meantime, I have absolutely no access to iTunes, or even the ability to update my iPhone or iPod.  The only feasable solution is the possibility of a version of iTunes that is compatable with Data Execution Prevention settings. 
    In the past 2 days, I have:  Removed iTunes and related components from the Control Panel (numerous times)  Per the instructions on Apple Service discussions pages, I did it in this order.  1. iTunes  2. QuickTime  3. Apple Software Update  4. Apple Mobile Device Support 5. Bonjour ^. Apple Application Support.  After all that, I reinstalled iTunes. 
    Everything looks fine during installation, with no error messages.  At the end, it says everything was successfully installed.  However, when the installation tool closes, iTunes will only partially open a window, but will stay blank.  Then I get the message that iTunes has stopped working and that Windows has shut it down.  Then I get notified that DEP has caused iTunes to shut down. 
    Can someone please help?  Or, is there a DEP compatible version of iTunes? 
    I would appreciate any help.  Thanks!!

    Polydorus,
    Thank you for your kind reply.  During the many times I uninstalled iTunes, and all the other Apple programs, I only used the Uninstall Programs in Windows Control Panel.  To make a long story short, I found a solution that works for me, but it is still not a complete soluton.
    Here is what I did:
    I used Uninstall Program in the Windows Control Panel to uninstall everything IN THIS ORDER
    1. iTunes
    2. QuickTime
    3. Apple Software Update
    4. Apple Mobile Device Support
    5. Bonjour
    6. Apple Application Support
    Then I went to C:\Program Files and looked for any iTunes or Apple program listed there and deleted it.
    I have 64-bit, so I then went to C:\Program files (x86) and looked for any iTunes, QuickTime, Bonjour or any other file or folder that had Apple or any Apple program in the name and deleted it.
    I went to C:\Windows|SysWOW64\Quicktime  and C:\Windows\SysWOW64\QuicktimeVR and deleted them
    Go back to START, and open the "C" drive.  Open the USERS folder.  Open the folder with your username.  Open the AppData folder.  Then double-click on the LOCAL folder to open it.  If you see any files or folders there that show any Apple program or file, delete those files or folders.  Then go to the REMOTE folder and do the same.  If there are any other users on this computer, go to each individual user and do the same thing in each LOCAL and REMOTE folder.  Restart your computer.
    Go to http://www.apple.com/itunes/download/ This is the page where you will actually download iTunes.  Scroll down the page to the section under "Windows Software"  that says "64-bit editions of Windows Vista or Windows 7 require the iTunes 64-bit installer".  Click on that line to get the installer.  It will take you to another download window.
    Scroll to the bottom of the page to the message that says "Download for iTunes 10.4.1 for Windows (64-bit) here: iTunes for Windows 64-bit."  Click there to get the download.
    This is not iTunes 10.5, so you will not have access to "The Cloud", but it is at least functional until Apple actually comes out with a version that will not activate the DEP message.  There was no combination of uninstalling and reinstalling, with or without Quicktime, with 10.5 that did not cause problems with Data Execution Prevention problems that I found.
    I also used Firefox for the downloading instead of Internet Explorer.  It just seemed to function better that way.
    I hope this is helpful to someone.  It's just what worked for me.   

  • Loading jar files at execution time via URLClassLoader

    Hello�All,
    I'm�making�a�Java�SQL�Client.�I�have�practicaly�all�basic�work�done,�now�I'm�trying�to�improve�it.
    One�thing�I�want�it�to�do�is�to�allow�the�user�to�specify�new�drivers�and�to�use�them�to�make�new�connections.�To�do�this�I�have�this�class:�
    public�class�DriverFinder�extends�URLClassLoader{
    ����private�JarFile�jarFile�=�null;
    ����
    ����private�Vector�drivers�=�new�Vector();
    ����
    ����public�DriverFinder(String�jarName)�throws�Exception{
    ��������super(new�URL[]{�new�URL("jar",�"",�"file:"�+�new�File(jarName).getAbsolutePath()�+"!/")�},�ClassLoader.getSystemClassLoader());
    ��������jarFile�=�new�JarFile(new�File(jarName));
    ��������
    ��������/*
    ��������System.out.println("-->"�+�System.getProperty("java.class.path"));
    ��������System.setProperty("java.class.path",�System.getProperty("java.class.path")+File.pathSeparator+jarName);
    ��������System.out.println("-->"�+�System.getProperty("java.class.path"));
    ��������*/
    ��������
    ��������Enumeration�enumeration�=�jarFile.entries();
    ��������while(enumeration.hasMoreElements()){
    ������������String�className�=�((ZipEntry)enumeration.nextElement()).getName();
    ������������if(className.endsWith(".class")){
    ����������������className�=�className.substring(0,�className.length()-6);
    ����������������if(className.indexOf("Driver")!=-1)System.out.println(className);
    ����������������
    ����������������try{
    ��������������������Class�classe�=�loadClass(className,�true);
    ��������������������Class[]�interfaces�=�classe.getInterfaces();
    ��������������������for(int�i=0;�i<interfaces.length;�i++){
    ������������������������if(interfaces.getName().equals("java.sql.Driver")){
    ����������������������������drivers.add(classe);
    ������������������������}
    ��������������������}
    ��������������������Class�superclasse�=�classe.getSuperclass();
    ��������������������interfaces�=�superclasse.getInterfaces();
    ��������������������for(int�i=0;�i<interfaces.length;�i++){
    ������������������������if(interfaces[i].getName().equals("java.sql.Driver")){
    ����������������������������drivers.add(classe);
    ������������������������}
    ��������������������}
    ����������������}catch(NoClassDefFoundError�e){
    ����������������}catch(Exception�e){}
    ������������}
    ��������}
    ����}
    ����
    ����public�Enumeration�getDrivers(){
    ��������return�drivers.elements();
    ����}
    ����
    ����public�String�getJarFileName(){
    ��������return�jarFile.getName();
    ����}
    ����
    ����public�static�void�main(String[]�args)�throws�Exception{
    ��������DriverFinder�df�=�new�DriverFinder("D:/Classes/db2java.zip");
    ��������System.out.println("jar:�"�+�df.getJarFileName());
    ��������Enumeration�enumeration�=�df.getDrivers();
    ��������while(enumeration.hasMoreElements()){
    ������������Class�classe�=�(Class)enumeration.nextElement();
    ������������System.out.println(classe.getName());
    ��������}
    ����}
    It�loads�a�jar�and�searches�it�looking�for�drivers�(classes�implementing�directly�or�indirectly�interface�java.sql.Driver)�At�the�end�of�the�execution�I�have�found�all�drivers�in�the�jar�file.
    The�main�application�loads�jar�files�from�an�XML�file�and�instantiates�one�DriverFinder�for�each�jar�file.�The�problem�is�at�execution�time,�it�finds�the�drivers�and�i�think�loads�it�by�issuing�this�statement�(Class�classe�=�loadClass(className,�true);),�but�what�i�think�is�not�what�is�happening...�the�execution�of�my�code�throws�this�exception
    java.lang.ClassNotFoundException:�com.ibm.as400.access.AS400JDBCDriver
    ��������at�java.net.URLClassLoader$1.run(URLClassLoader.java:198)
    ��������at�java.security.AccessController.doPrivileged(Native�Method)
    ��������at�java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    ��������at�java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    ��������at�sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    ��������at�java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    ��������at�java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    ��������at�java.lang.Class.forName0(Native�Method)
    ��������at�java.lang.Class.forName(Class.java:140)
    ��������at�com.marmots.database.DB.<init>(DB.java:44)
    ��������at�com.marmots.dbreplicator.DBReplicatorConfigHelper.carregaConfiguracio(DBReplicatorConfigHelper.java:296)
    ��������at�com.marmots.dbreplicator.DBReplicatorConfigHelper.<init>(DBReplicatorConfigHelper.java:74)
    ��������at�com.marmots.dbreplicator.DBReplicatorAdmin.<init>(DBReplicatorAdmin.java:115)
    ��������at�com.marmots.dbreplicator.DBReplicatorAdmin.main(DBReplicatorAdmin.java:93)
    Driver�file�is�not�in�the�classpath�!!!�
    I�have�tried�also�(as�you�can�see�in�comented�lines)�to�update�System�property�java.class.path�by�adding�the�path�to�the�jar�but�neither...
    I'm�sure�I'm�making�a/some�mistake/s...�can�you�help�me?
    Thanks�in�advice,
    (if�there�is�some�incorrect�word�or�expression�excuse�me)

    Sorry i have tried to format the code, but it has changed   to �... sorry read this one...
    Hello All,
    I'm making a Java SQL Client. I have practicaly all basic work done, now I'm trying to improve it.
    One thing I want it to do is to allow the user to specify new drivers and to use them to make new connections. To do this I have this class:
    public class DriverFinder extends URLClassLoader{
    private JarFile jarFile = null;
    private Vector drivers = new Vector();
    public DriverFinder(String jarName) throws Exception{
    super(new URL[]{ new URL("jar", "", "file:" + new File(jarName).getAbsolutePath() +"!/") }, ClassLoader.getSystemClassLoader());
    jarFile = new JarFile(new File(jarName));
    System.out.println("-->" + System.getProperty("java.class.path"));
    System.setProperty("java.class.path", System.getProperty("java.class.path")+File.pathSeparator+jarName);
    System.out.println("-->" + System.getProperty("java.class.path"));
    Enumeration enumeration = jarFile.entries();
    while(enumeration.hasMoreElements()){
    String className = ((ZipEntry)enumeration.nextElement()).getName();
    if(className.endsWith(".class")){
    className = className.substring(0, className.length()-6);
    if(className.indexOf("Driver")!=-1)System.out.println(className);
    try{
    Class classe = loadClass(className, true);
    Class[] interfaces = classe.getInterfaces();
    for(int i=0; i<interfaces.length; i++){
    if(interfaces.getName().equals("java.sql.Driver")){
    drivers.add(classe);
    Class superclasse = classe.getSuperclass();
    interfaces = superclasse.getInterfaces();
    for(int i=0; i<interfaces.length; i++){
    if(interfaces[i].getName().equals("java.sql.Driver")){
    drivers.add(classe);
    }catch(NoClassDefFoundError e){
    }catch(Exception e){}
    public Enumeration getDrivers(){
    return drivers.elements();
    public String getJarFileName(){
    return jarFile.getName();
    public static void main(String[] args) throws Exception{
    DriverFinder df = new DriverFinder("D:/Classes/db2java.zip");
    System.out.println("jar: " + df.getJarFileName());
    Enumeration enumeration = df.getDrivers();
    while(enumeration.hasMoreElements()){
    Class classe = (Class)enumeration.nextElement();
    System.out.println(classe.getName());
    It loads a jar and searches it looking for drivers (classes implementing directly or indirectly interface java.sql.Driver) At the end of the execution I have found all drivers in the jar file.
    The main application loads jar files from an XML file and instantiates one DriverFinder for each jar file. The problem is at execution time, it finds the drivers and i think loads it by issuing this statement (Class classe = loadClass(className, true);), but what i think is not what is happening... the execution of my code throws this exception
    java.lang.ClassNotFoundException: com.ibm.as400.access.AS400JDBCDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:140)
    at com.marmots.database.DB.<init>(DB.java:44)
    at com.marmots.dbreplicator.DBReplicatorConfigHelper.carregaConfiguracio(DBReplicatorConfigHelper.java:296)
    at com.marmots.dbreplicator.DBReplicatorConfigHelper.<init>(DBReplicatorConfigHelper.java:74)
    at com.marmots.dbreplicator.DBReplicatorAdmin.<init>(DBReplicatorAdmin.java:115)
    at com.marmots.dbreplicator.DBReplicatorAdmin.main(DBReplicatorAdmin.java:93)
    Driver file is not in the classpath !!!
    I have tried also (as you can see in comented lines) to update System property java.class.path by adding the path to the jar but neither...
    I'm sure I'm making a/some mistake/s... can you help me?
    Thanks in advice,
    (if there is some incorrect word or expression excuse me)

  • Error while building execution plan

    Hi, I'm trying to create an execution plan with container EBS 11.5.10 and subject area Project Analytics.
    I get this error while building:
    PA-EBS11510
    MESSAGE:::group TASK_GROUP_Load_PositionHierarchy for SIL_PositionDimensionHierarchy_PostChangeTmp is not found!!!
    EXCEPTION CLASS::: java.lang.NullPointerException
    com.siebel.analytics.etl.execution.ExecutionPlanDesigner.getExecutionPlanTasks(ExecutionPlanDesigner.java:818)
    com.siebel.analytics.etl.execution.ExecutionPlanDesigner.design(ExecutionPlanDesigner.java:1267)
    com.siebel.analytics.etl.client.util.tables.DefnBuildHelper.calculate(DefnBuildHelper.java:169)
    com.siebel.analytics.etl.client.util.tables.DefnBuildHelper.calculate(DefnBuildHelper.java:119)
    com.siebel.analytics.etl.client.view.table.EtlDefnTable.doOperation(EtlDefnTable.java:169)
    com.siebel.etl.gui.view.dialogs.WaitDialog.doOperation(WaitDialog.java:53)
    com.siebel.etl.gui.view.dialogs.WaitDialog$WorkerThread.run(WaitDialog.java:85)
    Sorry for my english, I'm french.
    Thank you for helping me

    Hi,
    Find the what are all the subjectarea's in execution plan having the task 'SIL_PositionDimensionHierarchy_PostChangeTmp ', add the 'TASK_GROUP_Load_PositionHierarchy ' task group to those those subjectares.
    Assemble your subject area's and build the execution plan again.
    Thanks

  • Query to find out weekly average of job execution time

    I have a table which has the following details:
    CREATE TABLE JOB_DETAILS (JOB_START_DATE DATE,
    JOB_END_DATE DATE,
    JOB_START_TIME NUMBER,
    JOB_END_TIME NUMBER,
    HOURS_OF_EXECUTION NUMBER,
    DETAILS VARCHAR2(20));
    INSERT INTO JOB_DETAILS VALUES ('01-FEB-2007','01-FEB-2007',10.04,20.09,10.04,'WEEKDAY');
    INSERT INTO JOB_DETAILS VALUES ('07-FEB-2007','07-FEB-2007',00.00,00.00,00.00,'WEEKEND');
    commit;
    Job_Start_Date Job_End_Date Job_Start_Time Job_End_Time Hours_Of_Execution DETAILS
    1/2/2007 1/2/2007 10:04 20:09 10:04
    1/7/2007 1/7/2007 0:00 0:00 0:00 Weekend
    Our jobs wont run on week ends and on holidays where we see "Hours_of_execution" as 0.
    Week means Monday to Friday for me.
    (1) I want a query which gives me a weekly,monthly average of how many hours the job ran.
    (2) I want to find out the week, when the average execution of the job is &gt; 10 hours.
    can anyone help in framing this query to get the details?
    Thanks

    Why make it so hard for yourself by removing the time from the date and storing it separately?
    alter session set nls_date_format='DD/MM/YYYY HH24:MI:SS'
    session altered
    WITH t AS (SELECT SYSDATE start_date, SYSDATE+0.61 end_date FROM dual)
    SELECT start_date, end_date, numtodsinterval(end_date-start_date,'DAY') execution_time
    FROM t
    START_DATE          END_DATE          EXECUTION_TIME
    11/12/2008 11:22:21     12/12/2008 02:00:45     +00 14:38:24.000000

  • Can not see the option Execution with Data Change in the infoprovider?

    Hi team,
    i am using query designer 3.x, when i go into my bex brodcaster settings and schedule my report
    i can not see the option "Execution with Data Change in the infoprovider",
    i can only see 2 options
    Direct scheduling in background process
    create new scheduling
    periodic,
    is there any setting which i would be able to see the option "Execution with Data Change in the infoprovider"?
    kindly assist

    Hi Blusky ,
    check the below given link.
    http://help.sap.com/saphelp_nw04/Helpdata/EN/ec/0d0e405c538f5ce10000000a155106/frameset.htm
    Regards,
    Rohit Garg

  • How to accept user values into a pl/sql procedure or function on every execution

    As we accept user values on every execution in a C or a java program, is it possible to do so with a pl/sql procedure or a funtion without using parameters?
    I cannot use parameters because it is required to be interactive while accepting the user-values like,
    Please enter your date of birth in 'dd/mm/yyyy' format:

    It depends from where you are calling your PLSQL routine. If it is SQL*Plus then you can use & (ampersand) with the variable to be input at run time.
    If you are executing the PLSQL routine from another application (some front end application) then it's not possible. Because when a procedure is executing at server side, the front end application does not have control, and the control is only transfered back to front end application when the PLSQL routine either completes successfully or throws an exception.
    In either case, you can not go back to the PLSQL routine.
    In this case, what you can do is, write code in your front end application to get that variable value from user and then pass that value to PLSQL routine.

  • Help needed for building report with execution method Java Concurrent prog

    Hi,
    I have saw a report like this:
    The report has executable "XML Publisher Data Template Executable", short name as "XDODTEXE", application "XML Publisher",execution method "Java Concurrent program". Also the report has a XML publisher Data Template and Data definition and in the data definition a .xml file is attached.
    I could not understand what is the data source?
    Could anyone help me on how to build or update this type of report?
    Is there any link or help docs which has proper step by step procedure to build this type of xml publisher report?
    Please help.
    Thanks.

    The xml file which is attached to the data definition is the data source and it has sql queries and structure of xml file.
    Check this out for step-by-step guidance.
    http://www.oracle.com/technetwork/middleware/bi-publisher/overview/xmlebsrep-132947.pdf
    http://apps2fusion.com/at/ps/51-prabhakar/262-xml-publisher-and-data-template-sql-query-to-develop-bi-publisher-reports
    For more on data templates refer user guide
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e12187/T421739T434255.htm

Maybe you are looking for

  • Multiple Channels with Single Digital Edge Trigger

    I have a simple vi where two analog channels are read in and recorded simultaneously to a lvm file and plotted on a waveform graph. I need a digital edge to post trigger the data acquisition for both channels.  I can get this vi to work with one anal

  • Regarding  terms of delivery

    HI Gurus When i am saving my sales order i am getting an error saying that  Enter tems of delivery in incompletion log but i checked in incompletion log there is no such field there i check both item and header how to solve this Thanks in advance Poi

  • Hyperlink target Indesign CC Interactive PDF

    Hi, We're working on an Interactive PDF but strangely enough we suddenly can't work with hyperlink targets anymore. This means we can't make certain objects a hyperlink target so we can't navigate through the document as we were used to. Any idea of

  • RABAX_STATE error while runninAbap Webdynpro in SE80

    Hi Experts, Look forward for your insights. We have built a custom Abap webdynpro (This one was the first abap webdynpro development).  We have activated required services in SICF as per the instructions /pre-requisities mentioned in OSS notes.  Is t

  • Macbook Pro and Adobe suite

    I am involved in film production and new to Apple brand hardware. I have a Macbook Pro (2.4) with 4gb ram. I want to use Adobe Photoshop and After Effects CS3 for digital manipulation of my video content. Since the programs will run on Windows, and m