SAP workflow with java

Hello , i new to SAP systems with Java Language.
I need help for starting a workflow in sap using java language specially how to pass the TASK parameter like WS97xxxxx…

This is not a SAP forum. Even if it were a SAP forum, you're not even asking any kind of question!

Similar Messages

  • To configure sap workflow with EP

    HI,
    can we connect customizing made in  SAP workflow with EP may be with UWL through webdynpro...?
    Thanks in advance

    It is possible. You can mail me at [email protected] for further information on this.

  • Including SAP Workflow with TDMS timeslice

    Hi there,
    we would like to include the SAP Workflow in a TDMS timeslice for an ECC6 system. By default this is excluded as described in note 1159279.
    On this forum I found a posting [TDMS  : Does not transfer content from certain area; which tells you basically which tables to include. Below an overview from the tables mentioned in the other posting.
    The following tables are involved in Workflow:
    SWW_CONT u2013 Container Contents for Work Item Data Container
    SWW_CONTOB u2013 Container Cont. for Work Item Data Container (Only Objects)
    SWWLOGHIST u2013 History of a work item
    SWWORGTASK u2013 Assignment of WIs to Org. Units and Tasks
    SWWUSERWI u2013 Current Work Items Assigned to a User
    SWWWIHEAD u2013 Header Table for all Work Item Types
    SWD_BINDEF u2013 Workflow definition binding
    SWD_CONDEF u2013 Workflow definition: Binding (runtime + definition)
    HRP1000 u2013 object description
    HRP1001 u2013 object relationship
    My question is : Can anyone confirm that these tables are the only one or do we need to include more tables? SAP is not confirming this as they say that we should ask for consulting services regarding this question.
    kind regards
    Herman Berkhoff

    It is suggested that you start with this set of tables and once the target system is build do the necessary validation and in case you find that you need to transfer any other table the same can be done using the TDMS troubleshooter.

  • SAP Workflow - WD Java - Adobe forms

    Hi experts.
    I had a question regarding on workflow.
    We have an adobe interactive form inside a webdynpro java application, once the form is submitted its passed on as an attachment to an SAP business workflow. Inside the workflow we need to extract the data from this form and pass this data to an SAP transaction.
    Any standard way to do this?. Please suggest any pointers.
    Thanks
    Lisha

    Hi Lisha
      For storing the data from form to workflow and from workflow to trancation it better to maintain custom table to get the details later. You can use the std FM to insert the data from the form to table in this case you need not create custom table. Tell me which module you are working on. MSS or for ESS like leave, travel, actions like seperations, transfer which one you are using.
    Regards
    vijay

  • Workflow intergration with Java

    Dear All,
    I have the requirement in which I have to integrate the workflow with Java.
    The scenario is like the person want to trigger the workflow from web or mobile device , and want to do all the relevant things related to workflow like approval rejection through web or mobile device.
    Is this possible. If yes then how , how we can get the action user done on the web or mobile device.
    Do i have to make any RFC or BAPI for this?
    Kindly help and give suggestion to achieve this.
    Thanks in advance.
    Regards,
    Rachit Khanna

    Hi Chandra,
    As mentioned in the doc, I am looking for the below node which is not there in my system.
    From my system:
    I think the reason might be same for not having the node here in SPRO and not having the WF standard services(WFSERVICE andWFHUBSERVICE).
    By the way the package is there.
    Thanks & Regards,
    Hafizul

  • Set up Workflow with Lotus Notes

    Does anybody know a procedure or a guide to configure the Sap Workflow with Lotus Notes?
    I would like to do a scenario looks like follow:
      - a user create a purchase order on Sap;
      - the workflow system sends a email to an approver (to Lotus Notes);
      - the approver reads the email and can approve or reject. This step is done inside Lotus Notes.
    Thanks in advance for any help.
    Renato.

    Hi ,
    You can achieve it in following simplest
    1. Create a simple BSP page for approval and Rejection.
    Send the link of this page in the mail to the lotus notes server . Lotus notes user will open the mail and he will click on the link to get the BSP page .
    Handle the process that should happen after the user makes an action in the "OnInputProcessing" event of the BSP page.
    Pls reward if useful.
    Regards,
    Laxman Nayak.

  • SAP B1 With JCO problem

    I am new one in SAP B1 with Java I want to get the value of Document using this code given below...
    package com.cbs.sap;
    import com.sap.smb.sbo.api.*;
    public class Test
         public static IDocuments documents;
         public static ICompany company;
              public static void main(String[] args) throws Exception {
                   AddOrder();
              protected static void AddOrder() throws Exception {
                        SAPJava conn = new SAPJava();
                        int rc = conn.con();
                        if (rc == 0) {
                             try {
                   System.out .println(documents""company+"----
                   documents = SBOCOMUtil.getDocuments(company,SBOCOMConstants.BoObjectTypes_Document_oOrders,1);
                  String addr=documents.getAddress();
                  System.out .println(addr+"-------");
                    catch (Exception e) {
                     e.printStackTrace();
                        conn = null;
    It gives these error msz.....
    java.lang.NullPointerException
         at com.sap.smb.sbo.api.SBOCOMUtil.newDocuments(Unknown Source)
         at com.sap.smb.sbo.api.SBOCOMUtil.getDocuments(Unknown Source)
         at com.cbs.sap.Test.AddOrder(Test.java:20)
         at com.cbs.sap.Test.main(Test.java:10)
    nullnull----
    Thanks.

    Thanks for quick reply...
    but I have connected that company in other java class...
    package com.cbs.sap;
    import com.sap.smb.sbo.api.*;
    public class SAPJava   {
    // company interface
                              public static ICompany company;
                              public static IDocuments order;
                              private SBOErrorMessage errMsg = null;
                             public static void main(String[] args) throws Exception {
                             SAPJava company = new SAPJava();
                               company.con();
                               //doQuery();
    // method make connection and initialize company instance
               public int con() {
                int rc = 0;
                                 try {
                                        company = SBOCOMUtil.newCompany();
                                        company.setServer("ARVIND-PC");
                                        company.setCompanyDB("Test");
                                        company.setUserName("Test1");
                                        company.setPassword("test2");
                                        company.setDbServerType(6);
                                        company.setUseTrusted(new Boolean(false));
                                        company.setLanguage(SBOCOMConstants.BoSuppLangs_ln_English);
                                        company.setDbUserName("sa");
                                        company.setDbPassword("test3");
                                    // company.setAddonIdentifier("...");
                                        company.setLicenseServer("ARVIND-PC:30000");
                                        rc = company.connect();
                                              if (rc == 0) {
                                                             System.out.println("Connected!");
                                                           } else {
                                                                    errMsg = company.getLastError();
                                      } catch (Exception e) {
                                         e.printStackTrace();
                                         return -1;
                                 return rc;
         public void freeConnection() {
              System.out.println("Disconnected!");
              company.disconnect();
    plz  see this...
    thanks...
    Edited by: Arvind Sigh on Oct 4, 2011 2:04 PM

  • CAF Java-Based COs with SAP Workflows as Runtime Environment?

    Hi Folks,
    we have a big CAF project hitting us at the moment.
    Due to the heavy load we expect we do want to have the traditional SAP workflows as the runtime environment for our GPs.
    As far as I know we can transfer WFs designed with CAF GP to the R/3 WF system, right?
    My question is know: Can we still develop in Java our CAF objects and use them as we would do that in a portal based GP??
    If this should be possible - is this creating an overhead killing the benefit we gain by shifting from portal to the ABAP stack?
    Any hint is appreciated!
    helge

    Hi Helge,
    Technically, there is no transfer from Guided Procedures to the R/3 Workflow since the process definitions still stay in the GP Design Time. The business logic still takes place on the Java Stack. Only the low-level workflow operations are delegated to the r/3 Workflow.
    That's a difficult dilemma that you are facing right now. As far as I know, the configuration to get Guided Procedures running against the Business Workflow (R/3 Workflow) is quite complex and time consuming. Main pain points are callbacks registrations for background steps, user mapping and endpoints configuration. These are the main tasks. But to reach the right configuration, you will have to be tricky and patient.
    Furthermore, there will be an overhead due the RFC Roundtrips between the Java Stack and the ABAP Stack.
    Hope this helps you.
    Best regards,
    David

  • In case of problems with SAP GUI for Java  ...

    Hello all,
    in case of having problems (errors, ABAP dumps etc.) with SAP GUI for Java, please create an OSS message on component BC-FES-JAV with information described in OSS note 326558
    http://www.service.sap.com/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700010521522001.
    This makes sure our official support channels get aware of your problem.
    Thanks and best regards
    Rolf-Martin

    Hello Rolf-Martin,
    i don't have access to this website to view the note.
    The version of the Suse libc is:
    GNU C Library stable release version 2.3.2, by Roland McGrath et al.
    Copyright (C) 2003 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    Compiled by GNU CC version 3.3 20030226 (prerelease) (SuSE Linux).
    Compiled on a Linux 2.4.20 system on 2003-03-13.
    Best Regards,
    Piotr Brostovski

  • How to route the information to approver with out involving sap workflows.

    Hi Developers,
    i have a doubt regarding how the requester filled form information will be send to approver with out involving SAP workflows in the portal.
    Normally i know the procedure where users fills the form with the approver details, the filled information is routed to approver UWL by trigerring a function module thru webdynpro.
    But i need to know is there any procedure to route the information without involving any backends.
    Thanks in Advance.

    Michele is correct - sneep will help you get the serial from the running domain on the M3000 ,
    and it is a good idea to install STB on your machines.
    If that isn't possible for you, then sneep can be downloaded directly from [http://www.sun.com/sneep]
    I believe that on this platform, sneep gets the serial from the output of prtconf.
    There is a minor correction to be made :
    After installed SNEEP use "man sneep" for all technical details.The sneep man page is not linked into the shared man pages, so you need to use
    man -M /opt/SUNWsneep/man sneep
    with out going to OK prompt (Banner)It is worth noting that the serial shown in the OBP banner is not the product serial
    that you will find on the physical serial tag.
    The banner "serial" is the decimal equivalent of the host ID, which you normally get in hexadecimal from the "hostid" command.

  • Ad Hoc Workflow  with SAP EP6

    Hi,
    I have to configure Ad Hoc workflow with EP6. How can I configure it? Any document will help me.
    Is Universal Worklist cofiguration is also required for Ad Hoc Workflow?
    Regards,
    Manish

    try this link
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/fb5464e3382f4482833a28af8896a3/frameset.htm
    Click on Administration guide, basic configuration, this will start to walk you though the configuration of collaboration.  Ad hoc work flow is a part of the Universal Worklist.  The Universal Worklist is the aggregation of your R3 workflow tasks plus your Ad Hoc workflow tasks.

  • SAP Web Dynpro With Java

    Hi Guys
    A situation at work has forced me to learn web dynpro    with java. I already have some experience with the ABAP    web dynpro   . Now the question is how much "java" do i need to learn to learn sap WebDynpro    based on java. Should I first try and get a fair 'hands on' on core java and then shoot for web dynpro    or should I take the other approach, that is just learn as much java as is required for web dynpro   . Any suggestions?
    thanks
    sameer

    Hi Sameer,
    I believe you need not thoroughly know Core Java to begin for Web Dynpro Java but yes, you should have a fair idea about object, class and exceptions that i believe you would already have after working in ABAP. The UI elements can be just inserted into the component by drag and drop and codes correspondly would be auto generated. Only for customization of some functionalities, you will have to write code in Java using APIs.
    Just go through the following tutorials recommended by SAP to start over Web Dynpro Java on NWDS.
    http://help.sap.com/saphelp_nw70/helpdata/en/16/c0d93f5e0f9015e10000000a155106/frameset.htm
    Regards,
    Tushar Sinha,
    Infosys,
    Hyderabad

  • How to integrate with java connnector in sap business one 2005

    hai,
    i have small doubt,
    how to integrate with java connnector in sap business one 2005
    thankig
    anand

    Anand,
    I am not sure of your exact question, but the SAP Business One SDK Help Center documentation contains all the information that you should need with respect to using the SAP Business One JCO connector.  You should read this documentation.
    Eddy

  • JCO Error with CMC on SAP NetWeaver WebAS Java 7.0 Server

    Hi, all
    We just installed our BO Enterprise XI 3.1 system, when we attempt to import SAP roles in the Central Management Console (CMC), the result is the following error: "An error occurred: com/sap/mw/jco/JCO$Function".
    I have checked note 1274700 and 1292144, but in these two notes it use tomcat as the Java web application server to hold BO web applications like CMC. In our case, we use the SAP WebAS Java 7.0 Server.
    Below is our system info:
    Server 1: Windows 2003 SP2 32bit, Install BO Enterprise XI3.1, Crystal Reports 2008 and Business Objects Integration Kit for SAP. We did't choose install tomcat option.
    Server 2: Windows 2003 SP2 x64, SAP NetWeaver WebAS Java 7.0 to run BO Web Applications.
    Below is our whole installation process:
    On Server1, Install BO Enterprise XI3.1, Crystal Reports 2008 and Business Objects Integration Kit for SAP. We choose "I will delpoy the web components after installation" option when install the BO Enterprise XI3.1 and Business Objects Integration Kit for SAP. We didn't choose the install tomcat option.
    After the BOE XI3.1 and Business Objects Integration Kit for SAP installation, we user wdeploy tool to generate the ear files, copy the 19 web components ear files to Server2, manually deploy all the total 19 web components packages on our SAP NetWeaver WebAS Java 7.0 System on Server 2.
    All the instalation processes above finished successfully.The web componnets are also successfully deployed on SAP NetWeaver WebAS Java 7.0 system.
    When we start to configure the Business Objects Integration Kit for SAP, We logon to CMC, choose Authentication, double click SAP, fill info on tab "Entitled System" when we click tab "Role Import", we get the error info "com/sap/mw/jco/JCO$Function".
    Then we download the SAPJCO 2.18 package 32bit for Server1, x64 version for Server2, and did following task on both Server1 and Server2:
    1. Put the librfc.dll and jcorfc.dll file to C:\Windows:\System32
    2. Add CLASSPATH, point to sapjco.jar file.
    But still don't work.
    Does anyone use the SAP NetWeaver WebAS as the web application server for BO?
    Also I want to know does SAP officially support tomcat for production use now? I mean if some web error occurs about tomcat, will SAP support it?
    Please advise.
    Thanks,
    Daniel

    Hi Ingo,
    Yes - Ive tried every possible combination and here is my findings...
    I don't think the 32-bit version of the SAP Java Connector (2.1.8) works on a Windows 2003 x64 SAP J2EE 7.0, i.e. the sapjco.jar file. I created a directory and added it to the CLASSPATH of the J2EE server (server and instance) and I also added it to the Java classpath using: java -jar <path+sapjco.jar> -classpath. Executing this command brings up a SAP Java connector window where it displays information of the version, location of the sapjcorfc.dll file etc. This windows opens, but is not able to display the information. If I do exactly the same with the x64 bit version of the SAP Java connector (2.1.8) it displays the information correctly in the SAP Java connector popup. I've tried copying the sapjcorfc.dll and the librfc32.dll to both the /system32 and the SYSWOW64 directory on the server.
    HOWEVER, in CMC the Role Import tab still does not work - I just get the text null (in red). Before adding the sapjco.jar to the java classpath I got another error on the Role import tab - something like /com/sap/mw/jco/$JCOFunction. So it seems like it is now able to find the sapjco.jar file, but can not use it properly.
    The big question is now: Should the sapjco.jar file actually be on the Application server or on the BOE Server? I know it says on the application server in all documentation, but that generally assumes Tomcat and all installed on one server.
    BOE uses the sapjco.jar file to connect to the BW system to import the roles and that must be the BOE server doing that job and not the Application server???
    Just my thoughts - maybe we can discuss this at Teched in Phoenix? :o)
    Best regards,
    Jacob

  • Adobe forms using Workflow with normal SAP

    Hi All,
    Can any one help me, how to assign Adobe forms to Workflow with normal SAP.
    Thanks,
    Archana.

    Hi,
    The std. PCR (Process Change Request) workflow use  Adobe forms.
    BO is BUS7051,The std. workflows are
       WS50000041
       WS50000042
       WS03100019
       WS21300032
    Check this [link|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d1cb99-46cf-2b10-8880-85004a301283]
    Regards,
    Surjith

Maybe you are looking for

  • Violation of Primary Key after a successful Update of BP

    When I've updated a BP via VB.net is there something I should do with the BP object after I've done an update? I can't seem to do consecative updates or I get the following error: Violation of PRIMARY KEY constraint 'CRD1_PRIMARY'. Cannot insert dupl

  • Mini 311 IDT Audio won't switch to Headphones output when plugged in.

    Ok, so when I first got my 311, when I would plug in the 3.5 mini headphone cable to my head unit it the car, it would switch to the independent headphone volume control which was separate from the regular system volume, and I liked that. Lately it h

  • NIC ROUTER requirement for 10g RAC database

    I need to know what hardware to order in setting up an 10g RAC database without a single-point-of-failure. My question centers on the networks. If each server has one NIC for the public interface and one NIC for the private interconnect, aren't the r

  • Change Color on mouse click

    Hi Guys.  I have followed Ned's code from another post, whereby if a text button is clicked, the color will change.  The code is like var clicked:Boolean = false; var clicked2:Boolean = false; btn1.addEventListener(MouseEvent.CLICK, btn1click); funct

  • HW recommendation and advice on optimal setup

    I have two requierments: Security Failover/redundancy Related information: 6 external links: 4 dsl from 4 different ISPs (2 mbps up/down) two point to point microwave links (15 mbps up/down) Public access services: Webservice, should be set to failov