SAP Database

Hi experts, How to make enter to SAP database and with querys SQL make reports? Is possible? How to make integration to softwares, of the reports, for example Ireports, CrystalReports? Tanks

Hi,
Ya sap has its own database called sapdb which now called maxdb.
http://www.sapdb.org/
About SAP MaxDB [original link is broken]
Reward if useful
Thanks,
Srinivas

Similar Messages

  • How to upload the data from XML file to SAP database using IDOC

    Hi,
    I need some steps  to upload  data from XML format file from other directory to SAP database using IDOC.
    how to approch this please if any one knows give me ans
    it will be a great help ful to me
    Thanks in Advance
    Mallik

    Thank you vijay,
    But i heard that by using this Fun modules, when we are passing IDOC in back ground schedule,  so some other depended FM not supporting, so how to approach this and how to avoid this problem. 
    Have you worked on this before if any one worked on this please help me out
    And thank you once again for your valuable information
    Best Regards
    Mallik

  • How to retrieve the data from SAP database.

    Hi Pals,
    How to retrieve data from SAP R/3 System to my third party software. I will make my query little bit more clear. There is a list of assets entered and stored in the SAP system. For example 3 mobile phones.
    1) Mobile 1- Nokia
    2) Mobile 2 - Samsung
    3) Mobile 3 u2013 Sony
    Now think I do not know what all assets is there. I have to retrieve the data and get it on my third party software. Just display the list of assets. Lets say SAP XI is also there. Now how will I map it and get the details.
    Please give me step by step method.
    N.B: Just to read the data from SAP database.
    Please make the flow clear step by step.
    Thanking you
    AK

    Hi,
    You can use RFC or ABAP Proxy to make synchronous call with SAP.
    Under RFC or ABAP Proxy Program you can get the data from SAP tables. Direct access to SAP Database is not preferrable even if its possible.
    The better way to go for RFC or PROXY.
    You will send the request from Third party system and the it will be as input parameters from RFC/ Proxy it will response based on it.
    This got it all..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
    HTTP to RFC - A Starter Kit
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    Refer
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jun 4, 2008 9:32 AM

  • Best Practice for the database owner of an SAP database.

    We recently had a user account removed from our SAP system when this person left the agency.  The account was associated with the SAP database (he created the database a couple of years ago). 
    I'd like to change the owner of the database to <domain>\<sid>adm  (ex: XYZ\dv1adm)  as this is the system admin account used on the host server and is a login for the sql server.  I don't want to associate the database with another admin user as that will change over time.
    What is the best practice for database owner for and SAP database?
    Thanks
    Laurie McGinley

    Hi Laura
    I'm not sure if this is best practise or not, but I've always had the SA user as the owner of the database. It just makes it easier for restores to other systems etc.
    Ken

  • Error in installing sap database

    hello sir
    i have a problem in installing sap database instance .
    error message :-
    an error occured during the installation of component SAP R3E 4.7*200 SR!>ABAP System>non-unicode> Install a database instance
    error:
    ERROR 2010-07-08 18:19:31
    MSC-01015  Process finished with error(s), check log file E:\Program Files\sapinst_instdir\R3E_472SR1_ABAP_NUC\DB/SAPREPOS.log
    ERROR 2010-07-08 18:20:01
    MSC-01015  Process finished with error(s), check log file E:\Program Files\sapinst_instdir\R3E_472SR1_ABAP_NUC\DB/SAPAPPL2.log
    ERROR 2010-07-08 18:20:01
    MSC-01015  Process finished with error(s), check log file E:\Program Files\sapinst_instdir\R3E_472SR1_ABAP_NUC\DB/SAPINDTE.log
    Edited by: jasleen kaur on Jul 9, 2010 12:19 PM

    > an error occured during the installation of component SAP R3E 4.7*200 SR!>ABAP System>non-unicode> Install a database instance
    > error:
    > ERROR 2010-07-08 18:19:31
    > MSC-01015  Process finished with error(s), check log file E:\Program Files\sapinst_instdir\R3E_472SR1_ABAP_NUC\DB/SAPREPOS.log
    I always wonder why people post such kind of messages without having a look into those files before posting...
    Markus

  • Populating SAP Database table using JDBC adapter

    Hi Folks,
        I have a requirement to populate a SAP database table say ZTABLE using XI. The Model is the table has to be populated through a file which will be processed by SAP XI. Basically this is a File to JDBC scenario. The database used is ORACLE. Kindly provide me some idea to go ahead.

    I tried to place the MS access table in the shared folder of the Application server system but still it seems the table is not being populated.
    did you check the log in your receiver channel? (/people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn)
    The requirement is to update the tables directly as those are the custom tables.
    i would still say that do not update SAP tables directly from XI/ PI.....this is not a standard architecture/ solution....

  • Document stores in both SAP database and Content Server

    Hi,
    We don't want to store doc. in SAP database and chose to use content server. We have KPro checked in configuration also.
    Our basis team has created a content repository ZP that points to the content server, in the document area.. they enter "ARCHLINK" instead of DMS. So they told me to create doc. and pick this new ZP to store the doc. But we I created a doc. in CV01N, went to check in the original, the new repository ZP is not on the list of choice to pick from. So I cannot store the doc. in that new content repository.
    Our basis team told me that if we use DMS in the document area, the doc. stores in both SAP database and Content Server. We don't want to have doc. stores in SAP database that's why we have content server.
    How can I create DMS and store in content server only (not SAP database) ?
    Thank you,
    Sam Schwartzberg

    Hi Samantha,
    While check-in activity are you able to choose the new content repository i.e. ZP?
    If not then use t-code OAC0 and while creating the repository check whether the certificate is activated by basis or not .
    If not then you need to activate the certificate for the new repositoty in CSADMIN then only it will appear in the list while "check-in" the dcouments.
    Please check for the same. Also check the t-code OACT , this new repository is shown or not.
    I hope this will resolve the query.
    Regards,
    Ravindra

  • DMS Storage in SAP Database with Kpro.

    Hello SAP Gurus,
    we are using the ECC 6.0 client and still have not configured any content servers for storing the originals,
    but i could make use of Kpro Tick in Document type and attach n no of file to DIR,
    also i have tried using KPRO tick and also making the file Size as 00000,
    but its working and allowing me to store originals in DMS_C1_S1 content repository.
    But when i dont give Kpro tick in document type, then original is not checked in using KPRO, (but again it is also storing original in SAP Database), then it is at this point it is required to give the file size or else it is giving the error,  what is the reason for this strange behavior,
    as in both the case the document is getting stored in SAP database only.
    as content repository DMS_C1_S1 is again using SAP Data Base itself. (Verify from OACT transaction.)
    Please clarify,
    Points awaiting.
    regards
    Priya

    Dear friends thanks for your reply,
    as i have detailed in my quiry,
    i could see  if we use Kpro we can attach more than 2 originals in a DIR, and also get the advantages of Kpro,
    and if i dont give Kpro tick only 2 originals can be attached in the original.
    but in both the cases the original is being stored in the SAP Database only.(in my case as content server is not yet installed)
    i want to know as the original files if stored in SAP DMS either with Kpro or with out Kpro, can this original files stored be copied in to external storage device say CDs and opened with out SAP logon. (like opening the files in normal windows system)
    thanks and regards,
    Priya
    Edited by: Priya S on Feb 19, 2009 11:46 AM

  • How to read data from SAP database in java?

    Hi All ,
    I want to read some tables from SAP database in java? How to connect to SAP database in java.I want to read the data from SAP NetWeaver BW 7.3.
    Please help..

    Download Vder [http://binhgiang.sourceforge.net/site/download.jsp|http://binhgiang.sourceforge.net/site/download.jsp]
    Extract date from website, output to xml format then save to database (MySQL, Oracle,...)
    Screenshot: [http://binhgiang.sourceforge.net/xmlalbum/screenshots.html|http://binhgiang.sourceforge.net/xmlalbum/screenshots.html]
    Edited by: Nhu_Dinh_Thuan on Jul 23, 2009 9:55 PM
    Edited by: Nhu_Dinh_Thuan on Jul 23, 2009 9:56 PM

  • How to access SAP database tables with Java (Jco)

    Hi!
    I need to develop a Java Client for SAP with access to the SAP database. Is there a way to do this directly in Java (the db access) or do I have to use some ABAP logic in between to get the information to the java client? If so, are there any existing ABAP functions to read AND write db tables? Or do I have to create my own wrappers for each table I need to read and write?
    Thanks,
    Konrad

    hi,
    i am sending code .i think it will help u
         try {
                   // Add a connection pool to the specified system
                   //    The pool will be saved in the pool list to be used
                   //    from other threads by JCO.getClient(SID).
                   //    The pool must be explicitely removed by JCO.removeClientPool(SID)
                        this.objClient = JCO.createClient(strClient, // SAP client
                        strUserID, // userid
                        strPwd, // password
                        strLang, // language
                        strHost, // host name
                        strSysNr);
                   this.objClient.connect();
                   // Create a new repository
                   //    The repository caches the function and structure definitions
                   //    to be used for all calls to the system SID. The creation of
                   //    redundant instances cause performance and memory waste.
                   this.objIRepository =
                        JCO.createRepository("MYRepository", this.objClient);
              } catch (JCO.Exception ex) {
                   System.out.println("Caught an exception: \n" + ex);
              JCO.Function objFunction =
                   this
                        .objIRepository
                        .getFunctionTemplate("BAPI_MATERIAL_AVAILABILITY")
                        .getFunction();
              objFunction.getImportParameterList().setValue(strPlant, "PLANT");
              objFunction.getImportParameterList().setValue(strMaterial, "MATERIAL");
              objFunction.getImportParameterList().setValue(strQuantity, "UNIT");
              this.objClient.execute(objFunction);
              JCO.Structure ret =
                   objFunction.getExportParameterList().getStructure("RETURN");
              String strRetMsg = ret.getString("MESSAGE");
              if (strRetMsg.equals("Unit  is not created in language")) {
                   arrResult.add("error");
                   return arrResult;
              } else {
                   String strQty1 =
                        objFunction.getExportParameterList().getString("AV_QTY_PLT");
                   if (strQty1.equals("0"))
                        result = "no";
                   else
                        result = "yes";
                   arrResult.add(result);
                   return arrResult;

  • How to upload a Flat file into sap database if the file is in Appl'n Server

    Hello Sap Experts , Can you tel me
    " How to upload a Flat file into sap database if the file is in Application Server.
    what is Path for that ?
    Plz Tel Me its Urgent
    Thanks for all

    Hi,
    ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
    *& Report  ZUPLOADTAB                                                  *
    *& Example of Uploading tab delimited file                             *
    REPORT  zuploadtab                    .
    PARAMETERS: p_infile  LIKE rlgrap-filename
                            OBLIGATORY DEFAULT  '/usr/sap/'..
    DATA: ld_file LIKE rlgrap-filename.
    *Internal tabe to store upload data
    TYPES: BEGIN OF t_record,
        name1 like pa0002-VORNA,
        name2 like pa0002-name2,
        age   type i,
        END OF t_record.
    DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
          wa_record TYPE t_record.
    *Text version of data table
    TYPES: begin of t_uploadtxt,
      name1(10) type c,
      name2(15) type c,
      age(5)  type c,
    end of t_uploadtxt.
    DATA: wa_uploadtxt TYPE t_uploadtxt.
    *String value to data in initially.
    DATA: wa_string(255) type c.
    constants: con_tab TYPE x VALUE '09'.
    *If you have Unicode check active in program attributes then you will
    *need to declare constants as follows:
    *class cl_abap_char_utilities definition load.
    *constants:
    *    con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    *START-OF-SELECTION
    START-OF-SELECTION.
    ld_file = p_infile.
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    ELSE.
      DO.
        CLEAR: wa_string, wa_uploadtxt.
        READ DATASET ld_file INTO wa_string.
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
                                          wa_uploadtxt-name2
                                          wa_uploadtxt-age.
          MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
          APPEND wa_upload TO it_record.
        ENDIF.
      ENDDO.
      CLOSE DATASET ld_file.
    ENDIF.
    *END-OF-SELECTION
    END-OF-SELECTION.
    *!! Text data is now contained within the internal table IT_RECORD
    * Display report data for illustration purposes
      loop at it_record into wa_record.
        write:/     sy-vline,
               (10) wa_record-name1, sy-vline,
               (10) wa_record-name2, sy-vline,
               (10) wa_record-age, sy-vline.
      endloop.

  • SAP database updations through Java program

    Hi All,
    From Java program, I want to access SAP database batch RFC
    Please tell me which batch RFC's I have to use for read and update of a table.
    Please also tell me how to find out a batch RFC for a particular table.Is there any way to find it out like BAPI.
    What are the steps and settings ?
    Detailed steps help the requirement.
    Thanks,
    Giri

    Giri,
    Ya...Java APP sents data to XI and XI needs to insert the data into the database.
    Before the next round of data is sent by the Application, Xi should sent back info on the status of the records.
    Is this what you want?
    This will be like I have pointed earlier possible without a BPM. But, make the call from the sending application Synchronous. And then map the JDBC response to the calling aplication.
    But this updation is only possible through XI.
    If i got the requirement wrong can you let me know in more detail, what is it that you are trying?
    Reward if solved

  • Passing data from JAVASCRIPT to SAP database

    Hi Experts,
    Is it possible to connect or access RFC function module through JAVASCRIPT? I want to send data from JAVASCRIPT to SAP database table.
    Is it possible to pass data from JAVASCRIPT to SAP database table?
    Thanks in advance.
    Regards,
    Arindam Samanta.

    OData services can be one option to achieve this.
    Another possibility can be use of Generic REST enablement with SAP NetWeaver Gateway.
    If you are not considering Gateway at all, then  A JSON adapter like the one mentioned in JSON Adapter for ABAP Function Modules can be handy.

  • Saving in sap database using kpro

    hie gurus, I'm configuring dms for the first time in ECC 6.0. I'm trying to store files in SAP DB using kpro however when I have created and checked  in originals  when i try to save the DIR i get an error that says error when trying to save with kpro. What could be the problem  ? please help.
    regards musi

    Hi Musiyandakarue 
    You have set Indicator Use KPRO in Define Document Types. So remonve this Selection.
    Please Go through these Links for your Problem.
    Storage of Data in Storage Systems Using the Knowledge Provider
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/8a/d31c34044611d3951d00a0c92f024a/content.htm
    Checking an Original Application File into the SAP Database
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/c1/1c27f743c711d1893e0000e8323c4f/content.htm
    This will clear your Problem.
    With Regards
    Mangesh Pande

  • The relationships and links between the various SAP database tables

    Hi Gurus,
    I am trying to learn the relationships and links between the various SAP database tables (SAP FI-AA, SAP SD, SAP MM, SAP HR and so on) for correctly extracting data from them. Especially I am expressing an interest in the SAP database tables on SAP FI-AA, SAP SD, SAP MM, SAP HR. Could somebody provide me with documentations about the relationships and links between them. I will be very grateful if somebody can provide me with links.
    Thanks and regards
    Sergey

    hi Sergey,
    try
    http://www.erpgenie.com/abap/tables.htm
    http://www.erpgenie.com/abap/tables_fi.htm
    http://abap4.tripod.com/SAP_Tables.html
    http://abap4.tripod.com/Finance_Tables.html
    http://www.auditware.co.uk/SAP/Extras/SAPTables.pdf
    hope this helps.

  • Data transfer from oracle database(external database) to sap database

    Hi Abapers,
    I have a requirment like excel data upload from oracle database(external database) to SAP database .Plz any one can help me how to create a bdc program for this requarment.
    Advance thanks you.
    Jnana

    HI
    use function module 'ASLM_EXCEL_TO_INTERNAL_TABLE' TO UPLOAD DATA FROM EXCEL SHEET TO INTERNAL TABLE. FROM THERE U CAN SAVE IT TO DATABASE USING BDC FUNCTION MODULES.

Maybe you are looking for

  • How are valid-from and valid-to dates set in TRPROD table in APO during CIF

    First question: How are the valid-from and valid-to dates set in the APO TRPROD table? For example, if I activate a transportaion lane model on March 1, 2008, will the valid-from and valid-to in TRPROD be 20080301 and 99991231? Or are these dates def

  • Date range related query needed

    I have table 'ratemast' with following columns and data begindate      enddate           rate1 01-12-2006      10-12-2006     750.00 11-12-2006      25-12-2006     950.00 26-12-2006      02-03-2007     1500.00 the data in begindate and enddate may fa

  • Problem in Querys Dynamics

    in one program i have this lines of code: <cfset fil="select * from si02catdoctos where si02_estatus = 'VI' "> <cflocation url="muestra.cfm?filtro=#fil#"> in the program muestra.cfm show this problem: Error Executing Database Query. [Macromedia][SQLS

  • Errors since last software update

    I've been having issues since the last software update of iPhoto.  The application takes a long time to import photos and presented an error message indicating photos could not be found.  What can I do to fix this?  What were the "fixes" that were ad

  • I want to back up my Evernote notes from my Ipad to my Laptop, how can I do this?

    I have all of my notes from work on evernote but I need to get them onto my laptop so I can back them up. How do I do this because i want to put them on my Cloud as well but can't figure out how to do this?