Source example code:     caf/eu/gp/example/timeoff/wd

Someone have this sources or know where download this example project?
caf/eu/gp/example/timeoff/wd
Thanks Roberto

Hi Fahad,
I tried same as you said but its not worked.
public void execute( com.sap.caf.eu.gp.co.api.IGPExecutionContext executionContext )
    this.executionContext=executionContext;
public void Complete( )
IUser usr =UMFactory.getUserFactory().getUserByLogonID("logonid");
          IGPProcessRoleInstance role = executionContext.getProcessRoleInstance() ;
          role.addRuntimeDefinedUser(usr) ;
I changedthe roleInitiator of next action is runtime defined.
but its not worked.
Regards,
Naga

Similar Messages

  • Account mapping from Target account to Source accounting code

    Hello Friends,
    We are working on 10 different Opco's/Entities and 5 of them have a single Chart of Accounts. Every time we map the source account codes to Target account codes we do this for every entity.
    Can you please help me to find an option through which by updating mapping in one OPCO/Entity I can update automatically all 6 opcos/Entities mapping similarly in all Opcos/Entities
    Thanks..

    Thanks SH, now it is really working fine.
    I have changed  Parent Locations to all of the 5 locations to one of the locations.
    If I update mapping in anyone of the location, mapping in other locations are also changing.
    I have two questions:
    1) Will this effect uploading of data?
    2) Say for example i have 5 locations A,B,C,D & E and I have chosen A parent location as NONE,  B to A, C to A & D to A.
    If I make any changes in any one of the location this will reflect in all other locations but if in the same case I want changes only in C (after selecting A as parent location) and not in any other location can I have any control over it. Its like any changes from A reflect to B,C,D but not from C to A.
    Thanks..

  • When trying to use Java to scan checks in my financial software I get an error message, "The publisher cannot be verified by a trusted source. Code will be treated as unsigned."

    I am trying to scan checks in the USAA.com website and Java is giving me an error message: "The publisher cannot be verified by a trusted source. Code will be treated as unsigned."

    Serac wrote:
    Hi,
    I am occasionally running into an issue where I get the following error:
    "The publisher cannot be verified by a trusted source.Code will be treated as unsigned."
    I am not sure how to stop getting this error or what the root cause of the issue is.
    Any idea what could be causing this? and how I can get rid of it? is this a bug in the JRE?
    Thanks,
    DeeOn the contrary. It shows that Java takes your security very seriously and it will not allow
    hackers to format your hard-disk, get personal data etc.
    Google for signed applets.

  • Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code

    I get this message when I check the Device manager for my Ipod
    Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code 52)
    How do I resolve this I have reinstalled iTunes but it still doesn't recognise my ipod

    I reinstalled Itunes a couple of times.  I unistalled all programs that I never use, I updated all of my drivers, Windows swept my computer and found no problems.  I have a yellow causion lite when I look at the USB-port with the phone connected.  All other devices work without a problem.

  • RFWT0020 withholding tax data - Data Regen vs. Change to Source Tax Code?

    Can anyone explain the difference between these two options when running RFWT0020 to update withholding tax data?  Data Regeneration vs. Changes to Source Tax Code?  I can't find any mention of the two options in the program documentation
    When I do test runs with the two different options, the program is selecting difference documents to update.  If we are just turning on the 1099 functionality now (beginning with the 2011 tax year), should I run the program once with Regeneration mode and once with Changes to Source Tax Code???
    Thanks for any advice!
    Allison

    Hi,
    he program enables the withholding tax code to be changed for reconciled and open items with existing withholding tax data. For this, the tax rate of the existing withholding tax data as well as the tax rate of the new withholding tax code must be 0%. The new withholding tax codes are taken from the customer or vendor master data. In the case of extended withholding tax, the withholding tax code is only changed if the related withholding tax categories are the same. The withholding tax base amount is not changed by this procedure.
    Recreating or changing the withholding tax data requires that the program first be executed for invoices and then executed for payments in a subsequent step.
    When you start the program, the selection screen appears. You can make selections according to vendors, tax code 1, tax code 2 (vendor master record), customers, tax code 1, tax code 2 (customer master record), company codes, document numbers and posting data. The selection determines which items are checked for possible subsequent entries in tables BSEG, BSAK, BSIK, BSAD, BSID, WITH_ITEM.
    You can also decide whether only withholding tax data is to be handled for cases where the documents in question contain no withholding tax data. There is no withholding tax data if no withholding tax entries exist for the item selected in table WITH_ITEM (extended withholding tax) or the die withholding tax fields in table BSEG are not filled.
    The selection can also be made in test mode. If you do this, no changes are made in the database. You are therefore advised to run the program in test mode initially.
    Regards
    Aditya

  • Dtaa source Enhancement code

    Hi All,
    I am enhancing the DS: 2LIS_11_VAITM with fields EDATU,ZZADATE from VBEP Table.
    Could any body provide me the code for this
    Regards,
    Madhu

    Hi.....
    Check this........
    Data source Enhancement Code Samples
    Data source Enhancement
    Re: writing custom code for enhancing the generic data source
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/302d4b15-5847-2a10-93bb-9c45d9f06b16
    Hope this helps you.......
    Regards,
    Debjani.......

  • * JMF PlugIn Effect/Codec Filter for Motion Detection : Source Example *

    I have noticed some posts on here recently about reading a webcam�s pixel stream and as at least one example the processing of that data for robotics, or another for motion detection or tracking.
    This can mean a requirement for fast frame processing, setting the datasource framerate, and to implement as easily as possible; eg a simple JMF effect or codec plugin to set on the processor.
    I have a link as follows to some source and examples for such plugin effects, and some of you may find this interesting if not also useful.
    See an updated http://www.exactfutures.com/index02.htm for the new download. Enjoy.

    thanx Andy

  • Where can I find C++ source examples for interfacing with a PC-DIO-96 PnP DAQ card?

    I am a C++ software developer who needs to be able
    to use the PC-DIO-96 PnP card to communicate with Special Test Equipment in order to measure and adjust voltages. My Operating system is Windows NT. I am not exactly sure where to start...
    Thank you for any help,
    Tim

    This is a Measurement Studio forum, you should post Digital I/O questions to the digital I/O section of Developer's Exchange here. You should be able to find C examples that will work in Visual C++ in your NI-DAQ software directory. If not, go back through the installer and select Visual C/C++ support.
    Best Regards,
    Chris Matthews
    National Instruments

  • Failed to compile: Cannot convert source type code 0x70 to destination udclass

    What does this mean? It's the only error I'm getting for this particular VI. It specifically said to consult tech support, which makes it sound rather bad.

    I found the error. I had copied most of the VI from a similar one.
    The VI consists of a loop for maintaining an array of objects
    representing power supplies, which are in a different class hierarchy
    from the VI I copied the block diagram from (which dealt with
    oscilloscopes). There was one sub VI that I had forgotten to replace
    with its equivalent from the power supply classes, so I had a VI
    loading a scope from a file and sticking it into an array of power
    supplies. I don't know if it's a bug or a known limitation of LabVIEW's
    type system, but the wire from this sub VI to the "insert into array"
    function was not shown as broken; instead, I got the above compile
    error.
    I'll see if I can reproduce the problem and post a
    simple example VI here, though it might be hard since it depends on
    having at least two different classes.
    Edit: By the way, LabVIEW 8.5.1 on Windows XP.
    Message Edited by Thurtell on 06-18-2009 11:01 AM

  • XML source editor code style preferences

    Hello,
    I'm using JDev 10.1.3.1.
    When editing an XML file using the source editor I can right click and select 'Reformat'. This indents my XML elements 1 space. Where can I set this to 2 spaces instead?
    Thanks!

    XML preferences are set in the Tools>Preferences>Code Editor>XML and JSP/HTML.
    The preferences does not have provision to set indentation.

  • Uniode Migration DVDs required..source single code page

    Hi Experts
    I have an activity to perform a unicode migration from 4.7 Non Unicode to a 4.7 unicode box.
    I have referred the guide from
    SAP Note 551344 - Unicode Conversion Documentation
    SCP620SP62.doc my patch level 62
    I am not sure which dvds to take and from where
    as on page 8 of this guide it says
    Software Requirements
    1.     For the conversion from non-Unicode to Unicode you need both the non-Unicode and the Unicode Installation Package:
    a.     a non-Unicode CD containing the SAPinst tools for the export of the database and
    b.    a Unicode Kernel CD for the import of the database
    2.     For the copy of a Unicode system you need a Unicode Kernel CD both for the export and the import of the database.
    but no where mentions the DVDs numbers.
    Can you guide me from where to get the DVDs so that I can start with the activity.
    My system is a single code page system.
    Thanks and Regards
    Pooja

    Hi Pooja,
    Please have a look at:
    service.sap.com/swdc
    - Installations and Upgrade - Entry by application group
    - SAP Application components
    - SAP R/3 Enterprise
    - SAP R/3 Enterprise 47X200
    --> Installation Master 6.20 / 6.40 for your OS
    Best regards,
    Nils Buerckel
    SAP AG

  • Restoring .ISO to FAT32 Hard Drive "Cannot Validate Source -Error Code 254"

    I have a bootable ISO that I need to restore to a hard drive on a laptop with a broken disc drive but every time I try to restore any ISO to any volume, I'm given that error....
    I'm not sure what the deal is and I've tried several things. I've tried changing the extensions to .dmg, I've tried using Carbon Copy Cloner to back up the contents and Pacifist to extract the packages to no avail...
    I've read a little on this, but all info on Google seems to be people dealing with Linux distros. My ISO is just a bootable service disk for a Windows machine. It burns to disc with no problems and the disc is bootable, I just can't get it to go to a USb drive, external HD or internal HD via "restore" in Disk Utility.

    This also appears to be happening when trying to copy a DVD/CD onto an external disk; the problem is not specific to disk images.

  • How can I open the packages with examples (e.g. com.sap.caf.eu.gp.example)?

    Good day! I wanted to view the example 'com.sap.caf.eu.gp.example.timeoff.wd.create.CCreate' how can I achive it? Is it possible?

    not answered

  • Example code for java compiler with a simple GUI

    There is no question here (though discussion of the code is welcome).
    /* Update 1 */
    Now available as a stand alone or webstart app.! The STBC (see the web page*) has its own web page and has been improved to allow the user to browse to a tools.jar if one is not found on the runtime classpath, or in the JRE running the code.
    * See [http://pscode.org/stbc/].
    /* End: Update 1 */
    This simple example of using the JavaCompiler made available in Java 1.6 might be of use to check that your SSCCE is actually what it claims to be!
    If an SSCCE claims to display a runtime problem, it should compile cleanly when pasted into the text area above the Compile button. For a compilation problem, the code should show the same output errors seen in your own editor (at least until the last line of the output in the text area).
    import java.awt.BorderLayout;
    import java.awt.Font;
    import java.awt.EventQueue;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import javax.swing.JFrame;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JLabel;
    import javax.swing.JTextArea;
    import javax.swing.JTextField;
    import javax.swing.JButton;
    import javax.swing.SwingWorker;
    import javax.swing.border.EmptyBorder;
    import java.util.ArrayList;
    import java.net.URI;
    import java.io.ByteArrayOutputStream;
    import java.io.OutputStreamWriter;
    import javax.tools.ToolProvider;
    import javax.tools.JavaCompiler;
    import javax.tools.SimpleJavaFileObject;
    /** A simple Java compiler with a GUI.  Java 1.6+.
    @author Andrew Thompson
    @version 2008-06-13
    public class GuiCompiler extends JPanel {
      /** Instance of the compiler used for all compilations. */
      JavaCompiler compiler;
      /** The name of the public class.  For 'HelloWorld.java',
      this would be 'HelloWorld'. */
      JTextField name;
      /** The source code to be compiled. */
      JTextArea sourceCode;
      /** Errors and messages from the compiler. */
      JTextArea output;
      JButton compile;
      static int pad = 5;
      GuiCompiler() {
        super( new BorderLayout(pad,pad) );
        setBorder( new EmptyBorder(7,4,7,4) );
      /** A worker to perform each compilation. Disables
      the GUI input elements during the work. */
      class SourceCompilation extends SwingWorker<String, Object> {
        @Override
        public String doInBackground() {
          return compileCode();
        @Override
        protected void done() {
          try {
            enableComponents(true);
          } catch (Exception ignore) {
      /** Construct the GUI. */
      public void initGui() {
        JPanel input = new JPanel( new BorderLayout(pad,pad) );
        Font outputFont = new Font("Monospaced",Font.PLAIN,12);
        sourceCode = new JTextArea("Paste code here..", 15, 60);
        sourceCode.setFont( outputFont );
        input.add( new JScrollPane( sourceCode ),
          BorderLayout.CENTER );
        sourceCode.select(0,sourceCode.getText().length());
        JPanel namePanel = new JPanel(new BorderLayout(pad,pad));
        name = new JTextField(15);
        name.setToolTipText("Name of the public class");
        namePanel.add( name, BorderLayout.CENTER );
        namePanel.add( new JLabel("Class name"), BorderLayout.WEST );
        input.add( namePanel, BorderLayout.NORTH );
        compile = new JButton( "Compile" );
        compile.addActionListener( new ActionListener() {
            public void actionPerformed(ActionEvent ae) {
              (new SourceCompilation()).execute();
        input.add( compile, BorderLayout.SOUTH );
        this.add( input, BorderLayout.CENTER );
        output = new JTextArea("", 5, 40);
        output.setFont( outputFont );
        output.setEditable(false);
        this.add( new JScrollPane( output ), BorderLayout.SOUTH );
      /** Compile the code in the source input area. */
      public String compileCode() {
        output.setText( "Compiling.." );
        enableComponents(false);
        String compResult = null;
        if (compiler==null) {
          compiler = ToolProvider.getSystemJavaCompiler();
        if ( compiler!=null ) {
          String code = sourceCode.getText();
          String sourceName = name.getText().trim();
          if ( sourceName.toLowerCase().endsWith(".java") ) {
            sourceName = sourceName.substring(
              0,sourceName.length()-5 );
          JavaSourceFromString javaString = new JavaSourceFromString(
            sourceName,
            code);
          ArrayList<JavaSourceFromString> al =
            new ArrayList<JavaSourceFromString>();
          al.add( javaString );
          ByteArrayOutputStream baos = new ByteArrayOutputStream();
          OutputStreamWriter osw = new OutputStreamWriter( baos );
          JavaCompiler.CompilationTask task = compiler.getTask(
            osw,
            null,
            null,
            null,
            null,
            al);
          boolean success = task.call();
          output.setText( baos.toString().replaceAll("\t", "  ") );
          compResult = "Compiled without errors: " + success;
          output.append( compResult );
          output.setCaretPosition(0);
        } else {
          output.setText( "No compilation possible - sorry!" );
          JOptionPane.showMessageDialog(this,
            "No compiler is available to this runtime!",
            "Compiler not found",
            JOptionPane.ERROR_MESSAGE
          System.exit(-1);
        return compResult;
      /** Set the main GUI input components enabled
      according to the enable flag. */
      public void enableComponents(boolean enable) {
        compile.setEnabled(enable);
        name.setEnabled(enable);
        sourceCode.setEnabled(enable);
      public static void main(String[] args) throws Exception {
        Runnable r = new Runnable() {
          public void run() {
            JFrame f = new JFrame("SSCCE text based compiler");
            f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
            GuiCompiler compilerPane = new GuiCompiler();
            compilerPane.initGui();
            f.getContentPane().add(compilerPane);
            f.pack();
            f.setMinimumSize( f.getSize() );
            f.setLocationRelativeTo(null);
            f.setVisible(true);
        EventQueue.invokeLater(r);
    * A file object used to represent source coming from a string.
    * This example is from the JavaDocs for JavaCompiler.
    class JavaSourceFromString extends SimpleJavaFileObject {
      * The source code of this "file".
      final String code;
      * Constructs a new JavaSourceFromString.
      * @param name the name of the compilation unit represented
        by this file object
      * @param code the source code for the compilation unit
        represented by this file object
      JavaSourceFromString(String name, String code) {
        super(URI.create(
          "string:///" +
          name.replace('.','/') +
          Kind.SOURCE.extension),
          Kind.SOURCE);
        this.code = code;
      @Override
      public CharSequence getCharContent(boolean ignoreEncodingErrors) {
        return code;
    }Edit 1:
    Added..
            f.setMinimumSize( f.getSize() );Edited by: AndrewThompson64 on Jun 13, 2008 12:24 PM
    Edited by: AndrewThompson64 on Jun 23, 2008 5:54 AM

    kevjava wrote: Some things that I think would be useful:
    Suggestions reordered to suit my reply..
    kevjava wrote: 2. Line numbering, and/or a line counter so you can see how much scrolling you're going to be imposing on the forum readers.
    Good idea, and since the line count is only a handful of lines of code to implement, I took that option. See the [line count|http://pscode.org/stbc/help.html#linecount] section of the (new) [STBC Help|http://pscode.org/stbc/help.html] page for more details. (Insert plaintiff whining about the arbitrary limits set - here).
    I considered adding line length checking, but the [Text Width Checker|http://pscode.org/twc/] ('sold separately') already has that covered, and I would prefer to keep this tool more specific to compilation, which leads me to..
    kevjava wrote: 1. A button to run the code, to see that it demonstrates the problem that you wish for the forum to solve...
    Interesting idea, but I think that is better suited to a more full blown (but still relatively simple) GUId compiler. I am not fully decided that running a class is unsuited to STBC, but I am more likely to implement a clickable list of compilation errors, than a 'run' button.
    On the other hand I am thinking the clickable error list is also better suited to an altogether more abled compiler, so don't hold your breath to see either in the STBC.
    You might note I have not bothered to update the screenshots to show the line count label. That is because I am still considering error lists and running code, and open to further suggestion (not because I am just slack!). If the screenshots update to include the line count but nothing else, take that as a sign. ;-)
    Thanks for your ideas. The line count alone is worth a few Dukes.

  • How can I have the "Katies Cafe" in example

    Bonjour,
    Comment puis je avoir les fichiers source de "Katies Cafe".
    Je veux "Pin it" ou "epigler" le menu pour qu'il ne descende pas comme dans l'exemple.
    Comme :
    Beakfeast, etc ... et tout le haut du menu ...
    Merci par avance
    Alain

    Hi Alain,
    I'm replying to your question about how to pin a menu or object to the browser window. There's a great article published by Adobe Evangelist Michael Chaize that shows a few variations for menus (#1,#2, #3). This may answer your question and also provide some inspiration. http://creativedroplets.com/adobe-muse-tips-scrolling-menu/
    I hope this helps!
    Best,
    Rita Amladi

Maybe you are looking for