duangu9173 2017-04-12 08:35
浏览 201
已采纳

SAP事务和数据库更新

I would like to start off by saying that am new to SAP and I've done my research but I just couldn't find a solution.

I have to update my database once a transaction has been entered on SAP. The output of this transaction is a txt file and I would like to automatically inject it into my database. I know the structure of the file and the directory where it's supposed to be. I also have a database where to inject it. What am supposed to do is once the customer enters a transaction and the directory is updated with the latest txt file my script has to fetch that file and update database

Is there a way to do that?

  • 写回答

1条回答 默认 最新

  • doujiong9915 2017-04-13 15:14
    关注

    I would go with SAP sending data to the webserver. Possible and easy solution:

    1, Create a receiver script on the webserver for example accepting POST request (with appropriate auth method). Accept file or array format. This script should insert / update entries to the database.

    2, Create a program on the SAP side which fetches the right file from that directory and sends the file or formatted data in array to the webserver. Define a job for periodic processing.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 树莓派与pix飞控通信
  • ¥15 自动转发微信群信息到另外一个微信群
  • ¥15 outlook无法配置成功
  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题