• 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
  • Articles
  • How to...

ABAP Favorites Eclipse plugin

Details
Łukasz Pęgiel
How to...
29 June 2017
Hits: 16635
Tags: ECLIPSE , ADT , ABAP DEVELOPMENT TOOLS IN ECLIPSE , ECLIPSE PLUGIN , ABAP FAVORITES

1.Why I’ve created the plug-in?

 

I was always missing a small functionality in Eclipse - a Favourite SAP T-Codes which we all know form SAP Menu. I know to you can call SMEN transaction using Alt+F8 but it does not fill the simplicity requirement. That's why I started to ask about the possibility to have favourite T-Codes view somewhere in ADT in Eclipse. I rather thought that Thomas, the product owner of ADT would say that they will implement this in one of next releases, but instead he encourage me to do it myself.

 

At first glance it was like WOW I hate Java, why I should do it myself when for the other it would take only some minutes, but then after few minutes I thought that this could be a really good exercise for myself to try to do something completely new in a language that is not my main programming language, or better said an a language which I don't use if I don't have to.  

Thomas gave me some really good starting points by giving links to the blogs from SCN. Additionally I've started to search the web for the eclipse plug-in developments so I could get some more information about it. It was hard time for me, I've stopped this few times until I said, no this cannot be that hard. You're supposed to be a cleaver guy so small plug-in in Java should not be that hard..... 

Add a comment
Read more ...

Speed up your coding with ABAP in Eclipse (SITWRO 2017 session)

Details
Łukasz Pęgiel
How to...
28 May 2017
Hits: 7070

Bellow you can find the record of my session "Speed up your coding with ABAP in Eclipse"  at SAP Inside Track Wrocław 2017, which took place on 27th of May. During the session I was not able to cover whole topic although the session last 10 minutes longer than it should be, as I received lots of question during the session. 

I haven't watched whole video, I just checked if the voice was recorded correctly, so in case any problems with the video, please let me know.

Cheers
Łukasz

Add a comment

A new hope for dark side with Darkest Dark Theme for Eclipse

Details
Łukasz Pęgiel
How to...
27 February 2017
Hits: 17516
Tags: ECLIPSE , AiE , DARK THEME , ABAP IN ECLIPSE , ADT , ABAP DEVELOPMENTS TOOLS , SAP DEVELOPMENT TOOLS FOR ECLIPSE , DARKEST DARK THEME

Dark theme is available in Eclipse since a long time, but there were many problems with easy setting of all colors in editors, windows and popups.

Sometimes you had to even adjust your system settings to be able to adjust some colors.

This discouraged many persons to switch to the dark side of eclipse.

But now there is a new hope for it! 

Darkest Dark Theme by Genuitec which can be found in eclipse marketplace hits the spot here. It's not only changing the background colors of editors and windows, but it's adjusting the color settings for fonts, it changes a lot of standard icons and the display of many elements of eclipse.

Personally I didn't like the color settings for ABAP, so I've used my old files which you can find in this article AiE (ADT) dark theme settings, but this is my personal opinion, so for you the default settings may looks ok. There is also one big added value for Darkest Dark Theme: during installation you get also icon editor which can be used to customise all icons in eclipse! Your changes after synchronisation with Genuitec accounts can be used as a default settings for Darkest Dark theme (of course they must be accepted by moderator firstly).

So how does it looks like now?

You'll spot the change directly on logon screen, where there is no white/grey background places anymore.

Add a comment
Read more ...

Copying is not poss.because an entry is missing in Table TVCPL VL473

Details
Łukasz Pęgiel
How to...
15 February 2017
Hits: 28678
Tags: BAPI_OUTB_DELIVERY_CREATENOREF , VL473 , TVCPL , V_TVCPLAK , V_TVCPLAP

This time the problem which I solved was not an ABAP problem, although at the beginning I thought it is, as while creating of deliveries without reference in standard transaction were done correctly without any issues, then when I tried to do it in ABAP, I always received the error VL473 - Copying is not poss.because an entry is missing in Table TVCPL. 

I thought that this is some kind of nonsense as with standard t-code it was working correctly, so I tried several FM to create deliveries without reference but always with the same result as you can see on picture bellow. 

Then I did what I should do from beginning. I used where used function to display where TVCPL table is used and I found two views V_TVCPLAK and V_TVCPLAP.

Add a comment
Read more ...

How to copy BOM using CEWB Function Modules

Details
Łukasz Pęgiel
How to...
28 October 2015
Hits: 23044
Tags: CP_CC_S_REFRESH_DATA , CP_CC_S_LOAD_COMPLEX_BY_BOM , CP_CC_S_LOAD_COMPLEX_BY_ITM , CP_CC_S_BOM_PROVIDE_BY_MBM , CS_CL_S_MAT_BOM_CREATE_BY_COPY , CS_CL_P_ITM_PROVIDE , CS_CL_S_ITM_CREATE_BY_COPY , CP_CC_S_SAVE , BOM COPY
I've seen on SCN plenty of question about copying BOM from one plant to other, or from one material to other. Most of them were closed by using LSMW or direct input methods, but there is a really nice way to do it using CEWB function modules. I've been playing with CEWB modules for a long time so I'm not afraid to debug CEWB in case I cannot make it work by myself but when you look on the logic of the sample program to copy BOM then you'll see it's reasonable. 
 
  1. At the beginning let's clear Function Group memory using FM 'CP_CC_S_REFRESH_DATA'. Just for the safety reasons :-)
  2. Then let's load BOM header data to FG memory. If you want to do mass transaction then you would probably want to fill selection table i_cpsc_bom_sel with more than one BOM number, it will be then faster than calling FM 'CP_CC_S_LOAD_COMPLEX_BY_BOM' separately many times.
  3. But header data is not enough, we should do same thing for BOM items using FM 'CP_CC_S_LOAD_COMPLEX_BY_ITM', as Items belongs to different work area in CEWB.
  4. Once we loaded data to memory we can start copying, firstly we need to call 'CP_CC_S_BOM_PROVIDE_BY_MBM' to get source header data and then use its export parameters in FM 'CS_CL_S_MAT_BOM_CREATE_BY_COPY', which is doing copy of a header data.
  5. Once it's done we have to get source items from memory using 'CS_CL_P_ITM_PROVIDE', and then use it for copying items to our target BOM in 'CS_CL_S_ITM_CREATE_BY_COPY'.
  6. At the end, when everything is fine, use FM 'CP_CC_S_SAVE' to save your changes and commit your work.

Work done!
Bellow and in the NUGG attachment you can find sample program which is using this technique for single BOM copy. It does not have error handling or built-in change number usage but you can do it yourself in your programs if this will be necessary.
 
Add a comment
Read more ...

Direct access quality notification attachments from action box

Details
Łukasz Pęgiel
How to...
22 October 2015
Hits: 19001
Tags: CL_GOS_MANAGER , QM ATTACHMENTS
When you use QM01/QM02/QM03/IQS1/IQS2/IQS3 transactions then you've noticed that when you have some task defined then you cannot directly go to attachments of notification. Following popup always appears:
 
But there is a way of getting rid of it. We can add new action box action to call directly attachments of notification.
So go to SPRO and find Define Action Box in QM node.
Add a comment
Read more ...

AiE (ADT) dark theme settings

Details
Łukasz Pęgiel
How to...
16 July 2015
Hits: 31741
Tags: ECLIPSE , AiE , DARK THEME , ABAP IN ECLIPSE , ADT , ABAP DEVELOPMENTS TOOLS , SAP DEVELOPMENT TOOLS FOR ECLIPSE
Today I've got a question from Custodio de Oliveira (hope you don't mind mentioning) about Dark Eclipse settings which I'm using. As I know that settings colors in Eclipse for ADT is a pain, then I want to share with you my settings and the steps to achieve the same look like I have on my installation. Of course you can update it by your own, but at least you have a starting point.
 
Probably this is how your Eclipse looks like, or if not then the default settings for ADT. White and eye-killing.
Add a comment
Read more ...

Create fieldcatalog from internal table

Details
Łukasz Pęgiel
How to...
08 May 2015
Hits: 73170
Tags: CL_SALV_CONTROLLER_METADATA , CL_SALV_TABLE , CL_GUI_ALV_GRID , REUSE_ALV_GRID_DISPLAY , CL_SALV_CONTROLLER_METADATA=>GET_LVC_FIELDCATALOG , CL_SALV_CONTROLLER_METADATA=>GET_SLIS_FIELDCATALOG , LVC_TRANSFER_FROM_SLIS , LVC_TRANSFER_TO_SLIS
Many people still asks how to create field catalog for CL_GUI_ALV_GRID or REUSE_ALV_GRID_DISPLAY on a base of internal table. This is very easy since we have SALV classes, you could see it in my article Create XLSX/MHTML file from internal table in background and probably also somewhere in the net. To make it easier here are ready methods to create LVC and SLIS field catalogs from internal table using CL_SALV_CONTROLLER_METADATA and  CL_SALV_TABLE. Both methods are created with new ABAP 7.40 SP05 syntax.
 
LVC Field catalog definition

  class-methods lvc_fcat_from_internal_table
  importing
    it_table type any table
  returning value(rt_fcat) type lvc_t_fcat.

LVC field catalog implementation

  method lvc_fcat_from_internal_table.
    data: table type ref to data.
    create data table like it_table.
    assign table->* to field-symbol(<table>).
    try.
        cl_salv_table=>factory( importing
                                  r_salv_table   = data(salv_table)
                                changing
                                  t_table        = <table>  ).
        rt_fcat = cl_salv_controller_metadata=>get_lvc_fieldcatalog(
            r_columns      = salv_table->get_columns( ) " ALV Filter
            r_aggregations = salv_table->get_aggregations( ) " ALV Aggregations
    ).
      catch cx_root.
    endtry.
  endmethod.

Add a comment
Read more ...

More Articles ...

  1. Battleships game (two players)
  2. Popup with multi-select ALV
  3. EWB Components allocation to routing operation (multilevel BOM)
  4. Reset rejection of Purchase Requisition
  5. Other checks on purchase requisition state
  6. How to check if for purchase requisition rejection can be reset?
  7. Characteristic's own input screen - Part 8 - example of use
  8. Characteristic's own input screen - Part 7 - save characteristic value to database
  9. Characteristic's own input screen - Part 6 - move reference data to bapi structures
  10. Characteristic's own input screen - Part 5 - show characteristic's own update screen
  11. Characteristic's own input screen - Part 4 - Move screen values to reference data
  12. Characteristic's own input screen - Part 3 - Move reference data values to screen
  13. Characteristic's own input screen - Part 2 - Clear Initial Line
  14. Characteristic's own input screen - Part 1 - Convert Values To Float
  15. Scan program for authority-check
  16. Call standard F4 search help with customized parameters
  17. Classifications - Part 4 - example of use
  18. Classifications - Part 3 - get all objects assigned to class
  19. Classifications - Part 2 - Get Object Details
  20. Classifications - Part 1 - prepare structure for class data
  21. Create a nice looking chart with CL_GUI_CHART_ENGINE - Part 3 - Chart Data and render
  22. Create a nice looking chart with CL_GUI_CHART_ENGINE - Part 2 - Customization
  23. Create a nice looking chart with CL_GUI_CHART_ENGINE - Part 1 - Chart Designer
  24. Load variant to single subscreen (selection screen)
  25. F4 Help for external date
  26. Save variant for single selection screen subscreen
  27. Delete Routing - piece of cake
  28. Creating editor for dynamic code (SE38 like)
  29. Download CV01N/2N/3N documents to PC
  30. ZIP a file using ABAP
  31. Get filename and extension from full path
  32. Convert date to and from external date type
Page 2 of 6
  • Start
  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next
  • End


Łukasz Pęgiel
DELETE USER SETTINGS ECLIPSE SAVE RELEASABLE Retro ASCII symbols in ALV Grid table PSEUDO COMMENTS BAPI OBJCL GETDETAIL OLE2 OBJECT DATATYPE ALV Grid in the nutshell Field catalog - no convext MS07 ZDEMO FALV13 - Mix demo own screen and container SET SELSCREEN STATUS ALV GRID FIELDCATALOG ABAP STRUCTDESCR SUM BATTLESHIPS KEY SEL COMPONENTS UPDATE PREPARE GUI ALV GRID LVC FCAT COL POS CVIC MAP CONTACT CURRENT CELL VIA VIRTUALBOX REPREP Field catalog - do sum PLUGIN TABLEDESCR ELEMDESCR ALV GRID IN THE NUTSHELL FALV TEACH ABAP Unlock yourself on the DEV system EXPORT TO MEMORY ID Field catalog - sp group - Group key SAPGUI FUNCTIONCODE CLASS READ Field catalog - datatype How to handle CL GRID events in SALV REFRESH DATA SBCS SEND TOTEXP PROGRESS INDICATOR ACR OBJECTS BINARY RELATION GTREAD LINKS BINRELS FILL MDLB FROM EBAN ABAP Code Retreat Tychy 2019 - Organizer Recap CHECKBOX ABAP FAVORITES ESDUS MEREQS LOOKUP FALV08 - Mass replace function out SALV COLUMNS TABLE BCS MESSAGE
  • Laserowe usuwanie blizn Tychy
  • Laserowe usuwanie zmarszczek Tychy
  • Salon Kosmetyczny Tychy
  • Trycholog Tychy
  • Wypadanie włosów Tychy
Tweets by abapblog

Eclipse Plugins for ABAP

ABAP Favorites

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

ABAP ADT Extensions

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

ABAP Quick Fixes

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

 

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
  • Create XLSX file from internal table in background v2
  • FALV (Fast ALV Grid)
  • ATC Pseudo Comments list
  • Call standard F4 search help with customized parameters
  • Dynamic GUI STATUS & TITLE with ABAP code
  • Create fieldcatalog from internal table
  • Link Attachments of Purchase Requisition to Purchase Order
  • GOS - How to add business documents at creation of object
  • Endless loop in BADI ME_PROCESS_PO_CUST
  • 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
  • Subtotal lines of ALV GRID OO as content separator
  • Popup with multi-select ALV
feed-image Feed Entries

Latest Comments

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.