HGB_FORM_SEL SAP (Form selection) Structure details
Description: Form selection
Structure field list including key, data, relationships and ABAP select examples
HGB_FORM_SEL is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Form selection" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_HGB_FORM_SEL TYPE HGB_FORM_SEL.
The HGB_FORM_SEL table consists of various fields, each holding specific information or linking keys about Form selection data available in SAP. These include MOLGA (Country Grouping), P_APPL (Subapplication), FOGROUP (Output Form Group), FOLNAME (Logical Form Name).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP HGB_FORM_SEL structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MOLGA | Country Grouping | MOLGA | CHAR | 2 | T500L | MOLGA | MOL | ||
P_APPL | Subapplication | P_APPL | CHAR | 4 | Assigned to domain | P_APPL | |||
FOGROUP | Output Form Group | P_99B_FOGROUP | CHAR | 10 | T799BEFG | CHAR10 | |||
FOLNAME | Logical Form Name | P_99B_FORMLOGC | CHAR | 30 | T799BMFG | CHAR30 | |||
FOVARIANT | Output Form Variant | P_99B_FOVARIANT | CHAR | 20 | T799BCFT | CHAR20 | |||
FOTYPE | Output Form Type | P_99B_FOTYPE | CHAR | 3 | T799BSFT | CHAR3 | |||
ENDDA | End Date | ENDDA | DATS | 8 | DATUM | ||||
BEGDA | Start Date | BEGDA | DATS | 8 | DATUM | ||||
FOTDEF | Output Form Default Type Indicator | P_99B_FOTDEF | CHAR | 1 | XFELD | ||||
FORMNAME | System Form Name | P_99B_FORNAME | CHAR | 30 | CHAR30 | ||||
.INCLU-2 | 0 | ||||||||
MOLGA2 | Country Grouping | MOLGA | CHAR | 2 | T500L | MOLGA | MOL | ||
P_APPL2 | Subapplication | P_APPL | CHAR | 4 | Assigned to domain | P_APPL | |||
FOGROUP2 | Output Form Group | P_99B_FOGROUP | CHAR | 10 | T799BEFG | CHAR10 | |||
FOLNAME2 | Logical Form Name | P_99B_FORMLOGC | CHAR | 30 | T799BMFG | CHAR30 | |||
FOVARIANT2 | Output Form Variant | P_99B_FOVARIANT | CHAR | 20 | T799BCFT | CHAR20 | |||
FOTYPE2 | Output Form Type | P_99B_FOTYPE | CHAR | 3 | T799BSFT | CHAR3 | |||
ENDDA2 | End Date | ENDDA | DATS | 8 | DATUM | ||||
BEGDA2 | Start Date | BEGDA | DATS | 8 | DATUM | ||||
FOTDEF2 | Output Form Default Type Indicator | P_99B_FOTDEF | CHAR | 1 | XFELD | ||||
FORMNAME2 | System Form Name | P_99B_FORNAME | CHAR | 30 | CHAR30 | ||||
.INCLU-3 | 0 | ||||||||
MOLGA3 | Country Grouping | MOLGA | CHAR | 2 | T500L | MOLGA | MOL | ||
P_APPL3 | Subapplication | P_APPL | CHAR | 4 | Assigned to domain | P_APPL | |||
FOGROUP3 | Output Form Group | P_99B_FOGROUP | CHAR | 10 | T799BEFG | CHAR10 | |||
FOLNAME3 | Logical Form Name | P_99B_FORMLOGC | CHAR | 30 | T799BMFG | CHAR30 | |||
FOVARIANT3 | Output Form Variant | P_99B_FOVARIANT | CHAR | 20 | T799BCFT | CHAR20 | |||
FOTYPE3 | Output Form Type | P_99B_FOTYPE | CHAR | 3 | T799BSFT | CHAR3 | |||
ENDDA3 | End Date | ENDDA | DATS | 8 | DATUM | ||||
BEGDA3 | Start Date | BEGDA | DATS | 8 | DATUM | ||||
FOTDEF3 | Output Form Default Type Indicator | P_99B_FOTDEF | CHAR | 1 | XFELD | ||||
FORMNAME3 | System Form Name | P_99B_FORNAME | CHAR | 30 | CHAR30 |
Key field | Non-key field |
How do I retrieve data from SAP structure HGB_FORM_SEL using ABAP code?
As HGB_FORM_SEL is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on HGB_FORM_SEL as there is no data to select.How to access SAP table HGB_FORM_SEL
Within an ECC or HANA version of SAP you can also view further information about HGB_FORM_SEL and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects