sap

sap abap alv report fill gap between documents

时光毁灭记忆、已成空白 提交于 2019-12-02 08:33:46
I was trying to challenge myself to make an ALV report that displays all the data by company code. but some document number has a gap. I want to fill the gap between missing number For example: last index value: 20012 then next value is: 20014 How do I able to insert 20013 in the grid if the report is using all the data that exist in internal tables? Thanks. This is just blind text typing, but I hope you are able to understand it ... should be quite simple. Dont expect complete code, unless your are not even providing ANY code. DATA: lv_current type i, lv_next type i. SORT lt_internalTable by

Merging cells and cell formatting in ALV

二次信任 提交于 2019-12-02 07:01:03
We are trying to manipulate the alv grid class to get result like in Sap Agenda (SSC1 tcode) i.e. to merge columns and rows. We found that the class cl_calendar_control_schedule with the method display handles that and we are working to understand the content of this method and its parameters. We found that the internat table of lvc_t_data type handles horizontal and/or vertical merging of cells (one row of this Internal table for each cell), but I struggle to understand how to code cell styling, for example, if i want to wipe just the bottom border or left border. What is the style of

Get ABAP into SAP System

旧时模样 提交于 2019-12-02 06:40:17
问题 I'm salesforce.com developer and need to build a simple salesforce.com / SAP integration scenario for demo purposes. I have absolutely no experiences with SAP but we have at least a SAP demo system that I can currently access via SAP GUI only. Now a third party integration solution provider passed me some files and told me to transport them into my SAP demo system using transaction STMS. I think I understood that SAP's Transport Managment system is some kind of deployment tool to lift ABAP

Join list of strings with a comma

青春壹個敷衍的年華 提交于 2019-12-02 05:19:58
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. 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, three') I'm kind of spitballin' here but the following should work. You got a table of strings lt_strings and

List of BUKRS which the current user is allowed to see

耗尽温柔 提交于 2019-12-02 03:41:13
问题 Is there a way to get a list of all BUKRS which the current user is allowed to see? I want to use this list as a filter in open sql. Imagine the result of the method I search stored the result in bk_list . Then I could use bk_list like this: SELECT * FROM some_table WHERE bukrs IN bk_list 回答1: Another way to do it, based on the class CL_AUTH_OBJECTS_TO_SQL (>= 7.50), here the program reads the flights from the read-authorized airline carriers : DATA(authsql) = cl_auth_objects_to_sql=>create

Sendkeys in remote minimized machine VBS

瘦欲@ 提交于 2019-12-02 03:31:05
I´m having problems with doing Shift + Enter in an object of SAP application. This is the code I have: If Dialog("SAP Logon 730").WinListView("SysListView32").Exist(100) Then Dialog("SAP Logon 730").Activate Dialog("SAP Logon 730").WinListView("SysListView32").Select sServer Dialog("SAP Logon 730").Activate SendKeysShell ("+{ENTER}") End if A list of server is displayed in the "Dialog" object. One must be selected (with the .Select) and then open using Shift + Enter. The problem is that if I minimize the remote machine, the Sendkeys is not performed correctly. If you minimise the Remote

Sendkeys in remote minimized machine VBS

强颜欢笑 提交于 2019-12-02 03:22:24
问题 I´m having problems with doing Shift + Enter in an object of SAP application. This is the code I have: If Dialog("SAP Logon 730").WinListView("SysListView32").Exist(100) Then Dialog("SAP Logon 730").Activate Dialog("SAP Logon 730").WinListView("SysListView32").Select sServer Dialog("SAP Logon 730").Activate SendKeysShell ("+{ENTER}") End if A list of server is displayed in the "Dialog" object. One must be selected (with the .Select) and then open using Shift + Enter. The problem is that if I

SAP R3和SAP Business One的区别

馋奶兔 提交于 2019-12-02 00:27:24
SAP R3是SAP开发的 开发语言是ABAP 。 之前叫SAP R/2 然后叫R/3 后又改叫ECC 现在叫A1了。 现在有新的版本S4 HANA ; SAP发展史 SAP Business One是SAP买的以色列的一个软件,开发语言听前辈说是C++或者C#, SAP自己对软件做了一些调整。 SAP Business One是面向中小型企业的,R/3是面向大中型的。 世界500强中的80%都在使用R3。 SAP Business One 简介 来源: https://baike.baidu.com/item/SAP%20Business%20One/3055301?fr=aladdin SAP Business One 是低价并且易实施的管理解决方案,专为满足正在成长的中小型企业的动态需求而设计。SAP Business One 使管理者可以通过一个系统随时访问重要的实时信息,此系统包含财务、客户关系管理、制造和管理控制功能。该应用程序分为多个模块,分别涵盖相应的领域。 全新版本SAP Business One主要功能提升:   ·SAP Business One 8.82 on HANA版本是SAP第一个基于HANA运行的商务套件,集成了OLTP、OLAP和企业搜索在同一个系统。   ·在业务流程中嵌入实时快速分析大数据的能力,打造“实时企业”。   ·提供强有力的功能

SAP S/4 HANA与SAP Business Suite/R3(ECC)的区别

陌路散爱 提交于 2019-12-02 00:27:10
转自: https://blog.csdn.net/zhongguomao/article/details/53515203 去年SAP推出了新一代商务套件SAP S/4 HANA,无疑是ERP行业创新的一个重磅消息。那么SAP S/4 HANA是什么呢?它与SAP SAP Business Suite又有什么区别呢? SAP S/4 HANA (全称SAP Business suite 4 SAP HANA),这款新产品完全构建于目前最先进的内存平台SAP HANA 之上,同时采用现代设计理念,通过SAP Fiori 提供精彩的用户体验 (UX)。 SAP S/4 HANA与SAP Business Suite/ R3(ECC)的区别: 简单地说,S/4 HANA是下一代的R/3和SAP商务套件SAP。它利用新的用户体验技术(SAP Fiori)和内存处理和数据库技术(SAP HANA),以及引入了一个新的引导配置的概念。因此,它提高了简单,减少了处理时间,并提供比更大的功能在R/3是可用的。S/4hana重点是财务、ERP、CRM,SRM,SCM,PLM,和BW,与财务的组件组成的SAP新近发布的简单财务应用。进一步的功能目前在SAP ERP被建造出来的。 由上图对比可知道,SAP Business Suit基于任何的数据库(包括SAP HANA数据库),而SAP S/4

List of BUKRS which the current user is allowed to see

為{幸葍}努か 提交于 2019-12-01 23:09:06
Is there a way to get a list of all BUKRS which the current user is allowed to see? I want to use this list as a filter in open sql. Imagine the result of the method I search stored the result in bk_list . Then I could use bk_list like this: SELECT * FROM some_table WHERE bukrs IN bk_list Another way to do it, based on the class CL_AUTH_OBJECTS_TO_SQL (>= 7.50), here the program reads the flights from the read-authorized airline carriers : DATA(authsql) = cl_auth_objects_to_sql=>create_for_open_sql( ). authsql->add_authorization_object( EXPORTING iv_authorization_object = 'S_CARRID' it