sap

「SAP技术」为正常库存管理的物料做成本中心采购会是什么结果?

拥有回忆 提交于 2019-12-02 11:25:10
SAP 为正常库存管理的物料做成本中心采购会是什么结果? 这种采购可以正常进行,收货后SAP会更新采购订单里指定的费用类科目,而库存数量和库存价值都不会增加。 1, 如下物料号,是正常做库存管理的物料, 物料类型4002,在工厂SZCC下做完整的库存管理, 2, 该物料在SZCC下的库存, 3,创建了如下的采购订单,把'账户分配类别'字段值设置为K, 输入成本中心和一个费用类的总账科目, 4, MIGO对该采购订单执行收货, 在'何处'选项卡里,不出现存储地点字段,保存, 5, 看库存,库存数据不变, 看收货时候产生的物料凭证里的财务凭证,不更新库存科目,更新了费用类的总账科目, 2019-10-17 写于苏州。 来源: https://www.cnblogs.com/DicksonJYL/p/11742975.html

Join list of strings with a comma

一个人想着一个人 提交于 2019-12-02 11:19:24
问题 I am learning ABAP. In the past I used python. Python: ', '.join(['one', 'two', 'three']) Result: 'one, two, three' How can I join a list of strings with , and create a string containing one, two, three ? System release is 740. 回答1: Another way of writing CONCATENATE LINES OF ... is to use the 7.40 function concat_lines_of( [table =] itab [sep = sep] ) cl_demo_output=>display( concat_lines_of( table = value string_table( ( `one` ) ( `two` ) ( `three` ) ) sep = `, ` ) ). (Result: 'one, two,

How to prevent OData service call on model change

≡放荡痞女 提交于 2019-12-02 10:30:51
I have a sap.m.Table whose "items" are bound to oData v2 model. I need to delete item on click on delete icon. Here is what I do: On click of delete icon, I get all the rows in the model, delete the one in question and set the property of model again. However since the model is changed, it triggers a backend round trip and brings the latest data and table shows the original rows again. I tried setting binding mode to OneTime but that does not work. Also tried setting RefreshAfterChange to false but even then service was called again. Here is my code - Controller onInit: function() { var oModel

No sapjco3 in java.library.path Eclipse

限于喜欢 提交于 2019-12-02 08:55:50
I'm getting this error when i run code. java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path I have added the jar( sapjco-3.0.jar ) to folder and did set the path in the project. Thanks. You are missing the native implementation of the sap java connector. sapjco consists of a .jar for the java binding and a native library (an .so-file) for the platform specific binding. You need an account on the sap service marketplace to access it. If you have one go to http://service.sap.com and there to Software Downloads / INstallations and upgrades / Browse / SAP Connectors / SAP JCO Once you

how to reset password in SAP using BAPI?

怎甘沉沦 提交于 2019-12-02 08:35:52
I am trying to reset password for SAP using bapi but i am getting error as "password is not type of field input". I am posting my code below. Here getRandomString() is user defined function. I have copied this code from Internet and I am unaware about this. String newPassword = getRandomString(); try{ JCO.Function bapiUserChange = repository.getFunctionTemplate("BAPI_USER_CHANGE").getFunction(); if(bapiUserChange != null){ JCO.ParameterList userChangeInput = bapiUserChange.getImportParameterList(); JCO.Structure sPassword = userChangeInput.getStructure("PASSWORD"); //sPassword.setValue