004 - Report (SE38 / SE80)

Description

Report
Alexandre Cheung
Mind Map by Alexandre Cheung, updated more than 1 year ago
Alexandre Cheung
Created by Alexandre Cheung almost 8 years ago
12
0

Resource summary

004 - Report (SE38 / SE80)
  1. TELA
    1. PARAMETERS
      1. TYPE

        Annotations:

        • PARAMETERS <P_NAME> TYPE <TABLE-FIELD>. PARAMETERS TYPE OBLIGATORY.
        1. AS CHECKBOX

          Annotations:

          • PARAMETERS <P_NAME> AS CHECKBOX.
          1. RADIOBUTTON

            Annotations:

            • PARAMETERS <P_NAME1> RADIOBUTTONGROUP <RADIOBUTTON GROUP>.
            1. AS LISTBOX

              Annotations:

              • PARAMETERS: COLORS TYPE C AS LISTBOX VISIBLE LENGTH 20.
              1. CALL FUNCTION 'VRM_SET_VALUES'
                1. TYPE-POOLS: VRM
                  1. EXAMPLE

                    Annotations:

                    • REPORT ZSAPN_DROP_DOWN_SS. TYPE-POOLS: VRM. " Use type group VRM for list DATA: IT_LIST TYPE VRM_VALUES. DATA: WA_LIST TYPE VRM_VALUE. DATA: IT_VALUES TYPE TABLE OF DYNPREAD, WA_VALUES TYPE DYNPREAD. DATA: LV_SELECTED_VALUE(10) TYPE C. *--------------------------------------------------------------* *Selection-Screen *--------------------------------------------------------------* PARAMETERS: COLORS TYPE C AS LISTBOX VISIBLE LENGTH 20. "Parameter *--------------------------------------------------------------* *Initialization *--------------------------------------------------------------* INITIALIZATION. "initialize values to drop down list WA_LIST-KEY = '1'. WA_LIST-TEXT = 'Green'. APPEND WA_LIST TO IT_LIST. WA_LIST-KEY = '2'. WA_LIST-TEXT = 'Blue'. APPEND WA_LIST TO IT_LIST. WA_LIST-KEY = '3'. WA_LIST-TEXT = 'Orange'. APPEND WA_LIST TO IT_LIST. WA_LIST-KEY = '4'. WA_LIST-TEXT = 'Gray'. APPEND WA_LIST TO IT_LIST. WA_LIST-KEY = '5'. WA_LIST-TEXT = 'White'. APPEND WA_LIST TO IT_LIST. WA_LIST-KEY = '6'. WA_LIST-TEXT = 'Yellow'. APPEND WA_LIST TO IT_LIST. CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = 'COLORS' VALUES = IT_LIST EXCEPTIONS ID_ILLEGAL_NAME = 1 OTHERS = 2. *--------------------------------------------------------------* *At Selection Screen *--------------------------------------------------------------* AT SELECTION-SCREEN ON COLORS. CLEAR: WA_VALUES, IT_VALUES. REFRESH IT_VALUES. WA_VALUES-FIELDNAME = 'COLORS'. APPEND WA_VALUES TO IT_VALUES. CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = SY-CPROG DYNUMB = SY-DYNNR TRANSLATE_TO_UPPER = 'X' TABLES DYNPFIELDS = IT_VALUES. READ TABLE IT_VALUES INDEX 1 INTO WA_VALUES. IF SY-SUBRC = 0 AND WA_VALUES-FIELDVALUE IS NOT INITIAL. READ TABLE IT_LIST INTO WA_LIST WITH KEY KEY = WA_VALUES-FIELDVALUE. IF SY-SUBRC = 0. LV_SELECTED_VALUE = WA_LIST-TEXT. ENDIF. ENDIF. *--------------------------------------------------------------* *Start of Selection *--------------------------------------------------------------* START-OF-SELECTION. WRITE:/ LV_SELECTED_VALUE.
                2. SELECT-OPTIONS
                  1. FOR

                    Annotations:

                    • SELECT-OPTIONS <SO_NAME> FOR <TABLE-FIELD>.
                    1. NO INTERVALS

                      Annotations:

                      • SELECT-OPTIONS <SO_NAME> FOR <TABLE-FIELD> NO INTERVALS.
                      1. NO-EXTENSION

                        Annotations:

                        • SELECT-OPTIONS <SO_NAME> FOR <TABLE-FIELD> NO-EXTENSION.
                        1. ESTRUTURA

                          Annotations:

                          • SIGN OPTIONS LOW HIGH
                          1. TABLES

                            Annotations:

                            • TABLES MARA.
                            1. NO-DISPLAY
                          Show full summary Hide full summary

                          Similar

                          Pricing & Performance vs STK
                          Vitor Vilela
                          SAP Activate Project Manager - Associate
                          Marcelo Terhoch
                          Seriais Área Vermelha
                          Robson Gonzaga
                          SAP Simulado
                          andersonsiuta
                          English Literary Devices
                          miss.bakare
                          Sports betting quiz
                          slowplay.pocketa
                          Yr 12 Biology Mid-Year Exam Notes Part 1
                          gbridgland
                          GCSE Physics Revision notes
                          Megan McDonald
                          Simple Present Tense (Test)
                          Onur Kalafat
                          GCSE REVISION TIMETABLE
                          neharaniga
                          Biology B2.1 Cells, tissues and organs
                          Corey Meehan