WAGPD SAP (Plant/customer group items) Structure details
Description: Plant/customer group items
Structure field list including key, data, relationships and ABAP select examples
WAGPD 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 "Plant/customer group items" 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_WAGPD TYPE WAGPD.
The WAGPD table consists of various fields, each holding specific information or linking keys about Plant/customer group items data available in SAP. These include MANDT (Client), AKTNR (COUPON), POSNR (Item number), UPOSN (Sub-item number for item number).. 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: Not classified
SAP WAGPD 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
AKTNR | COUPON | WAKTION | CHAR | 10 | WAKH | ALPHA | WAKTION | WAK | |
POSNR | Item number | W_POSNR | NUMC | 6 | NUMC6 | ||||
UPOSN | Sub-item number for item number | W_UPOSN | NUMC | 6 | NUMC6 | ||||
KUNNR | Customer Numbers | KUNNR | CHAR | 10 | KNA1 | ALPHA | KUNNR | KUN | C_KUNNR |
VLFKZ | Plant category | VLFKZ | CHAR | 1 | VLFKZ | ||||
LOCNR | Customer Number for Plant | LOCNR | CHAR | 10 | KNA1 | ALPHA | KUNNR | KUN | |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
ERNAM | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
ERDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
AENAM | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
AEDAT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
NAME1 | Name 1 | NAME1_GP | CHAR | 35 | NAME | ||||
SELKZ | Selection flag | SELKZ | CHAR | 1 | SELKZ | ||||
UPDKZ | Update indicator | UPDKZ_D | CHAR | 1 | UPDKZ |
Key field | Non-key field |
How do I retrieve data from SAP structure WAGPD using ABAP code?
As WAGPD 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 WAGPD as there is no data to select.How to access SAP table WAGPD
Within an ECC or HANA version of SAP you can also view further information about WAGPD 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