Program Name in Sessions

Hi,
When I use the Session Manager in my DBA tool, I see the sessions for my Raptor login, but they are hard to identify because the Program column is NULL. Is there a reason why Raptor is not setting the Program name at login? Can this be fixed, so that as a DBA I can identify the Raptor Sessions?
thanks
-Niels

Yes, I logged this the other day
Barry

Similar Messages

  • BDC session's program name

    Can anybody tell me the way so that i can find out which program has created the BDC session? I looked into APQI table but the PROGID field is blank. Is there any other way to find out the Program's name of BDC session?

    I am able to see here. I do not understand why you are not able to see that.
    Ok, try this, In the list of sessions displayed -> <b>double click the session</b> that an error (i.e. <b>Transaction Ended with errors).</b>
    Then it will take you to another screen, here you choose the <b>Screens tab</b>.
    You can find the program name here.
    Regards
    Kathirvel

  • To find program name by using session ID or name?

    Hi,
    I need to find the program name which created the bdc session( SM35) by using the session name or Session ID.How can that be done?
    Will that be stored in some table?
    Regards,
    Pooja.

    I think if the KEEP = ' ' in BDC_OPEN_GROUP FM, the session gets cleared from SM35, so for that sessions PROGID will be blank.
    So in BDC program parameter KEEP = space, PROGID in APQI table will be blank.
    correct me if i am wrong.

  • How to find the logins,program name and databases for a session id?

    I used the following the following query.
    select pr.spid ,pr.dbid,pr.program_name,pr.loginame,ss.session_id,ss.host_name,ss.login_time,db.name from master.dbo.sysprocesses pr,sys.dm_exec_sessions ss,sys.databases db
    where pr.spid = ss.session_id and pr.dbid = db.database_id
    order by ss.login_time desc
    Is spid in master.dbo.sysprocesses the same as session_id in sys.dm_exec_sessions and dbid in master.dbo.sysprocesses the same as database_id in sys.databases?
    My intention is to get the active sessions with the program name,login Name and database name corresponding to the session?

    1)Why you included the clause session_id > 50?
    Sessions with session_id <= 50 are system processes.
    2)Is there any problem with the query I used?
    You query was better than Latheesh's. To wit, his query will only show the database for sessions who are actually running something.
    On SQL 2005 and SQL 2008, this is the best solution:
    SELECT  des.session_id, des.[status], des.login_name,
            d.name AS database_name, des.program_name
    FROM    sys.dm_exec_sessions des
    JOIN    sys.sysprocesses p ON des.session_id = p.spid
    LEFT JOIN sys.databases d ON p.dbid = d.database_id
    WHERE   des.session_id > 50
      AND   p.ecid =0
    ORDER BY des.session_id;
    The condition p.ecid = 0 is needed to weed out extra rows when there are parallism in force.
    On SQL 2012, you don't need sysprocesses, but this works:
    SELECT  des.session_id, des.[status], des.login_name,
            d.name AS database_name, des.program_name
    FROM    sys.dm_exec_sessions des
    LEFT JOIN sys.databases d ON des.database_id = d.database_id
    WHERE   des.session_id > 50
    ORDER BY des.session_id;
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Getting program name by process id

    Hi,
    I need to get the name of the program running a session using as parameter the process id, what views do I have to join to get this information.
    I've tried to use
    SELECT * FROM V$SESSION WHERE PROCESS = '10574'
    but it doesn't work.
    Thanks.

    Thanks, it works!.
    select a.program from v$session a, v$process b
    where a.PADDR = b.ADDR
    and b.spid = 10574

  • Calling program name.

    I have called a program A from many programs say B and C.
    In the the called program B, I have to find from which program it has been called either B or C?
    Is there any systenm field or way to find out?

    Check with :
    SY-CALLD
    X if the program was started using CALL TRANSACTION, CALL DIALOG, or SUBMIT … [AND RETURN]. Space if the program was started using LEAVE TO TRANSACTION or using a transaction code from a screen. SY-CALLD is always space when a batch input session is being processed.
    SY-CPROG
    The name of the calling program in an external routine, otherwise the name of the current program.
    I guess if want to have calling program then you need pass the program name expliciltly in perform routine
    any way check with below link:
    http://help.sap.com/saphelp_46c/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm
    To find out at runtime if a program is running as a called program, use the system variable sy-calld
    Thanks
    Seshu
    Message was edited by:
            Seshu Maramreddy
    Message was edited by:
            Seshu Maramreddy

  • F110 : program name of posting cleared document during F110

    Dear all,
    I need to figure out the "PAYMENT DOCUMENT SPLITTING" issue after F110 via debugging.
    I believe the main program for F110 is SAPF110V and SAPF110S is the program handle the posting. However, after I put the break point in  SUBMIT SAPF110S AND RETURN in SAPF110V, then do step by step debug. Debugging doesn't go to SAPF110S. I am not sure what's wrong.
    Can anyone tell me the program name that post cleared document during F110 processing?
    Thank you very much for help in advance!!
    Molly
    Edited by: Molly Li on Jan 26, 2008 2:41 PM

    Hi Sruthy
      I guess you have missed populating field STYPE in each of the records which identifies the actual structure.
      Below is how you have to pass for them:
    <b>Struc --> Value
    BGR00 --> 0
    BBKPF --> 1
    BBSEG --> 2</b>
    Kind Regards
    Eswar

  • SQL Report Program Name Status

    I have this report that I need to modify. The problem here is that some of our deployments uses the same program/package but different advertisement. For example, I have package "ABC version 1" with program name "Install ABC version 1".
    For this particular package I have two advertisement namely "Deployment A - ABC" and "Deployment B - ABC". Now when I run the report below I am encountering the error:
    Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression
    I am encountering this error since I have two advertisement for a particular package/program. Is there a way I can use array on this report and how do I achieve this?
    declare @Total int
    declare @Accepted int
    declare @AdvertID char(20)
    --declare @OUname char(150)
    set @AdvertID = (SELECT AdvertisementID FROM v_Advertisement WHERE ProgramName = @PckName)
    select @Total=count(*), @Accepted=sum(case LastState when 0 then 0 else 1 end)
    from v_ClientAdvertisementStatus
    join v_RA_System_SystemOUName ou with (NOLOCK) on ou.ResourceID=v_ClientAdvertisementStatus.ResourceID
    where AdvertisementID=@AdvertID and ou.System_OU_Name0 = @OUname
    select LastAcceptanceStateName as C013, count(*) as C015,
          ROUND(100.0*count(*)/@Total,1) as C016, AdvertisementID, @OUname as AD_OU
    from v_ClientAdvertisementStatus
    join v_RA_System_SystemOUName ou with (NOLOCK) on ou.ResourceID=v_ClientAdvertisementStatus.ResourceID
    where AdvertisementID=@AdvertID and ou.System_OU_Name0 = @OUname
    group by LastAcceptanceStateName, AdvertisementID
    select LastStateName as C017, count(*) as C015,
           ROUND(100.0*count(*)/@Accepted,1)  as C016, AdvertisementID, @OUname as AD_OU
    from v_ClientAdvertisementStatus
    join v_RA_System_SystemOUName ou with (NOLOCK) on ou.ResourceID=v_ClientAdvertisementStatus.ResourceID
    where AdvertisementID=@AdvertID and LastState!=0 and ou.System_OU_Name0 = @OUname
    group by LastStateName, AdvertisementID

    set @AdvertID = (SELECT AdvertisementID FROM v_Advertisement WHERE ProgramName = @PckName)
    Haven't tried running the query, but it seems as if this line might return more than one row which then will cause "where
    AdvertisementID=@AdvertID" to fail. You could use the "having" clause instead:
    http://technet.microsoft.com/de-de/library/ms180199.aspx or "where AdvertisementID in (SELECT AdvertisementID FROM v_Advertisement WHERE ProgramName = @PckName)".
    Torsten Meringer | http://www.mssccmfaq.de

  • How to find Transaction code from Report/program name ?

    Dear all,
    How to find Transaction code if i know Report/program name ?

    Hi,
    In se 38 when u open ur program,in the application toolbar u have a button beside the where-used list button as display object list.on clicking this button,a window will be opened at the left most corner for repository browser,in this u can find any tranasctions,fileds,screens,dictionary structures defined for the program.
    if any transaction is created for the program u can find it under the transaction folder.
    revert back for further queries.
    Regards,
    Sravanthi

  • Driver program name

    hi all
    is there any other way of determining the driver program name for a script/smart form apart from the table tnapr?
    regards
    niki

    Hi..
    1) goto NACE transaction.
    2) select the module of the form...i.e. PO/SD/etc
    3) select the output type option
    4) from the list ,select the name of ur form/script.
    5) check out the processing routine,that will give the driver program name
    Reward Pts if helpful.
    regards
    - Rishika Bawa

  • Driver program name for script j_1i_57f4 challan

    hi .... plz i needed driver program name for delivery challan script : J_1I_57F4 . i tried to find it but since the output is displayed only from sp02 im unable to get its driver program name . i have to add certain fields in that form and corresponding logic in that form .
    thanks and regards .

    hi
    If u check the TNAPR table u will get the Driver Program as J_1I57FPN  , allu have to do is to Activate the SAP SCRIPT DEBUGGGER   and check the values  and also in the driver program above and check whihc values are coming and not.
    surya

  • Print program name for the dunning form F150_FR_DUNN_01 in sapscript

    Hi,
          I am not getting the exact print program name for the dunning form F150_FR_DUNN_01 in sapscript. After an extensive search I have come across few names of print program like SAPF150D2 and SAPLF150. But still I am not understanding which one to use for the form and also how to use it. I am unable to understand which include I should use to write my code.
    Kindly help me.
    Thanking you.
    Pujarini Patra

    Hi,
    Yes, you should be able to assign F150_FR_DUNN_01 in Dunning Forms customizing:
    and yes, I too would absolutely try to go for either a Smartform or even a PDF Form (if i'd have all the necessary setup for them, like Adobe Document Services, in the system already). I have Basis 702 SP  0011and FINBASIS 600 SP 0021, so all the following technicalities refer to those releases:
    The corresponding SAP sample Forms are:
    - F150_DUNN_SF for Smartform; and
    - F150_DUNN_SF for pdf Form (don't let the name confuse you )
    I'm not entirely sure if it's a good idea to try to convert/migrate Sapscript to Smartform and the Smartform to PDF Form - have never done that  myself and don't know how good/usable the migration result is. I just take the interface of Smartform from SAP and do the rest from scratch or by copying over the common parts of our existing custom forms.
    There are the SAP Standard wrapper FMs for SF and PDF forms already in the System:
    - FI_PRINT_DUNNING_NOTICE_SMARTF calling PRINT_DUNNING_NOTICE_SF and
    - FI_PRINT_DUNNING_NOTICE_PDF calling PRINT_DUNNING_NOTICE_PDF.
    So, theoretically, all you had to do to replace SapScripts (or even to enable all three form types) is to assign a custom BTE Event handler FM to event 1720 (for correct Application), which could detect, what type of form is assigned in Customizing and call the corresponding wrapper FM.
    As a sample for coding PDF form wrapper call one could take FI_PSO_EVENT_00001720_PDF (if you have IS-PS) in the system. I'd take out the IS-PS specific "business logic" like posting dunning charges (if it does not apply to my solution) and add the logic to decide, which wrapper to call.
    The confusing part about the customizing (Table T047E) to me is that there seems to be no form type defined anywhere in there... just the FORNR field for form name, which should apparently take the names of all three form types... I'd  try to extend that table with custom Form type field and try to regenerate Table Maintenance dialog for  view Cluster VC_T047_F... That would save the whole effort to try to detect the type for  form assigned...
    Another tip, in case you didn't know it already: you should be able to see all the Customizing paths, where T047E is involved, when you enter table name in SM30 and press "Customizing" and then "Continue w/o Specifying Project":
    The selected entry is the one you are looking for to assing your custom forms, I believe.
    cheers
    Janis

  • Object Custom Program Name of class RE and language EN does not exist

    Hi All,
             We are getting this bbelow error while running a custome program ,
    Object <Custom Program Name> of class RE and language EN does not exist
    Do any one has faced this similar issue earlier.
    Regards,
    Sen

    Hi,
    How did you resolve this problem ?
    Re: Object <Custom Program Name> of class RE and language EN does not exist.
    I am also encountering the same issue when I am executing the report.
    Regards,
    SSR.

  • How to find programs' names those were created by me in a specific period?

    for example
    the input parameters are:
    programmer: sy-uname
    begda: 2007.01.01
    endda: 2007.02.01
    the outcome will list all the programs' names including webdynpro component which was created by me.
    is there a table have those entries in the system?
    thanks a lot.

    Hi,
    Use the Below logic, Enter the required fields it will diplay all the programs and web dynpro components that are created.
    TABLES: trdir,
       wdy_component.
    SELECT-OPTIONS:p_name FOR trdir-name,
             p_wname FOR wdy_component-component_name,
             p_cdat FOR trdir-cdat.
    PARAMETERS:
                p_author TYPE trdir-unam OBLIGATORY,
                p_udat TYPE trdir-udat,
                p_subc TYPE trdir-subc OBLIGATORY.
    DATA: t_trdir LIKE STANDARD TABLE OF trdir.
    DATA: t_wcomponent LIKE STANDARD TABLE OF wdy_component.
    *SELECT * FROM trdir UP TO 5 ROWS INTO TABLE t_trdir*
      WHERE cnam = p_author AND
            subc = p_subc AND
            name IN p_name AND
           cdat BETWEEN p_cdat-low AND p_cdat-high .
    *SELECT * FROM wdy_component UP TO 5 ROWS INTO TABLE t_wcomponent*
      WHERE author = p_author
      AND component_name IN p_wname
      AND createdon BETWEEN p_cdat-low AND p_cdat-high.
    LOOP AT t_trdir INTO trdir .
      WRITE:/   trdir-name,
             30 trdir-cdat,
             45 trdir-unam,
             55 trdir-udat,
             67 trdir-subc.
    ENDLOOP.
    ULINE.
    LOOP AT t_wcomponent INTO wdy_component.
      WRITE: / wdy_component-component_name,
            30 wdy_component-createdon,
            45 wdy_component-author,
            55 wdy_component-changedby.
    ENDLOOP.

  • Why itunes 10.5 64 bit wont install on my 64bit hp probook ? when i run it my user account control asks me that do you want the following program from unknown purblisher to make changes on you on this computer?  program name :itunes 64setup.exe  purblishe

    why itunes 10.5 64 bit wont install on my 64bit hp probook ? when i run it my user account control asks me that do you want the following program from unknown purblisher to make changes on you on this computer?
    program name :itunes 64setup.exe
    purblisher:unknow
    file location: hard drive on this computer when i click yes nothing happens
    aditional ateps iv taken, uninstalled all itunes including quick time,banjour mobile updates ,everthing that has to do with apple products.went into window regestry and i dint find anything that has to do with apple in software bar
    restarted my laptop several times, put the setup on a External USB but still nothing happens ,blowsed all most all sites on goggle no where iv seen this problem ,pliz who can help?

    why itunes 10.5 64 bit wont install on my 64bit hp probook ? when i run it my user account control asks me that do you want the following program from unknown purblisher to make changes on you on this computer?
    program name :itunes 64setup.exe
    purblisher:unknow
    file location: hard drive on this computer when i click yes nothing happens
    aditional ateps iv taken, uninstalled all itunes including quick time,banjour mobile updates ,everthing that has to do with apple products.went into window regestry and i dint find anything that has to do with apple in software bar
    restarted my laptop several times, put the setup on a External USB but still nothing happens ,blowsed all most all sites on goggle no where iv seen this problem ,pliz who can help?

Maybe you are looking for

  • Is there a way to get an iPad to play one audio track and stop.

    Is there a way to get an iPad to play one audio track and stop. I work in education and particularly music. Teachers are looking to create a playlist of selected track but only want the selected track to play then stop. This allows them to talk to th

  • Xorg 6.8 + virtual terminal no go [solved]

    upgrading to xorg 6.8 and can switch to virtual terminal (ctl-alt+f not working) when xsession is open . solution : the problem related to srvrkeys:none for some reason in the xorg 6.8 the effect of this option is changed in few aspects.

  • Adobe Download Assistant - Adobe Premiere Elements 11

    Adobe Download Assistant will not allow the selection of Premiere Elements 11 in English to download.  How do I get the trial version?

  • How to validate a date item  "DD/MM/YYYY HH24:MI" ?

    Hi, I want to create a validation item. I have a date item usinhg this mask : "DD/MM/YYYY HH24:MI". I want to validate if a date entered according to this syntax "DD/MM/YYYY HH24:MI" Unfortunately APEX gives me only the choice to validate if a date i

  • Alert!  Newbie question

    I am going to be uploading streaming flv video from a home server. I need to know: Is xserve the way to go? I'd like to avoid a host server...any other mac-compatible servers that anyone has had good luck with?? I don't want progressive video uploads