GHO_S_VARIANT_OPT SAP (Variant Option) Structure details

Dictionary Type: Structure
Description: Variant Option




ABAP Code to SELECT data from GHO_S_VARIANT_OPT
Related tables to GHO_S_VARIANT_OPT
Access table GHO_S_VARIANT_OPT




Structure field list including key, data, relationships and ABAP select examples

GHO_S_VARIANT_OPT 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 "Variant Option" 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_GHO_S_VARIANT_OPT TYPE GHO_S_VARIANT_OPT.

The GHO_S_VARIANT_OPT table consists of various fields, each holding specific information or linking keys about Variant Option data available in SAP. These include HDR_ID_INT (ID of Variant Header (Internal)), OPTION_TYPE (Variant Option Type), OPTION_ID (ID of Variant Option), VALUE (Value of Variant Option).. 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: Can be enhanced (character-type)


SAP GHO_S_VARIANT_OPT 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
CLIENTClient MANDTCLNT3Assigned to domainMANDT
HDR_ID_INTID of Variant Header (Internal) GHO_VAR_HDR_ID_INTCHAR8GHO_VAR_HDR_ID_INT
OPTION_TYPEVariant Option Type GHO_VAR_OPT_TYPECHAR1GHO_VAR_OPT_TYPE
OPTION_IDID of Variant Option GHO_VAR_OPT_IDCHAR10CHAR10
VALUEValue of Variant Option GHO_VAR_OPT_VALUECHAR15CHAR15

Key field Non-key field



How do I retrieve data from SAP structure GHO_S_VARIANT_OPT using ABAP code?

As GHO_S_VARIANT_OPT 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 GHO_S_VARIANT_OPT as there is no data to select.

How to access SAP table GHO_S_VARIANT_OPT

Within an ECC or HANA version of SAP you can also view further information about GHO_S_VARIANT_OPT and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!