Quantcast
Channel: SCN : Blog List - ABAP Development
Viewing all articles
Browse latest Browse all 943

Many help is already in your SAP system

$
0
0

Hi,

 

Before go anywhere else search your solution in your system, might possible, you can get the solution there itself.

 

                                                              info.PNG

 

Facing every day lots of issues and trying to providing the suitable answers for the raised issue.

 

But one think always comes in my mind, are the people are just posting their blog without any analysis, May be I am wrong, but when I go through with question, I found, the answers is already available in SAP system.

 

Only the thing is members are not analyzing in system first. In SAP system already numbers of program available to get the basic idea about any one of the component.

 

Here is some bunch of programs, which has provided by SAP to get you hand dirty before posting an question in Community on below objects.

 

Note: the all Program belongs to Net weaver Gateway 740 system.

 

  1. HTML container :

          Program Name:  BCALV_DEMO_HTML

          Displaying the information in HTML format

 

          info.PNG

 

2. SAP OOPS Concepts:

     Program Name : DEMO_ABAP_OBJECTS

     This is very nice program, which has explained the OOPS concept in ABAP way.

info.PNG

After execute, the above pop-up window will open to see the information, but yes, how is related to selected concept, that you have to check in program only.

 

3. MIME Objects with Tree ALV  :

     Program Name :       DEMO_CFW

                                      DEMO_CFW_1,

                                      DEMO_CFW_2,

                                      DEMO_CFW_3

 

     This is a demo program to call MIME object from SAP to display in ALV grid header.Also contained the node event functionality with ALV refresh (which is very common question in community with respect to ALV refresh).

     info.PNG

 

4. Dropdown List with F4 :

     Program Name : DEMO_DROPDOWN_LIST_BOX

     Even I also surprise sometime to see this kind of program, yes, sometime choose a bit complex way to get the same solution what we can get through      other simple way.

     In this demo program, SAP used F4IF_INT_TABLE_VALUE_REQUEST function module and display the all F4 help information in drop down list.

     info.PNG

 

5. STEP LOOP :F4_help

     Program Name : DEMO_DYNPRO_STEP_LOOP

     It’s kind of table, but all cells are display as individual input fields. A very basic an easy program to understand how step loop works.

     info.PNG

6. Timer Class:

     Program Name : SAP_TIMER_DEMO

     This is a very simple but very well explained program about the time class.

     Please go through with code page to understand the logic.

     Output is based on entered interval, the output will return the page refresh counter information.

 

7. Pictue Class Demo :

     Program Name :     SAP_PICTURE_DEMO_ICON

                                     SAP_PICTURE_DEMO_DRAG_DROP

                                     SAP_PICTURE_DEMO

 

En example program to display picture and different method with respect to change picture resolution and position and another program has cover the drag-n-drop function of picture from one container to another one.

     info.PNG

8. Display PDF file in PDF container:

     Program Name : SAP_PDF_VIEWER_DEMO

 

     This program to Display a PDF file in SAP window.

     Though SAP has did some hard coding for PDF path, so while executing, it will give dump, but

     It’s a very and understandable program to get the logic.

 

9. Text Editor :

     Program Name :      SAPTEXTEDIT_DEMO_2_OLD

                                     SAPTEXTEDIT_DEMO_1

                                     SAPTEXTEDIT_DEMO_3

 

Last few days, I face some question regarding text editor class, here is some demo program, which cover most of the functionality, like load data from file.

Position of the cursor, current line etc.

     info.PNG

 

9. Display Word and Excel file inside SAP window

     Program Name:      SAPRDEMO_TABLES_IN_EXCEL

                                    SAPRDEMO_WORD_NOTEPAD

                                    SAPRDEMO_MAILMERGE_INTERFACE,

                                    SAPRDEMO_FORM_INTERFACE,

                                    SAPRDEMO_PIVOTINTERFACE

                                    SAPRDEMO_SPREADSHEET_INTERFACE

     The above programs are well explain i_oi_spreadsheet& i_oi_document_proxy class, which are use for display Word and Excel file inside a container.

     info.PNG 

     Also, it’s explained about PIVOT functionality and how it can integrate with SAP screen.

     info.PNG

 

10 HTML UI Demo:

     Program Name : SAPHTML_UI_DEMO

  

     This is an example to open browser in SAP window and also active or inactive some of the functionality of browser.

     info.PNG

11. SAP HTML Events:

     Program Name:     SAPHTML_DEMO_CN

                                   SAPHTML_EVENTS_DEMO

                                   SAPHTML_LONGTEXT_DEMO

                                   SAPHTML_R3HTTP_DEMO

                                   SAPHTML_SCRIPT_DEMO .

     The all above demo programs are demonstrate the HTML display in SAP screen with HTML event handle through SAP and get the result back to SAP screen.

 

     info.PNG

12. Chart Program:

     Program Name:          RCC_TEST_PIE_DEMO

                                        RCC_DEMO_BASIC_ENGINE

                                        RCC_TEST_DEMO1

                                        RCC_TEST_DEMO2

                                        RCC_TEST_HISTOGRAM_DEMO.

     The above programs are based on RCC classes.

   info.PNG


13. IGS Functionality:

     Program Name :         GRAPHICS_IGS_ZIPPER_DEMO

                                        GRAPHICS_GUI_CE_DEMO

                                        GRAPHICS_GIS_VIEW_DEMO

 

Internet Graphical Server (IGS), it’s another functionality which works through internet graphical service.

Though this service also chart can be draw on SAP screen, though, it will a html based chart, so HTML event can also be attached to it.

Also a Zipper program is there to create a ZIP file through SAP.

     info.PNG


14. ALV Gui Grid:

     Program Name:      BCALV_DND_01

                                    BCALV_EDIT_01                  Switch on and off the ready-for-input status of the entire grid

                                    BCALV_EDIT_02                  Define ready-for-input status at cell level

                                    BCALV_EDIT_03                  Verification of modified cells

                                    BCALV_EDIT_04                  Delete and append rows

                                    BCALV_EDIT_06                  Dropdown Listbox at Column Level

                                    BCALV_EDIT_08                  Integrate Non-Standard F4 Help

                                    BCALV_EDIT_09                  Define ready-for-input status at cell level

                                    BCALV_GRID_01                  Processing Print Events

                                    BCALV_GRID_03                  Detail List in Dialog Window

                                    BCALV_GRID_04                  Display Exceptions (LEDs or Traffic Lights)

                                    BCALV_GRID_07                  Define a Menu in the Toolbar

                                    BCALV_GRID_11                  Test for new layout function modules

                                    BCALV_TREE_01                  ALV Tree Control: Build Up the Hierarchy Tree

                                    BCALV_TREE_02                  ALV Tree Control: Event Handling

                                    BCALV_TREE_03                  ALV Tree Control: Use an Own Context Menu

                                    BCALV_TREE_04                  ALV Tree Control: Add a Button to the Toolbar

                                    BCALV_TREE_06                  ALV tree control: Icon column and icon for nodes/items

                                    BCALV_TREE_DEMO                Demo for ALV tree control

                                    BCALV_TREE_DND                 ALV tree control: Drag & Drop within a hierarchy tree

                                    BCALV_TREE_DND_MULTIPLE        ALV tree control: Drag & Drop within a hierarchy tree

 

Now my favorite part comes, most of the question from ALV grid only. All above program contains different functionality of ALV grid, which is class based program

     info.PNG

15.     CL_GUI_ALV_GRID : Style in ALV with Cell Information as tool tip.

          program Name :     BCALV_DEMO_TOOLTIP

          This program contains lots of answer, which asked by lots of members.

  1. Color in Field Cells
  2. Tool tip on Fields value
  3. Icon on Cells
  4. Multiple Colors in different Cells

     info.PNG

 

15. SAP Business Graphics Tool :

      Program Name :                    BCGRDEMO

      This is a bit different but very interesting demo to display the information in graphical mode in SAP R/3 Graphic window.

           After select any one of the hierarchy, you will a pop-window to get the receptive information. Then above chart information will come though selection of the same pop-up.

        info.PNG

16. Messages:

     Program Name :     CNV_MBT_DEMO_ULV_01

                                    CNV_MBT_DEMO_ULV_02

                                    CNV_MBT_DEMO_ULV_03

                                    CNV_MBT_DEMO_ULV_04

                                    CNV_MBT_DEMO_ULV_05

This all above programs has demonstrate, how we can display the message with different views.

And how to show and hide other options from message window.

 

info.PNG

    


Like the above sample program, other programs also available in system,

Keeping my blog in editable mode to add some more interesting sample program.

 

As per our requirement, we can search 1st in out system before posting a question in communities.


Happy learning

Praveer. 


Viewing all articles
Browse latest Browse all 943

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>