How to get status of transaction

Hi Gurus,
can anyone tell me how to get status of the transaction in crm.
regards,

hi vijay,
what kind of transaction did you want to get the status ?
for order, complaint, activity, and task, you can used function modul 'CRM_ORDER_READ' for getting status of the document.
hopes it helps
cheers

Similar Messages

  • CRM document - how to get status duration?

    Dear all,
    I extract data CRM -> BI  using standard datasources: 0CRM_SRV_PROCESS_H, 0CRM_COMPLAINTS_I, etc
    I need build a report with status duration of documents
    For example, if document was processed 4 days in statuses OPEN > IN PROCESS > VALIDATION > CLOSED report should be following:
    OPEN - 1 day
    IN PROCESS - 2 days
    VALIDATION - 1 day
    Each CRM datasource has start date and last change date of the document
    But there is no fields which stores date or duration of intermediate status change
    Could you please give an advice - how to get status duration?
    Thanks in advance

    Hi Oleg,
    Please check whether following standard datasources could meet your requirements:
    0CRM_TSS_DTRACK  CRM Tracking of Document Processing Lifecycles
    0CRM_TSS_PKYF       Timestamp Service: Performance Key Figures
    You can find the documents in transaction code SBIW, through IMG path
       Settings for Application-Specific DataSources (CRM)
           -> Settings for Extracting CRM Objects
                 ->  Define Extraction to Track the Document Processing Life Cycle   
                  -> Define Performance Key Figures for Time Stamp Service Analysis
    Best Regards,
    York

  • How to get the current transaction variant ?

    dear guru,
    could you please tell me how to get the current transaction variant?
    i tried the following method:
      DATA l_tcvariant TYPE tcvariant.
      CALL 'DY_GET_TX_VARIANT'
         ID 'VARIANT' FIELD l_tcvariant.
    but it failed.
    best regards.
    zj

    Try something like this
    DATA:  VARIANT LIKE SHDTVCIU-TCVARIANT.
      CLEAR VARIANT.
      CALL FUNCTION 'RS_HDSYS_GET_TC_VARIANT'
       IMPORTING
         TCVARIANT                     = VARIANT
    *     FLAG_CLIENT_INDEPENDENT       =
    *     RC                            =
    *   TABLES
    *     T_SCREEN_VARIANTS             =
    *     T_INACTIVE_FUNCTIONS          =

  • How will get  to the transaction box. directley(shourtcut)

    hi
    how will get  to the transaction box. directley(shourtcut)?

    Hello,
    for SAP GUI for Windows, it is Ctrl + / .
    For list of keyboard shortcuts, see menu item "Help for SAP GUI" in the menu shown when clicking the right most toolbar button.
    for SAP GUI for Java, it is Ctrl + T (Cmd + T on Mac).
    For keyboard shortcuts, see the menu items in the menus  with the icons on the right.
    Best regards
    Rolf-Martin

  • How to get status codes of field?

    For every document type or status field which we can see on front end, there is code which is finally stored in table.
    e:g: Go to transaction /nme53n
            Select any purchase req.
            Select status tab from item.
            See – processing status field.
            These processing status saves as N,B, etc in table.
    I know there is way to see these codes followed by full description on front end screen itself. I think using personal settings, but dont know how to set this. Please let me know how to see status codes + description on front end.

    You gui status should be implemented in the main screen which the subscreen resides, all function codes should be handled at that level. I believe you will need to set the F2 funciton code in your gui status, set the function code to PICK and then handle this function code in your PAI user command module. Should work.
    subscreen cannothave their own pf-status.....so create a pf-status for a screen in which ur subscreen is called...include 'pick' or f2 as onre of the functions code for the choose option.
    to differentiate the field u have to use get cursor field fldname.
    if it is a table control field u have to use
    get cursor field <fldaname> line <n> value <fval>

  • How to get the last transaction in a row in SQL Developer?

    What syntax would I use to get the last transaction of a row in SQL developer?
    The way I have my query set-up currently it is not returning the correct data, here is my current syntax:
    select ssn, max(tran_id), chng_type,tran_id
    from pda_tran
    where ssn = 'xxx-xxx-0011'
    and chng_type = 'C'
    group by ssn, chng_type,tran_id;
    It returns a 'C' chng_type but it is not the last one. when I query on this ssn this is what I get:
    ssn tran_id chng_type
    xxx-xxx-0011 001 A
    xxx-xxx-0011 002 E
    xxx-xxx-0011 003 C
    xxx-xxx-0011 004 S
    xxx-xxx-0011 005 C
    xxx-xxx-0011 006 T
    I only want to return the ssn's with a last transaction chng_type of 'C'. How can I get the correct information returned. Please advise.

    From what I see and read... there is one to many group by
    You wrote
    select ssn, max(tran_id), chng_type,tran_id
    from pda_tran
    where ssn = 'xxx-xxx-0011'
    and chng_type = 'C'
    group by ssn, chng_type,tran_id;
    If you want the max(tran_id), remove it from the "group by"
    select ssn, chng_type, max(tran_id)
    FROM
    (SELECT 'xxx-xxx-0011' ssn, '001' tran_id, 'A' chng_type FROM DUAL UNION
    SELECT 'xxx-xxx-0011' ssn, '002' tran_id, 'E' chng_type FROM DUAL UNION
    SELECT 'xxx-xxx-0011' ssn, '003' tran_id, 'C' chng_type FROM DUAL UNION
    SELECT 'xxx-xxx-0011' ssn, '004' tran_id, 'S' chng_type FROM DUAL UNION
    SELECT 'xxx-xxx-0011' ssn, '005' tran_id, 'C' chng_type FROM DUAL UNION
    SELECT 'xxx-xxx-0011' ssn, '006'tran_id, 'T' chng_type FROM DUAL )
    where ssn = 'xxx-xxx-0011'
    and chng_type = 'C'
    group by ssn, chng_type;

  • How to get the Global Transaction ID

    Hi
    I have a Session Bean in which I am starting a UserTransaction. Inside the Session Bean I am calling an Entity Bean and I have set the Transaction attribute as RequiresNew. I need to get the Global Transaction ID inside the Entity Bean. How do I get it.
    I tried with the below line of code:
    weblogic.transaction.TransactionHelper txHelper = TransactionHelper.getTransactionHelper();
    weblogic.transaction.Transaction tx = (weblogic.transaction.Transaction)txHelper.getTransaction();
    javax.transaction.xa.Xid xid = tx.getXID();
    xid.getGlobalTransactionId();
    The GlobalTransactionId is not same in the Session Bean and the Entity Bean.
    Please help me on this.
    Thanks in Advance
    Sundari

    hi ,
    get the data for the user from db tables usr02  usr41..
    regards,
    venkat.

  • How to get status profile (STSMA) in user exit ILOM0001

    Hi ABAPers,
    I am currently working on user exit ILOM0001 (Check before saving a functional location) and need to get information about status profile (STSMA). I have checked parameters that is imported into this user exit (DATA_IFLO, DATA_IFLO_OLD, DATA_IFLOS) and none of them have STSMA.
    Could anybody help me how to get this field STSMA into user exit ILOM0001?
    Appreciate it.
    Thanks
    Regards
    Hadi

    Dear Kolla,
    Really appreciate your answer, but
    I don't want to generate or make settlement receiver.
    I was building a script in user exit IW010009,
    And the issue is I can not capture the content of field settlement receiver.
    If we want to capture screen field, ex. equnr, we can use structure CAUFVD,
    when i see the technical detail in this field, the structure for settlement is DKOBR, field EMPGE, but i cannot call it on debug.
    Kindly need your help on this issue.

  • How to get count of transaction entries in SM58 including all the status

    Hi,
    How can we get the count of total number of transactions present in SM58.
    Please help.
    Regards,
    Subbu

    I don't think there is a direct way of doing that. However, you can try running the same query from the selection criteria of SM58 on the ARFCSSTATE table.
    Try activating the SQL trace on ST05 (for your user), run the SM58 and click on "Execute". Stop the ST05 trace and display it. The same query performed by the transaction will be displayed there, allowing you to run it manually and check the number of records.

  • How to get status of a backup job

    Hello everybody,
    I scheduled our daily RMAN backup using the DBMS_SCHEDULER package. The DB job calls an external batch file which in turns calls rman's executable and passes it a command file containing the actual backup script. Similar to what's described here:
    Problems with automated RMAN Backup in Oracle 11GR1 with DBMS_SCHEDULER
    The backup works perfectly. The problem is that if I intentially corrupt the command file (simulating a backup failure) so that the backup fails, and then query the dba_scheduler_job_log view, I always get a status of SUCCEEDED. Regardless of the actual backup outcome, the job seems to always succeed. That's a problem for me, because I'd like to set up a user defined metric which would check the status of the job in dba_scheduler_job_log. If the job wasn't successfully executed, a mail would be sent.
    Does anybody know why the job doesn't fail when it should? I also tried to execute the failing script manually and then checked the %ERRORLEVEL% environment variable. It has a value of 1, meaning error.
    Btw, I know that if I schedule the same backup with Enterprise Manager's job system (instead of DBMS_SCHEDULER), the backup failure is correctly reported (and the metric works). The issue with EM is its limited scheduling capability - I do a full backup on Sunday, a cummulative incremental backup on Wednesday and all the other days a differential incremental backup. Since now I haven't found a way to define a schedule with an appropriate repeating interval. The only solution I figured out is to have 7 jobs, one for each day of the week....
    Thanks in advance for any answers,
    Jure

    Hi,
    @alanm: I completely forgot checking that view :-) Using it is a solution, but I should probably set up a job chain to handle that (run backup & chack status in the view afterwards)....if there isn't be another solution, maye I'll do that. But then, maybe using 7 EM jobs is a simpler solution.
    @RnR: I tried to execute the batch file manually from the command line like that:
    C:\>echo %errorlevel%
    0
    C:\>rman target / cmdfile=backup_full.rcv
    Recovery Manager: Release 10.2.0.3.0 - Production on Sre Jul 2 09:46:37 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: TESTDB (DBID=2890535676)
    RMAN> RUN
    2> {
    3> aa;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "allocate, alter, backup, beginline,
    blockrecover, catalog, change, copy, convert, crosscheck, configure, duplicate, debug, delete, exec
    ute, endinline, flashback, host, mount, open, plsql, recover, release, replicate, report, restore, r
    esync, set, setlimit, sql, switch, startup, shutdown, send, show, transport, validate"
    RMAN-01008: the bad identifier was: aa
    RMAN-01007: at line 3 column 1 file: backup_full.rcv
    C:\>echo %errorlevel%
    1
    So the if the script fails, I get an errorlevel of 1. Is it possible that the status isn't propagated back to the Oracle job?
    @alanm: I'm already appending to the log, but I don't see how can that affect the outcome status of the job?
    Thanks for your answers.
    Regards,
    Jure

  • How to get Status of Static Root of Trust in windows

    While implementing the static root of trust in windows system, how one can get the status of static root of trust??
    How one can do measurement of static root of trust in the system.

    Might also try them here.
    http://social.technet.microsoft.com/Forums/en-US/home?forum=mdopagpm%2Cmdopmbam&filter=alltypes&sort=lastpostdesc
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • How to get status of

    I'm using a table linked with a CachedRowSetDatasetProvider
    and I have to implement the following rule :
    "the column can be edited only if the row is being appended,
    else it will be display only"
    I want to dynamicaly change the representation of a column as follow
    - a staticText if the row is already commited in the database
    - a textfield if the row is just being appended
    Is there a way to know the status of the row
    In the past, the good old PowerBuilder provided a similar method to get the status of row inside a datawindow, the returned possible values were :
    New!, DataModified!, Deleted! ...
    Thanks a lot

    Hi There,
    Making the Table row editable only for the appended row is tricky!
    The simplest solution I can think of is to display the read only rows in a table , and have seperate fields to enter the appeneded rows!
    but take a look at this tutorial
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/inserts_updates_deletes.html
    Its hows you how to add,update, delete rows displayed from the database.
    Hope it helps, sorry for delayed response.
    K

  • How to get status of an rs232 connection

    Hi,
    I am trying to read out the status of on RS232 connection.
    How can I do this?
    Moreover would it be great to make the handshake visible! Is there a way that I can do that?
    I would like to make a program something like where I can push a button "connect", get the status that i am connected and then make it possible to send some data....
    I would really thank you if you can help me.
    Sincerely Tim

    The more fundamental problem is that except for an indication of whether or not it has been initialized and perhaps the number of bytes in the port buffer, a serial port doesn't have any sort of real status. RS232 communications simply isn't that sophisticated. For what it's worth, unless the device you are working with is very old, monitoring the handshake lines probibly won't tell you anything because most modern serial device don't use any handshaking.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to get status of a ScheduledTask

    <p>When someone cancels a running schedule manually from the GUI,that schedule is not listed by using the listJobStatus of theScheduler class.  Even in some cases a failed schedule doesn'tappear in in the list of ExecutionStatus that we get by using thelistJobStatus of the Scheduler class. How do I get the status ofScheduledTask in those cases. There is this getLastStatus method incom.sqribe.transformer.scheduling.ScheduledTask but that is hiddenby the api and I cannot use it.</p><p> </p><p>I need to get the status of a schedule that has started running,  to find out if it has suddenly stopped. If it comes in thelist given by listJobStatus of the Scheduler class, I can find findout, when it is not listed how do I find the status.</p>

    have a look at the workflow built-in vars:
    WF_ACTION_ERROR and WF_ACTION_RESULT or WF_CASE_RESULT
    WilfredS

  • How to get status of a sub process from the parent process.

    Hi,
    I want to get the status of a subprocess from the parent process (i.e. success or failure).
    How can I get this.
    Thanks in advance.
    Bye

    have a look at the workflow built-in vars:
    WF_ACTION_ERROR and WF_ACTION_RESULT or WF_CASE_RESULT
    WilfredS

Maybe you are looking for