RSPC programming:Get last log (RSPC_LOGID) from chain (RSPC_CHAIN)?

Hello.
I have a little problem: I'm using FM RSPC_API_CHAIN_START to start a process chain. But I want to check the status of previous run of process chain (is it finished or no). This is achieved by FM RSPC_API_CHAIN_GET_STATUS - but I have to know LOGID of last run of process chain
So question is in finding the last logid (by timestamp) of specific chain. How?
Thanks.

Thanks a lot.
You saved my time.

Similar Messages

  • Get last august month from current date

    Hi,
    I need to get last august month from current date.
    e.g if current date is 1-OCT-2013 need to get last August date i.e.1-AUG-2013
    e.g. if current date is 1-MAY-2013 need to get last August date i.e.1-AUG-2012

    Something like this?
    SQL> WITH table_x AS(
      2     SELECT SYSDATE dt from dual UNION ALL
      3     SELECT TO_DATE('20-05-2013','dd-mm-yyyy') from dual
      4  )
      5  --
      6  ---
      7  --
      8  SELECT  dt,
      9    CASE
    10      WHEN (dt >= Add_Months(TRUNC(dt,'YEAR'),7)) THEN
    11          Add_Months(TRUNC(dt,'YEAR'),7)
    12      WHEN (dt < Add_Months(TRUNC(dt,'YEAR'),7)) THEN
    13          Add_Months(TRUNC(dt,'YEAR'),7) - 365
    14    END cs
    15  FROM table_x;
    DT        CS
    24-OCT-13 01-AUG-13
    20-MAY-13 01-AUG-12

  • Getting the log files from client using java program

    hi
    this is lalita...and i am doing a project in networking.... i am new to socket programming....i have established the socket connection between the client and server...with this site members' help....now i have to get the log files of the client system from the server.... via the created socket....i need it by tomorrow...i.e apr 12th ....as i have to show it to my guide...
    i just need a core java program that will get the log information of the client from the server......
    Can anybody please help me in this regard..... it would be of great help to me and my group....
    Anxiously awaiting for the replies....
    Thanking you and regards...
    Lalita.

    Simple.
    Server is listening on a specific port for the connection from the clients.
    Connect the client with the server on the above mentioned port.
    Open the streams on both side for the connection and run in separate thread.
    Define a protocol for communication between client and server.
    e.g after connection with the server the server send a text message to the client (send log) now the client first should the log file name and size to the sever and then send the file. the server should save the file.
    then disconnect the client or want to get another file or for other tasks define the other commands

  • How do I get last 15 rows from a select query

    Hello,
    I am writing a query, and I need to filter the last 15 rows of from the select query.
    For example: Select id, name,join_date from emp order by join_date;
    So I need to get the last 15 rows from emp table so that we can who are the last 15 employees joined the organization. I want to show the result in ascending order, otherwise I would have taken first 15 rows with order by clause as descinding order.
    Thanks in advance,
    Param.

    SQL> select ename, join_date from test222
    2 where rownum < 6
    3 order by join_date
    4 /
    ENAME JOIN_DATE
    CNC5461177794 14-FEB-02
    OR91551178218 14-FEB-02
    TUB9894676495 14-FEB-02
    SG15431177117 14-FEB-02
    PIB9384674017 14-FEB-02
    SQL> SELECT * from
    2 (select ename, join_date from test222
    3 order by join_date desc)
    4 WHERE rownum < 6
    5 /
    ENAME JOIN_DATE
    II61111208401 19-MAR-02
    II61451208038 18-MAR-02
    PI20014184983 01-MAR-02
    BNF2221148037C 28-FEB-02
    UO78902581 18-FEB-02
    Can you see the problem now ?
    You can test this concept with your own table.
    have a good day,
    Sri

  • I get unexpectedly logged out from my mail box and and recieve the following message: "The custom error module does not recognize this error."

    I am repeatedly and unexpectedly logged-out from my mail box when working on a document. It frequently happens when I choose Send or Save, but it could happen any time. The file that I worked on disappears completely. Before, the file could be found in the draft box or some other place categorized as Auto Recovery. Now, instead, I get the following message: "The custom error module does not recognize this error." I am working at home, connected to a university server. The same problem appears with both of my computers, which are connected by a router. I have a MacBook Pro and am working with Firefox 6.0.2. I have a wireless broadband connection with Internet. AirPort is connected to Lindstrom and has IP address 192.168.0.198. Router: D-Link Model DIR-635. Modem: ZyXEL Model No. 660H D Triple Play Modem.
    Best wishes,
    Lars Lindström, Professor
    <[email protected]>

    Hi Phil,
    Generally, when a user sends an incoming request to an Exchange 2010 Client Access server using Outlook Web App and the user’s mailbox is on an Exchange 2010 mailbox in a different Active Directory site,
    Exchange 2010 determines whether the Client Access server has the
    ExternalURL property set in that Active Directory site. If it is and the cross-site silent redirection has been enabled, the user will be automatically redirected to the specified URL.
    Thus, please make sure the External URL property is set properly in your environment. And also
    disable the WindowsAuthentication for OWA VD to have a try. If the issue persists, please try the following KB to reset the Outlook Web Access-related virtual directories:
    http://support.microsoft.com/kb/941201
    Thanks,
    Winnie Liang
    TechNet Community Support
    Sorry for the late reply.  Yes, the ExternalURL is set; otherwise, it wouldn't work at all.  98% of the time everything is fine.
    My issue described a problem that appears only during session timeouts.  I've pretty much verified that this is the case; Exchange 2010 does not appropriately handle the timeouts sometimes when using cross-site redirection.

  • Program to download log data from SM35

    Hi guru,
    I have uploaded some sales order using BDC program.
    Now I need to download "the sales order number which are uploaded using BDC for a particular session".
    Can you please tell me any program name- which can download that log.
    I search 1 program name "RSBDCLOG" from Net.
    But in SE38 it is saying that this program does not exist.
    Thanks
    Rahman

    HI,
    Why dont you display log to screen and press CTRL+P then
    List>Export-> Local File
    then select spreadsheet option
    Then the file will be saved to you selected directory.
    Regards and Best wishes.

  • How to get greater log detail from Mail.app in Lion (slow attachment caching)

    I have an IMAP account, hosted by FuseMail, that is taking an extraordinary amount of time to catch attachments. I would say it is taking upwards of 10 minutes to cache one attachment. This is causing a side-effect in mail that it keeps spawning new threads for "Fetching new mail" which eventually makes Mail.app thread-bound and it stops responding (see image below of an example of what happened over night when I wasn't there to kill the treads).
    I would like to see a more detailed trascript of the connection with this IMAP server to see if the delay is with the server or with my client. However, I have been unable to capture what I'd like to see:
    If I use the Connection Doctor, turn off all other accounts and look at "Show Detail", I can see some log entries for READS and WRITES (FETCH and PEEK) but it's still difficult to see what's happening between those steps:
    WROTE Sep 17 12:47:39.874 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:imap.socialogue.com -- port:993 -- socket:0x7f8d32e16d30 -- thread:0x7f8d345d7870
    84.46 UID FETCH 7330 BODY.PEEK[2]<4110304.16384>
    WROTE Sep 17 12:47:46.098 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:mail.me.com -- port:993 -- socket:0x7f8d348b91a0 -- thread:0x7f8d34b57490
    DONE
    READ Sep 17 12:47:46.101 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:imap.socialogue.com -- port:993 -- socket:0x7f8d32e16d30 -- thread:0x7f8d345d7870
    * 6869 FETCH (UID 7330 BODY[2]<4110304> {16384}
    READ Sep 17 12:47:46.150 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:imap.socialogue.com -- port:993 -- socket:0x7f8d32e16d30 -- thread:0x7f8d345d7870
    Lvrf+t3/AIKHf8EyPgF/wUD/AGDPFX7BusaZ4f8Ag94JTT9Pj8Cahofh6ydf
    hzfaeFGnzWFqyCOGKONTavFAYGeynubdJYRLvX8gf2Nv2Iv+DgX9hD/gmj4O/YC/Z81n/glBpPjb
    <----8X----snip----8X----->
    7aHwA/4Kf/sXfEv4P/Cn9tD4d6h4b1ZvD3jfQpP+EV+IV9o+rW91Y3Oo3enBb6GWOBZIJJNly08N
    tYW6G0WIzHoP2kP+CZP/AAU1/wCCruj6P8Ef+Cm/7TPwA/Zq/Y40/wDs2+1jwJ+zTLql3qnx
    READ Sep 17 12:47:46.158 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:mail.me.com -- port:993 -- socket:0x7f8d348b91a0 -- thread:0x7f8d34b57490
    47.47 OK Completed
    READ Sep 17 12:47:46.195 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:imap.socialogue.com -- port:993 -- socket:0x7f8d32e16d30 -- thread:0x7f8d345d7870
    O1RL
    ACWTUtU1y3RLO0t9SiS8tbNLS6QpN5c7ST2ltfD9n/gp+yZ8G/2Q/gFqHwJ/Yi+GHwf/AGa9Jh09
    <----8X----snip----8X----->
    hG4+MHwt1nxKNc0bwh5Uaahc2mlTaVFFJ4guZTc3Umoi9thJJcylI7W4Zb6L9Hv+CZ//AARa/YM/
    4JR6drd5+zD8P/EGqfFbV9POk678
    WROTE Sep 17 12:47:46.206 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:mail.me.com -- port:993 -- socket:0x7f8d348b91a0 -- thread:0x7f8d377d87f0
    48.47 NOOP
    READ Sep 17 12:47:46.216 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:imap.socialogue.com -- port:993 -- socket:0x7f8d32e16d30 -- thread:0x7f8d345d7870
    QfFuojUvEWr2P2qS5W2LokdtaxBmiVo7OC3WYWlq04mkiSQf
    gD/wXk/4N6f+Ckn/AAVl/bzu/wBoz4a/E39iDwX8HNF8H6R4K8H2uua1r1nrMljAZryeS/SHTbmA
    <----8X----snip----8X----->
    9qTxB8ULbwP8UNP+KPgD4UfDnxfqa+AoPEVna+XB4g1GK5t7eS51BJDEIxDHCESyVJZbuK4e2iPj
    X/wb0/toftvf8FvLD9v/APbt+Jv7MHj/APYv0zxglzpPgTSda1a+vl8K6WkjaL
    READ Sep 17 12:47:46.285 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:imap.socialogue.com -- port:993 -- socket:0x7f8d32e16d30 -- thread:0x7f8d345d7870
    pEmn6pps1j5VzP
    Hby6nbJMIZWvdUaLY0y1+/3/AAVz/Yh8Vf8ABRz/AIJ1ftMfsa+BfHHh/wCHXjfxfp+nSaPqurW8
    <----8X----snip----8X----->
    BYbWKS5uWhgh86QN+UH/AAXp/wCDfXUf+Cwfir4afGb4f/tIeH/gj8VvBng/VNBsNK1bwXa3lj4m
    maQ3FnFcanb+XqNrEJ
    READ Sep 17 12:47:46.301 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:imap.socialogue.com -- port:993 -- socket:0x7f8d32e16d30 -- thread:0x7f8d345d7870
    mkVzJ9viiWUyW9rFI119s6DwD/AMG3PwJ8afAnxr8Ov+Cjf7W37X//AAUy
    +LWs+H7zQNO8bfEHxbeP/wAK2868W4N74ZtLme6/sq7f7Npomllmu/O+weWQttcXNpL4B/wSW/4N
    <----8X----snip----8X----->
    UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
    UUUUUUUUUUUUUUUUUUUU)
    84.46 OK FETCH completed.
    WROTE Sep 17 12:47:46.322 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:imap.socialogue.com -- port:993 -- socket:0x7f8d32e16d30 -- thread:0x7f8d333741d0
    85.46 UID FETCH 7330 BODY.PEEK[2]<4126688.16384>
    READ Sep 17 12:47:46.412 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:mail.me.com -- port:993 -- socket:0x7f8d348b91a0 -- thread:0x7f8d377d87f0
    48.47 OK Completed
    WROTE Sep 17 12:47:46.434 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:mail.me.com -- port:993 -- socket:0x7f8d348b91a0 -- thread:0x7f8d345d7870
    49.47 IDLE
    READ Sep 17 12:47:46.579 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:mail.me.com -- port:993 -- socket:0x7f8d348b91a0 -- thread:0x7f8d345d7870
    + idling
    I just can't see enough to figure out if the problem is on my end or the FuseMail end. I have been looking around trying to figure out how to increase the debug level without much luck.
    I found this about the sqlite3 db but the Envelope file is not in the same place anymore:
    http://www.macworld.com/article/56673/2007/03/mailfix.html
    I also played around with the defaults but could not find anything specific to the connection/transfer/caching protocols:
    http://hints.macworld.com/article.php?story=2004101603285984
    I also tried the "Turn on Logging" Mail script:
    http://macs.about.com/od/usingyourmac/ss/Troubleshooting-Apple-Mail-Using-Apple- Mails-Troubleshooting-Tools_3.htm
    but if it is turning anything on in the Console, I can't see it.
    Any suggestons?

    I have the same problem, some photos are not loaded completely and partly grey. This occurs only in Mail.app but not in the web interface of the email provider. Did you find a solution, Florian? Does somebody else have a suggestion?
    Greetings from Finland

  • How should get last month value from report?

    Hi experts,
    How should last month value. For example
    jan    feb    march
    100   --       ---
    Here i want to get jan month value in march coloumn.

    Hi ,
    It is only show last month value. but my requirement is if last month is empty it should bring Before Last month.
    For Example
      Jan       Feb       Mar
    1000   
    i need if the Feb value is empty should come jan month value.

  • How to get last inserted id from database

    Hello,
    In PHP Language, mysql_insert_id() gives the last inserted ID without writing any Queries in the code. Is there similar mechanism to do in Jsp page. I need to insert data in one table and in the meantime, with the last inserted ID i need to insert another sort of data in another table.
    Can u plz help me out?

    You can use Statement#getGeneratedKeys().
    The DDL should look like at least (you can use INT UNSIGNED instead, your choice):ID BIGINT AUTO_INCREMENT PRIMARY KEYBasic example:int affectedRows = statement.executeUpdate("INSERT INTO table (column1, column2) VALUES ('value1', 'value2')");
    Long insertID = null;
    if (affectedRows == 1) {
        ResultSet generatedKeys = statement.getGeneratedKeys();
        if (generatedKeys.next()) {
            insertID = new Long(generatedKeys.getLong(1));
    }Using MySQL Connector/J 5.0.

  • SCCM Last Logged on user results

    What process gets SCCM 2012 the last logged on user information? Is there a way I can make it update more often or get more accurate results?

    I believe SCCM gets last logged on user from Hardware Inventory Scan via Win32_ComputerSystem. you can configure the frequency of Hardware Inventory from Administration > Client Settings > (Properties of your client policy) > Hardware Inventory
    You may want to consider looking at User Device Affinity if you are trying to match users to computers. Alternatively if your creating reports checkout the Console Usage table "v_GS_SYSTEM_CONSOLE_USAGE"

  • How to get the log information when using a class?

    Hi All,
    I have a simple question, which I don't know how to solve. I am using org.apache.commons.logging.Log and LogFactory to do some logging. A typical situation is exemplified in the following code snippet.
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    class LogClass {
        private static final Log LOG = LogFactory.getLog(AClass.class);
        public void logit(){
            LOG.debug("This is the debugging log.");
    public class AClass{
        public static void main(String[] args) {
            LogClass l=new LogClass();
            l.logit();
    }But this way, I do not get the log information from the class LogClass. Could anybody please help?
    Many thanks.

    jschell wrote:
    jverd wrote:
    ...configuration in log4j.xml or log4j.properties.And far as I recall you need one of those two also. If there is no config then there is no output.I thought it used some default config if no file is present, but I could be mistaken. Either way, it adds to the possible problems that the OP could be having, any of which are consistent with his rather vague question.
    1) He's passing the wrong class to the LogFactory, and hence getting a logger with the wrong name, so he's seeing a different name than he expects in the output that's being produced.
    2) His config file does not contain the proper format to include the actual classname, independent of the logger's name, so he's missing a piece of desired information in each line of the output that's being produced.
    3) His config file indicates a threshold that's less verbose than the level at which his code is logging, so no output is present when he wants it.
    4) His config file is missing (or not where it's expected to be), so no output is being produced at all.
    5) His config file is missing (or not where it's expected to be), so a default level or format is being produced, effectively the equivalent of one of the misconfigurations described in #2 and #3.
    Since the OP seems to have vanished, we may never know.

  • How to populate last 10 records from data base table

    Hi,
    My requirement is to populate last 10 transfer order items confirmed from LTAP. as the table is too large there is no point to fetch all the records and filter them...
    Please let me know better way (in terms of performace) to get last 10 records from LTAP.
    Thanks in advance.
    Nag

    Hi brother,
    the following code is working......(sample code)
    data itmara type mara occurs 0 with header line.
    select matnr from mara into corresponding fields of table itmara up to 20 rows.
    sort itmara descending by matnr.
    loop at itmara .
    write:/ itmara-matnr.
    if sy-tabix = 10.
    exit.
    endif.
    endloop.
    plz reward with maximum points
    Edited by: sreejith gn on May 13, 2008 12:52 PM

  • After Effects keeps on closing at launch:Last log message was: 140735121400592 GPUManager 2 Sn

    By mistake, I installed Cuda (nvidia) for mac because after effects called for it. I did not realize it was only for nvidia cards. My imac (10.9.2 mavericks) has a i5 : amd radeon hd 6750 gpu.  Ever since I installed Cuda, neither after effects or premier will open.
    this is message I get:
    Last log message was: <140735121400592> <GPUManager> <2> Sniffer Result Code: 3
    Please help!!!!!

    rampage311 wrote:
    Do you know how to properly remove Cuda?
    This page has some info: Avoid installing NVIDIA CUDA drivers on computers with AMD GPUs

  • FM for getting Last 3 years

    Hi experts,
       Can any body tell me how to get last three years from current year using FM.
    Which function module is suitable for this?
    2011- need to get 2008 2009 2010
    Thanks in advance,
    Veena.
    Moderator Message: Basic Date-related questions are not allowed.
    Edited by: kishan P on Apr 15, 2011 2:57 PM

    at first you need a proper definition what the last three years means.
    If i give you todys date 04/15/2011 what do you expect ? 05/14/2008 - 04/15/2011 ? or just 05/14/2008
    or maybe really calculated 1096) days back? Do you need a interval or all the days between then and now or what exactly do you need?
    Once you know that you will have done a short abap within 5 minutes which does what you need.

  • Transformation routine to get last month value

    Hi experts,
    I am trying to write a routine in a transformation to get last months value from another dso.
    Here is my code:
    Data:
    zamnt type F,
    zmonth type c length 6.
    zmonth = sy-datum+0(6).
    select sum( /BIC/ZAMNT ) into i_amnt
    from /BIC/AZDSP00700
    where CALMONTH = zmonth -1.
         RESULT = zamnt.
    I get an incorrect expression "where CALMONTH = zmonth -1." because it does not understand "-1"
    Can anyone help me?

    Hi Odd Hilt,
    Please confirm CALMONTH format is yyyymm or something different.
    If CALMONTH format is yyyymm.
    try following code
    zmonth = sy-datum+0(6).
    ZMONTH1 = ZMONTH - 1.
    select sum( /BIC/ZAMNT ) into i_amnt
    from /BIC/AZDSP00700
    where CALMONTH = zmonth1.
    RESULT = zamnt.
    Thanks,
    Chandra

Maybe you are looking for

  • Family map consistently stops locating family members

    I have been using the Family Map app for almost a year.  At first, it was great.  It proved to be very consistent locating family members.  Then suddenly in April, after an AT&T update on my Samsung phone, I completely lost the ability to track one f

  • Trouble using a function in the where clause

    Hello, I am using a function found at ask.tom.oracle.com which converts a long data type to a character. The function is returning an error when it is placed in the where clause. The sql statement , error message and the function from ask tom are sho

  • How to add Purchase Order entry using B1WS?

    Hi, I have implemented B1WS in DI server, I am trying to add purchase order entry, but after adding it via B1WS, I am not able to find entry in SAP; My code using B1WS: public void SAPPurchaseOrder(string _SID)             _PIService = new PurchaseIn

  • User exit at MIGO

    Please suggest about following concern: Production execution process for the client is as follows: Creation of production order Issue the raw material. Confirm the order. Receipt the finish goods in MIGO. Our client wants warning message at time of G

  • BAM 11g Email Reporting

    Hi All, I am trying to send the email from BAM console in 11g but have encountered issues. I have configured the UMS in EM with gmail smtp settings as Outgoing email server and have also configured the Notification Properties in weblogic console to e