Go to transaction SE11 and enter the name of Range Table you would like to create in Data type input and press Create.Įnter short test to describe you object and select menu option Edit->Define as range table type. * Define local line type to access lines of range typeĪPPEND workarea_material TO range_table_material. TYPES : tr_matnr TYPE RANGE OF mara-matnr. Further based on defined range type you can define line type using keyword TYPE LINE OF. You can use TYPE RANGE OF keyword to define local range of a data type to use in program. Can also contain wildcardsĭefining Local Range Type and Line Type to define Range Table Columnĭata type of selection field, same as LOWĭata value in case of range criteria. Range table have four columns SIGN, OPTION, LOW and HIGH. Also you need some mechanism of defining work area so that you can perform usual operation on range table. However, if you want to define range table without having to define select option than you need to either define local or global range type. When you define a select-option on selection screen you automatically get range table which is attached with that select option. In this blog I will explain how to define range table type in program and in dictionary for global use.įirst little bit more about range table. SAP Range Table represents complex selection criteria, it’s data structures is exactly like select-option but without any UI part and header line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |