sap

What is the significance for Ruby programmers of SAP's new implementation of Ruby?

老子叫甜甜 提交于 2019-12-08 16:57:25
问题 SAP announced Blue Ruby, a version of Ruby that runs inside the ABAP Virtual Machine. This seems to lend additional credibility to the Ruby language but, except for SAP developers, does this have any applicability to the rest of the Ruby community? I'm just wondering what other significance this may have. Additional job opportunities, perhaps, for Ruby developers to be hired to work on SAP projects? Any other potential benefits for Ruby programmers? Also, something I'm not clear about:

SQL Row data to Column with another column name

徘徊边缘 提交于 2019-12-08 13:42:34
问题 My data as follow: > mydata month count1 count2 count3 1 201301 100 110 50 2 201302 150 160 60 3 201303 200 210 50 My expected data like this: >final data count_all 201301 201302 201303 1 count1 100 150 200 2 count2 110 160 210 3 count3 50 60 50 How can I get the result using SQL? I know PIVOT a little, but it seems there are some problems in the column name during my processing. I need an efficient way to resolve this problem. And I will execute such a query: select * from final_data where

Extracting .currentCellRow fields from SAP to Excel

独自空忆成欢 提交于 2019-12-08 13:07:07
问题 I have been using vba with SAP for a while now and have never run into this particular issue. Usually, when script recording in SAP, I click on a field and am left with some string of code with a .setfocus as the end. I replace this with .text in order to extract the data in that cell. I have run into a menu that ends in .currentCellRow= # and thus if I change it, it loses its position and has no idea what field I am talking about. Is there any way that I can adjust this to pull data from

How to loop at Table only having ref to data

爷,独闯天下 提交于 2019-12-08 12:46:19
问题 I am using the function Module RSAQ_QUERY_CALL , getting back a table DATA: gr_data TYPE REF TO data . CALL FUNCTION 'RSAQ_QUERY_CALL' EXPORTING query = 'ZXXXXXXXX' usergroup = 'XXX' VARIANT = 'TEST' SKIP_SELSCREEN = 'X' DATA_TO_MEMORY = 'X' IMPORTING ref_to_ldata = gr_data EXCEPTIONS OTHERS = 11 . Now how can I loop at that table? What I tried: assign to a filed-symbol passing a field-symbol instead of dref Both did not work. 回答1: I found the solution (after asking the senior dev..) FIELD

How can I implement a linear regression line in a Vizframe Chart?

时光毁灭记忆、已成空白 提交于 2019-12-08 12:20:25
问题 I have a scatter plot Vizframe chart in which I need to include a linear regression/trend line. Any idea how this can be done? It appears this is not something offered by vizframe 'out of box'? I can't find a solution for this! Question: Any suggestions on a feasible way to implement a regression line on a Scatter Plot Vizframe chart? Here is the code I have for the setup. The scatter plot opens in a dialog/modal when a button is pressed. sap.ui.define([ 'jquery.sap.global', 'vizConcept

ABAP DDD how to correctly implement add/update/remove child from aggregate via RFC?

自作多情 提交于 2019-12-08 12:17:44
问题 I'm trying to follow DDD principles for my current project. Unfortunately I have to use RFCs due to technical constraints, so no OData and no REST. It's quite a long question I hope it's OK to ask this in Stackoverflow. In any case, I have an entity class WorkOrder with a list of Operation objects. I have a WorkOrderRepository class with a SAVE method that only receives a WorkOrder object and is able to save everything (header data, address, etc) in one go. No matter if it's creation, update

Consuming Sap WebService - request sent twice and fails every time

血红的双手。 提交于 2019-12-08 10:12:09
问题 i'm strugglin a bit with consuming a sap webservice. I've been through many tutorials and also many threads on msdn, but i cannot find a solution for my Problem: Running my Programme ends up with this error: CommunicationException not handled. -> unknown Messageversion System.ServiceModel.CommunicationException wurde nicht behandelt. HResult=-2146233087 Message=Unbekannte Nachrichtenversion. Source=mscorlib StackTrace: Server stack trace: bei System.ServiceModel.Channels.ReceivedMessage

Partner not reached error in JCO.destination

非 Y 不嫁゛ 提交于 2019-12-08 09:18:05
问题 I'm Having a problem establishing a connection to SAP in my java program. I'm following the examples that come in the JCO download but i always get this error: com.sap.conn.jco.JCoException: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connection parameters: TYPE=A DEST=ABAP_AS_WITHOUT_POOL ASHOST=xx.xx.x.xx SYSNR=00 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner 'xx.xx.x.xx:3300' not reached TIME Wed Jul 08 08:18:28 2015 RELEASE 711 COMPONENT NI

Excel 2016: Clicking/Simulating a Click using a VBA macro

六眼飞鱼酱① 提交于 2019-12-08 06:53:00
问题 I'm looking to write a VBA macro that will execute or click a button from the SAP Analysis for Office plug-in in the ribbon. Currently, I have a working alternative using the hotkeys for the ribbon tab and the button which I send using SendKeys in my VBA macro but it's not robust enough as different users may have different ribbon layouts and thus different hotkey combinations for the same functionality. This is the button I would like to programmatically click. Can you please assist me in

Building JCoServer without Properties-File

让人想犯罪 __ 提交于 2019-12-08 05:47:57
问题 I got another JCo-related question and hopefully finding help. With JCo you can easily build up a connection like it is explained in the example sheets which came with the JCo-library. Unfortunately, the only way building a connection is handled with a created property file. It wouldn´t be that bad, if there wasn´t any sensible data in it. But at least, the password for the SAP user stands in the file, so it is a lack of safety in this way of connection-handling. The manual of JCo says so,