abap

No option to submit and retrieve SAP UI5 application in ABAP Repository

Deadly 提交于 2020-07-14 12:23:05
问题 I got an issue regarding submitting and retrieving SAP UI5 applications. Usually I would create my UI5 project and submit it by right clicking on project and then TEAMS->Share-> then I share my project to ABAP repository. Unfortunately Eclipse won't show me any connections and it shows when I resize the window as showing in first two images(image: error1 and error2). and no repositories are show in eclipse as well(image : error3) I am using Eclipse IDE for Enterprise Java Developers. Version:

Get total without LOOP in abap

落花浮王杯 提交于 2020-07-10 03:11:50
问题 I refer to this question and answers To get total and subtotal without loop in new abap. But my requirements are much simpler than that. I only need the categories with their corresponding totals. I have internal table like: Category Amount AAA 10 AAA 20 BBB 30 CCC 40 CCC 50 CCC 60 I need to build the internal table as this: Category Amount AAA 30 BBB 30 CCC 150 Can anyone help with this? 回答1: From release 7.40 and onward, this can be accomplished by combining grouping in internal tables (FOR

Get total without LOOP in abap

六月ゝ 毕业季﹏ 提交于 2020-07-10 03:11:11
问题 I refer to this question and answers To get total and subtotal without loop in new abap. But my requirements are much simpler than that. I only need the categories with their corresponding totals. I have internal table like: Category Amount AAA 10 AAA 20 BBB 30 CCC 40 CCC 50 CCC 60 I need to build the internal table as this: Category Amount AAA 30 BBB 30 CCC 150 Can anyone help with this? 回答1: From release 7.40 and onward, this can be accomplished by combining grouping in internal tables (FOR

Fetch the value of nested structure returned by RFC?

点点圈 提交于 2020-07-07 09:09:59
问题 I am new to C#. I have rfc that returns data from SAP system as nested structure but when I'am fetching that data using: IrfcTable table = rfc.getTable("exporting_parameter"); // et_customer it returns only first inner structure only. For example my exporting internal table for rfc is et_customer that contains sub structure as follow: gen_data bank data tax data it returns value inside gen_data only. How to get entire data? 回答1: A couple of Extensions that may help. eg Convert from SAP

Determining the active formatting settings in ABAP

一个人想着一个人 提交于 2020-07-03 04:26:46
问题 As the ABAP documentation of Formatting Settings explains: The formatting settings are set as follows: At the start of an internal session they are determined by the related default settings in the fixed values in the user master record of the current user. Using the statement SET COUNTRY, this default setting for the current internal session can be overwritten using country-specific formats . But as the ABAP documentation of SET COUNTRY makes clear, there is no way to query what's actually

Disable a parameter input at selection screen

家住魔仙堡 提交于 2020-06-23 06:53:08
问题 I have screen filter at selection screen like this SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME. PARAMETERS s_werks like resb-werks DEFAULT 'X' . SELECT-OPTIONS: s_aufnr FOR in_param-aufnr, s_matnr FOR in_param-matnr, s_bldat FOR in_param-bldat. SELECTION-SCREEN END OF BLOCK a. and I want to disable just s_werks parameter but SELECT-OPTIONS . I want to disable it because it'll be exact value which is filled from table depends on the sy-uname :) How to achieve that? 回答1: You can use the OUTPUT

Add table rows to the transport request

萝らか妹 提交于 2020-06-08 15:01:43
问题 I have a problem with adding rows of table to the transport request in programming way. When i wrote down the transport request number i get the error: You cannot use request EAMK913244 the code that i used for transporting date is: form add_data_to_transaction . data lt_variable_changed type table of ztable_task2 . data: l_request type trkorr, lt_e071 type tr_objects, lt_e071k type tr_keys, lv_position type ddposition, lv_tabkey type trobj_name, ls_e071 type e071, ls_e071k type e071k.

Getting RFC function module parameters in C#

拜拜、爱过 提交于 2020-05-15 09:34:05
问题 I am currently using the SAP .NET Connector 3.0 in C# and I want to get the parameters like Import, Export and Table from a given function module. Is there any way in C# while using the SAP .NET Connector to do this? 回答1: Assuming that you are referring to a function module's interface definition, the functionality to query and interpret this RFC meta data from a SAP system is already contained in the connector library. As an entry point for NCo 3.0, have a look into its official API

XXX is a table without a header line and therefore has no component called “EBELN”

一笑奈何 提交于 2020-04-15 17:20:48
问题 I'm getting the syntax error: "IT_COMBINE" is a table without a header line and therefore has no component called "EBELN". I have tried using "into corresponding fields" and that does not work. My code: 19 Data it_combine type standard table of ty_combine. ... 32 select ebeln lifnr ekorg bsart ekgrp 33 into table it_po 34 from ekko 35 where ebeln = it_combine-ebeln. " <=== SYNTAX ERROR ... 回答1: You can not use the fields in internal tables directly if you did not declare your internal table

使用Excel调用ABAP系统的函数

馋奶兔 提交于 2020-04-06 18:14:55
效果:在excel里创建一个按钮,开发一些VB script,可以连接指定的ABAP系统并执行系统里的ABAP function module。 在这里例子里执行ABAP系统的函数TH_USER_LIST, 把当前系统登录的用户取回来显示在excel里。 该按钮的点击响应函数实现代码: Sub CommandButton1_Click() Set R3 = CreateObject("SAP.Functions") Set myConnction = R3.Connection myConnction.ApplicationServer = "ag3.xxx.sap.corp" myConnction.SystemNumber = 54 myConnction.Client = "001" myConnction.user = "WANGJER" myConnction.Password = "your password" If myConnction.Logon(0, True) <> True Then MsgBox "Logon failed" Exit Sub End If Dim callFunctionModule As Object Set callFunctionModule = R3.Add("TH_USER_LIST") callFunctionModule