Can I get the GP status using GP API.

Hi all,
Can I use the GP API to get one process status present,for example,"reject" or "approve" according to the process instance ID?
If there's a way,how can i archive this?
Best regards,
delma

Hi,
Using GP API it is possible to achieve the process status of any particular process.
In the package com.sap.caf.eu.gp.process.api, we have several classes that can give the process such as IGP Process and the status can be achieved by the method getStatus.
For more information refer to this link:
http://help.sap.com/javadocs/nwce/current/gp/index.html
Award points if helpful.
Regards,
Sujana

Similar Messages

  • I lost my phone 2 days ago, can I get the phoneNumber which use my phone by IMEI or Serifal NO  .  I am in China.

    I lost my phone 2 days ago, can I get the phoneNumber which use my phone now by IMEI or Serifal NO  .  I am in China.

    nothing unless you had "find my iPhone" installed before it was lost.

  • How can I get the report status?

    I am using web service to connect to BI Publisher and run the report by java code. And I have questions still unclear, anyone who knows about it please help me.
    1. Is there any method to get the report status, such as whether the report runs successfully or not.
    2. If I have a huge table that binds with the template (maybe RTF template), how about the performance of the BI publisher?
    3. I use the sample codes in the web service tutorial to run the report, but the out pdf report doesn't change when i add or remove the table data, how can I resolve it?
    Thanks very much.

    Use the web services and use this function
    getScheduledReportStatus
    you will get the status of the report ran.
    Possible values are: "Completed", "Error" "Running", "Scheduled","Suspended", "Unknown"
    It is in the table XMLP_SCHED_OUTPUT status column :)

  • Can I get the version info using the SDK?

    Can I get the verion info from the SDK (Web Services SDK or Enterprise SDK)? For instance, for BOE XI R2, I can get some info like this "boexir2", so that I know jar files are for BOE XI R2. If this info can be retrieved, could you please tell me how I should do? Thanks.

    Sure, but the odds are that you'll find the regular non-upgrade boxed version for less than the upgrade price, especially as we get nearer the holidays.

  • To get the Workflow status using the Object Key

    Hi Experts,
    Do we have any transaction code or a Standard table where I can see the status of the Workflow using the Object Key.
    For example I have an Invoice Document number for which a Workflow has been triggered and now I want to see the which workflow has been triggered and what is the status for the same. I have only the Invoice Document Number.
    I think I can use the SWI1, SWEL etc but I don't have Object key as Input field.
    Thanks in advance.
    Regards,
    SRinivas

    Hi,
    You can find the workitem id in table SWW_WI2OBJ.
    Here you need to pass the invoice number in "Instacne ID" with leading zeros, business object in Object type.
    This may take little bit longer time.
    After getting the workitem number then look into table SWWWIHEAD for the workitem status.
    Thanks and regards,
    SNJY

  • Can't get the "Complete action using" choice back

    When using Firefox mobile it used to ask "Complete action using" and then give a choice of Firefox or Google Play when I tried to open certain files. When one made the choice it would also give the choice of "just once" or "always". I accidentally opted for "always" the last time now it does it automatically whether I want to or not. I have tried to reset by clearing the apps defaults, by resetting all apps preferences from within android apps settings and by clearing Firefox's privacy settings. Still no joy, I have even reinstalled the Firefox app but even though I uninstalled first these settings seem to have been retained in android somewhere. Does anyone know how I can delete the file type associations so that I get the original choice again?

    Hi,
    Unfortunately at the moment, there is not an option to reset Firefox for Android, however to reset the dialogue, if there not alot of bookmarks, phillip has a nice answer to this from a previous question: [[https://support.mozilla.org/en-US/questions/975510 questions/975510]]
    First! Back up the user profile date by creating a Sync account, then adding the sync account once more it has been reinstalled. Another user suggested in the past this add-on to manually copy the profile. It is available for the Android and it is called [[https://addons.mozilla.org/en-US/android/addon/copy-profile/ Copy Profile]]
    Hope this helps

  • Can't get the tables normally using RFC call to BC

    SAP Business Connector Developer.
    ->IDataUtil.getIDataArray function (can't work properly using RFC CALL)( I think it's the source of problem)
    I use the SAP Business Connector Developer(4.7) to get data from db2.
    and I create a JAVA service in th BC named writeData,
    the most important snippet shown below.
      // Get IDataCursor to manipulate pipeline
      IDataCursor idcPipeline = pipeline.getCursor();       
      // If the value is not an IData[], returns null.
      IData[] recordListIn = IDataUtil.getIDataArray( idcPipeline, "ORICONTENT" );
      idcPipeline.first( "CHECKEDDATE" );
      String checkedDate  = (String) idcPipeline.getValue();
      idcPipeline.first( "CPYCOD" );
      String cpycod= (String) idcPipeline.getValue();
       /* if ( recordListIn == null )
              errMsg += "No Input Data";
              recLen=0;
      }else{
            recLen= recordListIn.length;
      try{
         recLen= recordListIn.length;
      catch(Exception ed){
         errMsg += "\r\nExceptionIn: " + ed.getMessage();
         recLen=0;
      In BC, the variable recLen can get the record list length normally, but if i call the function in the SAP,
    the system throw an exception, the ed.getMessage() return value NULL.
      I think the problem which the rfc can't work properly is that the method IDataUtil.getIDataArray execute unnormal.
      I have set value to ORICONTENT(record list) in SAP, and it can return the record that i have set to the SAP System,
    and in the java service,  I have return another record list creating using the following spippet, It can work normally.
    com.wm.app.b2b.server.DBConnection db
            =new com.wm.app.b2b.server.JDBCConnection(driverString,userName,
                    userPwd);
              com.wm.util.Values ida= db.execSQL(selectSql);
              idcPipeline.insertAfter("OUTDATAREC", ida );
              db.close();
    I have tried some adjustments, but nothing can work.
    The reason That I use one jave service instead of standard flow services is I have to transfer data to more than two db2 servers, and I have to keep the consistency.
    Attached please find the SAP test page (using se37) and the java service code.
    May you kindly help me to solve this problem, I don't know the real reason, and which is very emergent, but i can't changed Priority(If I changed it ,the page is unuseful).
    Additional,I have added some code shown below,
    idcPipeline.first( "ORICONTENT" );
    java.lang.Object curObj = idcPipeline.getValue();
    if (curObj == null)
    errMsg +=" object is null ";
    else{
    errMsg +=" object isnt null ";
    try{
    recordListIn=(IData[])curObj;
    } catch(Exception ed){
    errMsg += " ExceptionOBj: " + ed.getMessage();
    recLen=0;
    In BC, everything is ok. but call the function in the sap, Show the following informatin:
    Object isnt null
    ExceptionOBj: com.wm.util.Table

    Hi, Mei Xie
    you mentioned 'In BC, everything is ok. but call the function in the sap, Show the following informatin: ....', I think the return value of RFC is null.
    have you tried to add a try catch around the RFC call, like following:
    try {
      IDataCursor idcPipeline = pipeline.getCursor();
    } catch (Exception ...)
    I'm not familiar with jave, only worked on C#, but I think try to catch the exception on RFC call is worth doing. Maybe it will descript some information around the problem.
    By the way, can you tell me which RFC/BAPI you are calling?
    I don't know what 'In BC, everything is ok.' mean. I have no experience on BC, only used dotnet connector. So can you explain how you use BC for me?
    thanks

  • Can't get the VM to use virutal memory

    Hi all,
    Here the configuration I'm running :
    - Debian 3.1
    - java 1.5.0_09
    - 1 Go of physical memory
    - 2,6 Go of virtual memory
    - ulimit : no limit
    I have a webapp deployed on Tomcat 5.5 wich I have to deploy several times on the same server. Guess what happens : I'm running short on memory. The physical memory usage climbs to 99% and then application doesn't want to do anything new ...
    I thought it was because of the default values for Xms and Xmx, so I changed them to this : -Xms256m -Xmx512m (keep in mind that this amount of memory is not available at the time I start the server, i only have 400Mo free). Unfortunatly, I get the same error (some sort of out of memory one) and same behaviour.
    My problem is : the JVM does NOT use the virtual memory at all !
    What have done wrong ? Any guess ?
    Thanks for your time,
    Jerome

    Real programs need real memory. You can run Java applicatons out of swap space, but since the heap isn't organized to be accessed from the swap space, the performance will be dreadful. Particularly the performance of the garbage collector, the first phase of which walks the object graph: essentially random accessing into the heap, probably causing a page fault for each reference in the heap. Not pleasant.
    When your server starts up with -Xmx512m we will reserve 512MB of swap space for the heap, plus a bunch of other space for thread stacks, libraries, and random other data structures the JVM needs. If you have 2,6GB of virtual memory, I would expect you to be able to start 4 instances of your server, but not 5. With only 1GB of physical memory, I wouldn't expect the performance to be acceptable once the second instance has started, if you are really using the 512MB in each heap. If you are using closer to the 256MB of initial heap, then the second instance should be fine, and maybe even the third instance. Reserving swap space is cheap. Actually using it for running applications is a performance disaster. You should be able to use something like vmstat(8) to monitor your physical memory usage and paging activity.
    P.S. -Xmx512m and -Xmx512M are the same. See http://12.101.252.19/hotspot/xref/src/share/vm/runtime/arguments.cpp#461 for the code that does this.
    P.P.S. You should continue to use -Xms if you know that your application will need at least 256MB of heap space. Otherwise we will slowly grow the heap as your application needs that memory, after full collections to try to keep the heap from growing.

  • How can I get the page status light to come on?

    The page status indicator light ha been non-functional ever since I downloaded newer versions... as a result of this problem I have seldom been using Mozilla firefox because I have no confidence in secure searching! If need be, I will delete Mozilla Firefox altogether!

    When you had to reset and secure the router that provides the wireless network, does this mean that you changed either the wireless security setting or wireless network password?
    If yes, then you will need to reconfigure the AirPort Express and provide it with those new settings so that it can join the wireless network correctly.

  • I want to use the ethernet connection from my new iMac to my Time Capsule.  It seems only the Wifi is seen by either device.  Ive connected the Time Capsule to the iMac.  How can I get the iMac to use the wired connection

    I want to connect my iMac to my Time Capsule using Ethernet.  I have them connected via an Ethernet cable, but only WiFi seems to be working.  How can I specify the Ethernet connection instead of WiFi?  Thanks
    Welked

    Go to preferences, network and see if ethernet is indicated. Be sure it shows a green dot.  Also be sure it is at the top of the list (above WiFi).  If not click on the the wheel at the bottom and set service order.

  • How can I get the Windows User using ABAP ?

    I need to get thru ABAP the Windows user.

    Hi Carlos,
    You can use the following FM to read the currently logged in windows user id:
    DATA: w_userid TYPE char20.
    CALL FUNCTION 'GUI_GET_DESKTOP_INFO'
         EXPORTING
              type   = '5'
         CHANGING
              return = w_userid.
    WRITE: 'Windows User ID:', w_userid.
    Hope this is what you need.
    Sumant.

  • Can I get the IP address used by other devices for Sync?

    One of my devices was stolen. I wanted to know if I could find it by using information synced. I'm hoping there is some way to determine the IP address, and then to contact the owner of that IP block to see if they can help me further. Is this at all possible, and if so, what steps must I take? Thank you.

    [[Disable Firefox Sync on a lost phone or tablet|Disable Firefox Sync on a lost phone or tablet]]

  • How can I get the same result using single query?

    There are 3 tables
    1) tool_desc -
    a master table for storing tool records,
    columns tool_no, tool_chg,
    # of records = 1.5 Millon
    2) step_desc -
    a master table for storing plan wise step records,
    columns plan_id, step_key,
    # of records = 3700 Million
    3) step_tool - a transaction table storing tools to the steps,
    columns plan_id, step_key, tool_no, tool_chg
    For each step in the step_desc table, I need to randomly fetch 1 to 50 tools from tool_desc and insert them into step_tool table.
    Using PL/SQL block, it is like the following -
    begin
    for x in (select plan_id, step_key from step_desc) loop
    insert into step_tool(
    plan_id,
    step_key,
    tool_no,
    tool_chg)
    select
    plan_id,
    x.step_key,
    tool_no,
    tool_chg
    from
    tool sample(0.1)
    where
    rownum <= trunc(dbms_random.value(1,51))
    commit;
    end loop;
    end;
    I need to do the same using a single query so that I can use the CTAS (create table as select) statement and load the data as a bulk.
    Can I do that?

    If they have parent child releation, you can use connect by prior clause,

  • How can I get the avaiable datatypes using single query?

    Is there any sql query to determine available datatypes along with their size lime in the current version of Oracle ?

    If they have parent child releation, you can use connect by prior clause,

  • Where can I get the packages to use these following imports?

    I think I'll need these packages, could someone show me where I can get them? A link maybe. Doesn't sun make these packages for free download?
    import org.tiling.scheduling.Scheduler;
    import org.tiling.scheduling.SchedulerTask;
    import org.tiling.scheduling.examples.iterators.DailyIterator;

    NewtonsApple_2 wrote:
    I think I'll need these packages, could someone show me where I can get them? A link maybe.Probably [http://www.tiling.org/]
    Doesn't sun make these packages for free download? No, Sun didn't write them.

Maybe you are looking for

  • What is the best app for before and after photos for my Mac?

    I am looking for a program or app for my mac so i can put pictures up side by side.... like before and after photos.  Any suggestions?

  • More restart/freezing issues

    so, EVERYtime i hit restart, eventually, everything gets cleared away, i insist on the restart, and i'm left there staring at this huge picture of my cat that i use as a desktop. that's it. nothing further happens or can happen until i manually switc

  • Refresh master form

    I have a main form with drop down boxes that create the criteria for a query.  Each drop down has a me.recalc function so that the query updates every time one is filled in or changed.  The query results show up in a subform (datasheet).  works great

  • Passing vars to a component in as3

    This doesnt seem particulary easy... or poetic for once of a better word. I was hoping I could write something like.... BookingCreator = new CreateBooking(myvar); But what do I put In the mxml constructor for that component? Its a panel so where does

  • "Share cannot be found" Help needed MAC to WIN XP

    I have a MBP and I am attempting to connect to a Win XP Desktop with a external USB hard drive attached. I can access through finder ANY share on ANY internal hard drive on the XP computer no problem. I can SEE any share I create on the USB hard driv