sap

如何创建SAP Cloud Platform Process Integration runtime服务

对着背影说爱祢 提交于 2019-12-11 10:27:00
登录SAP Cloud Platform cockpit,进入subaccount的Service marketplace界面,选择process integration runtime: 点击instances按钮: 创建一个新的Service instance,plan选择integration-flow: Service instance参数维护如下: Service instance创建完毕后,再创建一个Service key: 记下client id和client secret: 将来使用http request访问部署在SAP Cloud Platform上的integration flow时,会用到这个client id和secret. 要获取更多Jerry的原创文章,请关注公众号"汪子熙": 来源: https://www.cnblogs.com/sap-jerry/p/12020656.html

iText Filling existing table PDF

拜拜、爱过 提交于 2019-12-11 09:23:56
问题 I'm trying to fill an existing table in my PDF. I found some examples on iText but they always create a new table and then fills it. In my case I have already created a table and now I want to add rows to this? Is it possible to do this? 回答1: How-to-add-row-in-jtable may help you. Instead iText, You can print your table using Jtable's built in print method. Go to this link for more. Thanks. 来源: https://stackoverflow.com/questions/20608016/itext-filling-existing-table-pdf

Convert database query result to json/yaml/xml with ABAP

。_饼干妹妹 提交于 2019-12-11 09:02:44
问题 Is there a way to convert a database query result to json/yaml/xml with ABAP? I am new to SAP software development. 回答1: DATA: lt_flight TYPE STANDARD TABLE OF sflight, lrf_descr TYPE REF TO cl_abap_typedescr, lv_json TYPE string. SELECT * FROM sflight INTO TABLE lt_flight. * serialize table lt_flight into JSON, skipping initial fields and converting ABAP field names into camelCase lv_json = /ui2/cl_json=>serialize( data = lt_flight compress = abap_true pretty_name = /ui2/cl_json=>pretty_mode

Retrieving Object names and Transfer requests for an entire package programmatically

我的未来我决定 提交于 2019-12-11 08:29:49
问题 I have two separate system (development and testing) and I need to check that for all my objects (programs and all includes) the version in development matches that in dev. I can do this manually by going to SE80 -> Utilities -> Version Management for each object but for hundreds/thousands of objects this is extremely time consuming. Is there a way to retrieve the object name and TR programatically so that they could be output to a table or spreadsheet? EDIT. (Vwgert it seems to me like this

ABAP in Eclipse prerequisites?

坚强是说给别人听的谎言 提交于 2019-12-11 08:18:06
问题 What do i need for setting up a connection to a local database in Eclipse to start developing in ABAP? I already installed the plugin for ABAP but i can't connect to a database. Any suggestions? 回答1: ABAP Development Tools (ADT) is an add-on to Eclipse to develop in ABAP, but it's only the frontend software, it requires another software, the "backend" (also called the ABAP-based system). Did someone give you the credentials to an existing ABAP-based system, or did you install your own free

2 errors when trying to use RFCDestination.Repository.GetTableMetadata(string tablename)

梦想与她 提交于 2019-12-11 07:29:42
问题 I know that you can get the data of a table in a SAP Server with the function RFCDestination.Repository.GetTableMetadata(string tablename) . Unfortunately I get an error when I try to execute the command. The weird thing is when I give a exisiting table I get a different error when I try something random as a tablename. Existing table: var x = dest.Repository.GetTableMetadata("TFTIT"); Error: SAP.Middleware.Connector.RfcInvalidStateException: "cannot find TABLE specified by TFTIT" Random

How to execute Report given the results of a previously executed Report in ABAP

无人久伴 提交于 2019-12-11 07:23:02
问题 My problem is the following: I have one report called Y5000112 . My colleagues always execute it manually once with selection screen variant V1 and then execute it a second time with variant V2 adding the results of the first execution to the selection. Those results in this case are PERNR . My goal: Automate this - execute that query twice with one click and automatically fill the PERNR selection of the second execution with the PERNR results of the first execution. I found out how to

How to access row and column data on click of an icon in ColumnListItem

大兔子大兔子 提交于 2019-12-11 04:17:15
问题 I have a JS view in which I am creating a sap.m.Table. It's "columns" are bound to a JSONModel. It's "items" are bound to ODataModel. I want to access the row data and the column name when I click on an Icon contained in the ColumnListItem. View code: createContent : function(oController) { var oTable = new sap.m.Table("table1", { width: "auto", noDataText: "Please add rows to be displayed!" }).addStyleClass("sapUiResponsiveMargin"); oTable.bindAggregation("columns", "Periods>/periods",

Running VBS script with Ruby

不打扰是莪最后的温柔 提交于 2019-12-11 03:23:48
问题 Is it possible to run a VBScript from Ruby? I have several scripts to automate some tasks in SAP systems and I'm currently running them from Excel. I'd like to move this to Ruby, where my other modules are in place. Is this possible, and if so, how can I accomplish this? EDIT More background info: I'm using VBScripts to perform some repetitive daily tasks in certain SAP transactions. I have to carry some data to and from an SAP system. I've integrated the VBScripts to VBA and I run them via

SAP Netweaver hot deployment

社会主义新天地 提交于 2019-12-11 02:55:58
问题 I am completely new to SAP netweaver in fact SAP. I am working in a project which is based on Java/J2ee(JSF, Icefaces) and SAP netweaver combination. Currently, we are building/deploying the application using ant, for every small change in jspx file or some html file, we have do re-build. Just wanted to know, if I can browse the deployment location like other application servers(Jboss,tomcat,weblogic) and manually deploy the respective changed file. Any possibility. Does it have hot