abapblog.com
Open in
urlscan Pro
188.210.221.86
Public Scan
Submitted URL: http://abapblog.com/
Effective URL: https://abapblog.com/
Submission: On March 01 via manual from US — Scanned from PL
Effective URL: https://abapblog.com/
Submission: On March 01 via manual from US — Scanned from PL
Form analysis
1 forms found in the DOMPOST /
<form class="form-search" action="/" method="post">
<div class="search">
<label for="mod-search-searchword">Search ...</label><i class="fa fa-search"></i><input name="searchword" id="mod-search-searchword" maxlength="200" class="form-control " type="text" size="200"> <input type="hidden" name="task" value="search">
<input type="hidden" name="option" value="com_search">
<input type="hidden" name="Itemid" value="101">
</div>
</form>
Text Content
Search ... * Home * About me * FALV * ALV Grid in the nutshell * Basic Information * Field catalog * Articles * Tricks * FALV (Fast ALV Grid) * ALV Grid in the nutshell * Tips * How to... * For beginners * Thoughts * By Topic * ALV * ALV OO * SALV * GOS * Selection screen * Purchase Requisitions * Purchase Orders * Attachments * Others * Characteristics * Sample Programs * ZIP * OLE * Mails * Routings * EWB * Excel * Keywords * RSS * Download * Home * About me * FALV * ALV Grid in the nutshell * Basic Information * Field catalog * Articles * Tricks * FALV (Fast ALV Grid) * ALV Grid in the nutshell * Tips * How to... * For beginners * Thoughts * By Topic * ALV * ALV OO * SALV * GOS * Selection screen * Purchase Requisitions * Purchase Orders * Attachments * Others * Characteristics * Sample Programs * ZIP * OLE * Mails * Routings * EWB * Excel * Keywords * RSS * Download * * * * * * * * * Home ABAP IN ECLIPSE - INSTALL, CONFIGURE, USE, AND ENHANCE YOUR ADT Details Łukasz Pęgiel Thoughts 11 June 2021 Hits: 6189 If you follow me on social media, you probably already know that I have written a book about ABAP in Eclipse. The full title is: ABAP in Eclipse - Install, Configure, Use, and Enhance Your ADT and it is pointed to all ADT users as it covers the topics from installation up to extension of Eclipse. If you have the book, let me know your feedback, as this is most important for an author to see where he did well and where he need to still learn. Cheers 2 Comments ALV GRID IN THE NUTSHELL: FIELD CATALOG - COL_ID - ALV CONTROL: COLUMN ID Details Łukasz Pęgiel ALV Grid in the nutshell 08 June 2020 Hits: 6941 Tags: CL_GUI_ALV_GRID , ALV GRID IN THE NUTSHELL , FIELDCATALOG , LVC_T_FCAT , COL_ID , ALV GRID Column ID is not really a special field in ALV. It is always filled automatically by ALV and your manual entries are overwritten and set to the same value as COL_POS (Column position). I’ve prepared a demo program (ZDEMO_AIN_CL46) to show you, how the COL_ID is changing on a base of COL_POS. On the selection screen you can find two radio-buttons. Figure 120 ZDEMO_AIN_CL46 Selection screen When you select the first option - “COL_ID filled”, the FCAT will be created with manual COL_ID. 0 Comments Read more ... ALV GRID IN THE NUTSHELL: FIELD CATALOG - DFIELDNAME – FIELDNAME FOR COLUMN GROUP Details Łukasz Pęgiel ALV Grid in the nutshell 27 April 2020 Hits: 5486 Tags: CL_GUI_ALV_GRID , ALV GRID IN THE NUTSHELL , FIELDCATALOG , LVC_T_FCAT , DFIELDNANE , ALV GRID I was trying to find an usage of this field in ALV, but I failed. Any of known behaviours of ALV didn’t shown anything on a base of this field. 4 Comments Read more ... ALV GRID IN THE NUTSHELL: FIELD CATALOG - HOTSPOT - ALV CONTROL: SINGLECLICK-SENSITIVE Details Łukasz Pęgiel ALV Grid in the nutshell 27 April 2020 Hits: 19644 Tags: CL_GUI_ALV_GRID , ALV GRID IN THE NUTSHELL , FIELDCATALOG , LVC_T_FCAT , HOTSPOT , ALV GRID Hotspot fields are very widely used in ALV, such fields have the behaviour and style of hyperlinks, which means they are triggering the single-click event of ALV called HOTSPOT_CLICK. It is commonly used to show the details of the clicked object, or to move to a transaction in which the object can be modified. As you can imagine, setting column as a HOTSPOT is very easy, you need to pass only the ABAP_TRUE (‘X’) value to the field catalog, but this will only change the style of the field (content of the field is underlined) and it will fire the HOTSPOT_CLICK event. Figure 114 Setting column as hotspot 0 Comments Read more ... ALV GRID IN THE NUTSHELL: FIELD CATALOG - SP_GROUP - GROUP KEY Details Łukasz Pęgiel ALV Grid in the nutshell 18 April 2020 Hits: 9140 Tags: CL_GUI_ALV_GRID , ALV GRID IN THE NUTSHELL , FIELDCATALOG , LVC_T_FCAT , SP_GROUP , ALV GRID Group key is not widely used but it has nice feature. Once you group the field catalog fields and you pass the group name into parameter IT_SPECIAL_GROUPS of method SET_TABLE_FOR_FIRST_DISPLAY, then in selection of fields to display in layout change window, you’ll be able to choose to see all hidden fields or the hidden fields from the group you’ve created. If you don’t pass the group name into IT_SPECIAL_GROUPS, then this setting of field catalog has no impact on display. For my demo program ZDEMO_AIN_CL43, I’ve created a field catalog with REF_TABLE filled for all fields, so it is easier to understand the functionality. Additionally, I’ve hidden all fields that have SP_GROUP filled, so you can check the behaviour directly after running the program. Figure 109 Field catalog with Group Keys 2 Comments Read more ... ALV GRID IN THE NUTSHELL: FIELD CATALOG - DOMNAME - DOMAIN NAME Details Łukasz Pęgiel ALV Grid in the nutshell 18 April 2020 Hits: 5489 Tags: CL_GUI_ALV_GRID , ALV GRID IN THE NUTSHELL , FIELDCATALOG , LVC_T_FCAT , DOMNAME , ALV GRID You may suspect that setting up a domain name in the field catalog will make some effect on the display, for example in data type, length, lowercase sign, but it seems that it has no effect in ALV grid. Maybe just for information and for Report-Report interface, where this field is use as one of the matching criteria for selection-screen parameters. As you can see on the next image, although I gave the DOMNAME value FLAG, it didn’t changed anything in the field catalog. Figure 108 DOMNAME in Field catalog 0 Comments ALV GRID IN THE NUTSHELL: FIELD CATALOG - REPREP - ALV CONTROL: VALUE IS SELECTION CRITERION FOR REP./REP.INTF. Details Łukasz Pęgiel ALV Grid in the nutshell 13 April 2020 Hits: 6292 Tags: CL_GUI_ALV_GRID , ALV GRID IN THE NUTSHELL , FIELDCATALOG , LVC_T_FCAT , REPREP , ALV GRID Before writing this part, I was never using Report-Report Interface, so probably it is not common scenario to do so, or it is not used with the systems I had possibility to use. But anyway I’ve made a deep dive into topic, to understand how we can use this interface and for which purpose. Seems that, using this interface, you can call from ALV grid an BW Query, SAP Query, ABAP Report Program or Transaction. Probably depending on the installed version of your system, or addons, the list of the interfaces may be longer. Anyway I’ve focused here on a simple example of calling another ABAP report using RRI. At the beginning I was wondering if configuration in table TRSTI and setting the parameter REPREP to ABAP_TRUE will be enough to call the interface. So I’ve started with filling TRSTI, where I’ve set sender and receiver, both as RT (ABAP Report Program). Figure 100 TRSTI entry for sender program 0 Comments Read more ... ALV GRID IN THE NUTSHELL: FIELD CATALOG - REPTEXT – HEADING Details Łukasz Pęgiel ALV Grid in the nutshell 13 April 2020 Hits: 8009 Tags: CL_GUI_ALV_GRID , ALV GRID IN THE NUTSHELL , FIELDCATALOG , LVC_T_FCAT , REPTEXT , ALV GRID This field allows us to set (or change) the header text of the column. It can consist up to 55 characters in lowercase mode. When you use data dictionary reference ( REF_FIELD, REF_TABLE ) it is populated automatically from the data element of the referenced field. Figure 97 Texts of Data Element S_FROMAIRP 0 Comments Read more ... ALV GRID IN THE NUTSHELL: FIELD CATALOG - LOWERCASE - LOWERCASE LETTERS ALLOWED/NOT ALLOWED Details Łukasz Pęgiel ALV Grid in the nutshell 13 April 2020 Hits: 6170 Tags: CL_GUI_ALV_GRID , ALV GRID IN THE NUTSHELL , FIELDCATALOG , LVC_T_FCAT , LOWERCASE , ALV GRID The changes of this parameter are only visible in edit mode and makes sense only for character or string fields. If it is set to ABAP_TRUE (‘X’), then the ALV grid stores in internal table the value in lowercase, if the value of the parameter is empty, then it will always convert the entered value to uppercase. Figure 96 Results of zdemo_ain_cl39 with lowercase turned on 0 Comments ALV GRID IN THE NUTSHELL: FIELD CATALOG - INTLEN - INTERNAL LENGTH IN BYTES Details Łukasz Pęgiel ALV Grid in the nutshell 13 April 2020 Hits: 3747 Tags: CL_GUI_ALV_GRID , ALV GRID IN THE NUTSHELL , FIELDCATALOG , LVC_T_FCAT , INTLEN , ALV GRID As the description says, the meaning of that field is to set the internal length of the field in Bytes. During my whole career as ABAP Developer, I had never filled that field manually. Usually you’ll not bother yourself about it. But if you do, then take into consideration following information: * Length is in Bytes, so remember that it doesn’t mean, that one character takes one Byte * In display mode, you’ll not notice probably any change * When you’ll setup this incorrectly, you may have problems when you allow grid to be editable, for example: When I’ve set the INTLEN to ‘2’ for column FLTIME, then although I’ve entered the value of ‘12’ into the column, system didn’t allowed me to save it. Figure 94 Error in edit mode caused by wrong value of field INTLEN (ZDEMO_AIN_CL38) Figure 95 Error message of ZDEMO_AIN_CL38 0 Comments DOWNLOADING EXCHANGE RATES FROM NBP (NATIONAL BANK OF POLAND) Details Łukasz Pęgiel How to... 06 April 2020 Hits: 6413 Tags: BAPI_EXCHANGERATE_CREATE , CL_HTTP_CLIENT , CALL TRANSFORMATION Following the example of downloading exchange rates from Central Bank Of Turkey using transformations, please find bellow the same way for National Bank of Poland. Again, lets create an RFC destination (lets call it here Z_DESTINATION_TO_NBP) tha will point to https://www.nbp.pl/kursy/xml/lasta.xml, where the last exchange rates are posted. 0 Comments Read more ... DOWNLOADING EXCHANGE RATES FROM CENTRAL BANK OF TURKEY Details Łukasz Pęgiel How to... 06 April 2020 Hits: 7035 Tags: BAPI_EXCHANGERATE_CREATE , CL_HTTP_CLIENT , CALL TRANSFORMATION One of the standard requests that comes with every SAP implementation is automatic download of exchange rates to your system. Today I will show you on an example of Central Bank Of Turkey, how to transform XML from bank site into internal table, which can be then used inside your code to populate values of BAPI_EXCHANGERATE_CREATE FM. There are few ways to download the XML to your ABAP code, I prefer to create an RFC destination (lets call it here Z_DESTINATION_TO_TCMB), as on many servers you need to provide credentials for PROXY and it is safer to keep it saved inside RFC destination, than in your ABAP code in plain text. So lets assume you have an RFC destination that points to https://tcmb.gov.tr/kurlar/today.xml. It will look like this: 2 Comments Read more ... ABAP EXTENSIONS - AUTOMATIC LOGON Details Łukasz Pęgiel How to... 04 January 2020 Hits: 13518 Tags: ECLIPSE , ADT , PLUGIN , ABAP EXTENSIONS , AUTOMATIC LOGON Yesterday I've announced that I'm working on automatic logon to SAP systems on Eclipse. Today the changes in the plugin ABAP Extensions for Eclipse are published and you can use the first version of the automatic logon on your installations. ABAP Extensions plugin you can find in Eclipse Marketplace or by doing direct installation from this link http://abapblog.com/eclipse/plugin/ABAPFavorites/ or by using the install button which you can find on the right side of this page. After installation of update will be able to set the preference if you want to do automatic logon at start of Eclipse and if you want to logon automatically only to the systems, for which you have stored the password already. These are also default settings for the plugin. The logon happens in the background job. So if you have several systems in your workspace, it will take a while to logon to all the systems. The progress you can follow in the Progress View. 19 Comments Read more ... ALV GRID IN THE NUTSHELL: FIELD CATALOG - INTTYPE - ABAP DATA TYPE (C,D,N,...) Details Łukasz Pęgiel ALV Grid in the nutshell 18 December 2019 Hits: 8686 Tags: CL_GUI_ALV_GRID , ALV GRID IN THE NUTSHELL , FIELDCATALOG , LVC_T_FCAT , INTTYPE , ALV GRID As you can imagine, INTTYPE is just a presentation of DATATYPE in internal SAP format in most of cases. I wrote most of cases because it can also say if the field in internal table is a reference to other type, or for example a table. Just like DATATYPE, you don’t need to fill this field manually, when you’ll leave it empty, ALV grid will automatically setup a proper type according to referenced internal table field. But if you’ll have unstoppable need of filling it, then the behaviour of the column will be exactly the same like you would use DATATYPE field, means JUST, OUTPUTLEN, INTTYPE, INTLEN and DD_OUTLEN fields will be also field and the difference on the screen will be not that huge. Figure 93 Fieldcatalog of the ZDEMO_AIN_CL37 for Internal ABAP type T 0 Comments Read more ... MORE ARTICLES ... 1. ALV Grid in the nutshell: Field catalog - datatype 2. ALV Grid in the nutshell: Field catalog - rollname 3. ALV Grid in the nutshell: Field catalog - tooltip 4. ALV Grid in the nutshell: Field catalog - seltext 5. ALV Grid in the nutshell: Field catalog - convexit 6. ALV Grid in the nutshell: Field catalog - tech 7. ALV Grid in the nutshell: Field catalog - no_out 8. ALV Grid in the nutshell: Field catalog - no_sum 9. ALV Grid in the nutshell: Field catalog - do_sum 10. ALV Grid in the nutshell: Field catalog - fix_column Page 1 of 11 * Start * Prev * 1 * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * Next * End Łukasz Pęgiel GUI ALV GRID Downloading Exchange Rates from NBP National Bank of Poland ACR RM07DOCS UI2 JSON SAVE USER OBJECTS FIELDCATALOG Download ALINK CONNECTION REUSE MERGE SELECTION-SCREEN FUNCTION KEY SLIN SAP Community Events JSON2ABAPtype LVC FCAT BINARY RELATION GTREAD LINKS BINRELS CVAPI DOC CHECKOUTVIEW APPEND SETTINGS SAP DEVELOPMENT TOOLS FOR ECLIPSE RESET REJ ALLOWED ZIP a file using ABAP ZDEMO FALV07 - Columns field catalog settings ALV Grid in the nutshell Field catalog - col id - ALV control Column ID CMD API EXTRACT POPUP Other checks on purchase requisition state SEARCH Field catalog - icon ALV GRID ABAP IN ECLIPSE BAPI CHARACT GETDETAIL SET TABLE FOR FIRST DISPLAY COMPONENTS MAINTAIN CLASS READ FILL MDPA FROM EBAN DARKEST DARK THEME GTINSERT SCMS XSTRING FIX COLUMN PURCHASE ORDER FALV IXML PARSER #EC SAPGUI FUNCTIONCODE PROGRESS INDICATOR COMMIT WORK MB51 FLAG GOS SERVICE TOOLS GTMOVE LINKED REQ FACTORY UPPER CASE ADT * Laserowe usuwanie blizn Tychy * Laserowe usuwanie zmarszczek Tychy * Paznokcie hybrydowe Tychy * Paznokcie tytanowe Tychy * Salon Kosmetyczny Tychy * Trycholog Tychy * Wypadanie włosów Tychy ECLIPSE PLUGINS FOR ABAP ABAP Favorites ABAP ADT Extensions ABAP Quick Fixes LATEST ARTICLES * ABAP in Eclipse - Install, Configure, Use, and Enhance Your ADT * ALV Grid in the nutshell: Field catalog - col_id - ALV control: Column ID * ALV Grid in the nutshell: Field catalog - dfieldname – Fieldname for column group * ALV Grid in the nutshell: Field catalog - Hotspot - ALV control: SingleClick-sensitive * ALV Grid in the nutshell: Field catalog - sp_group - Group key * ALV Grid in the nutshell: Field catalog - domname - Domain name * ALV Grid in the nutshell: Field catalog - reprep - ALV control: Value is selection criterion for rep./rep.intf. * ALV Grid in the nutshell: Field catalog - reptext – Heading * ALV Grid in the nutshell: Field catalog - lowercase - Lowercase letters allowed/not allowed * ALV Grid in the nutshell: Field catalog - intlen - Internal Length in Bytes * Downloading Exchange Rates from NBP (National Bank of Poland) * Downloading Exchange Rates from Central Bank of Turkey * ABAP Extensions - Automatic Logon * ALV Grid in the nutshell: Field catalog - inttype - ABAP data type (C,D,N,...) * ALV Grid in the nutshell: Field catalog - datatype MOST READ * Create XLSX/MHTML file from internal table in background * Refresh ALV GRID and keep position and current cell * FALV (Fast ALV Grid) * Create XLSX file from internal table in background v2 * Call standard F4 search help with customized parameters * Dynamic GUI STATUS & TITLE with ABAP code * ATC Pseudo Comments list * Create fieldcatalog from internal table * Link Attachments of Purchase Requisition to Purchase Order * GOS - How to add business documents at creation of object * Create a nice looking chart with CL_GUI_CHART_ENGINE - Part 3 - Chart Data and render * How to access private or protected data and methods of CL_GUI_ALV_GRID * Endless loop in BADI ME_PROCESS_PO_CUST * Subtotal lines of ALV GRID OO as content separator * Popup with multi-select ALV Feed Entries LATEST COMMENTS * sfortza Thanks on this tip. Killed myself for two days figuring out why e-mail will not send. Now, I have small problem as I cannot get to set email with High Importance no matter what I try.... Send mail in BADI or User-Exit without commiting · 1 year ago * Sonam Prasad Hi Lukasz, Thanks for the blog. It helped a lot. Create XLSX file from internal table in background v2 · 1 year ago * Christophe COUAILLET Hi Lukasz, Thank you very much for your trick, it just helped us a lot. Create XLSX file from internal table in background v2 · 1 year ago * Łukasz Pęgiel Hi Vatsal, hard to say without the debugging. Please try to find an OSS note to update VMD_EI_API or try to use mehtod VMD_EI_API->MAINTAIN, it may behaves a bit different. At the end check your... CMD_EI_API deletes contact persons? · 2 years ago * Vatsal Sheth Hello Lukasz, I am facing an issue where while using vmd_ei_api->maintain_bapi() I am getting an error as " Transaction code is not intended. Enter XK01 or XK02 " I am not able to figure out the... CMD_EI_API deletes contact persons? · 2 years ago ABAP code and articles provided on http://abapblog.com, if it is not statet otherwise, were created by Łukasz Pęgiel. You can use the code in your SAP instance for commercial and non-commercial use without any warranty from side of the author. You cannot sell the code as a full program or a part of it. Replicating of the articles and code is prohibited unless the agreement of the author is given to you. Bootstrap is a front-end framework of Twitter, Inc. Code licensed under MIT License. Font Awesome font licensed under SIL OFL 1.1. TITLE Text -------------------------------------------------------------------------------- OKCancel