sap

Options for Connecting SAP to .NET [closed]

[亡魂溺海] 提交于 2019-11-30 14:43:54
Need to integrate SAP with .NET applications. Is .NET Connector the best choice? What about NetWeaver? Simply looking to push data to and pull data from SAP. I haven't used the NetWeaver objects, so I can't say much about that, but I can say that the .Net connector does a pretty good job of proxying the SAP BAPIs for use in .Net. A few additional comments: Drawback - AFAIK, you're stuck with developing your proxies in VS2003 Drawback - the documentation of the BAPIs is pretty slim. I spend a lot (I mean a lot ) of time in SE37 inside SAP looking at the RFC documentation and stepping through

Delete the current row from an internal table in a loop

泪湿孤枕 提交于 2019-11-30 11:25:25
Can I safely delete the active row while looping over an internal table? As an example, consider this code: LOOP AT lt_itab INTO ls_wa. IF [...] . " A check that can't be done inside a 'DELETE lt_itab WHERE' DELETE lt_itab INDEX sy-tabix " OR DELETE lt_itab FROM ls_wa. ENDIF. ENDLOOP. Is it safe to delete records like this or will this logic not behave as intended? Should I instead store the unique identifier for the rows in a temporary itab and run a DELETE lt_itab WHERE after the loop? I assume that delete operations on records other than the one that is loaded in the current iteration will

How to import SQL Server table to itab?

故事扮演 提交于 2019-11-30 09:44:26
问题 is it possible to import data in SQL Server table to SAP ABAP internal table directly? I want to use this itab in a SE37 function. thanks in advance 回答1: For your task you can use a function module (SE37) or you can use module pool, or a report (SE38, SE80). Check this report: report zinsertdb. data: oref type ref to cx_root, p_conex type dbcon_name value 'YOUR_DB_CONNECTION_STRING', " Ask the basis for this lv_sw type c, errormessage type string. data it_mydata type standard table of mara.

SAP PO750 Process Orchestration 安装及初始化(刘欣)

大城市里の小女人 提交于 2019-11-30 09:28:51
Orchestration 哦咳斯崔新 :) 周末开始安装SAP PO中间件 Process Orchestration,一直持续到周一晚上,没有人指导比较累呀。 用到的文件清单: 一、suse 12sp4安装。 二、HANA数据库安装: 1、SAP官网下载installtion里面下不到最新的HANA2.0 版本,可以下载到一个all in one 的包:51053787.ZIP 13GB 2、需要在官网下载的patch里面才能下载到最新的HANA2.0: IMDB_SERVER20_044_0-80002031.SAR IMDB_CLIENT20_004_167-80002082.SAR 3、而SAP官网Database下载点里面居然没有HANA数据库。 文件全部拷贝到/tmp/po目录中,对目录去权限限制,chmod -R 777 /tmp/po 三、PO的安装: swpm 四、修改内核参数: vi /etc/sysctl.conf kernel.sem=1250 256000 100 1024 vm.max_map_count=2000000 fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.shmall = 18446744073692774399 kernel.shmmax =

环状进度条progress bar circle

主宰稳场 提交于 2019-11-30 02:34:27
2014-08-05 https://ag3.sap.corp:44354/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sap/zprod_ui5/progress.htm 实现原理: index.js里以100毫秒为时间间隔定期执行一个匿名函数. 在这个函数里,动态设置当前progress circle的class。 可以在chrome console里观察到该函数周期性的执行: 在html file里,每个1%的进度都有一组对应的class。每个class通过transform 实现动画效果。 可以在chrome 里观察到degree的变化: 该例子来自: http://www.html5tricks.com/css3-3d-circle-progress.html 要获取更多Jerry的原创文章,请关注公众号"汪子熙": 来源: https://blog.csdn.net/i042416/article/details/101001336

Extension project - Component.js of standard application could not be loaded

有些话、适合烂在心里 提交于 2019-11-29 18:33:20
Created by Jerry Wang, last modified on Nov 02, 2015 Issue extension project的component.js能够成功加载(红色),但是standard application的加载失败(绿色) 成功加载的extension component.js的url: /sap/bc/ui5_ui5/sap/ZJERRY20150602/Component.js 加载失败的standard component.js的url: /sap/bc/ui5_ui5/ui2/ushell/resources/cus/crm/opportunity/Component.js 再观察另一个在系统里能成功加载的extension project的behavior: 可以看出standard的Fiori app是加载在folder bc/ui5_ui5/sap熙的,而不是我们error case试图从ui2/ushell/resources下加载: 观察正常工作的extension project的例子: standard app的component.js 加载是通过line3的jQuery.sap.require() method触发的 cus.crm.opportunity这一module的path通过line1注册成/sap/bc

How to import SQL Server table to itab?

十年热恋 提交于 2019-11-29 16:48:51
is it possible to import data in SQL Server table to SAP ABAP internal table directly? I want to use this itab in a SE37 function. thanks in advance For your task you can use a function module (SE37) or you can use module pool, or a report (SE38, SE80). Check this report: report zinsertdb. data: oref type ref to cx_root, p_conex type dbcon_name value 'YOUR_DB_CONNECTION_STRING', " Ask the basis for this lv_sw type c, errormessage type string. data it_mydata type standard table of mara. start-of-selection. perform connect. perform insert_into_db. perform disconnect. form connect. try. EXEC SQL.

sap工单下发(一)

喜夏-厌秋 提交于 2019-11-29 16:40:12
sap工单下发(一) SAP开立生产工单并下发至MES步聚如下: 1.CS01/CS03 建制物料,并搭建BOM 2.CA01,建立工艺流和,制定工序 3.C223 关联BOM和工艺,产生生产版本 4.CK11N,成工卷算 5.生产工单(联排,物料分配) 6.物料下发 7.工单下发 MES接收工单及物料进行生产 来源: https://www.cnblogs.com/keim/p/11523204.html

jQuery.sap.require

微笑、不失礼 提交于 2019-11-29 16:04:27
Created by Jerry Wang, last modified on Sep 16, 2015 sap-ui-loaddbg dbg -dbg async false execModule 将所有的.替换成/: 将之前用jQuery.sap.declare添加到mModules map里的entry取出: 根据debug mode的状态选择load哪个版本的js 文件: require是用同步方式取resource: line 16231会跳转到line 16241: load成功后立刻执行module: Created by Jerry Wang, last modified on Nov 06, 2014 UI5里使用jQuery.sap.require 同步加载module: 首先判断传入的参数是否是array或者function: 将module name转换成url: 将.替换成/: 转换之后的结果: line 8392 利用原生的exec试探传入的s是否为一个js文件: 对象M里包含了所有UI5运行所需要的module: R的value为4,代表module已经加载完毕: 因为该涉及到的module 此时尚未加载,因此利用AJAX进行同步加载: 最后通过AJAX获得结果: 要获取更多Jerry的原创文章,请关注公众号"汪子熙": 来源: https:/