SQL to SAP

Hi All,
I am working on a scenario where the employee Timesheet data is available in SQL server. The same data has to be passed into SAP.
Basically the data from SQL has to be passed into BAPI_CATIMESHEETMGR_CHANGE. This Function module will update the SAP Table called CATSDB.
Now i am in confusion about getting data from SQL server to XI. Here i can define SQL as a Third Party Business system in SLD.
But i want to know how exactly the data will flow from sql to xi....?
Can anyone explain me about this issue?
Regards
Pavan

I have few more doubts in this JDBC-XI-RFC scenario.
Now the data availabole in legacy system are as follows...
Employee number, Working Date, Project Id, Activity Id, Hours spent, Remarks (Text).
Now i have to map the same fields in SAP database.
I can create the employee number in the sap. The same employe number from legacy have to be mapped in SAP.
But can anyone throw some light to know more about the Databse tables in which such details can be updated...????
And even is there any proper Function Module (BAPI) available to cater this need....??????
Please help me....
Regards
Pavan

Similar Messages

  • Interface req from SQL to  SAP

    Hi
    i need to develop interface from SQL to SAP, can any one give me some input on this.
    Thanks.

    Hey,
    I guess you have a stand-alone DB and you want to develop interface from this DB to the SAP system.
    If I'm right, then SAP have product called XI (eXchange Infrastructure), that now is called PI (process integrator).
    this product have an adapter to FlatFile, DB (JDBC), MQSerires (JMS) and etc...
    you can develop an interface in the XI that will read information from the DB,
    and execute RFC (remote function call) or IDOCs  in the SAP.
    SAP does not support executing delete/update/insert SQL on their tables,
    they demands from you to use the standard APIs (RFC/IDOC).
    you can use the PI/XI forms in the SDN for more information.

  • Puertos para SQL y SAP

    Hola a todos. tengo una consulta si me pueden ayudar sobre que puerto aparte del 1433 e y el 30000  tengo que tener Habilitado para que el SQL y SAP. me funcionen y que las Pc Clientes  puedan conectarse con mi Servidor. Ya que yo en mi Servidor Tengo Arriba el Firewall....

    Hola.
    Adicionalmente a lo recomendado arriba, también hay que revisar la configuración del firewall en los equipos cliente (si lo tienen, el Service Pack para Windows XP trae uno), que se permita la salida del cliente SB1 y el Add-on Best Practices (si lo utilizan).
    Es aconsejable correr la herramienta de configuración de seguridad de Windows Server en el servidor para garantizar que estén abiertos los puertos necesarios para los servicios instalados y habilitados.
    Espero se solucione el problema.
    Saludos.

  • How to get data from Oracle using Native SQL in SAP.. Problem with date

    Hi Masters.
    I'm trying to get data from an Oracle DB. I was able to connect to Oracle using tcode DBCO. The connetion works fine
    I wrote this code and it works fine without the statement of where date > '01-09-2010'
    But i need that statement on the select. I read a lot about this issue, but no answer.
    My code is (this code is in SAP ECC 6.0)
    DATA: BEGIN OF datos OCCURS 0,
          id_numeric(10),
          component_name(40),
          comuna(10),
          record_id(10),
          status,
          sampled_date(10),
          END OF datos.
    DATA: c TYPE cursor.
    EXEC SQL.
      connect to 'LIM' as 'MYDB'
    ENDEXEC.
    EXEC SQL.
      SET CONNECTION 'MYDB'
    ENDEXEC.
    EXEC SQL PERFORMING loop_output.
      SELECT ID_NUMERIC, COMPONENT_NAME, COMUNA, RECORD_ID, STATUS, SAMPLED_DATE
      into :datos from lims.SAMP_TEST_RESULT
      where     date > '01-09-2010'
    ENDEXEC.
    EXEC SQL.
      disconnect 'MYDB'
    ENDEXEC.
    How can i get the data from that date?? If i delete the where statemet, the program works well, it takes 30 mins and show all the data, I just need the data from that date.
    Any help
    Regards

    Please refer the example in this link which deals with Oracle date format.
    You can finnd a command DECODE which is used for date formats. If you have a look at whole theory then you will get an idea.
    Link:[Bulk insert SQL command to transfer data from SAP to Oracle|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bulk-insert-sql-command-to-transfer-data-from-sap-to-oracle-cl_sql_connection-3780804]

  • Stack Dump while creating Write Optimized DSO on BW 7.3, MS SQL - any SAP Notes?

    While attempting to create a Write Optimized DSO on BW 7.3, MS SQL, we had a stack dump - ABAP Program     CL_RSD_ODSO_VERS==============CP with short text " Access using NULL object reference is not possible. "
    Has anyone seen any SAP Notes on this subject?

    Hi John,
    Was any field deleted from the DSO, if yes, probably the system is not able to relate the pointer from the DSO table. Error like these come up very often when fields are deleted from DSO. Solution is to remove the field manually from the table also. However, the system is supposed to do but sometimes such ambiguity causes such issues.

  • Data transfer from SQL to SAP r/3

    Hi,
    We have a scenario wherein we require to get data from two tables in SQL and send the data to r/3 and do some some calculation. finally save the data in tables.
    Can you please help me out the best way to do so. Is it Flat file transfer or RFC. Please do provide examples, if any.
    Thanks.

    Hi Sai;
    I suggest you 2 way for your status.
    Native sql very useful and healty method. You can try this method.
    Please check below links.
    Best regards.
    http://help.sap.com/saphelp_smehp1/helpdata/en/a9/9cbe7ecd9b464b8f31449df34c8d8c/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/EN/fc/eb3b8b358411d1829f0000e829fbfe/content.htm

  • Announcing General Availability of PowerShell Connector and Release Candidate of Generic SQL and SAP Roles/Users

    The FIM team is pleased to announce the availability of some additional Connectors for FIM2010R2.
    General Availability of PowerShell Connector
    The PowerShell Connector can be used to communicate with a system through PowerShell scripts. This allows an easy and flexible way to communicate with other systems but also to pre-/post-process data and files before handed over to the FIM Synchronization
    Service. We believe the community will help providing scripts for this Connector for various systems and will open a place where scripts can be published for reuse.
    TechNet docs:  
    http://go.microsoft.com/fwlink/?LinkID=393057
    Download:         
    http://go.microsoft.com/fwlink/?LinkID=393056
    Release Candidate of Generic SQL Connector
    The Generic SQL Connector will allow you to connect to any database where you have an ODBC driver available. It enables new features compared to the built-in MA such as support for Stored Procedures, running SQL scripts, built-in delta import support, import
    multiple object types, connect to multiple tables, and much more. This Connector is built on ECMA2.3 which allows schema discoverability to be customized in the Sync Engine UI. A pre-release of the next Sync Engine hotfix is included with the Connector download
    and is required for the Connector to work.
    Download:         
    https://connect.microsoft.com/site433/Downloads/DownloadDetails.aspx?DownloadID=52652
    Release Candidate of SAP Users and Roles/Groups
    The updated SAP templates for Users and Roles/Groups allows you to manage Users, Roles, and Groups in SAP. This also include password sync for Users to SAP. The Connector will make sure roles are represented as groups to make it possible to manage these
    with bhold. This template will require the previously published WebService Connector:
    http://go.microsoft.com/fwlink/?LinkID=235883.
    Download:         
    https://connect.microsoft.com/site433/Downloads/DownloadDetails.aspx?DownloadID=52651
    If you have participated in any other Connector preview program you will have access to the Release Candidate downloads. If you have not participated before then to get access to the preview programs on Connect either join the program “Identity and Access
    Management”, “FIM Synchronization Service Connectors Pre-release” on
    http://connect.microsoft.com/directory or follow this link
    http://connect.microsoft.com/site433/SelfNomination.aspx?ProgramID=6709&pageType=1
    We have also published an update to the Generic LDAP Connector adding support for some additional LDAP directories, see
    http://support.microsoft.com/kb/2936070/. If you have additional LDAP directories you think we should support, please feel free to contact me.
                    On behalf of the FIM Sync team,
                    /Andreas Kjellman

    On Tue, 18 Mar 2014 08:09:43 +0000, David Burghgraeve wrote:
    We've been using the OpenLDAPXMA to be able to connect to ACF2 CA-LDAP (from Computer Associates) running on a IBM Z-OS Mainframe System. We've been using it for password synchronization since 2004 on MIIS. Today it's still used via the
    OpenLDAPXMA (64bit) on FIM 2010 R2.
    We had to tweak the password management component in the OpenLDAPXMA to support the error messages we get from the ACF2 System, as we support a multi-master password setup between Mainframe and Active Directory (one can change the password on
    MF and/or on Windows). by example  "LDP0406E ACF2 error modifying lid(ACF00155 NEW PASSWORD CANNOT BE THE SAME AS CURRENT PASSWORD)".
    Additionally, we cannot get the delta import to work with the CA-LDAP, there's no capability in it and we tried to use the time attribute to use in the query for recent changes, but it does not work. (I think we need it in a large integer format
    or unix time integer).
    Would be great to have Microsofts' support in this :)
    In a case like this where your follow-up has nothing to do with the
    original post you should create a new thread.
    Having said that, neither of the MAs to which you refer are official
    Microsoft MAs and as such there is no support from Microsoft available.
    Also, keep in mind that the ECMA1/XMA extensibility framework has been
    deprecated and replaced by the ECMA 2.0. You should plan on replacing
    existing ECMA1 management agents with ECMA2.0 connectors.
    Paul Adare - FIM CM MVP
    "It's 106 light-years to Chicago, we've got a full chamber of anti-matter,
    a half a pack of cigarettes, it's dark, and we're wearing visors."
    "Hotsync." -- Paul Tomblin & Peter da Silva

  • How to send automatic EMail from SQL or SAP B1

    hi experts as we are using SQL as DB i ned to send E-mails from sap system automatically but from SBO mailer  or Scheduler is not working from my side now i was planning to send emails from SQL can any one help me how to send emails automatically from SAP business one or from SQL

    Hi
    In SQL under Management\Database Mail
    You can configure account you use to send mails from SQL
    Then you can prepare procedure that will send mail
    for example
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name = 'Hurtpol',
    @recipients = '[email protected]',
    @query = 'select isnull(syncherror,'''')  collate polish_ci_as
    from np.dbo.OITM
    where U_SynchStatus=''Failed''',
    --@body = @tresc,
    @subject = 'synch error'
    read about sp_send_dbmail

  • ANY INTERFACE FOR INTEGRATING MS-SQL TO SAP R/3?

    Hi All.
    Is there any fecility to interact data between MS-Sql to R/3 System .
    I Mean to say If can retriving the data from MS-SQL to R/3 and display in browser.
    interface between MS-SQL server to SAP
    Thnaks in advance.
    RAMA.

    Thanks for u r reply,
    here what i need is i want to interact with MS-SQL ,but ms SQL is different data base.
    What I need is If I display the data to browser from getting Ms-sql to R/3 System that R/3 System Screen output will display on the browser.
    How can get data from MS-SQL to R/3.
    Thnks and regards
    RAMA

  • SQL for SAP

    I am looking for SQL Server 2005 Software (SQL4SAP) WHere can i download this Software.
    Is this possible to download from SAP Market Place.
    Kindly Guide Me.
    Regards,
    Mag.

    I have found the 51032641   DVD RDBMS MSSQLSRV 2005 SP2  in the market place i am unable to download. The size of this software is 1KB. Is there any other way i can get the software.
    Regards,
    Mag.

  • SQL Server - SAP FI documents via XML interface.

    Hi all,
    I have a requirement to setup a SQL Server to SAP XML interface for FI documents. Any suggestions? As per what I found so far I need to crate a BAPI to convert XML to IDOC to post an FI document, but how SQL Server will call this BAPI I'm not very clear. We are running ECC5 2004. Any suggestions, sample scenarios, any info will be appreciated.
    Best regards,
    Michael.

    actually the requirement was to park the document first.

  • Sql for sap functional consultant

    Hi sap consultants,
    I have a query related to sql for functional consultant.
    My question is what is the use of sql for functional consultant and what is the future prospect
    after learning it, means will it help in career growth in sap and also to build my candidature strong.
    Please suggest me regarding this.will highly appreciate your replies.
    Thanks in advance.

    Prafulla,
    Have a look at some of the blogs collected under SAP Career Blog Links. Your best route to becoming an SAP Functional specialist is to work your way into the support group of the company in which you already work. Experience is more important than the certificate. Get your experience supporting SAP as an SAP CRM specialist first, THEN get your certificate.
    If you try to do the reverse, you're signing up for a lot of heartache (see blogs in the previous link page). Whatever you do... do NOT quit your job to sign up for training/certification on the hopes that you'll find a job easily after you are certified. End user experience is better than nothing, but does not necessarily "count" as experience when you're trying to get a job for the first time as a functional specialist.
    Only AFTER you've been a specialist for a while does the end user experience add clout to your credentials as you can say " I've experienced the FULL spectrum of SAP" while folks who never had the end user experience seem somewhat lacking by comparison.
    So *eventually*, end user experience + specialist experience + certification = more than the sum of the parts.
    Hope this helps!
    Best regards,
    --Tom

  • SQL 2005 SAP R/3 4.6C - DBSL error RC=99 on import of Basis 4.6C SP 39

    Hi,
    I have just built a R/3 4.6C system on SQL 2005 with 4.6D_EXT kernel. The build was done using R3load to export from the 4.6C/SQL 2000/32bit system and import to 4.6C/SQL 2005/64bit system. The source 4.6C system only had Basis support package 37 applied, and I am trying to apply Basis 4.6C 38-57 on the 4.6C/SQL 2005/64bit system (in preparation for an ECC6 upgrade) and I get the following error:
    EXEC SQL: SELECT ID,OBJECT,LANGU,TYP,VERSION FROM DOKIL WHERE (LANGU IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,  
    [developertra,00000]  ExecuteAndFlush return code: 0x80040e10 Stmt: [CREATE PROCEDURE ##Y8IBASAPDEIBD00000025600000000006164133 @P
                                                                              99972  0.099972                                          
    [developertra,00000]  MapHr:80040E10 DB_E_PARAMNOTOPTIONAL                  43  0.100015                                          
    [developertra,00000]  HandleOledbError [ExecuteAndFlush,line 33423]: Error/Message: (err 0, sev 0), No value given for one or more
                                                                                 96  0.100111                                          
    [developertra,00000]  DbSlPrepare - Error 99 (dbcode -2147217904) on proc. creation                                                                               
    56  0.100167                                          
    [developertra,00000]  DbSlPrepare - <CREATE PROCEDURE ##Y8IBASAPDEIBD00000025600000000006164133 @P000 varchar(3072) = ' ', @P001 v
                                                                                105  0.100272                                          
    [developertra,00000]  1 times error (0,0) in sequence                       30  0.100302                                          
    [developertra,00000]  dbdsmss: DBSL99 SQL0                                  27  0.100329                                          
    [developertra,00000]  No value given for one or more required parameters.                                                                               
    62  0.100391                                          
    [dbds        ,00589]  ***LOG BY2=>sql error 0          performing FET                                                                               
    66  0.100457                                          
    [dbds        ,00589]  ***LOG BY0=>No value given for one or more required parameters.                                             
    I have checked the collation setting in SQL 2005 and it is:
    select serverproperty('collation')
    SQL_Latin1_General_CP850_BIN2
    There are 97000 odd entries in DOKIL, so I don't think that is the problem.
    Would appreciate any assistance.
    Kind regards,
    Sheryl.

    Hi ,
    Instead of doing the build with export import, you can try to do the same with backup restore,,
    But remember your sql2000 should be on bin2... then you can take backup and restore.
    Since it is from 2000 to 2005 the restore would happen and it will work fine.
    Try this and check out, since the error you have pasted is not clearly giving any picture...
    Regards,
    Ravi.

  • Is there any report where I can run an SQL to SAP DB?

    Hi,
    I need to run an SQL on my R/3 DB directly. Is there a way how to do this w/o writing a new report?
    Thank you,
    Olian

    If u want to measure the time taken by ur SQL query then u run it directly from SE30. Goto SE30 and click on Tips & Tricks button..then in the next screen u will get 2 editiors..in any one of this editor write ur SOL statement and press Measure Runtime button....I till then execute the query and give u the execution time.

  • DBCO: Connection from sap R/3 oracle to SQL

    Hi,
    I am trying to carry out a connection with SQL through SAP, I carried out it based on the notes: 738371, 323151 and 178949, where my <b>CONNECTION</b> is: 
    DB Connection SQL_DESARROLLO
    DBMS                 MSS
    User name fiSBS
    password
    Conn. info
    MSSQL_SERVER=tcp:XXX.XX.XXX.XXX MSSQL_DBNAME=DB_fisap   
    I carried out a <b>PROGRAM</b> with the following code:
    EXEC SQL.
        SET CONNECTION:SQL_DESARROLLO.
    ENDEXEC.
    IF SY-SUBRC NE '0'.
        EXIT.
    ENDIF.
    However when executing the program it originates me a dump, where it marks the following <b>ERROR</b>:
    Runtime Errors         DBIF_DSQL2_SQL_ERROR                                   
    Exception              CX_SY_NATIVE_SQL_ERROR                                 
    SQL error 922 occurred when executing EXEC SQL.                               
    The error occurred in the current database connection "DEFAULT".              
    An exception occurred. This exception is dealt with in more detail below      
    . The exception, which is assigned to the class 'CX_SY_NATIVE_SQL_ERROR', was 
    neither caught nor passed along using a RAISING clause, in the procedure  "CONECTA_SQL_DES" "(FORM)" Since the caller of the procedure could not have expected this exception to occur, the running program was terminated. 
    could somebody help me?
    Thanks,
    Ruth Gomez

    Ruth,
    you have to open the db connection:
        exec sql.
          set connection : 'SQL_DESARROLLO'
        endexec.
        if sy-subrc <> 0.
          exec sql.
            connect to :'SQL_DESARROLLO'
          endexec.
          if sy-subrc <> 0.
          endif.
        endif.
    Regards
    paolo divjanovic

Maybe you are looking for