Getting list of all BSPs

Hello all,
I'm looking for an ABAP function that I can call from java that will bring me the list of all the BSP's in a certain system. does anyone know such a function?
Thanks in advance,
Tomer

Hi,
The DBTAB O2PAGDIR contains list of all BSP applications on server...might help you..
Regards,
Anubhav.

Similar Messages

  • Is there any FM or BAPI to get list of all sales orders

    Hello all,
            I have the requirement like below.
    Is there any FM if i Pass Drawing document no, type,part,revision level which gives
    the output list as.
    1) all sales orders, where the above drawing document no is attached to the materials
    and these materials are used as one of the lower level components in the Sales order BOM,
    I need to show all those sales orders along with SO number,item,Material,Plant and BOM Item no,
    2)all sales orders, where the above drawing document no is attached to the materials
    and the same material is one of the item in sales order.
    3)all sales orders, where the above drawing document no is used as one of the component in Sales order BOm's
    Addition of 1,2,3 will be the o/p.
    are there any FM or BAPI to get the above list.
    Basically the above report is concatenation of report outputs of t-code CSD5 and CS15.
    Awaiting reply.
    Thanks.

    Hi venkatesh,
       You can use the BAPI
    BAPISDORDER_GETDETAILEDLIST
    to get list of all sales orders.
    Here is a lik which provides you BAPI'S regarding everything.
    [http://www.saptechies.com/sap-bapi-list/]
    Hope this will help you.
    Regards,
    Pavan.

  • Getting list of all users present in SIM

    Hi,
    I would like to update all the users (attributes of users) in SIM .
    Right now I am thinking to get list of all users present in SIM and get the view of each user and then update the particular attribute and chekin the view. and imp point to note here is I am having around 100,000 users present in SIM.
    I am thinking there could be a better solution than this...
    But I do not know which way can be used to accomplish the task.
    Can any one reply immediately with any thought on this.
    Thanks in advance.

    Run a bulk update actions you can easily get a list of all accountids by running select name from userobj;
    and in your field or in your input area specify the values u wanna update

  • I want to get List of all active sessions in current system

    Hi experts
    How to get list of all active sessions in current system in any internal table along with details.
    A sample code wud be helpful
    Thanks in advance.

    try this code it might help u.
    Below report execution gets the active Session list to ABAP memory
    submit rsm04000_alv and return exporting list to memory.
    refresh: gt_listobj.
    Below FM get the List output from ABAP memory to gt_listobj in HEX
    call function 'LIST_FROM_MEMORY'
      tables
        listobject = gt_listobj
      exceptions
        not_found  = 1
        others     = 2.
    if sy-subrc <> 0. " Executed successfully ?
      message id sy-msgid type sy-msgty number sy-msgno
      with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    This FM converts ITAB gt_listobj from HEX to ASCII
    call function 'LIST_TO_ASCI'
      tables
        listasci           = it_list
        listobject         = gt_listobj
      exceptions
        empty_list         = 1
        list_index_invalid = 2
        others             = 3.
    if sy-subrc <> 0. " Executed successfully ?
      message id sy-msgid type sy-msgty number sy-msgno
      with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    This Shows the output in List format on screen
    call function 'REUSE_ALV_LIST_DISPLAY'
    exporting
       i_structure_name                  = 'line'
      tables
        t_outtab                          = it_list
    exceptions
       program_error                     = 1
       others                            = 2.
    if sy-subrc <> 0. " Executed successfully ?
    message id sy-msgid type sy-msgty number sy-msgno
             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.

  • FM to get list of all directories and files on application server..

    Hi All,
    Can anyone tel me FM to get list of all directories and files on application server..i know 'F4_DXFILENAME_TOPRECURSION'
    and '/SAPDMC/LSM_F4_SERVER_FILE' these are working too...but my requirement is when i click F4 i should get list of directories and whn i select one of these the only directory name should display.....and whn click again for 2nd text box field i want file name ...means directory name in one text box field and file name in another....plz help me out..
    helpful answers wil b awarded.
    Thanks,
    Jayshree

    Hi Jayashree
    Please check this FM, SUBST_GET_FILE_LIST. Pass the file path and file name, if it returns an entry in table FILE_LIST, then the filename and path are valid.
    Hope this helps !
    ~ Ranganath

  • Better way how to get list of all classpath URLs in runtime

    Hello everyone,
    How to get list of all classpath items (URLs) in runtime from Java code?
    I am aware of solution based on System.getProperty("java.class.path"). Is there any alternative?
    This solution has several drawbacks. You have to parse String output. And I not sure if it contains ALL resources (JARs, class directories) loaded by ClassLoader or just reflects -cp arguments.
    Does system property "java.class.path" contain ALL loaded JARs?
    Does it contain items (JARs, class directories) loaded by bootstrap classpath?
    What about JARs loaded in runtime?
    Is the separator ":" always same on all operation systems?
    I was looking for some Java API based solution, method like List<URL> getAllClasspathItems()
    But there is nothing like this in ClassLoader, Class, Runtime or System classes.
    For curious, here is code I use.
    String classpath = System.getProperty("java.class.path");
    StringTokenizer st = new StringTokenizer(classpath, ":");
    while (st.hasMoreElements()) {
         System.out.println(st.nextElement());
    }

    For curious, here are output prints for all 3 methods:
    1) parsing system property
    2) tschodt
    3) overcast SystemClassLoader to URLClassLoader
    /home/espinosa/workspace/jboss_embedded_test1/target/test-classes
    /home/espinosa/workspace/jboss_embedded_test1/target/classes
    /opt/javalibs/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar
    /opt/javalibs/javax/jms/jms/1.1/jms-1.1.jar
    /opt/javalibs/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
    package com.sun.org.apache.xerces.internal.impl.validation, Java Platform API Specification, version 1.6
    package com.thoughtworks.qdox.directorywalker
    package com.sun.org.apache.xerces.internal.parsers, Java Platform API Specification, version 1.6
    package java.util.jar, Java Platform API Specification, version 1.6
    package org.testng.internal.thread
    package com.sun.org.apache.xerces.internal.util, Java Platform API Specification, version 1.6
    package java.net, Java Platform API Specification, version 1.6
    package sun.reflect.misc, Java Platform API Specification, version 1.6
    package esp.ejb.samples1.test
    package sun.security.provider, Java Platform API Specification, version 1.
    file:/home/espinosa/workspace/jboss_embedded_test1/target/test-classes/
    file:/home/espinosa/workspace/jboss_embedded_test1/target/classes/
    file:/opt/javalibs/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar
    file:/opt/javalibs/javax/jms/jms/1.1/jms-1.1.jar
    file:/opt/javalibs/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
    ...Interestingly, method 1 and 3 gives the same list, same order, same count, just format of item is a little bit different. The order is same as in Eclipse .classpath file.
    Method 2 (tschodt) give significantly more items! rougly 3x! Different order (somewhat random it seems to me). Some items contain extra information, like version and string "Java Platform API Specification".
    It prints not absolute paths but logical Java names.

  • To get list of all the running applications

    Hi all,
    Hey can anyone tell me how i wil get list of all the running applications on windows using java?

    Cant it be done even using Runtime.exec()?Well, sure. Assuming there is a command-line program
    that does what you want. But then your question is
    "What can I run at the Windows command line to get a
    list of all the running applications?" and (I am sure
    you will agree) this is nothing at all to do with
    Java programming.
    I completely agree... I just find it amazing that this guy knows exactly what he wants to do but is unable to point a web browser to a search engine, type in what he wants to do the read the resulting pages.

  • How do I get list of 'ALL' Missing files?

    How do I get a list of all missing files?  I occasionally get a message that a certain file can't be found.  I know where they all are - on another drive.
    I don't want to just try to add all of the files onto the prime loactaion because It's likely that I will get a huge file of duplicate.  From past experience the duplicate feature in this programs is very poor.  I should mention that all files are from on own CD's & are without DRM.
    If I get the complete list  I can easily just copy missing files to main drive.
    Thanks in advance

    You can right click a folder and choose Synchronise - it has a Show Missing Files buttom.
    John

  • Getting List of all deployed applications thru WebService..

    Hello All,
    I want to get the list of all deployed applications and components thru webservice..
    How can I achieve the above requirement... any suggestions??
    Thanks & regards,
    Amol.

    Hi Anil,
    Thanks for the links..
    But I have already tried this.Will tell u what I have done..
    1)Created DC of type EJB. Added "com.sap.exception" and "tc/wd/webdynpro" as Used DC. So at the design time I am able to get the IWDDeployableObject APIs.
    2)Created DC for EAR. Added above EJB module and in the reference both the reference targets are mentioned. Out of which "com.sap.exception" is library reference while "tc/wd/webdynpro" is service reference..
    Now when I build the projects, both are built. But at the time of deploymeny it throws an error :
    java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/services/sal/deployment/api/IWDDeployableObject
    So I think I should create another DC of type external libray add those required JAR filed... as EJB container might not able to understand webdynpro service references..
    Is my understanding correct?
    Thanks,
    Amol

  • Getting list of all users and their group memberships from Active Directory

    Hi,
    I want to retrieve a list of all the users and their group memberships through JNDI from Active Directory. I am using the following code to achieve this:
    ==================
    import javax.naming.*;
    import java.util.Hashtable;
    import javax.naming.directory.*;
    public class GetUsersGroups{
         public static void main(String[] args){
              String[] attributeNames = {"memberOf"};
              //create an initial directory context
              Hashtable env = new Hashtable();
              env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
              env.put(Context.PROVIDER_URL, "ldap://172.19.1.32:389/");
              env.put(Context.SECURITY_AUTHENTICATION, "simple");
              env.put(Context.SECURITY_PRINCIPAL, "[email protected]");
              env.put(Context.SECURITY_CREDENTIALS, "p8admin");
              try {
                   // Create the initial directory context
                   DirContext ctx = new InitialDirContext(env);     
                   //get all the users list and their group memberships
                   NamingEnumeration contentsEnum = ctx.list("CN=Users,DC=filenetp8,DC=com");
                   while (contentsEnum.hasMore()){
                        NameClassPair ncp = (NameClassPair) contentsEnum.next();
                        String userName = ncp.getName();
                        System.out.println("User: "+userName);
                        try{
                             System.out.println("am here....1");
                             Attributes attrs = ctx.getAttributes(userName, attributeNames); // only asked for one attribute so only one should be returned
                             System.out.println("am here....2");
                             Attribute groupsAttribute = attrs.get(attributeNames[0]); // memberOf
                             System.out.println("-----"+groupsAttribute.size());
                             if (groupsAttribute != null){
                                  // memberOf is a multi valued attribute
                                  for (int i=0; i<groupsAttribute.size(); i++){
                                  // print out each group that user belongs to
                                  System.out.println("MemberOf: "+groupsAttribute.get(i));
                        }catch(NamingException ne){
                        // ignore for now
                   System.err.println("Problem encountered....0000:" + ne);
                   //get all the groups list
              } catch (NamingException e) {
              System.err.println("Problem encountered 1111:" + e);
    =================
    The following exception gets thrown at every user entry:
    User: CN=Administrator
    am here....1
    Problem encountered....0000:javax.naming.NamingException: [LDAP: error code 1 -
    000020D6: SvcErr: DSID-03100690, problem 5012 (DIR_ERROR), data 0
    ]; remaining name 'CN=Administrator'
    I think it gets thrown at this line in the code:
    Attributes attrs = ctx.getAttributes(userName, attributeNames);
    Any idea how to overcome this and where am I wrong?
    Thanks in advance,
    Regards.

    In this sentence:
    Attributes attrs = ctx.getAttributes(userName, attributeNames); // only asked for one attribute so only one should
    It seems Ok when I add "CN=Users,DC=filenetp8,DC=com" after userName, just as
    userName + ",CN=Users,DC=filenetp8,DC=com"
    But I still have some problem with it.
    Hope it will be useful for you.

  • How can i get list of all monitors and rules that assigned to a node ?

    Hello,
    We r using the scom 2012 sp1
    i need to get list of monitors and rules that have assigned to nodes.
    for example :
    nodename - type - name
    node1 - monitor - montiorname1
    node1 - monitor - monitorname2
    node1 - rule - rule1
    node1 - rule - rule2
    can i get this list by using sql or powershell script ?
    thanks

    Hi,
    Please refer to the link below:
    How to View All Rules and Monitors Running on an Agent-Managed Computer
    https://technet.microsoft.com/en-us/library/hh212748.aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Get list of all heads in PPOMA

    Hi,
    In mine BBP_PPOMA there are several Purchasing unit and their heads .
    I have requirement to get the list of all the heads of purchasing  unit and overall head of  PPOMA_BBP .
    I have an user and its head get using FM RH_GET_LEADING_POSITION .
    Is there any idea ?
    Any help will be appreciated ,
    Thanks,
    SS

    Hi
    Try this.
    <b>1) Use the Function module - BBPU_GET_MANAGER_FLAG inside your code to check if the user is a manager.</b>
    <u>2) Use FM BBP_OM_STRUC_GET_USER_FROM_POS to get users given a position.</u>
    <b>Other useful function modules -></b>
    <u>CRM_EMPLOYEE_GETORGUNIT
    HR_STRUC_GET_USER_FROM_ORGUNIT
    BBP_GET_ORGUNITS
    DWP_GET_RESPONSIBLE_ORGUNITS
    BBPU_GET_ORGUNIT_AND_COUNTRY
    BBPU_GET_USERS_OF_ORGUNIT</u>
    <u>Here are the few links you can go through -</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/84/0783f35c1e11d2b403006094b92d37/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/ee/8804050393ea4596330fe181092003/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/84/0783f35c1e11d2b403006094b92d37/frameset.htm
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • How to get - List of all the ad hoc reports in BO 5.1?

    Hi All,
    I want list of all the ad hoc reports in BO 5.1.
    Name of ad hoc report and user would be ideal.
    How can i get? Does anybody know how to get the list?
    Please help me.
    Thanks in advance!
    Amol Mali

    Wrong forum. Please mnove or reporst to Legacy forum:
    SAP BusinessObjects BI Legacy Products
    Ludek

  • How to get list of all sp farm solutions using powershell?

    is there any powershell script can list down all solutions deployed on farm in txt or cvs file?

    Thanks. but this is showing all features. I need only our custom developed features
    Get-SPFeature >> c:\temp\feature.txt
    Let me know how to get?

  • How to get list of all JSF beans

    How can one get a list of all JSF beans?
    To get a particular JSF bean one does
       static public Object findJSFBean(String beanName)
          FacesContext fc = FacesContext.getCurrentInstance();
          if (fc== null) return null;
          ELContext elContext = fc.getELContext();
          Application app = fc.getApplication();
          ELResolver elResolver = app.getELResolver();
          Object result = elResolver.getValue(elContext, null, beanName);
          return result;
       }Edited by: sn72 on Sep 2, 2008 5:49 PM

    sn72 wrote:
    Several ways:
    1) Store some key in the request scope indicating the "id" of the wizard.
    2) Use a single session scoped bean which references all related session scoped beans so that you have a single main point of reference.
    3) Consider conversation scope. Apache Orchestra and JBoss Seam have their solutions.1. Can you elaborate on this?On start of the wizard generate/assign some unique identifier which you pass to the next request everytime as a hidden parameter. Use this identifier to identify a separate 'wizard conversation scope'.
    2. Yeah, this might work. But I'd need to have a common entry point (such as overriding doPost of the default faces servlet) to destroy the wizard bean whose pages have ended, which means hardcoding page names in my java code. Also, my wizard would have to register itself in this map. That's why this solution seems very much like what I was asking for originally -- that is, the session bean has a list of all wizard beans in it.Just destroying the session bean at its own ought to be sufficient. E.g. externalContext.getSessionMap().put("managedBeanName", null); destroys the session scoped bean associated with the specified managed bean name.
    3. This is the ideal solution. Unfortunately, the documentation is not very good, and I could not find examples. Hopefully this will make its way into JSF 3.0.Can't help any much with this further.

Maybe you are looking for

  • Job Cancelled in SM37

    Hi all, Job is cancelled in sm37 daily from 7th december onwards. We have 4 process chains in our project and all the chains are ok when i am checking in RSPC,and the data is being loaded into the respective cubes and ods. The error message is like J

  • HDDVD authoring

    hi iam a newbie to HDDVD authoring in DVDSP, i planned to buy a new macpro and aja or decklink card for capturing the HD content, pls explain me the process involved in making the source for HDDVD. i have my HD source in D5 and also suggest a good HD

  • HT5052 there was a problem downloading the software for the iPhone

    Dear All How to solve this problem? Help me please, I can't to update to ios 5. Thanks,

  • Beginner CSS multiple stylesheet Question...

    Hi, I am a complete beginner. I've followed through the Dreamweaver beginner 'Check Magazine' tutorial to create a site and it's straghtforward. My site is small, a tourist guide, basically a three column/main image homepage like the tuotorial and th

  • Skip button not working

    As of yesterday I discovered that my forward skip button does not work. Does anyone know if this can be repaired?