Search for  BAPI to access it throw Java pro gramme

dear all
Iam search for a BAPI to be used in search for particular customer using one of its attribute wich is stored in kna1 table
and also search in its details stored in ADRC taple if possible.
and also BAPI for search for equipment using one of its attribute like serial number or sold to party .
which i can access it  in my   portal .
thank you

Hi Ahmed,
Have a look at the below link, some example bapi names are mentioned here -
http://www.sapfans.com/forums/viewtopic.php?p=648307
Also, there are no. of bapi's uses kna1 or adrc table so, you better search on specific requirement on sdn.com.
Regards,
Sen

Similar Messages

  • How to search for BAPI or FM for some requirement

    Hi,
    I have one requirement for a standard transaction. i want to search for a BAPI or FM.

    Hi Chandrika,
    go to transaction BAPI and there you can find the Function wise..
    or if you want you can search by alphabet wise.
    Or take the Pakage of the Standard transaction next go to se80-->enter Package and see the Function modules or BAPI's under
    the Package related to That.
    Prabhudas

  • Search for files by ACCESSED dates?

    Hi,
    I work in an art department that has a server full of advertisements, thousands of files, which are Illustrator and Photoshop files, TIFF and EPS files, and Freehand files. There hasn't been a good archive system in place here for years, so there's many needless files on the server that need to be archived.
    What I'm looking for is a way to search the ads folder on our server for files that haven't been accessed since a specified date (like two years). I don't mean last modified or created date, but accessed, because an ad in Illustrator may have a linked TIFF in it that was created or modified 5 years ago, but is still in use and accessed by Illustrator for ads currently running. I want to be able to archive the items that haven't been touched in a couple years without accidentally breaking links or having to do it manually through thousands of files.
    Is there no way in the Finder to do this?

    I don't have that many old files to play with it, but you can use the Finder's "Find…" to do a raw query of Spotlight's metadata. In the search terms, add a *Raw Query* type with something like *kMDItemLastUsedDate < $time.this_year(-2)* - this example will search for items with a last used date less than year 2005. The time and query syntax is explained a bit in [this developer document|http://developer.apple.com/documentation/Carbon/Conceptual/SpotlightQu ery/Concepts/QueryFormat.html#//apple_ref/doc/uid/TP40001849-CJBEJBHH].

  • Searching for bapi/function module for uploading assent numbers.

    hi all,
    i have a senario where in for a sinle PO there will be many assent nos.
    Example :if i have a single purchase order of 100 chairs.each chair will have a unique asset no for maintianence.
    i want to find a bapi or any FM to help me upload the details through XL-sheet, other than doing it manually,
    plz help ,points will be rewareded.
    regards,
    johnson

    Hi Try using the BAPI
    BAPI_PO_CHANGE, if you want to add the Asset numbers to the PO.
    BAPI_PO_CREATE1 - if you want to create

  • Search for a blank line

    how can i search for a blank line thru a java program??

    how can i search for a blank line thru a java
    program??You can use following code:
    BufferedReader reader = null;
    try{
    File file = new File("C:/temp/abc.txt");
    FileReader reader = new FileReader(file);
    BufferedReader reader = new BufferedReader(reader);
    String line = null;
    while( (line = reader.readLine()) != null ){
    if(line.trim().length() == 0){
    //Code for handling the blank line.
    } else {
    //Code for handling the line with content.
    } catch(IOExcepttion ioe) {
    ioe.printStackTrace();
    } finally{
    if(reader != null){
    try {
    reader.close();
    }catch(IOException io){
    System.out.println("Error occured while closing Reader");

  • Why opening from java the rpt search for a JNDI when it's setup for a DNS ?

    I downloaded CR for eclipse 2.
    All is 'quite' working froma a java app.
    i've only a problem with an 'jndi name search error'. I'll try to explain.
    In the RPT i use a DSN connection to a sql server into a differente machine. When I open directly the rpt, all is working.
    From java code, i'll open the report, but when i try to export  to pdf iit tell me about an error 'jndi name search error', with the name of the DSN connection i setup.
    Why? Why opening rpt all is working, but opening from code NOT is working ?
    What's the difference from two opening methods? Why an .rpt opened from java cannot just open the connection like when opened from cristal report !?
    *My question is: why opening from java the rpt search for a JNDI when it's setup for a DNS connection ?! *

    The .rpt has been originally created from an ancient version of Cristal report. probably the '8'.
    In an italian software called 'Business', the .rpt is populated for printing of invoices and similar docs.
    My society is trying to 'integrate' our software with the .rpt used from our customer.
    So we want simply open .rpt, add a new logo, set the selection for record and save as pdf.
    We so bought Cristal report 2008 (v.12 ), opened the .rpt, saved (so it 's now in a supported version).
    The sql server is located at 10.1.2.40, and is a Microsoft Sql Server.
    In my development pc I've installed Cr 12. I added a User DSN to point to Sql server at 10.1.2.40, at right DB with username and password. Opening from my development machine the .rpt and 'running' it, it display the data. Ok !
    I downloaded CR4 Eclipse 2.
    I open report using the unmanaged sdk. (to access it through file system, not via RAS), Ok.
    I set selection record. Ok.
    I execute .export with 'PDF' for format option and here I get an exception: the JNDI name 'CPR'  is not found. Where CPR is the DSN name setup into .rpt from Cristal Report 2008.
    So, no, i'm not trying to using the designer from Eclipse, but from the full application. But I must use the rpt at runtime to export some rendered records.
    What must I do to do this?
    CR4E only supports java based connections, so it is looking for the JDBC/JNDI name and won't look at the DSN's.
    How Can i setup at runtime a JDBC / JNDI connection ?
    I already have a 'connection' from my code to the sql server, using sqlserver jdbc driver v. 4 from microsoft. And executing query I see the results. So i have right driver, ip, db name, user name and password
    But is there a way to simply tell at runtime to my .rpt to use THIS connection? Or a similar connection...
    Thanks in advance for help provided to us. (we bought a CR license only for this work...)

  • Searching for a file in java

    What I am trying to do is not very uncommon. I want to open a file in it's default application (or at least in a common one.)
    Mainly I am currently thinking either HTML files or PDF's.
    What I was wondering is how to search for a file and get its directory path. For example I want to search for the file "Acrobat". In windows its directory is "C:\Program Files\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe"
    But I know in MAC or Unix the path could be very different. Not only that, but what if they did not use the default installation directory. I just want to find the path of a file by invoking a search. Is there currently any way to do this?
    I know I can open a JFileChooser and make the user search and find the program they wish to run it in, but that certainly is not very user friendly. I'd rather the program just searched for the proper application(s) and then called the exec() method to run the file in the program.
    Any help is appreciated.

    java.io.File provides a listRoots() method that returns all file system roots. So for Windoze you'd get 'A:/', 'B:/' 'C:/' ... etc.
    Unix you'd get '/' and so on.
    Now you can use other File methods to recursively scan the roots.
    Here's some (untried) code to get you going that searches for all java.exe found on all roots.
    import java.io.File;
    import java.util.Arrays;
    import java.io.FilenameFilter;
    import java.util.List;
    import java.io.IOException;
    public class FindIt {
      public FindIt () {
        File[] roots = File.listRoots();
        List list = new ArrayList();
        for (int i = 0; i < roots.length; i++) {
          scan(roots,list,new FilenameFilter(){
    public boolean accept(File file, String name) {
    return new File(file,name).isDirectory() ||
    name.equals("java.exe");
    public static void scan(File path,
    List list,
    FilenameFilter filter) throws IOException {
    // Get filtered files in the current path
    File[] files = path.listFiles(filter);
    // Process each filtered entry
    for (int i = 0; i < files.length; i++) {
    // recurse if the entry is a directory
    if (files[i].isDirectory()) {
    scan(files[i],list,filter);
    else {
    // add the filtered file to the list
    list.add(files[i]);
    } // for
    } // scan
    public static void main(String[] args) {
    new FindIt();
    You will run into problems with some roots as they will be removeable media (cd's diskettes) or network drives (potentially huge number of dirs to scan). So I do not recommend that you search on all roots, but a subset.
    Dave

  • Standard BAPI for creating groups in SAP using JAVA and JCO

    Hi,
    I have a requirement for creating user groups in SAP from java using JCO but i am unable to find the standard BAPI name to creating user groups.
    Can anyone let me know whats the bapi name for creating user groups in SAP?
    Thanks in advance,
    Ani

    Hi,
    I think you can search for it or you can create a thread at ABAP section.

  • Setting System DSN for MS Access Database using Java Code

    How to set the system DSN for Access database using Java Code at runtime....???
    Replies are deeply appreciated...

    I found a 3rd Party MS Access JDBC Driver from a Google search. I downloaded and tried the free trial version. It worked fine but we opted not to purchase the full version and went a different route. If you don't find it, let me know and I'll see if I can track down the name of the product we tested.

  • Search for Pattern using Java

    hello friends,
    I am trying to read a 'C' file and trying to look for all the lines in the 'C' cod, wherever a function call has happened. How could I do that ??
    Thanks
    ashu

    import java.io.*;
    import java.util.Scanner;
    import java.util.regex.Matcher;
    import java.util.regex.*;
    class FileParser{
        Scanner sc;
        FileParser(String fileName)throws FileNotFoundException{
         sc = new Scanner(new File(fileName));
        void getFunctions(){
         //sc.findInLine("([a-zA-Z]+) (\p{Punct})");
         sc.findInLine("");
         MatchResult result = sc.match();
         //for (int i=1; i<=result.groupCount(); i++)
            // System.out.println(result.group(i));//typo in API
         //System.out.println(result.group(1));
         //System.out.println(result.group(2));
        void getLoops(){
         //Search for patterns FOR, WHILE, DO-WHILE
         sc.findInLine("void");
         MatchResult result = sc.match();
         for (int i=0; i<=result.groupCount(); i++)
             System.out.println(result.group(i));
         /*     sc.findInLine("main");
         result = sc.match();
         for (int i=0; i<=result.groupCount(); i++)
             System.out.println(result.group(i));
         sc.findInLine("void");
         result = sc.match();
         for (int i=0; i<=result.groupCount(); i++)
             System.out.println(result.group(i));
        //Search for pattern FOR
        void getForLoops(){
        //Search for pattern WHILE
        void getWhileLoops(){
        //Search for pattern DO-WHILE
        void getDoWhileLoops(){
        //Search for Union
        //Search for Struct
    }I have added/deleted stuff to try all the different combinations. This class basically will have methods to ....
    1) Get a List of Function Calls with Line# in 'C' code
    2) Get a List of Loops with Line# in 'C' code
    import java.io.*;
    class TestScan{
        public static void main(String[] args)throws IOException{
         FileParser fp = new FileParser("main.c");
         //     fp.getFunctions();
         fp.getLoops();
    }Message was edited by:
    ashucool83

  • Why isn't my iTunes store loading properly? It lists everything in text without images, and I can't seem to access the store when I try to search for music or movies etc.

    Why isn't my iTunes store loading properly? It lists everything in text without images, and I can't seem to access the store when I try to search for music or movies etc.

    1) The best way to relocate the iTunes library folder is to move the entire iTunes folder with all subfolders to the new path, then press and hold down shift as start iTunes and keep holding until prompted to choose a library, then browse to the relocated folder and open the file iTunes Library.itl inside it.
    If you've done something different then provide some more details about what is where and I should be able to help.
    2) Purchases on the device should automatically transfer to a Purchased on <DeviceName> playlist, but it my depend a bit on whether automatic iCloud downloads are enabled. If there is a cloudy link then the transfer might not happen. You can use File > Devices > Transfer Purchases. In iTunes you should also check out iTunes Store > Quick Links > Purchased > Music > Not on this computer.
    3) Backup the device, then immediately restore it. In some cases you need to add a restore as new device into that equation. Obbviously not to be attempted until you're sure all your media is in your library. See Recover your iTunes library from your iPod or iOS device should it be needed.
    4) I believe there is complimentary 1 incident 90-day support with hardware purchases, but no free software support for iTunes itself. AppleCare gets you a different level of support.
    tt2

  • Any way to search for casts in java source code?

    Anyone know of a decent way to search your java source files to find all the casts?
    I ended up doing a simple text search for
         " = ("(quote marks not included) which works for my code because I am strict about writing my casts with spaces like
         String s = (String) iterator.next();Unfortunately, the above search has all kinds of problems with both false positives and negatives. It picks up lots of irrelevant lines like
         int index = (number > 0) ? 0 : 1;as well as misses casts that appear nested inside expressions like
         ((String) iter.next()).charAt(...)I suppose that one could do a regular expression search for any pair of open and close parens which bound non-blank text, but that would pick up even more non-cast expressions in typical java code.
    I think that the only way to properly do this is to have a tool which understands java syntax.
    Anyone know of an IDE which will do this? Does IntelliJ or Netbeans support this kind of search?
    In case you are wondering why I am interested in this, it is because I am refactoring some code to fully use generics, and searching for casts is one source of identifying candidates for genericity.

    cliffblob wrote:
    Better late than never?Yes!
    cliffblob wrote:
    ...The answer I found to ID unnecessary casts was, using Eclipse IDE, In compiler error and warning preferences to warn on unnecessary casts.Thanks for pointing IDEs out. I just opened IntelliJ, and going back to at least version 7.04 (maybe earlier) they have an inspection for "Redundant type cast".
    cliffblob wrote:
    I would still be interested to know if there is a way to identify casts in general in your source, perhaps now four years later there is a way?The only solutions that I can think of are either a complicated regex search, or you must use some tool like an IDE that understand Java syntax and can determine if a cast is happening.

  • In iTunes 11.0.2.26, an Albums search by track names returns albums as if they only have one track on them, but I still want to access the entire album. How can I have the search results show the entire album (with just the searched for name highlighted)?

    Hello, all.
    In iTunes 11.0.2.26, an Albums search by track names returns albums as if they only have one track on them, but I still want to access the entire album. How can I have the search results show the entire album (with just the searched for name highlighted)? For instance, I'm wanting to play an album with a particular track on it or I'm searching for albums that include that track. iTunes incorrectly assumes that all I'm after is that one track and then incorrectly displays the album as if there is only one ttrack on it. This is a bonkers default setting. Can I change this?

    Click the search magnifying glass and uncheck "Search entire library".
    Type in the name of the track.
    Click the album of interest to show tracks.
    Select the track.
    Press the X in the search box to clear the search.
    Double click the track you want to start playing first.
    tt2

  • How do i get rid of the pop ups that are constantly popping up on my mac. Everytime i search for  anything on google an ad for mac keeper comes up and every time i access Netflix another stream of ads pop up... Do i have a virus HELPPPPPP

    How do i get rid of the pop ups that are constantly popping up on my mac. Everytime i search for  anything on google an ad for mac keeper comes up and every time i access Netflix another stream of ads pop up... Do i have a virus HELPPPPPP

    You may have installed the "VSearch" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "com.vsearch.agent.plist" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot," "Trovi," or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    Reset the home page and default search engine in all the browsers, if it was changed.
    This trojan is distributed on illegal websites that traffic in pirated content. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that this Internet criminal has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • How do i search for a string in a txt file using java??

    How do i search for a string in a txt file using java??
    could you please help thanks
    J

    Regular expressinos work just fine, especially when
    searching for patterns. But they seem to be impying
    it's a specific group of characters they're looking
    for, and indexOf() is much faster than a regex.If he's reading from a file, the I/O time will likely swamp any performance hit that regex introduces. I think contains() (or indexOf() if he's not on 5.0 yet) is preferable to regex just because it's simpler. (And in the case of contains(), the name makes for a very clear, direct mapping between your intent and the code that realizes it.)

Maybe you are looking for

  • Looking for a remote access HDD drive...

    I was really wanting to get this until I realized that its for Windows only which kinda defeats the purpose. (http://www.wdc.com/en/products/products.asp?driveid=278&language=en) So do any of you guys know of any drive like this one that work with OS

  • Hard drive dead/Boot from external hard drive?

    My hard drive failed and I need a new one. For the time being, I'd prefer not to open up my iMac and replace the internal hard drive. I have an external USB hard drive and I cannot install OSX onto this drive (strangely, it takes the first disc but n

  • Table Interface / Web: value from free characteristic

    Hi, i am using 2 queries. In the first query i got the free characteristic "calendar year month". Now i created a link with table interface to jump to the second query. With this link i would like to filter query 2 with calendar year month from query

  • VHS to DV distortion

    I have an off the shelf VHS deck output to Canopus ADVC 110 to MacPro/FCP for capturing VHS tapes. Can someone suggest a method/hardware for eliminating the distortion I receive as seen in this link? http://www.tedean.com/ThomasDean/VHSDemo.html Than

  • I'm an IDIOT - How do I get new installed WD SCORPIO 320 gb drive WD3200BEKT SATA to work.?

    I have a T61 that has currently a 80 gb OEM drive. I went to best buy, ( Yeah, I know...) and bought a replacement drive. WD 3200BEKT SATA model "SCORPIO BLACK" (320 gb) Problem is when I put the drive in, it just spits out an error message: msg: - "