How to identify which process is using PSA?

Hi all,
Does anybody know if there is some way to identify all infopackages in my environment that are using PSA?
Thanks in advance,
Silvio Messias.

Hi Guys, just to thanks you...
I have created this ABAP program... Enjoy...
*& Report  ZLIST_OF_IP_THAT_USE_PSA
REPORT  zlist_of_ip_that_use_psa.
  Data declaration
TABLES: rsldpsel, rsldpio.
TYPES: BEGIN OF ty_rsldpsel,
         logdpid       TYPE rslogdpid,
         objvers       TYPE rsobjvers,
         lnr           TYPE rsnrchar,
         ziel          TYPE rsziel,
         ziel_text(40) TYPE c,
         source        TYPE rsisource,
         logsys        TYPE rsslogsys,
         oltpsource    TYPE rsisource,
       END OF ty_rsldpsel,
       BEGIN OF ty_rsldpio,
         logdpid       TYPE rslogdpid,
         objvers       TYPE rsobjvers,
         source        TYPE rsisource,
         logsys        TYPE rsslogsys,
         oltpsource    TYPE rsisource,
       END OF ty_rsldpio.
DATA: l_is_rsldpsel TYPE STANDARD TABLE OF ty_rsldpsel,
      l_ih_rsldpio  TYPE HASHED   TABLE OF ty_rsldpio
                    WITH UNIQUE KEY logdpid objvers.
FIELD-SYMBOLS : <ls_rsldpsel> TYPE ty_rsldpsel,
                <ls_rsldpio>  TYPE ty_rsldpio.
RANGES: rg_ziel FOR rsldpsel-ziel.
Processing data...
PARAMETERS : psa_used AS CHECKBOX DEFAULT 'X'.
START-OF-SELECTION.
  PERFORM collect_data.
END-OF-SELECTION.
  PERFORM display.
*&      Form  COLLECT_DATA
      Collecting database information
FORM collect_data.
Valid range of ZIEL
  CLEAR: rg_ziel, rg_ziel[].
  rg_ziel-sign   = 'I'.
  rg_ziel-option = 'EQ'.
  rg_ziel-high   = space.
  rg_ziel-low    = 1.  APPEND rg_ziel.
  rg_ziel-low    = 2.  APPEND rg_ziel.
  rg_ziel-low    = 3.  APPEND rg_ziel.
  IF psa_used IS INITIAL.
    rg_ziel-low = 4.  APPEND rg_ziel.
  ENDIF.
Selection all INFOPACKAGES that are using PSA tables
  SELECT logdpid objvers lnr ziel
    INTO TABLE l_is_rsldpsel
    FROM rsldpsel
    WHERE objvers EQ 'A'
      AND ziel IN rg_ziel.
  IF sy-subrc EQ 0 AND l_is_rsldpsel[] IS NOT INITIAL.
    DELETE ADJACENT DUPLICATES FROM l_is_rsldpsel COMPARING logdpid.
Selecting data from RSLDPIO
    SELECT logdpid objvers source logsys oltpsource
       FROM rsldpio INTO TABLE l_ih_rsldpio
       FOR ALL ENTRIES IN l_is_rsldpsel
       WHERE logdpid EQ l_is_rsldpsel-logdpid
         AND objvers EQ l_is_rsldpsel-objvers.
  ENDIF.
  LOOP AT l_is_rsldpsel ASSIGNING <ls_rsldpsel>.
    CASE <ls_rsldpsel>-ziel.
      WHEN 1.
        <ls_rsldpsel>-ziel_text = 'Only PSA'.
      WHEN 2.
        <ls_rsldpsel>-ziel_text = 'PSA in parallel mode'.
      WHEN 3.
        <ls_rsldpsel>-ziel_text = 'PSA and after that to Infoprovider'.
      WHEN OTHERS.
        <ls_rsldpsel>-ziel_text = 'Directly to Infoprovider'.
    ENDCASE.
    READ TABLE l_ih_rsldpio ASSIGNING <ls_rsldpio>
    WITH TABLE KEY logdpid = <ls_rsldpsel>-logdpid
                   objvers = <ls_rsldpsel>-objvers.
    IF sy-subrc EQ 0 AND <ls_rsldpio> IS ASSIGNED.
      <ls_rsldpsel>-source     = <ls_rsldpio>-source.
      <ls_rsldpsel>-logsys     = <ls_rsldpio>-logsys.
      <ls_rsldpsel>-oltpsource = <ls_rsldpio>-oltpsource.
    ENDIF.
  ENDLOOP.
ENDFORM. " collect_data
*&      Form  DISPLAY
      Displaying database information
FORM display .
  TYPE-POOLS: slis.
  DATA: gt_fieldcat TYPE slis_t_fieldcat_alv,
        gs_layout   TYPE slis_layout_alv.
  PERFORM fieldcat_init USING gt_fieldcat[].
  PERFORM layout_init USING gs_layout.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      i_callback_program = 'Z_DB_ENTRIES_COUNTER'
      is_layout          = gs_layout
      it_fieldcat        = gt_fieldcat[]
    TABLES
      t_outtab           = l_is_rsldpsel.
ENDFORM.                    "DISPLAY
*&      Form  fieldcat_init
FORM fieldcat_init USING lt_fieldcat TYPE slis_t_fieldcat_alv.
  DATA: ls_fieldcat TYPE slis_fieldcat_alv.
  CLEAR ls_fieldcat.
  ls_fieldcat-fieldname    = 'LOGDPID'.
  ls_fieldcat-datatype     = 'C'.
  ls_fieldcat-seltext_l    = 'InfoPackage (ID)'.
  ls_fieldcat-seltext_m    = 'InfoPackage (ID)'.
  ls_fieldcat-seltext_s    = 'InfoPackage (ID)'.
  ls_fieldcat-reptext_ddic = 'InfoPackage (ID)'.
  ls_fieldcat-key          = 'X'.
  APPEND ls_fieldcat TO lt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-fieldname    = 'SOURCE'.
  ls_fieldcat-datatype     = 'C'.
  ls_fieldcat-seltext_l    = 'InfoSource'.
  ls_fieldcat-seltext_m    = 'InfoSource'.
  ls_fieldcat-seltext_s    = 'InfoSource'.
  ls_fieldcat-reptext_ddic = 'InfoSource'.
  ls_fieldcat-key          = ' '.
  APPEND ls_fieldcat TO lt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-fieldname    = 'LOGSYS'.
  ls_fieldcat-datatype     = 'C'.
  ls_fieldcat-seltext_l    = 'Source System'.
  ls_fieldcat-seltext_m    = 'Source System'.
  ls_fieldcat-seltext_s    = 'Source System'.
  ls_fieldcat-reptext_ddic = 'Source System'.
  ls_fieldcat-key          = ' '.
  APPEND ls_fieldcat TO lt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-fieldname    = 'OLTPSOURCE'.
  ls_fieldcat-datatype     = 'C'.
  ls_fieldcat-seltext_l    = 'Datasource'.
  ls_fieldcat-seltext_m    = 'OLTPSOURCE'.
  ls_fieldcat-seltext_s    = 'OLTPSOURCE'.
  ls_fieldcat-reptext_ddic = 'OLTPSOURCE'.
  ls_fieldcat-key          = ' '.
  APPEND ls_fieldcat TO lt_fieldcat.
  CLEAR ls_fieldcat.
  ls_fieldcat-fieldname    = 'ZIEL_TEXT'.
  ls_fieldcat-datatype     = 'C'.
  ls_fieldcat-seltext_l    = 'Type of processing'.
  ls_fieldcat-seltext_m    = 'Type of processing'.
  ls_fieldcat-seltext_s    = 'Type of processing'.
  ls_fieldcat-reptext_ddic = 'Type of processing'.
  ls_fieldcat-key          = ' '.
  APPEND ls_fieldcat TO lt_fieldcat.
ENDFORM.                    "fieldcat_init
*&      Form  layout_init
FORM layout_init USING ls_layout TYPE slis_layout_alv.
  ls_layout-zebra             = 'X'.
  ls_layout-colwidth_optimize = 'X'.
ENDFORM.                    "layout_i

Similar Messages

  • How to identify Which ports are using in RAC setup?

    Hi,
    how to identify Which ports are using in RAC setup?
    Thnaks,

    [Viewing Port Numbers and Access URLS|http://download.oracle.com/docs/cd/B19306_01/install.102/b14205/ports.htm#sthref1208]

  • How to identify which applicarion is using the DVD burner?

    How to identify which applicarion is using the DVD burner? Ot is not allow me to burn the DVDs genetrated in the Final Cut 7

    I think you'll find that the application is Final Cut Pro...  the message is bug.  I get a similar message when disconnecting external drives after using them with FCP (even when the project is no longer loaded.)
    As I mentioned above, the accepted workflow is to export the sequence to one of your hard drives using the Export>QuickTime Movie path with Settings:Current Settings and Make Movie Self-Contained checked like this:
    This gets you a high quality "master copy" which you open in Compressor for transcoding. You should use the DVD: Best Quality setting for the duration of your movie.
    this gets you the high quality MPEG-2 and AC-3 files for DVD Studio Pro authoring.
    If you've never used DVD Studio Pro before, you can use iDVD instead. For iDVD, you just drag and drop your "master" on iDVD and it takes it from there. Both make a very professional product.
    hope this helps.

  • How to determine which processes are using a module?

    I want to find out which processes are using a kernel module.
    However this info is shown neither with ``lsmod'' nor in
    /sys/modules/<mod_name>/.
    It's needed to reload certain modules which are acting buggy,
    in a bash script. Right now I just keep a list of processes which
    use the module and try to kill'em all, not exactly a beautiful
    solution.
    To work around it I compiled a kernel with
    ``CONFIG_MODULE_FORCE_UNLOAD=y'', however actually
    trying to unload anything with this results in an unstable system.
    Suggestions?

    After successfully syncing the configuration database I ran the configuration compliance job once more, however with the same (misleading) results. Cross-checking the configuration reveals that none of the devices marked as compliant are actually having the "ip helper-address" configured.
    Maybe it is something wrong with the input data I specified for the compliance template (ref step 1-6 in my first post)?
    Or maybe the Compliance Jobs arent the best ways to determine whether or not my devices are having the "ip helper-address" configuration defined?

  • How to identify which process in process chain executes in Batch and Dialog

    Hi, We want to identify which processes in process chain is running in Batch mode or Dialog mode. Is there any where we can identify this from any table or transaction. (Eg Loading, DTP loading, Attribute change run, deletion of index, deletion of overlapping request, AND process, ABAP program , Master Data loading, Full Load, Delta load, Hierarchy Save, Start Process).
    Regards
    Vishwanath

    Hi Vishwanth,
                      In Process Chain proces runs in background only.
    refer here......
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/7b/d4313b38bea774e10000000a114084/content.htm
    Thanks,
    Vijay.

  • How to identify which process Chain is Scheduled.

    Hi All,
    We have 20 Process Chains in our project.In SM37, i have checked the Scheduled Jobs in SM37 and found "BI_PROCESS_TRIGGER" job is triggered. How can i find which process Chain is scheduled out 20 Process Chains.
    Can i get the Process Chain Names from Tcode SM37.Or else, Do i need to check each process chain Start Time ?
    Pls suggest.
    Thanks,
    Jelina.

    Hi,
    Please refer
    /people/gianfranco.vallese/blog/2008/05/30/stop-boring-with-process-chain-monitoring-start-passive-monitoring
    https://wiki.sdn.sap.com/wiki/display/BI/Processchainscreationandmonitoring
    http://help.sap.com/saphelp_nw04/helpdata/en/39/2ade42fa712b78e10000000a155106/frameset.htm
    Hope this helps
    Regards
    Raj

  • How to identify which process belongs to particular instance of WLS running

    Hi,
    I have a simple question for which i couldn't find an answer. Suppose i have 6 instances of weblogic servers running on a Unix OS. I want to kill a particular instance using "kill" command. I do a "ps -ef | grep java" and find all the instances are point to the same jdk installation in the same directory. For Ex:
    root 17561 17557 0 17:07:32 pts/11 0:00 grep java
    root 6953 1 0 Feb 24 ? 1:35 /usr/java/bin/../bin/../jre/bin/../bin/sparc/native_threads/java -Dviper.fifo.p
    bea81 17258 1 0 Feb 23 ? 0:33 /opt/bea81sp3/jdk142_08/bin/java -client -Xms32m -Xmx200m -XX:MaxPermSize=128m
    bea81 150 1 0 Feb 22 ? 25:20 /opt/bea81sp3/jdk142_08/bin/java -server -XX:NewSize=300m -XX:MaxNewSize=300m -
    bea81 19 4 0 Feb 22 ? 1:29 /opt/bea81sp3/jdk142_08/bin/java -client -Xms32m -Xmx200m -XX:MaxPermSize=128m
    bea81 110 1 0 Feb 22 ? 1:44 /opt/bea81sp3/jdk142_08/bin/java -server -Xms32m -Xmx200m -XX:MaxPermSize=128m
    bea81 25692 25677 0 Feb 17 ? 0:09 /opt/bea81sp3/jdk142_08/bin/java -client -Xms32m -Xmx200m -Xverify:none -Djava.
    How do i identify the right instance i need to kill for a particular domain? Is there any specific unix command?
    Any help will be appreciated
    Megabyte

    mega byet schrieb:
    Hi,
    I have a simple question for which i couldn't find an answer. Suppose i have 6 instances of weblogic servers running on a Unix OS. I want to kill a particular instance using "kill" command. I do a "ps -ef | grep java" and find all the instances are point to the same jdk installation in the same directory. For Ex:
    root 17561 17557 0 17:07:32 pts/11 0:00 grep java
    root 6953 1 0 Feb 24 ? 1:35 /usr/java/bin/../bin/../jre/bin/../bin/sparc/native_threads/java -Dviper.fifo.p
    bea81 17258 1 0 Feb 23 ? 0:33 /opt/bea81sp3/jdk142_08/bin/java -client -Xms32m -Xmx200m -XX:MaxPermSize=128m
    bea81 150 1 0 Feb 22 ? 25:20 /opt/bea81sp3/jdk142_08/bin/java -server -XX:NewSize=300m -XX:MaxNewSize=300m -
    bea81 19 4 0 Feb 22 ? 1:29 /opt/bea81sp3/jdk142_08/bin/java -client -Xms32m -Xmx200m -XX:MaxPermSize=128m
    bea81 110 1 0 Feb 22 ? 1:44 /opt/bea81sp3/jdk142_08/bin/java -server -Xms32m -Xmx200m -XX:MaxPermSize=128m
    bea81 25692 25677 0 Feb 17 ? 0:09 /opt/bea81sp3/jdk142_08/bin/java -client -Xms32m -Xmx200m -Xverify:none -Djava.
    How do i identify the right instance i need to kill for a particular domain? Is there any specific unix command?
    Any help will be appreciated
    MegabyteI think, that You know the port using the instance. With
    "lsof -i TCP:XXXX" You can figure out the PID of the java-prozess.
    Regards Ruedi :-)

  • How to identify the Process chain for infopackage in 3.5?

    Hi all,
    I am currently working on bw 3.5? I can see couple of info packages created in the production scheduled through process chain.
    How to identify which process chain is scheduling those infopackages?
    for instance :
    customer master is loaded through a process chain.
    I knew the info package name but i dunno what process chain is scheduling that customer master?
    Can anyone help me on this!!
    Thanks
    Pooja

    Hi,
    There are two ways:
    1. When you open that info-package on the top you'll see an icon for Process Chain Maintenance, just click on that and it will take you to the process chain.
    2.Goto table -> RSPCCHAIN and enter the info package name in process variant ,  then it will show you all the process chains used under the IP
    Hope this helps.
    thanks,
    rahul

  • How do I troubleshoot installation/distribution of a LabVIEW .exe which processes data using Matlab when it works on some computers but not others?

    I've been given the unenviable task of troubleshooting and installing/distributing software written by a former co-worker. I've modified the LabVIEW code and built an .exe file. I've successfully installed the Labview .exe file on several computers, but it won't work on some others. What's more baffling is that I installed it successfully on one computer, uninstalled it, and tried reinstalling it with no success. In fact, it's a new error (Dr. Watson for Windows NT application error). It doesn't help that I have different versions of LabVIEW and Matlab on the target computers. Some have LabVIEW 5.1, some
    have 5.0, and some don't have it at all. Some have Matlab 5.2, some have 5.3 (R11) and some have 6.0 (R12). It's also not clear to me where the Matlab m files should be located. I'm not sure if it's a LabVIEW Runtime Engine problem, or if it's a Matlab problem. I've also wondered how LabVIEW and Matlab talk to each other. When LabVIEW calls Matlab, it seems that Matlab is running in the background. In other words, clicking on the Matlab Command Window and typing "whos" or any other command/variable doesn't work.

    Jay del Rosario wrote:
    >
    > How do I troubleshoot installation/distribution of a LabVIEW .exe
    > which processes data using Matlab when it works on some computers but
    > not others?
    Poke around zone.ni.com and
    http://digital.natinst.com/public.nsf/$$Search/ .
    Good luck, Mark

  • How to identify Which function modules are used in the planning area?

    Hi all,
    there are couple of function module derviation is used to derive the calendar year, month, fiscal period etc.
    But how to identify which function module is used in which planning area?
    I cant find out from the where used list from function modules?
    Thanks
    pooja

    Hi Pooja,
    Go to characteristic relationship tab,click on detail icon on extreme left of the derivation,there you will get the name and the details of function module used for derivation.
    Regards,
    Indu

  • SID Generation Failed : How to identify which record in PSA

    Hello guys,
    I have a DSO where the SID Generation has failed for about 4 records due to lower case letters. I would want to fix that in PSA.
    How do I identify which record/package in PSA to change it. I have about 11,50,000 records. The DSO activation log gives you the error but doesnot give any information on which record or the key of the record.
    Is there a way to identify the packet id and the record no. in PSA which has this problem so I can fix it. Its literally impossible to find out because each package in my PSA has about 40 - 50 thousand  records.
    Any help would be rewarded.
    Thanks,
    KK

    Hi.......
    Go to the display message of the DSO activation step..........Right click display message........there it will give you which master data...........which packets......
    Also you can go to the IP monitor..........in the details tab.........there is one tab comes ODS activation........click on that...........there also you will be able to find the errorneous data packets.........
    Regards,
    Debjani........

  • How to identify which root certificate is used?

    How to identify which root certificate(on terminal) is used when a terminal is connecting to a https website?
    SecurityInfo.getServerCertificate() only returns the certificate send from the https server.
    But how could know the which local root certificate is used to verify the certificate send from the https server?
    Is there a method or class in MIDP 2.1?
    Thanks

    UP�Cthis question is urgent. Hope anyone can answer me!

  • How to identify which is rootsite/webapplication url and which are site collection url ?

    How to identify which is rootsite/webapplication url and which are site collection url underneath of web application using powershell script in following code?
    # Get site objects
    $webapplication = Get-SPWebApplication $siteUrl
    # Walk through each site in the site collection
    foreach($site in $webapplication.Sites)
    foreach($subWeb in $site.AllWebs)
    $_ = AddLevel123($subWeb.Url)

    Hi,
    Hope you wanted to know which API is Site collection (SPSite) and Sub site(SPWeb) 
    $webapplication.Sites = Site Collection (SPSite)
    and $site.AllWebs = Subsite (SPWeb)
    and see these links - to get webApplication URL
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/e223b607-ab35-454a-a050-1db3005687e5/spwebapplication-url?forum=sharepointdevelopmentlegacy
    SPSite Url - SPSite.Url (http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spsite.url.aspx)
    SPweb URl - SPWeb.URL (http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spweb.url.aspx)
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b4dfb645-69f4-4abd-947c-64ca42af3a26/script-to-get-list-of-sites-and-subsites
    Hope this helps!
    MCITP: SharePoint 2010 Administrator
    MCTS - MOSS 2007 Configuring, .NET 2.0
    | SharePoint Architect | Evangelist |
    http://www.sharepointdeveloper.in/
    http://ramakrishnaraja.blogspot.com/

  • How to identify which key figure will the numeric pointer for deltas?

    Hi All,
    I have created a numeric pointer for generic extraction ? but how to identify which key figure will the numeric pointer will use for deltas ?
    how to identify the key figures which is suitable for numeric pointer. And the generic extraction is based upon the copa table?
    Can anyone suggest me how the numeric pointer works and how to identify deltas are carried out at numeric pointer?
    Thanks
    Pooja

    Pooja,
    If you are using a generic extractor which is based on COPA table, then numeric pointer may not be the suggested delta extraction mechanism. 
    A time stamp would be the better one to use.  In a time stamp, you can give a lower limit value of 300 seconds.. so that it will try to fetch the missed records.
    Moreover, a delta would be based on a character, preferably a time char.
    In your requirement, try to figure out the character on whichdeltas will be based.
    Sasi

  • How to identify which record(s) the user hasbeen checked

    i have a internal table in which first field is represented as check box in the output .
    like bellow
      loop at g_it_final into g_wa_final.
            write : 5 sy-tabix ,
                   20 g_wa_final-g_v_check as checkbox,
                   25 g_wa_final-TRKORR,
                   40 g_wa_final-AS4TEXT.
      endloop.
    now the user will select some records from the output checking the check box
    NOW the QUESTION is
    how to identify which record(s) the user hasbeen checked(selected) ?
    so that i can disply only the selected records in the secondary list.

    Hi,
    You will have to use the 'READ LINE' command within a loop to retrieve the data back into your program.
    You may want to use the HIDE command to ease the retrieval of the checkbox value.
    Check out the online help for both of these.
    Darren

Maybe you are looking for