在循环内部表时,我可以安全地删除活动行吗?
例如,请考虑以下代码:
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.
Run Code Online (Sandbox Code Playgroud)
删除这样的记录是否安全,或者这种逻辑不按预期行事?
我应该在临时itab中存储行的唯一标识符并DELETE lt_itab WHERE在循环后运行吗?
我假设对当前迭代中加载的记录以外的记录执行删除操作肯定会引起问题,但我不确定这是否是有效的,更不用说是好的做法.
是否有另一种在ABAP中连接而不是使用CONCATENATE关键字的方法?
使用示例CONCATENATE:
DATA:
foo TYPE string,
bar TYPE string,
foobar TYPE string.
foo = 'foo'.
bar = 'bar'.
CONCATENATE foo 'and' bar INTO foobar SEPARATED BY space.
Run Code Online (Sandbox Code Playgroud) 我有一个应用程序,它使用SQL Server 2008来存储需要从SAP提供大量财务信息的数据(在该公司中使用Oracle 11作为后端).
我要求SAP人员阅读表格,他们说没办法.我让他们直接连接到我的数据库来填充我的表,他们说没办法.(我有来自Oracle数据库的提要,其他应用程序与SAP不同,使用透明网关没有问题,所以这就是为什么问这个)
他们说与SAP交互的唯一方法是使用Web服务.但由于数据量巨大,我认为这不是道路.
有没有人在SAP和SQL Server之间创建接口的经验?
我要扩展我的解释.我当前的应用程序已经由其他三个应用程序(这是一个大型企业)提供,所有应用程序都会转到我收到数据以进一步处理的相同表.所有其他应用程序(1个Oracle,2个SQL Server)执行直接更新或保存数据的存储过程.其他3个应用程序由不同的团队管理,彼此无关.所有人都在开始时抱怨,但最后都接受了将他们的数据导出到这个应用程序.
因此,理想的情况是说服SAP人员这样做:打开与SQL Server的连接并执行一些插入或运行存储过程.
SAP的内存数据库HANA在业务分析领域引起了极大的关注.与当前的开源数据库相比,我很难看到它真正的创新.好的,它有索引,图形支持,列存储等等......但在我看来这并不是什么新鲜事.它在内存中的事实也不是新的,请参阅Memcached和Redis.
HANA有什么大不了的?
我为一个Midtier团队工作,我一直在使用SOAP UI手动测试Web服务.我的任务是让回归测试用例自动化.我们现在没有任何自动化团队,因此我可以完全自由地使用我想要的任何工具,让我的经理知道哪种工具很合适.但我还没学习自动化测试.有人建议哪些是自动测试Midtier的好工具?我们有许多服务,我们使用SAP中的结果验证结果.例如,如果我正在测试Midtier中某个商品的价格,我应该检查返回的价格是否与SAP中的价格相符.我已经手动执行此操作,在我登录SAP时,转到提供的交易代码并检查该项目的价格,有人可以想到任何一个好的自动化测试工具,我可以处理这种情况吗?
当我将一行添加到已排序的表时,为什么我的ABAP程序会短暂转储?
ST22显示 ITAB_ILLEGAL_SORT_ORDER
data: sorted_tab type sorted table of ty_tab with non-unique key key,
line type ty_tab.
line-key = 1.
append line to sorted_tab. "works fine"
line-key = 2.
append line to sorted_tab. "works fine"
line-key = 1.
append line to sorted_tab. "<==== Short dump here"
Run Code Online (Sandbox Code Playgroud) 我想学习SAP ERP.是否有SAP ERP学生版?
人们如何实践SAP ERP?通过试用版?
如果没有办法下载免费/试用版,那么学习Ofbiz对SAP未来的工作有用吗?
我正在尝试实现在SAP PI系统上运行的Web服务.我得到的WSDL看起来像这样:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="request_SO" targetNamespace="http://company.ch/orstest/jason_test" xmlns:p1="http://company.ch/orstest/jason_test" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:documentation/>
<wsp:UsingPolicy wsdl:required="true"/>
<wsp:Policy wsu:Id="OP_request_SO"/>
<wsdl:types>
<xsd:schema targetNamespace="http://company.ch/orstest/jason_test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://company.ch/orstest/jason_test">
<xsd:element name="request" type="request"/>
<xsd:element name="response" type="response"/>
<xsd:complexType name="request">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/VersionID">a8b7948ac2e211e2b2380000001f0d6a</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="body" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="response">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/VersionID">bf49af09c36c11e299790000001f0d6a</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="body" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="request">
<wsdl:documentation/>
<wsdl:part name="request" element="p1:request"/>
</wsdl:message>
<wsdl:message name="response">
<wsdl:documentation/>
<wsdl:part name="response" element="p1:response"/>
</wsdl:message>
<wsdl:portType name="request_SO">
<wsdl:documentation/>
<wsdl:operation name="request_SO">
<wsdl:documentation/>
<wsp:Policy>
<wsp:PolicyReference URI="#OP_request_SO"/>
</wsp:Policy>
<wsdl:input message="p1:request"/> …Run Code Online (Sandbox Code Playgroud) 有谁知道如何使用VBA从SAP Netweaver中提取数据?
我有许多日常报告,需要将数据从SAP导出到Excel并将其格式化为报告.我已经编写了可以进行格式化的工作VBA宏.我必须手动提取数据并单独运行每个报表宏.如果我的宏可以进入SAP,获取报告#1的数据,格式化它,获取报告#2的数据等,那么可以节省很多时间.
我使用SAP NetWeaver(版本730,版本7300.1.3.1079).报告只是Excel数据透视表和图表.
谢谢!
我正在使用具有以下功能的拆分应用
主列表显示项目列表(例如,此处的自行车和汽车列表)
这是3个详细信息页面:
现在,问题是当我单击“汽车产品”时,显示了一个动画,该动画从欢迎页面导航到汽车页面。
但是,如果我再次单击汽车产品,则绑定将更新而没有动画。
同样,如果我此时(选择汽车之后)选择了“ Bike”,则导航会随动画一起进行。
所以,总结一下,
但是,我想要的是,无论当前显示的是哪个详细信息页面,导航都应该使用动画再次进行,以便保持与动画的一致性。
另外,请注意,我不能使用基于哈希的路由,因为此拆分应用程序需要在对话框中显示。
下面是虚拟代码:
<mvc:View controllerName="com.sap.SplitApp.controller.App" xmlns:mvc="sap.ui.core.mvc" xmlns:core="sap.ui.core" displayBlock="true"
xmlns="sap.m">
<Shell id="shell">
<App>
<SplitApp id="app">
<masterPages>
<Page>
<List items='{/items}' selectionChange="handleNavigate" mode='SingleSelectMaster'>
<items>
<StandardListItem title='{name}' info='{type}'/>
</items>
</List>
</Page>
</masterPages>
<detailPages>
<MessagePage title='Hello!' text='Select a Product'></MessagePage>
<core:Fragment fragmentName="com.sap.SplitApp.fragments.BikeProperties" type="XML"/>
<core:Fragment fragmentName="com.sap.SplitApp.fragments.CarProperties" type="XML"/>
</detailPages>
</SplitApp>
</App>
</Shell>
Run Code Online (Sandbox Code Playgroud)
onInit: function () {
var items = [
{
name: 'Thunderbird 500cc',
type:'Bike'
},
{
name: 'Swift',
type:'Car' …Run Code Online (Sandbox Code Playgroud) sap ×10
abap ×4
web-services ×2
automation ×1
excel ×1
javascript ×1
memcached ×1
navigation ×1
netweaver ×1
php ×1
redis ×1
sapui5 ×1
soapui ×1
sql-server ×1
testing ×1
vba ×1
wsdl ×1