1. <legend id='HWj9C'><style id='HWj9C'><dir id='HWj9C'><q id='HWj9C'></q></dir></style></legend>
      <i id='HWj9C'><tr id='HWj9C'><dt id='HWj9C'><q id='HWj9C'><span id='HWj9C'><b id='HWj9C'><form id='HWj9C'><ins id='HWj9C'></ins><ul id='HWj9C'></ul><sub id='HWj9C'></sub></form><legend id='HWj9C'></legend><bdo id='HWj9C'><pre id='HWj9C'><center id='HWj9C'></center></pre></bdo></b><th id='HWj9C'></th></span></q></dt></tr></i><div id='HWj9C'><tfoot id='HWj9C'></tfoot><dl id='HWj9C'><fieldset id='HWj9C'></fieldset></dl></div>

    2. <tfoot id='HWj9C'></tfoot>
      • <bdo id='HWj9C'></bdo><ul id='HWj9C'></ul>
      1. <small id='HWj9C'></small><noframes id='HWj9C'>

      2. 如何从 SAP ABAP 系统中提取数据?

        How to extract data from a SAP ABAP system?(如何从 SAP ABAP 系统中提取数据?)
        <i id='VaRCl'><tr id='VaRCl'><dt id='VaRCl'><q id='VaRCl'><span id='VaRCl'><b id='VaRCl'><form id='VaRCl'><ins id='VaRCl'></ins><ul id='VaRCl'></ul><sub id='VaRCl'></sub></form><legend id='VaRCl'></legend><bdo id='VaRCl'><pre id='VaRCl'><center id='VaRCl'></center></pre></bdo></b><th id='VaRCl'></th></span></q></dt></tr></i><div id='VaRCl'><tfoot id='VaRCl'></tfoot><dl id='VaRCl'><fieldset id='VaRCl'></fieldset></dl></div>

        <small id='VaRCl'></small><noframes id='VaRCl'>

        <tfoot id='VaRCl'></tfoot>

            <tbody id='VaRCl'></tbody>
        1. <legend id='VaRCl'><style id='VaRCl'><dir id='VaRCl'><q id='VaRCl'></q></dir></style></legend>
                <bdo id='VaRCl'></bdo><ul id='VaRCl'></ul>

                1. 本文介绍了如何从 SAP ABAP 系统中提取数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我需要从 SAP ABAP 系统中提取一种格式的数据,然后可以将其加载到 Oracle 数据库(xlsx、csv、dmp 等)中

                  I need to extract data from a SAP ABAP system in a format that can then be loaded into an Oracle database (xlsx,csv,dmp.. etc)

                  提取数据后,我将使用 Pentaho 将其上传到 Oracle 数据库中.

                  Once the data is extracted I'll use Pentaho to upload it into the Oracle database.

                  有没有办法从 SAP 中提取数据?我还需要将它自动化(提取),但现在这不是什么大问题,我以后可以考虑/担心那部分.

                  Is there a way to extract the data from SAP? I will also need to automate it (the extraction) but that is not too much of a problem right now, I can figure/worry about that part later.

                  如果不可能这样做,解释为什么会有帮助!

                  If it is not possible to do so, an explanation why would be helpful!

                  推荐答案

                  您有多种选择来执行此操作.

                  You have a number of options to do this.

                  如果您正在运行 SAP BW,有许多标准工具可以帮助您进行提取和自动化流程.

                  If you are running SAP BW, there are many standard tools to help you do extractions and automate the processes.

                  否则,您可以编写一个简单的 ABAP 程序(类型 1)来从表中读取数据并将其放入一个平面文件中.

                  Otherwise, you can write a simple ABAP program (type 1) to read data from tables and put it into a flat file.

                  否则,您可以编写支持远程功能的功能模块 (RFC) 并使用 SAP 的 RFC 库调用它.

                  Otherwise, you could write a remote-enabled function module (RFC) and call it using SAP's RFC library.

                  您还可以使用 Web 服务包装您的 RFC 函数并通过 SOAP/HTTP 调用它.

                  You could also wrap your RFC function with a web service and call it via SOAP/HTTP.

                  最后,如果您可以访问数据库,您甚至可以编写脚本来提取您需要的数据.

                  Lastly, if you have access to the database, you might even be able to write a script to extract the data you need.

                  从数据库表中提取内容的简单程序示例:

                  A simple example of a program to extract something from a DB table:

                  report ZEXTRACT_EXAMPLE.
                  
                  data: lt_t001 type table of t001.
                  data: ls_t001 type t001.
                  data: lv_filename type string value '/tmp/outfile.txt'.
                  
                  select * from t001 into table lt_t001.
                  
                  open dataset lv_filename for output in text mode encoding default.
                  
                  loop at lt_t001 into ls_t001.
                    transfer ls_t001-bukrs to lv_filename.
                  endloop.
                  
                  close dataset lv_filename.
                  

                  这真的很原始,但你懂的.它从数据库表中选择数据到内部表(在内存中)并将其写入服务器上名为 /tmp/outfile.txt 的文件,您可以从那里获取它.(您必须将输出更改为您所需的格式).

                  This is really primitive, but you get the idea. It selects data from a DB table into an internal table (in memory) and writes it to a file called /tmp/outfile.txt on the server, from where you can pick it up. (You would have to alter the output to be in your required format).

                  然后您可以使用 SM36 安排您的程序作为后台作业定期运行.

                  You could then schedule your program with SM36 to run periodically as a background job.

                  这篇关于如何从 SAP ABAP 系统中提取数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Using Alias In When Portion of a Case Statement in Oracle SQL(在 Oracle SQL 中 Case 语句的 When 部分中使用别名)
                  Why doesn#39;t Oracle SQL allow us to use column aliases in GROUP BY clauses?(为什么 Oracle SQL 不允许我们在 GROUP BY 子句中使用列别名?)
                  ORA-00972 identifier is too long alias column name(ORA-00972 标识符太长别名列名)
                  Using an Alias in a WHERE clause(在 WHERE 子句中使用别名)
                  How to create a user in Oracle 11g and grant permissions(如何在 Oracle 11g 中创建用户并授予权限)
                  Can we connect a 32 bit Oracle server from a 64 bit client and vice a versa? (我们可以从 64 位客户端连接 32 位 Oracle 服务器,反之亦然吗?)
                  1. <i id='aASu0'><tr id='aASu0'><dt id='aASu0'><q id='aASu0'><span id='aASu0'><b id='aASu0'><form id='aASu0'><ins id='aASu0'></ins><ul id='aASu0'></ul><sub id='aASu0'></sub></form><legend id='aASu0'></legend><bdo id='aASu0'><pre id='aASu0'><center id='aASu0'></center></pre></bdo></b><th id='aASu0'></th></span></q></dt></tr></i><div id='aASu0'><tfoot id='aASu0'></tfoot><dl id='aASu0'><fieldset id='aASu0'></fieldset></dl></div>
                        <tbody id='aASu0'></tbody>

                        <small id='aASu0'></small><noframes id='aASu0'>

                        <legend id='aASu0'><style id='aASu0'><dir id='aASu0'><q id='aASu0'></q></dir></style></legend>
                      • <tfoot id='aASu0'></tfoot>

                            <bdo id='aASu0'></bdo><ul id='aASu0'></ul>